OpenBSD cvs log

created 2023-07-15T20:13:49Z
begin 2023-07-08T00:00:00Z
end 2023-07-09T00:00:00Z
path src/sys
commits 14

date 2023-07-08T02:43:02Z
author jcs
files src/sys/arch/amd64/conf/GENERIC log diff annotate
src/sys/dev/acpi/dwiic_acpi.c log diff annotate
src/sys/dev/i2c/files.i2c log diff annotate
src/sys/dev/i2c/ietp.c log diff annotate
src/sys/dev/i2c/ietp.h log diff annotate
message Add ietp driver for Elantech I2C touchpads

From Vladimir Serbinenko

date 2023-07-08T07:18:39Z
author kettenis
files src/sys/arch/amd64/amd64/efi_machdep.c log diff annotate
message Toggle IBT off during EFI runtime services calls.

While UEFI 2.10 has a way of indicating that runtime services use the
appropriate ENDBR64 instructions, firmware that's out int the wild doesn't
actually use that yet. Once the landscape changes we may want to
reconsider toggling IBT off.

ok guenther@, kn@

date 2023-07-08T08:01:10Z
author tobhe
files src/sys/arch/amd64/conf/files.amd64 log diff annotate
src/sys/arch/i386/conf/files.i386 log diff annotate
src/sys/dev/acpi/acpi.c log diff annotate
src/sys/dev/acpi/acpi_apm.c log diff annotate
message Move /dev/apm related acpi code to acpi_apm.c which is only built on
amd64 and i386. This is the first step towards a machine independent
safe sleep API.

tested by yasuoka@ bluhm@
ok deraadt@ kettenis@

date 2023-07-08T08:10:27Z
author kettenis
files src/sys/dev/mii/miidevs.h log diff annotate
message Add Motorcomm YT8531.

ok jsing@, patrick@

date 2023-07-08T08:13:31Z
author kettenis
files src/sys/dev/mii/miidevs.h log diff annotate
message regen

date 2023-07-08T08:18:30Z
author kettenis
files src/sys/arch/riscv64/conf/GENERIC log diff annotate
src/sys/arch/riscv64/conf/RAMDISK log diff annotate
src/sys/dev/fdt/if_dwqe_fdt.c log diff annotate
src/sys/dev/mii/miidevs log diff annotate
src/sys/dev/mii/miivar.h log diff annotate
src/sys/dev/mii/ytphy.c log diff annotate
message Add support for the Motorcomm YT8521/YT8531 PHYs. Since these PHYs may
need various board-dependent tweaks, pass the device tree node down
to the PHY driver such that we can look at various properties to make
the necessary tweaks. Enable ytphy(4) on riscv64.

ok jsing@, patrick@

date 2023-07-08T08:37: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 some resets for the PCIe controllers on the RK3588.

ok kettenis@

date 2023-07-08T09:01:30Z
author jmatthew
files src/sys/dev/pci/if_ix.c log diff annotate
message Check rx dma map was allocated before trying to free it, so we don't crash
if we ran out of memory while bringing the interface up.

tested by hrvoje, ok kevlo@

date 2023-07-08T09:11:51Z
author kettenis
files src/sys/dev/pci/pcidevs log diff annotate
message Add PLDA XpressRICH-AXI PCIe controller

date 2023-07-08T09:12:28Z
author patrick
files src/sys/dev/fdt/rkpciephy.c log diff annotate
message Add support for the RK3588 PCIe3 PHY to rkpciephy(4). The PHY controls
4 lanes that can be routed to 4 of the 5 PCIe controllers in the following
configurations.

Either all 4 lanes go to the x4 controller, then the other 3 controllers
stay disabled. If those are split, lane 0 goes to the x4 controller and
lane 2 goes to the x2 controller. Lane 1 now either goes to the x4 one
to build a x2, or it gets routed to a x1 controller. Lane 3 also either
goes to the x2 one to build a x2, or it gets routed to a x1 controller.

If lanes 1 or lane 3 are configured, they are routed towards the PCIe3 PHY
instead of the Combo PHY.

ok kettenis@

date 2023-07-08T09:13:27Z
author kettenis
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-08T10:06:13Z
author kettenis
files src/sys/arch/riscv64/conf/GENERIC log diff annotate
src/sys/arch/riscv64/conf/RAMDISK log diff annotate
src/sys/arch/riscv64/conf/files.riscv64 log diff annotate
src/sys/arch/riscv64/dev/stfpcie.c log diff annotate
message Add support for the PCIe controller on the JH7110 SoC.

MSIs don't work reliably so these are disabled for now. The stfpcie(4)
driver is based on preliminary device tree bindings that might still
change.

ok patrick@

date 2023-07-08T10:06:14Z
author kettenis
files src/sys/arch/riscv64/dev/stfpciephy.c log diff annotate
message Add support for the PCIe controller on the JH7110 SoC.

MSIs don't work reliably so these are disabled for now. The stfpcie(4)
driver is based on preliminary device tree bindings that might still
change.

ok patrick@

date 2023-07-08T14:44:43Z
author tobhe
files src/sys/arch/arm64/dev/aplsmc.c log diff annotate
src/sys/arch/arm64/dev/apm.c log diff annotate
src/sys/arch/macppc/dev/apm.c log diff annotate
src/sys/dev/acpi/acpi_apm.c log diff annotate
src/sys/sys/device.h log diff annotate
message Adds request_sleep(), a MI way of sending the machine to sleep in
a safe thread. Support is limited to amd64, i386 and arm64 at the
moment, macppc gets only an empty stub.

feedback from kettenis@
tested by bluhm@
ok phessler@