OpenBSD cvs log

created 2020-11-01T20:31:04Z
begin 2020-10-28T00:00:00Z
end 2020-10-29T00:00:00Z
path src/sys
commits 11

date 2020-10-28T07:09:37Z
author jmatthew
files src/sys/dev/pci/if_mcx.c log diff annotate
message Add missing bus_space_barrier() in mcx_cmdq_post() - without this, cmdq
operations during attach fail on some amd64 systems using the TSC delay
function, seemingly as there aren't enough memory operations happening to
get the doorbell write out to the device otherwise. The lapic delay
function didn't expose this problem.

suggested by kettenis@
ok dlg@

date 2020-10-28T09:58:57Z
author jsg
files src/sys/arch/amd64/include/bus.h log diff annotate
message Use "memory" on inline fence instructions to suggest to the compiler
it shouldn't optimise across them.

ok kettenis@

date 2020-10-28T10:27:20Z
author kettenis
files src/sys/dev/pci/drm/radeon/cik.c log diff annotate
src/sys/dev/pci/drm/radeon/r100.c log diff annotate
message Use the function from <linux/io.h> for all "Memory Space" IO. This reduces
the diffs to Linux and makes sure we use memory barriers in the same way
as Linux does.

ok jsg@ (who added the doorbell changes)

date 2020-10-28T10:27:21Z
author kettenis
files src/sys/dev/pci/drm/radeon/radeon.h log diff annotate
src/sys/dev/pci/drm/radeon/radeon_device.c log diff annotate
src/sys/dev/pci/drm/radeon/radeon_kms.c log diff annotate
message Use the function from <linux/io.h> for all "Memory Space" IO. This reduces
the diffs to Linux and makes sure we use memory barriers in the same way
as Linux does.

ok jsg@ (who added the doorbell changes)

date 2020-10-28T12:14:15Z
author jsg
files src/sys/dev/pci/drm/amd/amdgpu/amdgpu.h log diff annotate
src/sys/dev/pci/drm/amd/amdgpu/amdgpu_device.c log diff annotate
src/sys/dev/pci/drm/amd/amdgpu/amdgpu_doorbell.h log diff annotate
src/sys/dev/pci/drm/amd/amdgpu/amdgpu_kms.c log diff annotate
src/sys/dev/pci/drm/amd/amdgpu/gfx_v10_0.c log diff annotate
src/sys/dev/pci/drm/amd/amdgpu/gfx_v9_0.c log diff annotate
message Switch from bus_space_read/write to linux io.h interfaces for all
pci "memory space" io. Further reduces the diff to linux.

ok kettenis@

date 2020-10-28T17:27:35Z
author bluhm
files src/sys/netinet/icmp6.h log diff annotate
src/sys/netinet6/icmp6.c log diff annotate
message When generating the ICMP6 response to an IPv6 packet, the kernel
could use mbuf memory after freeing it. If m_pullup() allocates a
new mbuf, the caller uses the old pointer.
found and reported by Maxime Villard, thanks
OK claudio@ markus@ denis@

date 2020-10-28T18:49:03Z
author kettenis
files src/sys/dev/pci/pcidevs log diff annotate
message Fujitsu SPARC64 X CPI host bridge and another PLX PCIe switch.

date 2020-10-28T18:49:33Z
author kettenis
files src/sys/dev/pci/pcidevs.h log diff annotate
src/sys/dev/pci/pcidevs_data.h log diff annotate
message regen

date 2020-10-28T20:40:02Z
author kettenis
files src/sys/dev/usb/usbdevs log diff annotate
message Add a few more Apple Geyser IDs.

ok tobhe@, deraadt@

date 2020-10-28T20:40:51Z
author kettenis
files src/sys/dev/usb/usbdevs.h log diff annotate
src/sys/dev/usb/usbdevs_data.h log diff annotate
message regen

date 2020-10-28T20:42:04Z
author kettenis
files src/sys/dev/usb/ukbd.c log diff annotate
message Apple Geyser3 keyboards need munging as well. Reported by Mathius Schocker.

ok tohe@, deraadt@