OpenBSD cvs log

created 2018-12-19T13:06:38Z
begin 2018-04-26T12:00:00Z
end 2018-04-26T18:00:00Z
path src/sys
commits 7

date 2018-04-26T12:47:02Z
author guenther
files src/sys/arch/amd64/amd64/db_trace.c log diff annotate
src/sys/arch/amd64/amd64/machdep.c log diff annotate
src/sys/arch/amd64/include/frame.h log diff annotate
src/sys/arch/amd64/include/frameasm.h log diff annotate
message Reorder trapframe/intrframe to put %rbp next to %rip and make it
behave like a real call frame, thus vastly simplifying the ddb back
trace logic.

based on whinging from deraadt@
ok jasper@ mpi@ phessler@

date 2018-04-26T12:50:07Z
author pirofti
files src/sys/dev/ic/athn.c log diff annotate
src/sys/dev/ic/bwfm.c log diff annotate
src/sys/dev/pci/if_ipw.c log diff annotate
src/sys/dev/pci/if_iwi.c log diff annotate
src/sys/dev/pci/if_iwm.c log diff annotate
src/sys/dev/pci/if_iwn.c log diff annotate
src/sys/dev/pci/if_wpi.c log diff annotate
src/sys/dev/usb/if_rsu.c log diff annotate
src/sys/net80211/ieee80211.c log diff annotate
src/sys/net80211/ieee80211_ioctl.c log diff annotate
src/sys/net80211/ieee80211_node.c log diff annotate
src/sys/net80211/ieee80211_var.h log diff annotate
message net80211: stub SIOCS80211SCAN, make ifconfig scan instant.

The following removes the functionality of the SIOCS80211SCAN ioctl.
After long discussions with stps@, mpi@, and deraadt@ we decided that
this was the correct way of fixing ifconfig scan from blocking the
network stack.

The kernel will continue scanning in the background and filling the
nodes array, but ifconfig scan commands will now basically do just a
SIOCG80211ALLNODES and pretty print the array. So the output stays the
same but is instant.

In fact, when the interface is freshly brought up, if you type fast
enough, you can see the array being filled by running multiple ifconfig
scans in sequence.

The SIOCS80211SCAN ioctl stays for now as wi(4), pgt(4) and malo(4)
still need it around. But not for long...

Another change that this introduces is the fact that ifconfig scan no
longer plays with UP and DOWN. If the interface is down it complains and
exits. This is needed in order to maintain the nodes list.

Works on iwm(4), iwn(4), urtwn(4), run(4) and athn(4).

Tested by mpi@, landry@, florian@, thanks!
OK mpi@.

date 2018-04-26T14:09:05Z
author guenther
files src/sys/arch/amd64/amd64/locore.S log diff annotate
src/sys/arch/amd64/amd64/vector.S log diff annotate
message Prefer leaq+%rip-relative over movabsq
xrstor_resume must not have profile prologue, so use NENTRY
Don't use _C_LABEL() with some pure-ASM labels

date 2018-04-26T14:34:42Z
author mlarkin
files src/sys/arch/amd64/amd64/vmm.c log diff annotate
message vmm(4): Rearrange some interrupt window exiting code

Simplify some code and reduce the number of places we are handling VINTR
exits.

ok brynet

date 2018-04-26T15:05:31Z
author phessler
files src/sys/arch/amd64/conf/RAMDISK_CD log diff annotate
src/sys/arch/i386/conf/RAMDISK_CD log diff annotate
message enable vmmci(4) on the ramdisks, so bsd.rd plays nicer when it powers off

OK mlarkin@

date 2018-04-26T16:13:13Z
author phessler
files src/sys/arch/amd64/conf/RAMDISK_CD log diff annotate
src/sys/arch/i386/conf/RAMDISK_CD log diff annotate
message Oups, we only need vmmci(4) for the ramdisk, not the whole vmm(4).

noticed by deraadt@ and mlarkin@

date 2018-04-26T17:15:39Z
author mlarkin
files src/sys/arch/amd64/amd64/vmm.c log diff annotate
src/sys/arch/amd64/include/vmmvar.h log diff annotate
message vmm(4): passthrough port 0x61 to vmd(8)

ok guenther