OpenBSD cvs log

created 2021-12-19T23:13:49Z
begin 2021-12-14T00:00:00Z
end 2021-12-15T00:00:00Z
path src/sys
commits 15

date 2021-12-14T10:48:10Z
author patrick
files src/sys/dev/pci/if_em.c log diff annotate
src/sys/dev/pci/if_em.h log diff annotate
src/sys/dev/pci/if_em_hw.c log diff annotate
src/sys/dev/pci/if_em_hw.h log diff annotate
message Implement support for selecting SGMII or SerDes mode depending on the
plugged-in SFP transceiver and for reading out transceiver information
via ifconfig(8). To read from the SFP, we need to let the card issue
I2C transfers. Additionally we need I2C to read/write to the PHY when
MDIO is not available. Depending on the SFP's supported media types
we can decide which mode to use.

This fixes hardware-initialization and link-up problems with some em(4)
Fiber NIC and SFP combinations.

Tested by dlg@ and been in snaps for quite a while
ok dlg@ jmatthew@

date 2021-12-14T11:05:37Z
author kettenis
files src/sys/arch/arm64/stand/efiboot/Makefile log diff annotate
src/sys/arch/arm64/stand/efiboot/conf.c log diff annotate
src/sys/arch/arm64/stand/efiboot/efiboot.c log diff annotate
message Use "rng-seed" and "kaslr-seed" properties from the device tree to mix in
some extra entropy.

ok deraadt@

date 2021-12-14T12:48:15Z
author jsg
files src/sys/dev/pci/drm/amd/amdgpu/amdgpu_bios.c log diff annotate
src/sys/dev/pci/drm/radeon/radeon_bios.c log diff annotate
message use bus_space_read_region_1() when reading bios from pci rom

Avoids 'BIOS signature incorrect 0 0' warning seen on sparc64
(where pci is mapped little endian) reported by Ted Bullock.

date 2021-12-14T13:20:09Z
author jsg
files src/sys/dev/pci/drm/amd/amdgpu/amdgpu_amdkfd.c log diff annotate
src/sys/dev/pci/drm/amd/amdgpu/amdgpu_amdkfd.h log diff annotate
message drm/amd/amdkfd: adjust dummy functions' placement

From Lang Yu
46dcf66d6e7a64febe0575c62679287679dcb2b3 in linux 5.10.y/5.10.85
cd63989e0e6aa2eb66b461f2bae769e2550e47ac in mainline linux

date 2021-12-14T13:22:32Z
author jsg
files src/sys/dev/pci/drm/amd/amdgpu/amdgpu_amdkfd.h log diff annotate
src/sys/dev/pci/drm/amd/amdkfd/kfd_device.c log diff annotate
message drm/amdkfd: separate kfd_iommu_resume from kfd_resume

From James Zhu
5d191b0976b72af5f79cf217b9b7c2f20b522a2a in linux 5.10.y/5.10.85
fefc01f042f44ede373ee66773b8238dd8fdcb55 in mainline linux

date 2021-12-14T13:24:12Z
author jsg
files src/sys/dev/pci/drm/amd/amdgpu/amdgpu_amdkfd.c log diff annotate
src/sys/dev/pci/drm/amd/amdgpu/amdgpu_amdkfd.h log diff annotate
message drm/amdgpu: add amdgpu_amdkfd_resume_iommu

From James Zhu
fe9dca7dda61f8f3b3000df2abe88c60d1bfab93 in linux 5.10.y/5.10.85
8066008482e533e91934bee49765bf8b4a7c40db in mainline linux

date 2021-12-14T13:25:51Z
author jsg
files src/sys/dev/pci/drm/amd/amdgpu/amdgpu_device.c log diff annotate
message drm/amdgpu: move iommu_resume before ip init/resume

From James Zhu
ac9db04ee32f007e48cb0763784ccfadd5a21342 in linux 5.10.y/5.10.85
f02abeb0779700c308e661a412451b38962b8a0b in mainline linux

date 2021-12-14T13:28:06Z
author jsg
files src/sys/dev/pci/drm/amd/amdgpu/amdgpu_device.c log diff annotate
message drm/amdgpu: init iommu after amdkfd device init

From Yifan Zhang
7508a9aa65b959bbc6d9e42c9683520bddb7db0d in linux 5.10.y/5.10.85
714d9e4574d54596973ee3b0624ee4a16264d700 in mainline linux

date 2021-12-14T13:29:50Z
author jsg
files src/sys/dev/pci/drm/amd/amdgpu/amdgpu_device.c log diff annotate
src/sys/dev/pci/drm/amd/amdkfd/kfd_device.c log diff annotate
message drm/amdkfd: fix boot failure when iommu is disabled in Picasso.

From Yifan Zhang
f3d9114ac99f4358809f44b390b304b8b53fb4a4 in linux 5.10.y/5.10.85
afd18180c07026f94a80ff024acef5f4159084a4 in mainline linux

date 2021-12-14T13:32:09Z
author jsg
files src/sys/dev/pci/drm/drm_syncobj.c log diff annotate
message drm/syncobj: Deal with signalled fences in drm_syncobj_find_fence.

From Bas Nieuwenhuizen
2737d0bc21b6db199b4145e12b9f1745577d7944 in linux 5.10.y/5.10.85
b19926d4f3a660a8b76e5d989ffd1168e619a5c4 in mainline linux

date 2021-12-14T15:32:20Z
author visa
files src/sys/kern/tty.c log diff annotate
message Cover all state checks and updates with spltty() in filt_ttyread().

date 2021-12-14T15:53:42Z
author visa
files src/sys/miscfs/fifofs/fifo_vnops.c log diff annotate
message Remember to clear __EV_HUP when the other end of the FIFO has re-opened.

date 2021-12-14T17:50:37Z
author bluhm
files src/sys/net/pfkeyv2.c log diff annotate
src/sys/netinet/ip_ipsp.c log diff annotate
src/sys/netinet/ip_ipsp.h log diff annotate
src/sys/netinet/ip_spd.c log diff annotate
message To cache lookups, the policy ipo is linked to its SA tdb. There
is also a list of SAs that belong to a policy. To make it MP safe,
protect these pointers with a mutex.
tested by Hrvoje Popovski; OK mvs@

date 2021-12-14T18:16:14Z
author deraadt
files src/sys/arch/amd64/include/intr.h log diff annotate
src/sys/arch/i386/include/intr.h log diff annotate
message delete incorrect comment about sys/cdefs.h

date 2021-12-14T23:47:36Z
author dtucker
files src/sys/netinet/ip.h log diff annotate
message Correct value for IPTOS_DSCP_LE since it needs to allow for the preceeding
two ECN bits. From daisuke.higashi at gmail.com via OpenSSH bz#3373,
ok claudio@, job@, djm@.