OpenBSD cvs log

created 2022-09-04T13:56:36Z
begin 2022-08-31T00:00:00Z
end 2022-09-01T00:00:00Z
path src/sys
commits 14

date 2022-08-31T01:27:04Z
author guenther
files src/sys/uvm/uvm_fault.c log diff annotate
message Refine the change in rev 1.125: the UVM mitigation for CoW faulting
when multiple CPUs are running threads in the process is only needed
when there can be multiple CPUs, so save a fault on SP builds.

ok miod@ mpi@

date 2022-08-31T09:07:35Z
author gnezdo
files src/sys/uvm/uvm_vnode.c log diff annotate
message Lock vmobjlock then check u_flags & UVM_VNODE_VALID in uvn_attach

This is a continuation of this commit:
"Always acquire the `vmobjlock' before incrementing an object's reference."

Unfortuantely this created a race found by syzkaller manifesting as:

panic: kernel diagnostic assertion "uvn->u_obj.uo_refs == 0" failed:
file "sys/uvm/uvm_vnode.c", line 234

ok mpi@

Reported-by: [email protected]

date 2022-08-31T09:20:57Z
author krw
files src/sys/arch/amd64/stand/biosboot/biosboot.S log diff annotate
message Remove "force CHS" remnants. LBA uber alles.

Mildly sad noises from Nick.

ok miod@ mlarkin@

date 2022-08-31T09:26:04Z
author mpi
files src/sys/uvm/uvm_pdaemon.c log diff annotate
message Introduce a function to trylock a page instead of duplicating the logic.

Stolen from NetBSD.

ok jsg@

date 2022-08-31T10:46:33Z
author krw
files src/sys/arch/amd64/stand/biosboot/biosboot.S log diff annotate
message Whitespace fixes.

date 2022-08-31T11:29:12Z
author benno
files src/sys/net/pf_lb.c log diff annotate
message make kernel build without INET6 again
ok sashan@

date 2022-08-31T14:47:22Z
author kettenis
files src/sys/arch/arm64/conf/GENERIC log diff annotate
src/sys/arch/arm64/conf/files.arm64 log diff annotate
src/sys/arch/arm64/dev/apldc.c log diff annotate
src/sys/arch/arm64/dev/aplrtk.c log diff annotate
message Add apldc(4), apldchidev(4), apldckdb(4) and aplrtkit(4). Together these
drivers implement support for the Dockchannel-base keyboard found on
Apple M2 laptops.

ok mlarkin@, patrick@

date 2022-08-31T14:47:23Z
author kettenis
files src/sys/arch/arm64/dev/rtkit.c log diff annotate
src/sys/arch/arm64/dev/rtkit.h log diff annotate
message Add apldc(4), apldchidev(4), apldckdb(4) and aplrtkit(4). Together these
drivers implement support for the Dockchannel-base keyboard found on
Apple M2 laptops.

ok mlarkin@, patrick@

date 2022-08-31T15:14:01Z
author kettenis
files src/sys/dev/acpi/dwiic_acpi.c log diff annotate
src/sys/dev/i2c/i2cvar.h log diff annotate
src/sys/dev/i2c/ihidev.c log diff annotate
src/sys/dev/ic/dwiicvar.h log diff annotate
message Introduce iic_intr_disestablish() and use it in ihidev(4).

ok jcs@

date 2022-08-31T16:10:59Z
author kettenis
files src/sys/arch/arm64/conf/GENERIC log diff annotate
src/sys/arch/arm64/conf/RAMDISK log diff annotate
src/sys/dev/acpi/files.acpi log diff annotate
src/sys/dev/acpi/qcgpio.c log diff annotate
src/sys/dev/acpi/qciic.c log diff annotate
message Add qcgpio(4) and qciic(4), drivers for the Qualcomm GPIO and I2C controllers
found on the SC8280XP SoC. Together these drivers make the keyboard,
trackpoint and touchpad work on the x13s.

ok deraadt@

date 2022-08-31T20:16:02Z
author kettenis
files src/sys/arch/arm64/dev/acpipci.c log diff annotate
message MSIs on the x13s are routed through both a "normal" SMMU and a "v3" SMMU.
So handle this case in acpipci(4) and kill the hack to disable MSIs.

ok patrick@, mlarkin@, deraadt@

date 2022-08-31T20:49:12Z
author patrick
files src/sys/arch/arm64/dev/acpiiort.c log diff annotate
src/sys/arch/arm64/dev/acpipci.c log diff annotate
message Support SMMUv3 IORT nodes as well in the midlayers. This allows IOMMU
mappings to reach a future SMMUv3 implementation.

ok kettenis@, mlarkin@

date 2022-08-31T21:23:02Z
author mvs
files src/sys/kern/uipc_usrreq.c log diff annotate
src/sys/net/pfkeyv2.c log diff annotate
src/sys/net/rtsock.c log diff annotate
src/sys/netinet/ip_divert.c log diff annotate
src/sys/netinet/raw_ip.c log diff annotate
src/sys/netinet/tcp_usrreq.c log diff annotate
src/sys/netinet/tcp_var.h log diff annotate
src/sys/netinet/udp_usrreq.c log diff annotate
src/sys/netinet6/ip6_divert.c log diff annotate
src/sys/netinet6/raw_ip6.c log diff annotate
src/sys/sys/protosw.h log diff annotate
message Move PRU_SENDOOB request to (*pru_sendoob)().

PRU_SENDOOB request always consumes passed `top' and `control' mbufs. To
avoid dummy m_freem(9) handlers for all protocols release passed mbufs
in the pru_sendoob() EOPNOTSUPP error path.

Also fix `control' mbuf(9) leak in the tcp(4) PRU_SENDOOB error path.

ok bluhm@

date 2022-08-31T23:31:35Z
author patrick
files src/sys/arch/arm64/dev/acpiiort.c log diff annotate
message Compare equality of looked up node using pointers instead of
strings, as the component name provided in the IORT might be
specified in a different way than our ACPI stack would do.

ok kettenis@