OpenBSD cvs log

created 2021-11-21T11:59:45Z
begin 2021-09-22T00:00:00Z
end 2021-09-29T00:00:00Z
path src/sys
commits 35

date 2021-09-22T15:44:12Z
author anton
files src/sys/dev/wscons/wsmux.c log diff annotate
message Prevent ucc keyboards from changing the wsmux keyboard layout.

ok deraadt@

date 2021-09-22T16:03:14Z
author kettenis
files src/sys/dev/pci/drm/amd/amdgpu/amdgpu_gmc.c log diff annotate
message Add a workaround for machines where the framebuffer size reported by the
hardware is incorrect. In this case, make sure the amount of "stolen"
memory is at least as large as the EFI framebuffer such that the
driver doesn't use this memory until we've switched to the framebuffer
allocated by the amdgpu(4) driver.

Needs further investigation why the size reported by the hardware is
incorrect.

Tested by djm@
ok jsg@, deraadt@

date 2021-09-22T18:21:35Z
author deraadt
files src/sys/conf/newvers.sh log diff annotate
message we are now working on 7.0-current

date 2021-09-22T18:24:04Z
author benno
files src/sys/conf/GENERIC log diff annotate
message enable POOL_DEBUG again.

date 2021-09-23T15:13:47Z
author stsp
files src/sys/net80211/ieee80211_proto.c log diff annotate
src/sys/net80211/ieee80211_var.h log diff annotate
message Add an ADDBA_OFFLOAD capability for wifi devices manage Tx block ack
sessions entirely in firmware. This will be used by iwx(4).

date 2021-09-23T15:34:00Z
author stsp
files src/sys/dev/pci/if_iwx.c log diff annotate
src/sys/dev/pci/if_iwxreg.h log diff annotate
src/sys/dev/pci/if_iwxvar.h log diff annotate
message Add support for Tx aggregation to the iwx(4) driver.

Throughput goes up to 100 Mbit/s under ideal conditions.

This is mostly working and stable, however rare occasional hangs may occur
where the device stops giving us interrupts for reasons which are not yet
understood.
In such cases ifconfig down/up will recover the interface. Regardless, this
code seems to be stable enough for remaining issues to be resolved in-tree.
My working assumption is that the remaining issues were always present but
only trigger under increased load when firmware is driven with Tx agg enabled.

Feedback is welcome, especially if stability issues turn out to be worse than
expected! As usual, please enable "ifconfig iwx0 debug" when reporting issues.

Tests on ax200/ax201:
myself, dv, hrvoje, Stefan Hagen, kevlo, Eric Auge, mlarkin, jmc, Mark Patruck

Of which only me and jmc have reported seeing a small amount of hangs during
continuous usage over about 2 weeks.

date 2021-09-23T15:40:41Z
author stsp
files src/sys/net80211/ieee80211_proto.c log diff annotate
message Revert ieee80211_proto.c r1.97 (cvs commit ID 8vKZsdvvkjTr5BG5).

My assumption that frames which are buffered on the power save
queue were already encrypted was wrong. And the issue which this
change intended to fix is still present (reported by Mikolaj Kucharski).

date 2021-09-23T16:27:58Z
author stsp
files src/sys/dev/pci/if_iwx.c log diff annotate
message Reset the Tx timer when iwx(4) firmware sends a BA notification.

When multiple frames are sent in a batch on a Tx aggregation queue our
current firmware version does not provide the IWX_TX_CMD notification.
Older versions used to provide this (as observed on iwm(4) devices),
but our current firmware only sends IWX_BA_NOTIF.

This means we need to reset the Tx timer upon BA_NOTIF in order to
avoid a bogus "device timeout" trigger from our watchdog handler.
Do this as soon as the BA notification has been validated.

date 2021-09-24T05:25:37Z
author kevlo
files src/sys/dev/usb/if_umb.c log diff annotate
src/sys/dev/usb/usbdevs log diff annotate
message Add support for SIMCom SIM7600.
To issue AT commands (AT+CUSBPIDSWITCH=9003,1,1 and AT+CLANMODE=1) to
change to MBIM mode.

