OpenBSD cvs log

created 2023-12-05T02:07:30Z
begin 2023-11-29T00:00:00Z
end 2023-11-30T00:00:00Z
path src/sys
commits 12

date 2023-11-29T03:41:31Z
author jsg
files src/sys/dev/acpi/acpivar.h log diff annotate
message increase the number of address ranges in acpi attach args from 4 to 8

On Intel Alder Lake-S and Raptor Lake-S platforms GPIO has 5 address
ranges. One for each GPIO community.

Fixes suspend/resume on Laurence Tratt's Raptor Lake-S machine
which broke when Alder Lake-S support was added to pchgpio(4).

ok kettenis@

date 2023-11-29T06:46:29Z
author jmatthew
files src/sys/dev/pci/pcidevs log diff annotate
message add some new Broadcom SAS HBA ids

date 2023-11-29T06:46:58Z
author jmatthew
files src/sys/dev/pci/pcidevs.h log diff annotate
src/sys/dev/pci/pcidevs_data.h log diff annotate
message regen

date 2023-11-29T06:54:09Z
author jmatthew
files src/sys/dev/pci/mpii.c log diff annotate
message Add support for new SAS HBAs (codenamed Aero and Sea, sold as Broadcom HBA
9500, Dell HBA350/5, Lenovo ThinkSystem 440 HBA, Supermicro AOC-S3808/16)

These apparently have a hardware problem that results in reads of some
registers returning all zeros under some transient conditions, which can
apparently be worked around by retrying reads that return 0 up to 3 times.

ok dlg@

date 2023-11-29T11:47:15Z
author claudio
files src/sys/kern/kern_malloc.c log diff annotate
message Cleanup kmeminit_nkmempages().

NKMEMPAGES_MIN was removed long time ago in all archs so there is no
need to keep it.
Also initalize nkmempages_max at compile time since sparc (with variable
page size) is long gone as well.
No objection from miod@

date 2023-11-29T18:30:48Z
author bluhm
files src/sys/netinet/in_pcb.c log diff annotate
src/sys/netinet/in_pcb.h log diff annotate
src/sys/netinet/tcp_subr.c log diff annotate
src/sys/netinet/udp_usrreq.c log diff annotate
src/sys/netinet6/in6_pcb.c log diff annotate
message Document inp_socket as immutable and remove NULL checks.

Struct inpcb field inp_socket is initialized in in_pcballoc(). It
is not NULL and never changed.

OK mvs@

date 2023-11-29T18:46:37Z
author denis
files src/sys/net/if_vxlan.c log diff annotate
message remove unused VXLANMTU definition

OK claudio, miod

date 2023-11-29T19:19:25Z
author bluhm
files src/sys/netinet/tcp_input.c log diff annotate
src/sys/netinet/tcp_var.h log diff annotate
message Run TCP syn cache timer without kernel lock.

As syn_cache_timer() uses syn cache mutex and exclusive net lock,
it does not need kernel lock.

OK mvs@

date 2023-11-29T20:40:06Z
author bluhm
files src/sys/kern/syscalls.master log diff annotate
message Unlock bind(2) syscall.

For internet sockets sobind() runs with exclusive net lock due to
solock(). For unix domain sockets uipc_bind() grabs the kernel
lock itself. So sys_bind() is MP safe. Add NOLOCK flag to avoid
kernel lock.

OK mvs@

date 2023-11-29T20:46:23Z
author bluhm
files src/sys/kern/init_sysent.c log diff annotate
src/sys/kern/syscalls.c log diff annotate
message regen syscalls

date 2023-11-29T20:46:24Z
author bluhm
files src/sys/sys/syscall.h log diff annotate
src/sys/sys/syscallargs.h log diff annotate
message regen syscalls

date 2023-11-29T23:32:16Z
author kettenis
files src/sys/arch/arm64/include/armreg.h log diff annotate
message Fix unwanted sign-extension of ID register masks. Sign-extension of the
GPI feature mask caused misdetection of the GPI feature when some other
feature was present that was advertised in the upper 32 bits of the same
ID register. Resulting in a crash as soon as the pmap code tried to set
the PAC keys.

Fix suggested by Marc Zyngier who found and debugged the problem.

ok jsg@, deraadt@