OpenBSD cvs log

created 2019-05-04T02:11:28Z
begin 2017-10-09T00:00:00Z
end 2017-10-10T00:00:00Z
path src/sys
commits 8

date 2017-10-09T06:53:26Z
author patrick
files src/sys/dev/pci/drm/radeon/radeon_combios.c log diff annotate
message Turns out that the previous commit resolves the problem on Clang but at
the same time breaks the sparc64 build due to a very similar issue. To
make it work, stop returning a huge struct and instead make the caller
pass a pointer to the struct it allocated only once on the stack.

Similar diff from sashan@
"yeah just make it work, and add it to the mop list" deraadt@

date 2017-10-09T08:16:13Z
author mpi
files src/sys/kern/kern_lock.c log diff annotate
message Make _kernel_lock_held() always succeed after panic(9).

ok visa@

date 2017-10-09T08:26:16Z
author mpi
files src/sys/dev/usb/umcs.c log diff annotate
message Correct logic check preventing the device to attach.

Fix regression introdruced in previous.

Found the hardway and diff from weerd@

date 2017-10-09T08:35:38Z
author mpi
files src/sys/kern/uipc_domain.c log diff annotate
src/sys/net/if.c log diff annotate
src/sys/net/if_etherip.c log diff annotate
src/sys/net/pfkeyv2.c log diff annotate
src/sys/net/rtsock.c log diff annotate
src/sys/netinet/igmp.c log diff annotate
src/sys/netinet/ip_carp.c log diff annotate
src/sys/netinet/ip_divert.c log diff annotate
src/sys/netinet/ip_ether.c log diff annotate
src/sys/netinet/ip_gre.c log diff annotate
src/sys/netinet/ip_icmp.c log diff annotate
src/sys/netinet/ip_input.c log diff annotate
src/sys/netinet/ip_ipip.c log diff annotate
src/sys/netinet/ipsec_input.c log diff annotate
src/sys/netinet/tcp_usrreq.c log diff annotate
src/sys/netinet/udp_usrreq.c log diff annotate
src/sys/netinet6/icmp6.c log diff annotate
src/sys/netinet6/ip6_divert.c log diff annotate
src/sys/netinet6/ip6_input.c log diff annotate
message Reduces the scope of the NET_LOCK() in sysctl(2) path.

Exposes per-CPU counters to real parrallelism.

ok visa@, bluhm@, jca@

date 2017-10-09T09:30:26Z
author patrick
files src/sys/dev/pci/drm/radeon/radeon_combios.c log diff annotate
message The previous commit was deemed too invasive, so back it out and replace
it with a simple ifdef that uses the inline keyword if being compiled
with clang and doesn't use the keyword if being compiled with gcc.

ok kettenis@

date 2017-10-09T11:47:53Z
author kettenis
files src/sys/dev/fdt/syscon.c log diff annotate
message Print the name of the device tree node like we do for simplebus(4).
This makes it easier to match dmesg output to the device tree.

ok patrick@

date 2017-10-09T16:12:20Z
author stsp
files src/sys/dev/ic/rtsx.c log diff annotate
src/sys/dev/ic/rtsxvar.h log diff annotate
message Add ADMA support to rtsx(4) to make use of DMA buffers provided by sdmmc(4).
Data transfers use a little bit less CPU time now.
Tested by me on RT5209 and on RTS525A by jcs@
ok mpi@ visa@

date 2017-10-09T20:06:36Z
author stsp
files src/sys/dev/ic/rtsx.c log diff annotate
message Fix build on 32 bit; paddr in rtsx_xfer_dma needs to be 64bit on all platforms.
Found the hard way by deraadt@