ok deraadt@

date 2021-09-24T08:50:57Z
author kevlo
files src/sys/dev/usb/usbdevs.h log diff annotate
src/sys/dev/usb/usbdevs_data.h log diff annotate
message regen

date 2021-09-24T14:37:56Z
author aoyama
files src/sys/arch/m88k/m88k/fpu.c log diff annotate
message Fix two bugs in m88k fcmp{,u} emulation.

- Use of goto will skip zeroing of 88110-specific comparison bits (bitn
12-17) in some cases. (Move their zeroing closer to the point of
their computation.)

- Computing of the "in interval" bits should not be performed when the
S2 operand is negative.

Spotted by Tetsuya Isaki (nono project), suggested diff and description
from Miod Vallat. Tested on the real hardware by Isaki and me.

date 2021-09-24T19:02:16Z
author stsp
files src/sys/dev/pci/if_iwm.c log diff annotate
message Reset the Tx timer when iwm(4) firmware sends a BA notification.

This prevents a bogus "device timeout" if firmware sends a IWM_BA_NOTIF
instead of IWM_TX_CMD in order to let us know that a frame has been sent
on a Tx aggregation queue. Such behaviour was observed on iwx(4), and there
is reason to believe that iwm(4) might also be affected by this issue.

Tested by Jean-Michel Bessot on 7265 via bugs@ where this change seems
to prevent random device timeouts.
Tested by myself on 8265 with no apparent behaviour change seen.

date 2021-09-25T10:43:24Z
author kn
files src/sys/arch/arm64/conf/GENERIC log diff annotate
src/sys/dev/fdt/files.fdt log diff annotate
src/sys/dev/fdt/gpioleds.c log diff annotate
message Add gpioleds(4) for arm64

This driver provides support for LEDs connected to GPIO pins,
such as those found on the Pinebook Pro.

OK kettenis

date 2021-09-25T18:40:08Z
author kn
files src/sys/arch/arm64/conf/GENERIC log diff annotate
src/sys/dev/fdt/files.fdt log diff annotate
src/sys/dev/fdt/gpiocharger.c log diff annotate
message Add gpiocharger(4) for arm64

This driver provides support for battery chargers connected to GPIO pins,
such as those found on the Pinebook Pro.

OK kettenis

date 2021-09-25T21:34:21Z
author aoyama
files src/sys/arch/luna88k/dev/omrasops.h log diff annotate
message Add $OpenBSD$ keyword and correct spelling.

date 2021-09-25T23:53:35Z
author aoyama
files src/sys/arch/luna88k/dev/mb89352.c log diff annotate
message Fix a possible race condition in spc_msgin().

This comes from NetBSD:sys/dev/ic/mb89352.c fix by tsutsui:
http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/dev/ic/mb89352.c.diff?r1=1.57&r2=1.58&f=h

Tested on LUNA-88K2 by me.

date 2021-09-27T03:20:21Z
author jsg
files src/sys/dev/pci/drm/amd/amdgpu/amdgpu_ras_eeprom.c log diff annotate
message drm/amdgpu: Fix amdgpu_ras_eeprom_init()

From Luben Tuikov
10a135969fd7419695c003ddb67ef8a7820a808b in linux 5.10.y/5.10.67
dce4400e6516d18313d23de45b5be8a18980b00e in mainline linux

date 2021-09-27T03:23:16Z
author jsg
files src/sys/dev/pci/drm/drm_debugfs.c log diff annotate
message drm: avoid blocking in drm_clients_info's rcu section

From Desmond Cheong Zhi Xi
54e51d288b38377e8cd645a83e1ad08cc9d20ccc in linux 5.10.y/5.10.67
5eff9585de220cdd131237f5665db5e6c6bdf590 in mainline linux

