OpenBSD cvs log

created 2021-07-04T15:00:06Z
begin 2021-06-29T00:00:00Z
end 2021-06-30T00:00:00Z
path src/sys
commits 14

date 2021-06-29T01:42:14Z
author jsg
files src/sys/conf/files log diff annotate
src/sys/dev/pci/drm/files.drm log diff annotate
message move some config lines to ensure drm.h is always created

ok deraadt@ kettenis@

date 2021-06-29T01:46:35Z
author jsg
files src/sys/kern/kern_pledge.c log diff annotate
src/sys/uvm/uvm_device.c log diff annotate
src/sys/uvm/uvm_pdaemon.c log diff annotate
message remove arch ifdefs around drm.h include

ok deraadt@ kettenis@

date 2021-06-29T07:55:29Z
author claudio
files src/sys/kern/kern_unveil.c log diff annotate
message Adjust unveil_find_cover() to return -1 if the root vnode is passed in.
This helps unveil_add_vnode() to properly re-evaluate unveils when
"/" is added to the list.

Because of this adjust unveil_covered() to check for the root as well
so that in that case the unveil uv is returned instead of NULL. Traversing
up from the root returns the root. This check is not really needed since
namei has its own root check and shortcuts for root vnodes.

OK semarie@

date 2021-06-29T12:22:39Z
author kettenis
files src/sys/arch/riscv64/riscv64/locore.S log diff annotate
message The way we boot OpenBSD, there is no need to play the hart lottery.
This is essentially a remnant of early RISC-V, which used the Berkely
Boot Loader. Modern RISC-V firmware makes sure only one hart is enabled
and offsers SBI calls to start the other harts.

date 2021-06-29T12:43:09Z
author patrick
files src/sys/dev/fdt/files.fdt log diff annotate
src/sys/dev/fdt/rktcphy.c log diff annotate
message Add rktcphy(4), a driver for the Type-C PHY controller found on the
Rockchip RK3399. While the PHY allows switching between combinations
of USB3 and DisplayPort, this driver enables only USB3 functionality.
This allows USB3 devices to show up on machines where previously only
USB2 devices showed up. Driver was taken from FreeBSD and adjusted to
fit into our code base.

ok kettenis@

date 2021-06-29T12:43:33Z
author patrick
files src/sys/arch/arm64/conf/GENERIC log diff annotate
src/sys/arch/arm64/conf/RAMDISK log diff annotate
message Enable rktcphy(4).

ok kettenis@

date 2021-06-29T12:46:36Z
author patrick
files src/sys/dev/fdt/xhci_fdt.c log diff annotate
message When configuring the USB3 phy, try the OFW PHY API first, and if there's
no matching device, fall back to xhci(4)'s PHY configuration code.

ok kettenis@

date 2021-06-29T16:15:37Z
author claudio
files src/sys/tmpfs/tmpfs_specops.c log diff annotate
message remove unused prototype
OK deraadt@

date 2021-06-29T17:49:49Z
author matthieu
files src/sys/arch/riscv64/conf/GENERIC log diff annotate
src/sys/arch/riscv64/conf/files.riscv64 log diff annotate
message sync maxusers with other 64bits architectures. ok kettenis@, deraadt@.

date 2021-06-29T18:45:41Z
author deraadt
files src/sys/arch/riscv64/conf/Makefile.riscv64 log diff annotate
message delete pre-EFI boot kernel location scripting
ok drahn

date 2021-06-29T19:58:21Z
author kettenis
files src/sys/arch/arm64/arm64/vfp.c log diff annotate
message whitespace

date 2021-06-29T21:27:52Z
author kettenis
files src/sys/arch/riscv64/compile/GENERIC.MP/Makefile log diff annotate
src/sys/arch/riscv64/conf/GENERIC.MP log diff annotate
src/sys/arch/riscv64/dev/riscv_cpu_intc.c log diff annotate
src/sys/arch/riscv64/include/cpu.h log diff annotate
src/sys/arch/riscv64/include/intr.h log diff annotate
message SMP support. Mostly works, but occasionally craps out during boot.

ok drahn@

date 2021-06-29T21:27:53Z
author kettenis
files src/sys/arch/riscv64/riscv64/cpu.c log diff annotate
src/sys/arch/riscv64/riscv64/db_interface.c log diff annotate
src/sys/arch/riscv64/riscv64/fpu.c log diff annotate
src/sys/arch/riscv64/riscv64/genassym.cf log diff annotate
src/sys/arch/riscv64/riscv64/intr.c log diff annotate
src/sys/arch/riscv64/riscv64/locore.S log diff annotate
src/sys/arch/riscv64/riscv64/pmap.c log diff annotate
src/sys/arch/riscv64/riscv64/sig_machdep.c log diff annotate
src/sys/kern/kern_sched.c log diff annotate
src/sys/kern/kern_smr.c log diff annotate
message SMP support. Mostly works, but occasionally craps out during boot.

ok drahn@

date 2021-06-29T21:31:49Z
author kettenis
files src/sys/kern/kern_sched.c log diff annotate
src/sys/kern/kern_smr.c log diff annotate
message Didn't intend to commit the CPU_IS_RUNNING() changes just yet, so revert
those bits.