OpenBSD cvs log

created 2020-08-02T08:14:38Z
begin 2020-07-29T00:00:00Z
end 2020-07-30T00:00:00Z
path src/sys
commits 19

date 2020-07-29T02:32:13Z
author yasuoka
files src/sys/net/pf_lb.c log diff annotate
message Fix previous commit which referred wrong address and returned wrong
value.

ok sashan

date 2020-07-29T05:53:52Z
author anton
files src/sys/dev/wscons/wskbd.c log diff annotate
src/sys/dev/wscons/wsmouse.c log diff annotate
src/sys/dev/wscons/wsmux.c log diff annotate
message Fix yet another panic in which wsevent_fini() ends up being called with
NULL. This one is a race caused by clearing the me_evp member before
calling routines that could end up sleeping.

While here, make wsmux_mux_close() look more like the other mux close
routines for increased symmetry.

ok mpi@

Reported-by: [email protected]

date 2020-07-29T09:52:21Z
author jsg
files src/sys/dev/pci/drm/drm_vblank.c log diff annotate
src/sys/dev/pci/drm/include/linux/ktime.h log diff annotate
src/sys/dev/pci/drm/include/linux/timekeeping.h log diff annotate
message change ktime to nanoseconds in drm

Change from using timevals for ktime to 64 bit count of nanoseconds
to closer match linux.

tweak from and ok cheloha@
ok kettenis@ on an earlier version

date 2020-07-29T10:41:35Z
author jsg
files src/sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm.c log diff annotate
message drm/amd/display: Check DMCU Exists Before Loading

From Jerry (Fangzhi) Zuo
984fafafde60f91b5bf8a31c3ba8ad7337496cc3 in linux 5.7.y/5.7.11
17bdb4a82fe5014c8aa5b2103c80c5729744a096 in mainline linux

date 2020-07-29T10:44:02Z
author jsg
files src/sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm.c log diff annotate
message drm/amd/display: add dmcub check on RENOIR

From Aaron Ma
ef176ba6acec80d11f1d8d7f998174b56e3c9620 in linux 5.7.y/5.7.11
3b2e973dff59d88bee1d814ddf8762a24fc02b60 in mainline linux

date 2020-07-29T10:46:25Z
author jsg
files src/sys/dev/pci/drm/amd/amdgpu/gfx_v10_0.c log diff annotate
message drm/amdgpu/gfx10: fix race condition for kiq

From Jack Xiao
d2b27b4f5b04bdce08df1b4e421b34fb2572ba97 in linux 5.7.y/5.7.11
7d65a577bb58d4f27a3398a4c0cb0b00ab7d0511 in mainline linux

date 2020-07-29T10:48:49Z
author jsg
files src/sys/dev/pci/drm/amd/amdgpu/amdgpu_debugfs.c log diff annotate
message drm/amdgpu: fix preemption unit test

From Jack Xiao
21869ebb9b74685d0668d42e55e628a29c969e62 in linux 5.7.y/5.7.11
d845a2051b6b673fab4229b920ea04c7c4352b51 in mainline linux

date 2020-07-29T11:00:56Z
author jsg
files src/sys/dev/pci/drm/amd/amdgpu/amdgpu_pm.c log diff annotate
message drm/amdgpu: Fix NULL dereference in dpm sysfs handlers

From Pawel Gronowski
f69137b000ffcfc726e8f3d567e0b69b34a49649 in linux 5.7.y/5.7.11
38e0c89a19fd13f28d2b4721035160a3e66e270b in mainline linux

date 2020-07-29T11:03:46Z
author jsg
files src/sys/dev/pci/drm/amd/powerplay/smumgr/vegam_smumgr.c log diff annotate
message drm/amd/powerplay: fix a crash when overclocking Vega M

From Qiu Wenbo
b00f624573229df95e68308162da6c419ef0b2b2 in linux 5.7.y/5.7.11
88bb16ad998a0395fe4b346b7d3f621aaa0a2324 in mainline linux

date 2020-07-29T12:07:58Z
author kn
files src/sys/net/if_tpmr.c log diff annotate
message Remove SIOCSIFADDR

It serves no purpose and is deprecated as per netintro(4).
ifconfig(8) output improves as well:

# ifconfig tpmr0 inet6 2001:db8::1
-ifconfig: SIOCAIFADDR: Address family not supported by protocol family
+ifconfig: SIOCAIFADDR: Inappropriate ioctl for device

OK dlg

date 2020-07-29T12:08:15Z
author mvs
files src/sys/net/if_pfsync.c log diff annotate
message pfsync(4) holds pointer to corresponding `ifnet' as `sc_sync_if'. This
pointer obtained by ifunit() and it's reference counter is not bumped.
This can cause use after free issue. Replace this pointer by interface
index.

ok dlg@ sashan@

date 2020-07-29T12:09:31Z
author mvs
files src/sys/net/if_bridge.h log diff annotate
src/sys/net/if_var.h log diff annotate
src/sys/net/pipex.c log diff annotate
src/sys/net/pipex.h log diff annotate
src/sys/net/pipex_local.h log diff annotate
message Interface index is unsigned integer. Fix the places where it referenced
as signed. u_int used within pipex(4) for consistency with other code.

ok dlg@ mpi@

date 2020-07-29T12:09:47Z
author krw
files src/sys/dev/ic/uha.c log diff annotate
message SC_DEBUG() and friends are for debugging the SCSI code, not for scattered random
uses in drivers.

Use UHADEBUG sections like the debug output in other uha_* files.

date 2020-07-29T12:13:05Z
author krw
files src/sys/dev/isa/wds.c log diff annotate
message SC_DEBUG() and friends are for debugging the SCSI code, not for scattered random
uses in drivers.

Use WDSDEBUG sections like the rest of the debug output. Fix some printf()
format problems that were missed in the previous sweep.

date 2020-07-29T15:25:34Z
author deraadt
files src/sys/dev/ic/aic7xxx_openbsd.c log diff annotate
message fix new typo

date 2020-07-29T16:37:12Z
author deraadt
files src/sys/dev/usb/xhci.c log diff annotate
message Don't nest a enum declaration inside a struct declaration, and anyway
since the enum isn't tied to the type (because want smaller storage)
is better to use #define
ok kettenis mglocker

date 2020-07-29T16:57:22Z
author krw
files src/sys/dev/ic/aic7xxxvar.h log diff annotate
message Don't #undef AHC_DEBUG. Lets kernel "option AHC_DEBUG" work. Not sure what I was
thinking in 2003.

Discovered via deraadt@ typo detection.

date 2020-07-29T21:10:19Z
author deraadt
files src/sys/arch/amd64/conf/RAMDISK log diff annotate
message atapiscsi is not needed here. (well maybe it changes the behaviour of
the pciide subsystem a tiny bit at attach-time, but we don't have the
downstream cd(4) device to attach, so let's try without)

date 2020-07-29T23:56:42Z
author krw
files src/sys/dev/usb/umass_scsi.c log diff annotate
message Don't turn on SDEV_DB* flags via UDMASS_UPPER. If you want SCSI debug output,
ask for it the normal way. Less surprising and more effective, since you have to
specify SCSIDEBUG/_BUS/_TARGET/_LUN separately anyway.