OpenBSD cvs log

created 2019-08-03T14:06:20Z
begin 2019-07-31T00:00:00Z
end 2019-08-01T00:00:00Z
path src/sys
commits 14

date 2019-07-31T01:27:34Z
author jmatthew
files src/sys/dev/pci/if_iavf.c log diff annotate
message Actually set promisc modes based on the interface state

date 2019-07-31T10:35:08Z
author jsg
files src/sys/dev/pci/drm/amd/display/dc/dce110/dce110_hw_sequencer.c log diff annotate
message drm/amd/display: Fill prescale_params->scale for RGB565

From Nicholas Kazlauskas
147137f86b5b72aea3af4edb2e66f10c0baa841e in linux 4.19.y/4.19.63
1352c779cb74d427f4150cbe779a2f7886f70cae in mainline linux

date 2019-07-31T10:37:42Z
author jsg
files src/sys/dev/pci/drm/amd/amdgpu/gmc_v9_0.c log diff annotate
message drm/amdgpu/sriov: Need to initialize the HDP_NONSURFACE_BAStE

From Tiecheng Zhou
c242a531bb068c91bea7454353206330423ec1a6 in linux 4.19.y/4.19.63
fe2b5323d2c3cedaa3bf943dc7a0d233c853c914 in mainline linux

date 2019-07-31T10:39:48Z
author jsg
files src/sys/dev/pci/drm/amd/display/dc/dce/dce_abm.c log diff annotate
message drm/amd/display: Disable ABM before destroy ABM struct

From Paul Hsieh
6b1d2871fe369cb65f087cd300bad6af50764ac7 in linux 4.19.y/4.19.63
1090d58d4815b1fcd95a80987391006c86398b4c in mainline linux

date 2019-07-31T10:41:57Z
author jsg
files src/sys/dev/pci/drm/amd/amdkfd/kfd_mqd_manager_v9.c log diff annotate
message drm/amdkfd: Fix a potential memory leak

From Oak Zeng
db64bc13944013357d231cbf9d1aee798d7b9892 in linux 4.19.y/4.19.63
e73390d181103a19e1111ec2f25559a0570e9fe0 in mainline linux

date 2019-07-31T10:44:30Z
author jsg
files src/sys/dev/pci/drm/amd/amdkfd/kfd_device_queue_manager.c log diff annotate
message drm/amdkfd: Fix sdma queue map issue

From Oak Zeng
210dfe6309112dd028bf06561b828a749b6e1169 in linux 4.19.y/4.19.63
065e4bdfa1f3ab2884c110394d8b7e7ebe3b988c in mainline linux

date 2019-07-31T10:47:09Z
author jsg
files src/sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm.c log diff annotate
message drm/amd/display: Always allocate initial connector state state

From Nicholas Kazlauskas
11b4e9f3695c155f71cb2bc56d761284bf5e65b1 in linux 4.19.y/4.19.63
f04bee34d6e35df26cbb2d65e801adfd0d8fe20d in mainline linux

date 2019-07-31T10:50:49Z
author jsg
files src/sys/dev/pci/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c log diff annotate
message drm/amd/display: fix compilation error

From Hariprasad Kelam
6a7047471073c2cf8e375b2fe5a71bacf9799973 in linux 4.19.y/4.19.63
88099f53cc3717437f5fc9cf84205c5b65118377 in mainline linux

date 2019-07-31T12:38:04Z
author visa
files src/sys/arch/octeon/octeon/machdep.c log diff annotate
message Fix kmem access on octeon. Currently, mem_layout lists segments that
were free after the kernel was loaded. The memory occupied by the kernel
image is not included. To let libkvm access the image through /dev/kmem,
return true from is_memory_range() if the physical address is within
the kernel.

date 2019-07-31T15:47:49Z
author jcs
files src/sys/dev/acpi/dsdt.c log diff annotate
message The ACPI 3 spec says the ToHexString and ToDec(imal)String
operators can take a data argument of Integer, String, or Buffer
types, not just Integer.

ok kettenis, deraadt

date 2019-07-31T15:58:00Z
author jcs
files src/sys/dev/acpi/dsdt.c log diff annotate
message aml_find_node: perform callback on matched direct-child nodes before
recursing into child devices looking for matches.

This ensures that when walking nodes with acpi_inidev, a method like
\_SB_.PCI0._INI will be executed before \_SB_.PCI0.I2C1.TPL1._INI.

This matches how ACPICA walks nodes and a commonly-used DSDT
template assumes that \OSYS has been initialized in \_SB_.PCI0._INI
before being used by other device _INI methods.

This should also help to execute \_INI and \_SB_._INI first, if
present, which ACPICA does explicitly.

Tested in snaps, ok deraadt

date 2019-07-31T16:04:16Z
author jcs
files src/sys/dev/pci/dwiic_pci.c log diff annotate
message dwiic: stop enabling polling by default

The interrupt problem had nothing to do with changes in the Intel
100 Series and was due to most of these machines using the same DSDT
template where we were walking _INI nodes in the wrong order.

This lead to the touchpad device's _INI method being called before
\_SB_.PCI0._INI (where \OSYS is initialized), making the touchpad
device's interrupts setup for an OSYS of 0, but when its _CRS method
was called later during ihidev attachment (after \_SB_.PCI0._INI was
executed, modifying OSYS), it returned information for interrupts as
if were initially setup for the proper OSYS.

date 2019-07-31T16:07:21Z
author jcs
files src/sys/dev/acpi/dwiic_acpi.c log diff annotate
message dwiic_acpi: handle GPIO interrupts when we have no appropriate driver

Avoid printing a confusing "irq 0" message in this case.

date 2019-07-31T16:09:12Z
author jcs
files src/sys/dev/i2c/ihidev.c log diff annotate
message ihidev: continue doing polling when interrupt setup fails