OpenBSD cvs log

created 2021-01-02T18:51:34Z
begin 2020-11-19T00:00:00Z
end 2020-11-20T00:00:00Z
path src/sys
commits 9

date 2020-11-19T04:08:46Z
author gnezdo
files src/sys/kern/sysv_shm.c log diff annotate
message Convert sysctl_sysvsem to sysctl_int_bounded

Performed a minor refactoring and removed a few trailing whitespaces.

ok anton@

date 2020-11-19T08:53:14Z
author patrick
files src/sys/dev/pci/drm/amd/amdgpu/amdgpu_device.c log diff annotate
message The conversion of the IO BAR access did not completely mirror the
behaviour of Linux' implementation: arm64's bus space operations
have no barriers, so while Linux' iowrite32/ioread32 explicitly
contain barriers, using bus space read/write is not enough on arm64.
Add read barriers after a read to make sure that all reads have
completed before the following reads. Add write barriers before a
write to make sure all previous writes have completed before that
write. This fixes panics on the HoneyComb LX2K with amdgpu(4).

ok kettenis@

date 2020-11-19T13:31:07Z
author kettenis
files src/sys/arch/arm64/dev/acpipci.c log diff annotate
message Implement address translation for bus_space_mmap(9).

ok patrick@

date 2020-11-19T13:45:15Z
author krw
files src/sys/scsi/scsi_base.c log diff annotate
src/sys/scsi/scsiconf.c log diff annotate
message TL;DR -- don't configure devices that return insufficient INQUIRY data.

Treat INQUIRY data with fewer than SID_SCSI2_HDRLEN bytes as invalid.

Use only INQUIRY data returned by the device.

Get all available INQUIRY data (up to sizeof(struct scsi_inquiry_data))
even when SCSIDEBUG is not set.

Tweak returned INQUIRY data so additional_length field does not point
past end of returned data when available data is greater than
sizeof(struct scsi_inquiry_data).

Missing dmafree() spotted by gnezdo@. ok jmatthew@.

date 2020-11-19T17:06:40Z
author mpi
files src/sys/uvm/uvm_fault.c log diff annotate
message Move logic handling lower faults, case 2, to its own function.

No functionnal change.

ok kettenis@, jmatthew@, tb@

date 2020-11-19T17:42:19Z
author kettenis
files src/sys/arch/arm64/dev/pciecam.c log diff annotate
message Make sure bus_space_mmap(9) works for pciecam(4).

ok patrick@

date 2020-11-19T17:42:59Z
author kettenis
files src/sys/arch/arm64/dev/simplebus.c log diff annotate
message Make bus_space_mmap(9) work for simplebus(4).

ok patrick@

date 2020-11-19T17:44:46Z
author kettenis
files src/sys/dev/fdt/if_mvpp.c log diff annotate
message Use bus_space_mmap(9) instead of pmap_extract(9) to find out the physical
(CPU) address of the device. Pointed out by miod@

ok patrick@

date 2020-11-19T20:03:33Z
author krw
files src/sys/net80211/ieee80211_ioctl.c log diff annotate
src/sys/net80211/ieee80211_pae_input.c log diff annotate
src/sys/net80211/ieee80211_proto.c log diff annotate
message Always check for EBUSY when the return value of ic_set_key() is tested.

Fixes urtwn(4) repeated DEAUTH and subsequent loss/restoration of link.
It was a great dhclient(4) stress test. Note that urtwn(4) is the first
and so far only device whose *_set_key() function returns EBUSY.

Debugging hints and ok stsp@