date 2021-09-27T03:34:34Z
author jsg
files src/sys/dev/pci/drm/drm_auth.c log diff annotate
src/sys/dev/pci/drm/drm_file.c log diff annotate
src/sys/dev/pci/drm/include/drm/drm_file.h log diff annotate
message drm: serialize drm_file.master with a new spinlock

From Desmond Cheong Zhi Xi
06a553a99bacb00d3bc25f79e75c8e0fbf7a5025 in linux 5.10.y/5.10.67
0b0860a3cf5eccf183760b1177a1dcdb821b0b66 in mainline linux

date 2021-09-27T03:44:40Z
author jsg
files src/sys/dev/pci/drm/drm_auth.c log diff annotate
src/sys/dev/pci/drm/include/drm/drm_auth.h log diff annotate
src/sys/dev/pci/drm/include/drm/drm_file.h log diff annotate
message drm: protect drm_master pointers in drm_lease.c

From Desmond Cheong Zhi Xi
34609faad0c9f9f08d4b59d25c94b78bf5710d93 in linux 5.10.y/5.10.67
56f0729a510f92151682ff6c89f69724d5595d6e in mainline linux

date 2021-09-27T03:47:24Z
author jsg
files src/sys/dev/pci/drm/amd/display/dc/dcn20/dcn20_resource.c log diff annotate
message drm/amd/display: Fix timer_per_pixel unit error

From Oliver Logush
f462a39eb8334b52e332cc0cbffb705660b7d87b in linux 5.10.y/5.10.67
23e55639b87fb16a9f0f66032ecb57060df6c46c in mainline linux

date 2021-09-27T03:52:13Z
author jsg
files src/sys/dev/pci/drm/amd/amdgpu/vcn_v1_0.c log diff annotate
src/sys/dev/pci/drm/amd/amdgpu/vcn_v2_0.c log diff annotate
src/sys/dev/pci/drm/amd/amdgpu/vcn_v2_5.c log diff annotate
src/sys/dev/pci/drm/amd/amdgpu/vcn_v3_0.c log diff annotate
message drm/amdgpu: Fix a printing message

From Oak Zeng
a5999d18a8d8c4c767c60d67fe6a6fe51b9a203d in linux 5.10.y/5.10.67
95f71f12aa45d65b7f2ccab95569795edffd379a in mainline linux

date 2021-09-27T03:54:37Z
author jsg
files src/sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c log diff annotate
message drm/amd/amdgpu: Update debugfs link_settings output link_rate field in hex

From Anson Jacob
6f51f4241253974a6a147daecd5c20beb7450330 in linux 5.10.y/5.10.67
1a394b3c3de2577f200cb623c52a5c2b82805cec in mainline linux

date 2021-09-27T03:57:30Z
author jsg
files src/sys/dev/pci/drm/amd/display/dc/dcn20/dcn20_hwseq.c log diff annotate
src/sys/dev/pci/drm/amd/display/dc/dcn30/dcn30_hwseq.c log diff annotate
message drm/amd/display: fix missing writeback disablement if plane is removed

From Roy Chan
d763afc4ea2b251217ec87cf4c1e006c9f0aef99 in linux 5.10.y/5.10.67
82367e7f22d085092728f45fd5fbb15e3fb997c0 in mainline linux

date 2021-09-27T03:59:34Z
author jsg
files src/sys/dev/pci/drm/amd/display/dc/dcn30/dcn30_dwb_cm.c log diff annotate
message drm/amd/display: fix incorrect CM/TF programming sequence in dwb

From Roy Chan
63ebc1f1df813ebb40d19449c356480555008166 in linux 5.10.y/5.10.67
781e1e23131cce56fb557e6ec2260480a6bd08cc in mainline linux

date 2021-09-27T04:02:04Z
author jsg
files src/sys/dev/pci/drm/amd/amdgpu/amdgpu_i2c.c log diff annotate
message gpu: drm: amd: amdgpu: amdgpu_i2c: fix possible uninitialized-variable access in amdgpu_i2c_router_select_ddc_port()

