OpenBSD cvs log

created 2024-10-27T03:12:36Z
begin 2024-10-24T00:00:00Z
end 2024-10-25T00:00:00Z
path src/sys
commits 6

date 2024-10-24T05:28:00Z
author miod
files src/sys/arch/landisk/landisk/intr.c log diff annotate
src/sys/arch/sh/include/cpu.h log diff annotate
message Add a ci_intrdepth field to struct cpu_info for sh, and use it to implement
CLKF_INTR properly.

date 2024-10-24T06:30:28Z
author jsg
files src/sys/arch/hppa/include/trap.h log diff annotate
message remove unused T_BITS define; ok miod@

date 2024-10-24T17:37:03Z
author kettenis
files src/sys/arch/amd64/amd64/vm_machdep.c log diff annotate
message Stop leaking kernel stack guard pages.

ok mpi@, anton@

date 2024-10-24T17:37:06Z
author gkoehler
files src/sys/arch/macppc/macppc/cpu.c log diff annotate
src/sys/arch/macppc/macppc/locore.S log diff annotate
src/sys/arch/macppc/macppc/locore0.S log diff annotate
src/sys/arch/powerpc/powerpc/intr.c log diff annotate
message Change macppc's ci_idepth from -1 to 0 when no interrupts

Now curcpu()->ci_idepth == 0 would work on macppc as it does on
powerpc64 and other archs, by checking that we aren't in an interrupt.
This also makes macppc's splassert_check() less different.

locore.S checks for the 1st interrupt when it increments ci_idepth.
Using -1 for no interrupts had saved an instruction, as "addic." was
short for "addi; cmpwi". Using 0, it now does "cmpwi; addi" to
compare ci_idepth with 0 before incrementing it.

ok mpi@

date 2024-10-24T18:52:59Z
author bluhm
files src/sys/dev/ic/psp.c log diff annotate
src/sys/dev/ic/pspvar.h log diff annotate
src/sys/dev/pci/ccp_pci.c log diff annotate
src/sys/dev/pci/files.pci log diff annotate
src/sys/dev/pci/psp_pci.c log diff annotate
message Attach psp(4) version 1.

Some AMD CPUs come with an older platform security processor. It
is detectet by PCI Id and has different register offsets. Move the
dynamic register offsets into psp_softc. The PCI attach code is
now in a separate psp_pci.c file and detects the version of the psp
along with the ccp. The attach code is more verbose to display
where problems might occur. Now the ccp_wait() has 2 seconds
timeout, both for polling and interrupt. Also prevent a useless
bus_space_read_4().

OK hshoexer@

date 2024-10-24T23:24:58Z
author jsg
files src/sys/sys/resourcevar.h log diff annotate
message remove unneeded timeout.h include, missed in rev 1.15