OpenBSD cvs log

created 2021-12-11T21:14:46Z
begin 2021-12-09T00:00:00Z
end 2021-12-10T00:00:00Z
path src/sys
commits 7

date 2021-12-09T00:26:10Z
author guenther
files src/sys/kern/exec_elf.c log diff annotate
src/sys/kern/init_main.c log diff annotate
src/sys/kern/init_sysent.c log diff annotate
src/sys/kern/kern_exec.c log diff annotate
src/sys/kern/kern_xxx.c log diff annotate
src/sys/kern/makesyscalls.sh log diff annotate
src/sys/sys/exec.h log diff annotate
src/sys/sys/proc.h log diff annotate
src/sys/sys/systm.h log diff annotate
message We only have one syscall table: inline sysent/SYS_MAXSYSCALL and
SYS_syscall as the nosys() function into the MD syscall entry
routines and the SYSCALL_DEBUG support. Adjust alpha's syscall
check to match the other archs. Also, make sysent const to get it
into .rodata.

With that, 'struct emul' is unused: delete it and all its references

ok millert@

date 2021-12-09T00:26:11Z
author guenther
files src/sys/arch/alpha/alpha/trap.c log diff annotate
src/sys/arch/amd64/amd64/trap.c log diff annotate
src/sys/arch/arm/arm/syscall.c log diff annotate
src/sys/arch/arm64/arm64/syscall.c log diff annotate
src/sys/arch/hppa/hppa/trap.c log diff annotate
src/sys/arch/i386/i386/trap.c log diff annotate
src/sys/arch/m88k/m88k/trap.c log diff annotate
src/sys/arch/mips64/mips64/trap.c log diff annotate
src/sys/arch/powerpc/powerpc/trap.c log diff annotate
src/sys/arch/powerpc64/powerpc64/syscall.c log diff annotate
src/sys/arch/riscv64/riscv64/syscall.c log diff annotate
src/sys/arch/sh/sh/trap.c log diff annotate
src/sys/arch/sparc64/sparc64/trap.c log diff annotate
src/sys/dev/dt/dt_prov_syscall.c log diff annotate
message We only have one syscall table: inline sysent/SYS_MAXSYSCALL and
SYS_syscall as the nosys() function into the MD syscall entry
routines and the SYSCALL_DEBUG support. Adjust alpha's syscall
check to match the other archs. Also, make sysent const to get it
into .rodata.

With that, 'struct emul' is unused: delete it and all its references

ok millert@

date 2021-12-09T11:38:26Z
author kettenis
files src/sys/arch/arm64/conf/GENERIC log diff annotate
src/sys/arch/arm64/conf/RAMDISK log diff annotate
src/sys/arch/arm64/conf/files.arm64 log diff annotate
message Add aplpmgr(4), a driver for the power management controller found on
various Apple SoCs.

ok patrick@

date 2021-12-09T11:38:27Z
author kettenis
files src/sys/arch/arm64/dev/aplns.c log diff annotate
src/sys/arch/arm64/dev/aplpcie.c log diff annotate
src/sys/arch/arm64/dev/aplpmgr.c log diff annotate
message Add aplpmgr(4), a driver for the power management controller found on
various Apple SoCs.

ok patrick@

date 2021-12-09T19:33:53Z
author guenther
files src/sys/arch/amd64/amd64/vmm.c log diff annotate
message Fix cpuid leaf clamping to let through cpuid(0x15) when we have an
invariant TSC and report that correctly in the guest's cpuid(0).eax

prompted by debug messages in report from Josh Grosse (josh(at)jggimi.net)

ok mlarkin@

date 2021-12-09T20:21:35Z
author patrick
files src/sys/dev/acpi/dsdt.c log diff annotate
message Broken ACPI tables containing scopes that are larger than their outer shell
are caught by our ACPI parser. Unfortunately in such cases our reaction was
to start parsing AML somewhere outside our current scope. The intention was
to clamp down the inner scope to the maximum of the outer one. So, rectify it.

This issue has shown up in EDK2's QEMU SBSA target, where the SSDT table was
generated incorrectly. Surprisingly neither Linux nor ACPICA's iASL noticed
that the table was broken.

ok kettenis@ millert@

date 2021-12-09T20:47:27Z
author kettenis
files src/sys/arch/arm64/dev/aplhidev.c log diff annotate
message Make the clockpad work in "raw" mode.

ok patrick@