OpenBSD cvs log

created 2023-07-09T08:33:27Z
begin 2023-07-07T00:00:00Z
end 2023-07-08T00:00:00Z
path src/sys
commits 13

date 2023-07-07T03:50:02Z
author jsg
files src/sys/dev/pci/pcidevs log diff annotate
message add more Intel 13G TBT PCIE ids

from Volker Schlecht's Framework 13 dmesg and
13th Generation Intel Core Processors
Datasheet, Volume 2 of 2, Doc. No.: 764981, Rev.: 1.2

date 2023-07-07T03:50:46Z
author jsg
files src/sys/dev/pci/pcidevs.h log diff annotate
src/sys/dev/pci/pcidevs_data.h log diff annotate
message regen

date 2023-07-07T07:37:59Z
author claudio
files src/sys/dev/acpi/acpi.c log diff annotate
src/sys/dev/acpi/acpithinkpad.c log diff annotate
src/sys/dev/acpi/acpivar.h log diff annotate
message Add support for multiple batteries to acpithinkpad setchargestart and
setchargestop. With this laptops like x270 or x240 properly set the
thresholds for both batteries.
Tested by kn@ and jmatthew@
OK kettenis@

date 2023-07-07T08:05:02Z
author bluhm
files src/sys/net/if.c log diff annotate
src/sys/net/if_var.h log diff annotate
src/sys/net/pf.c log diff annotate
src/sys/netinet/ip_output.c log diff annotate
src/sys/netinet6/ip6_forward.c log diff annotate
src/sys/netinet6/ip6_output.c log diff annotate
message Fix path MTU discovery for TCP LRO/TSO when forwarding.

When doing LRO (Large Receive Offload), the drivers, currently ix(4)
and lo(4) only, record an upper bound of the size of the original
packets in ph_mss. When sending, either stack or hardware must
chop the packets with TSO (TCP Segmentation Offload) to that size.
That means we have to call tcp_if_output_tso() before ifp->if_output().
Put that logic into if_output_tso() to avoid code duplication. As
TCP packets on the wire do not get larger that way, path MTU discovery
should still work.

tested by and OK jan@

date 2023-07-07T08:43:47Z
author kettenis
files src/sys/arch/riscv64/dev/stfclock.c log diff annotate
message Add a few more JH7110 clocks.

ok jsing@

date 2023-07-07T10:11:39Z
author patrick
files src/sys/arch/arm64/dev/agintc.c log diff annotate
message Keep more information about the established LPI around, so that we can use
targeted invalidation through INV instead of flushing the whole cache through
INVALL. Having this information enables us to send DISCARD, which clears the
mapping from the ITT. This seems to be necessary to make the Hetzner VM's ITS
happy when we try to disestablish and re-establish an LPI.

This also moves the LPI table completely into agintc(4), as LPIs are global to
an agintc(4) and especially with multiple agintcmsi(4) they should be unique.

Tested by claudio@
ok kettenis@

date 2023-07-07T10:23:39Z
author patrick
files src/sys/dev/pci/virtio_pci.c log diff annotate
src/sys/dev/pv/virtio.c log diff annotate
src/sys/dev/pv/virtiovar.h log diff annotate
message The per-VQ MSI-X interrupt handler needs to sync DMA mappings in the
same way that the shared interrupt handler does. This is one of the
requirements of virtio_dequeue(), as specified in its comment above.

Without the DMA sync, it will not see a new entry on the ring and
return. Since the interrupt is edge-triggered there won't be another
one and we'll get stuck.

ok dv@

date 2023-07-07T14:17:34Z
author yasuoka
files src/sys/sys/mbuf.h log diff annotate
message Expand the counters in struct mbstat from u_short to u_long.

ok blumn mvs

date 2023-07-07T16:27:46Z
author bluhm
files src/sys/kern/kern_sysctl.c log diff annotate
message Expand the counters in struct mbstat from u_short to u_long. Use
malloc(9) memory instead of kernel stack for sysctl kern.mbstat.

from yasuoka@; chunk missed in previous commit; OK claudio@ tb@

date 2023-07-07T16:52:09Z
author patrick
files src/sys/dev/fdt/rkclock.c log diff annotate
src/sys/dev/fdt/rkclock_clocks.h log diff annotate
message Add resets for the RK3588 USB 3.0 controllers.

ok kettenis@

date 2023-07-07T16:52:57Z
author patrick
files src/sys/dev/fdt/rkclock.c log diff annotate
src/sys/dev/fdt/rkclock_clocks.h log diff annotate
message Add clocks for the RK3588 I2C controllers.

ok kettenis@

date 2023-07-07T16:53:39Z
author patrick
files src/sys/dev/fdt/rkclock.c log diff annotate
src/sys/dev/fdt/rkclock_clocks.h log diff annotate
message Add clocks for the RK3588 PWM controllers.

ok kettenis@

date 2023-07-07T19:45:26Z
author bluhm
files src/sys/net/if.c log diff annotate
message Keep mbuf header field ph_mss during loopback TCP with LRO/TSO.

When M_TCP_TSO is preserved, also keep ph_mss. In lo(4) this logic
was missing. This may be relevant only for weird pf configs that
forward from loopback.

OK mvs@ jan@