From Tuo Li
2254383788ff93a423e20068333b9f8376d56cb4 in linux 5.10.y/5.10.67
a211260c34cfadc6068fece8c9e99e0fe1e2a2b6 in mainline linux

date 2021-09-27T04:04:35Z
author jsg
files src/sys/dev/pci/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c log diff annotate
message drm/display: fix possible null-pointer dereference in dcn10_set_clock()

From Tuo Li
83449db3aac0895147eac723bf23d0739720b968 in linux 5.10.y/5.10.67
554594567b1fa3da74f88ec7b2dc83d000c58e98 in mainline linux

date 2021-09-27T04:06:35Z
author jsg
files src/sys/dev/pci/drm/amd/amdkfd/kfd_mqd_manager.c log diff annotate
src/sys/dev/pci/drm/amd/amdkfd/kfd_mqd_manager.h log diff annotate
message drm/amdkfd: Account for SH/SE count when setting up cu masks.

From Sean Keely
0e9f4492219f8f991163691aad43897da8478c4e in linux 5.10.y/5.10.67
1ec06c2dee679e9f089e78ed20cb74ee90155f61 in mainline linux

date 2021-09-27T04:09:05Z
author jsg
files src/sys/dev/pci/drm/drm_dp_mst_topology.c log diff annotate
message drm/dp_mst: Fix return code on sideband message failure

From Rajkumar Subbiah
bb693c114e8b53e3e0b8228be218d907d35959a5 in linux 5.10.y/5.10.67
92bd92c44d0d9be5dcbcda315b4be4b909ed9740 in mainline linux

date 2021-09-27T04:11:34Z
author jsg
files src/sys/dev/pci/drm/amd/amdgpu/amdgpu_object.c log diff annotate
message drm/amdgpu: Fix BUG_ON assert

From Andrey Grodzovsky
7b1abace16a9dff6804d4eb94750beb60d9502b4 in linux 5.10.y/5.10.67
ea7acd7c5967542353430947f3faf699e70602e5 in mainline linux

date 2021-09-27T04:14:09Z
author jsg
files src/sys/dev/pci/drm/amd/display/dc/dcn30/dcn30_resource.c log diff annotate
message drm/amd/display: Update number of DCN3 clock states

From Aurabindo Pillai
583c4f3d09c3e980a683b59febbb0c775bdff1db in linux 5.10.y/5.10.67
0bbf06d888734041e813b916d7821acd4f72005a in mainline linux

date 2021-09-27T04:16:18Z
author jsg
files src/sys/dev/pci/drm/amd/display/dc/dcn30/dcn30_resource.c log diff annotate
message drm/amd/display: Update bounding box states (v2)

From Jerry (Fangzhi) Zuo
b80a99e048275d566d63f2463a2f640065ccbf75 in linux 5.10.y/5.10.67
a7a9d11e12fcc32160d55e8612e72e5ab51b15dc in mainline linux

date 2021-09-27T04:47:02Z
author jsg
files src/sys/dev/pci/drm/amd/amdgpu/amdgpu.h log diff annotate
message drm/amd/amdgpu: Increase HWIP_MAX_INSTANCE to 10

From Ernst Sjoestrand
8f95553f0016c3994d9c022b5af4a1a433d6714e in linux 5.10.y/5.10.68
67a44e659888569a133a8f858c8230e9d7aad1d5 in mainline linux

date 2021-09-27T05:05:57Z
author jsg
files src/sys/dev/pci/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c log diff annotate
message drm/amdgpu: Disable PCIE_DPM on Intel RKL Platform

From Koba Ko
45bd9dd1bee8aedc4cbd409b1ba7f9b4f941eea6 in linux 5.10.y/5.10.69
b3dc549986eb7b38eba4a144e979dc93f386751f in mainline linux

date 2021-09-28T10:00:18Z
author claudio
files src/sys/kern/kern_sig.c log diff annotate
message Fix timeout behaviour bug introduced in 1.241.
If the timespec is zero-valued sys___thrsigdivert() should just do the
check for pending signals and return immediatly.
OK kettenis@