OpenBSD cvs log

created 2021-05-02T04:23:57Z
begin 2021-04-29T00:00:00Z
end 2021-04-30T00:00:00Z
path src/sys
commits 9

date 2021-04-29T11:29:05Z
author jsg
files src/sys/stand/efi/include/riscv64/efibind.h log diff annotate
message add riscv64 efibind.h

ok drahn@ kettenis@

date 2021-04-29T11:32:20Z
author jsg
files src/sys/Makefile log diff annotate
message descend into arch/riscv64

date 2021-04-29T12:49:19Z
author visa
files src/sys/arch/mips64/include/frame.h log diff annotate
src/sys/arch/mips64/include/pcb.h log diff annotate
src/sys/arch/mips64/mips64/context.S log diff annotate
src/sys/arch/mips64/mips64/cp0access.S log diff annotate
src/sys/arch/mips64/mips64/exception.S log diff annotate
src/sys/arch/mips64/mips64/interrupt.c log diff annotate
src/sys/arch/mips64/mips64/mips64_machdep.c log diff annotate
src/sys/arch/mips64/mips64/vm_machdep.c log diff annotate
message Remove unused RM7000 ICR handling.

date 2021-04-29T15:12:14Z
author kettenis
files src/sys/dev/ic/sti.c log diff annotate
message Replace uvm_km_alloc(9) calls with km_alloc(9) calls. Make the copied ROM
contents executable using pmap_kenter_pa(9) since uvm stops us from doing
so using higher-level interfaces (for good reasons).
Maintaining W^X of course!

ok mpi@

date 2021-04-29T15:34:22Z
author bluhm
files src/sys/arch/i386/i386/pmapae.c log diff annotate
message Revert part of the previous uvm_km_zalloc(9) to km_alloc(9) commit.
The chunk with mapping for pm_pdir_intel causes crashes for sthen@
and bluhm@. i386 pagedaemon panic: kernel diagnostic assertion
"pg->wire_count == 0" failed: file "/usr/src/sys/uvm/uvm_page.c",
line 1265
One of my 8 CPU 3 GB RAM machines can reproduce it when building
clang with make -j 9. This commit hides the underlying bug.
OK mpi@

date 2021-04-29T17:19:18Z
author kettenis
files src/sys/arch/riscv64/include/ieeefp.h log diff annotate
message Clean up <machine/ieeefp.h> and make sure the rounding mode bits match the
hardware. Implement fp[gs]etround(3) and fp[gs]etsticky(3) and tweak
the fp[gs]etmask(3) implementation to provide the right weak symbols.
This implementation deliberately ignores the additional
"round to nearest, away from zero" as this interface is derived from
i386-specific code and the i387 FPU doesn't implement such a rounding
mode. This is a legacy API and code should use <fenv.h> instead.

ok drahn@

date 2021-04-29T20:13:25Z
author mvs
files src/sys/kern/uipc_usrreq.c log diff annotate
message Remove netlock assertions from UNIX sockets layer.

ok bluhm@

date 2021-04-29T21:43:46Z
author stsp
files src/sys/net80211/ieee80211_input.c log diff annotate
message Make iwn, iwm, and iwx keep track of beacon parameters at run-time.

- HT protection settings (this was already implemented)
- ERP (11g) protection setting
- short slottime setting
- short preamble setting
- EDCA (QoS) parameters

All of these parameters are communicated in beacons and hardware is
now kept up-to-date with them.

Prompted by a problem report from Christian Ehrhardt regarding ERP.

Tested:
iwn 6205: stsp, Josh Grosse
iwm 7265: trondd
iwm 8265: stsp, Matthias Schmidt
iwm 9260: phessler
iwx ax200: stsp, jmc, gnezdo

date 2021-04-29T21:43:47Z
author stsp
files src/sys/dev/pci/if_iwm.c log diff annotate
src/sys/dev/pci/if_iwmvar.h log diff annotate
src/sys/dev/pci/if_iwn.c log diff annotate
src/sys/dev/pci/if_iwx.c log diff annotate
src/sys/dev/pci/if_iwxvar.h log diff annotate
src/sys/net80211/ieee80211_node.c log diff annotate
src/sys/net80211/ieee80211_var.h log diff annotate
message Make iwn, iwm, and iwx keep track of beacon parameters at run-time.

- HT protection settings (this was already implemented)
- ERP (11g) protection setting
- short slottime setting
- short preamble setting
- EDCA (QoS) parameters

All of these parameters are communicated in beacons and hardware is
now kept up-to-date with them.

Prompted by a problem report from Christian Ehrhardt regarding ERP.

Tested:
iwn 6205: stsp, Josh Grosse
iwm 7265: trondd
iwm 8265: stsp, Matthias Schmidt
iwm 9260: phessler
iwx ax200: stsp, jmc, gnezdo