OpenBSD cvs log

created 2022-12-04T15:10:00Z
begin 2022-11-29T00:00:00Z
end 2022-11-30T00:00:00Z
path src/sys
commits 6

date 2022-11-29T00:58:05Z
author cheloha
files src/sys/arch/macppc/macppc/clock.c log diff annotate
src/sys/arch/powerpc/include/_types.h log diff annotate
src/sys/arch/powerpc/include/cpu.h log diff annotate
message powerpc, macppc: switch to clockintr

- Remove powerpc-specific clock interrupt scheduling bits from cpu_info.
- Remove macppc-specific randomized statclock() bits from macppc/clock.c.
- Remove the 'stat_count' evcount. All clock interrupts are now counted
via the 'clock_count' evcount.
- Wire up dec_intrclock.

Bringup help from gkoehler@. The patch has survived five or six
kernel-release-upgrade cycles on my dual-core PowerMac3,6.

Link: https://marc.info/?l=openbsd-tech&m=166776385003520&w=2

ok gkoehler@ mlarkin@

date 2022-11-29T01:04:44Z
author cheloha
files src/sys/arch/powerpc64/include/_types.h log diff annotate
src/sys/arch/powerpc64/include/cpu.h log diff annotate
src/sys/arch/powerpc64/powerpc64/clock.c log diff annotate
message powerpc64: switch to clockintr

- Remove powerpc64-specific clock interrupt scheduling bits from
cpu_info.
- Remove powerpc64-specific randomized statclock() bits from
powerpc64/clock.c.
- Remove the 'stat_count' evcount. All clock interrupts are now counted
via the 'clock_count' evcount.
- Wire up dec_intrclock.

Bringup help from gkoehler@. Tested by gkoehler@: this patch has
survived four kernel-release-upgrade cycles on a Raptor Talos II
T2P9S01 sporting a quad-core POWER9 CPU.

Link: https://marc.info/?l=openbsd-tech&m=166776404803622&w=2

ok gkoehler@ mlarkin@

date 2022-11-29T02:19:29Z
author guenther
files src/sys/arch/amd64/amd64/acpi_wakecode.S log diff annotate
src/sys/arch/amd64/amd64/mptramp.S log diff annotate
message Put the original image of the MP-startup and ACPI-suspend/hibernate
trampolines into .rodata instead of .text. While here, give types
and sizes to all the global symbols and delete some superfluous
directives and unrelocated symbols in the ACPI trampoline image.

ok mlarkin@

date 2022-11-29T06:29:45Z
author anton
files src/sys/dev/usb/uhidpp.c log diff annotate
message Add support for Bolt receivers. They use different registers for the
device name and type.

date 2022-11-29T06:30:34Z
author anton
files src/sys/dev/usb/uhidpp.c log diff annotate
message Add support for the Unified Battery feature found in many more recent Logitech
HID++ hardware which should cause battery sensors to be exposed for more
devices. Positive test reports from the following:

* Lift mouse (anton@)
* MX Anywhere 3 mouse (Paul de Weerd)
* MX Ergo trackball (kn@)

date 2022-11-29T21:41:39Z
author guenther
files src/sys/arch/amd64/amd64/bus_space.c log diff annotate
src/sys/arch/amd64/amd64/cpu.c log diff annotate
src/sys/arch/amd64/amd64/locore.S log diff annotate
src/sys/arch/amd64/amd64/machdep.c log diff annotate
src/sys/arch/amd64/amd64/pmap.c log diff annotate
src/sys/arch/amd64/include/biosvar.h log diff annotate
src/sys/arch/amd64/include/cpu.h log diff annotate
message Move the generic variable definitions from the ASM at the top of
locore.S to be in C in cpu.c, machdep.c, pmap.c, or bus_space.c for
better typing/debug info. Delete REALBASEMEM, REALEXTMEM, and
biosextmem as unused/ignored.

ok mpi@ krw@ mlarkin@