OpenBSD cvs log

created 2024-01-25T19:03:37Z
begin 2024-01-23T00:00:00Z
end 2024-01-24T00:00:00Z
path src/sys
commits 16

date 2024-01-23T03:31:45Z
author jsg
files src/sys/dev/pci/drm/include/linux/args.h log diff annotate
src/sys/dev/pci/drm/include/linux/kernel.h log diff annotate
message move CONCATENATE() to args.h to match linux

date 2024-01-23T04:47:13Z
author jsg
files src/sys/dev/pci/drm/include/linux/align.h log diff annotate
src/sys/dev/pci/drm/include/linux/kernel.h log diff annotate
src/sys/dev/pci/drm/include/linux/limits.h log diff annotate
src/sys/dev/pci/drm/include/linux/math.h log diff annotate
src/sys/dev/pci/drm/include/linux/printk.h log diff annotate
src/sys/dev/pci/drm/include/linux/stddef.h log diff annotate
message move more defines out of kernel.h

date 2024-01-23T08:48:12Z
author kevlo
files src/sys/dev/pci/if_igc.c log diff annotate
message Change default duplex setting and simplify the setup of srrctl.BSIZEPKT.

During media selection through ifconfig one might not specify the duplex
setting through the mediaopt flag. In that case the igc(4) would default
to full-duplex. The problem with this approach is that em(4) defaults to
half-duplex. Because of that if one connects both NICs and sets media to
e.g. 100baseTX on both of them no carrier will be found.
Fix that by matching igc(4) behaviour with what em(4) does.

Adapted from FreeBSD commits 3b8d04f845b416d29a258658b8a48d1afb4a2e81 and
0eb8cd1de26849cbaefaf3bc59aa9612fa0dfa52 respectively.

ok mbuhl@

date 2024-01-23T11:51:53Z
author uwe
files src/sys/dev/mii/eephy.c log diff annotate
message explicitly disable Energy-Efficient Ethernet (EEE) on Marvell E151x

The Energy Detect feature is part of EEE and it defaults to off on both
hardware and software reset to enter "normal 10/100/1000 Mbps operation."
This change makes it explicit, as for the other PHYs in that family.

Note that, if EEE was actually enabled, an errata applies which requires
a certain sequence of magic register writes.

ok stsp@ kettenis@

date 2024-01-23T13:02:15Z
author aoyama
files src/sys/arch/m88k/m88k/trap.c log diff annotate
message Delete unused labels which cause error in making kernel.

ok miod@

date 2024-01-23T14:18:11Z
author kettenis
files src/sys/dev/pci/drm/apple/afk.c log diff annotate
src/sys/dev/pci/drm/apple/iomfb.c log diff annotate
message Pick up some fixup commits that add #include <linux/bitfield.h> from
https://github.com/jannau/linux/tree/bits/200-dcp

date 2024-01-23T14:25:07Z
author kettenis
files src/sys/dev/pci/drm/apple/parser.c log diff annotate
message drm: apple: mark local functions static

From Arnd Bergmann
c23a90c49c665bfb61f0200e966cef042063e364 in jannau's bits/200-dcp

date 2024-01-23T14:27:26Z
author kettenis
files src/sys/dev/pci/drm/apple/afk.c log diff annotate
message drm: apple: use strscpy() in place of strlcpy()

From Arnd Bergmann
2501a971dbec631932aba9aba55b7b61b7c3c390 in jannau's bits/200-dcp

date 2024-01-23T14:30:13Z
author kettenis
files src/sys/dev/pci/drm/apple/apple_drv.c log diff annotate
src/sys/dev/pci/drm/apple/dcp-internal.h log diff annotate
src/sys/dev/pci/drm/apple/dcp.c log diff annotate
src/sys/dev/pci/drm/apple/iomfb.c log diff annotate
src/sys/dev/pci/drm/apple/iomfb_template.c log diff annotate
src/sys/dev/pci/drm/apple/iomfb_v13_3.c log diff annotate
message drm/apple: spelling fixes

From Jonathan Gray
cee29f9bcbf9574ce1ae19e586728a9d85c3db05 in jannau's bits/200-dcp

date 2024-01-23T14:46:51Z
author tb
files src/sys/lib/libz/deflate.c log diff annotate
src/sys/lib/libz/deflate.h log diff annotate
src/sys/lib/libz/inftrees.c log diff annotate
src/sys/lib/libz/trees.c log diff annotate
src/sys/lib/libz/zconf.h log diff annotate
src/sys/lib/libz/zlib.h log diff annotate
src/sys/lib/libz/zutil.h log diff annotate
message Sync with userland

date 2024-01-23T15:48:28Z
author kettenis
files src/sys/dev/pci/drm/apple/dcp-internal.h log diff annotate
src/sys/dev/pci/drm/apple/dcp.c log diff annotate
src/sys/dev/pci/drm/apple/dcp_backlight.c log diff annotate
src/sys/dev/pci/drm/apple/iomfb_template.c log diff annotate
message drm: apple: backlight: force backlight update after resume

From Mark Kettenis
fcad9f366ba0c934f877662ee8199051b636d2e1 in jannau's bits/200-dcp

date 2024-01-23T15:56:01Z
author kettenis
files src/sys/dev/pci/drm/apple/afk.c log diff annotate
src/sys/dev/pci/drm/apple/apple_drv.c log diff annotate
src/sys/dev/pci/drm/apple/dcp.c log diff annotate
src/sys/dev/pci/drm/apple/dcp_backlight.c log diff annotate
src/sys/dev/pci/drm/apple/iomfb.c log diff annotate
src/sys/dev/pci/drm/apple/iomfb_template.c log diff annotate
message drm: apple: Fix/remove log messages

From Janne Grunau
37a0cddeede0a715d137838a88c61e0c53c8d6cd in jannau's bits/200-dcp

date 2024-01-23T16:57:52Z
author mvs
files src/sys/net/pipex.c log diff annotate
message Remove `pipex_rd_head6' and `ps6_rn[2]'. They are not used.

ok yasuoka

date 2024-01-23T16:57:53Z
author mvs
files src/sys/net/pipex_local.h log diff annotate
message Remove `pipex_rd_head6' and `ps6_rn[2]'. They are not used.

ok yasuoka

date 2024-01-23T17:57:21Z
author mvs
files src/sys/net/pipex.c log diff annotate
src/sys/net/pipex_local.h log diff annotate
message Introduce pipex_iterator(), the special thing to perform
`pipex_session_list' foreach walkthrough with `pipex_list_mtx' mutex(9)
relocking. It inserts special item after acquired `session' and keeps it
linked until `session' release. Only owner can unlink it's own item, so
the LIST_NEXT(session) is always valid even the `session' was unlinked.
The iterator skips special items at the `session' acquisition time, as
all other foreach loops where `pipex_list_mtx' mutex(9) is not relocked.

ok yasuoka

date 2024-01-23T19:51:10Z
author kettenis
files src/sys/arch/riscv64/include/pmap.h log diff annotate
src/sys/arch/riscv64/include/pte.h log diff annotate
src/sys/arch/riscv64/riscv64/cpu.c log diff annotate
src/sys/arch/riscv64/riscv64/machdep.c log diff annotate
src/sys/arch/riscv64/riscv64/pmap.c log diff annotate
message T-Head implemented a page attribute extension that violates the RISC-V
specification. The default attributes result in memory being uncached
which makes the system perform like a slug. So implement a workaround
that is designed to make implementation of the Svpbmt extension that is
part of the latest published RISC-V specification. This gets us a bit
further booting OpenBSD on an Allwinner D1 SoC.

ok mlarkin@, jca@