OpenBSD cvs log

created 2023-02-12T08:58:43Z
begin 2023-02-04T00:00:00Z
end 2023-02-05T00:00:00Z
path src/sys
commits 10

date 2023-02-04T00:07:11Z
author jsg
files src/sys/dev/pci/drm/i915/gem/i915_gem_stolen.c log diff annotate
message unstub i915_gem_stolen_lmem_setup()

date 2023-02-04T18:58:19Z
author kettenis
files src/sys/dev/fdt/sncodec.c log diff annotate
message Set default volume to -30 dB instead of using the hardware default of 0 dB
(which means maximum volume).

ok patrick@, ratchov@

date 2023-02-04T19:19:35Z
author cheloha
files src/sys/sys/timetc.h log diff annotate
message timecounting: remove incomplete PPS support

The timecounting code has had stubs for pulse-per-second (PPS) polling
since it was imported in 2004. At this point it seems unlikely that
anyone is going to finish adding PPS support, so let's remove the stubs:

- Delete the dead tc_poll_pps() call from tc_windup().
- Remove all tc_poll_pps symbols from the kernel.

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

ok miod@

date 2023-02-04T19:19:36Z
author cheloha
files src/sys/arch/alpha/alpha/clock.c log diff annotate
src/sys/arch/amd64/amd64/tsc.c log diff annotate
src/sys/arch/amd64/isa/clock.c log diff annotate
src/sys/arch/arm/cortex/agtimer.c log diff annotate
src/sys/arch/arm/cortex/amptimer.c log diff annotate
src/sys/arch/arm64/dev/agtimer.c log diff annotate
src/sys/arch/armv7/omap/dmtimer.c log diff annotate
src/sys/arch/armv7/omap/gptimer.c log diff annotate
src/sys/arch/armv7/sunxi/sxitimer.c log diff annotate
src/sys/arch/hppa/dev/clock.c log diff annotate
src/sys/arch/i386/isa/clock.c log diff annotate
src/sys/arch/i386/pci/geodesc.c log diff annotate
src/sys/arch/i386/pci/gscpm.c log diff annotate
src/sys/arch/i386/pci/ichpcib.c log diff annotate
src/sys/arch/loongson/loongson/generic3a_machdep.c log diff annotate
src/sys/arch/macppc/macppc/clock.c log diff annotate
src/sys/arch/mips64/mips64/mips64_machdep.c log diff annotate
src/sys/arch/octeon/octeon/machdep.c log diff annotate
src/sys/arch/powerpc64/powerpc64/clock.c log diff annotate
src/sys/kern/kern_tc.c log diff annotate
message timecounting: remove incomplete PPS support

The timecounting code has had stubs for pulse-per-second (PPS) polling
since it was imported in 2004. At this point it seems unlikely that
anyone is going to finish adding PPS support, so let's remove the stubs:

- Delete the dead tc_poll_pps() call from tc_windup().
- Remove all tc_poll_pps symbols from the kernel.

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

ok miod@

date 2023-02-04T19:19:37Z
author cheloha
files src/sys/arch/riscv64/riscv64/clock.c log diff annotate
src/sys/arch/sparc64/dev/psycho.c log diff annotate
src/sys/arch/sparc64/sparc64/clock.c log diff annotate
src/sys/dev/acpi/acpihpet.c log diff annotate
src/sys/dev/acpi/acpitimer.c log diff annotate
src/sys/dev/pci/amdpm.c log diff annotate
src/sys/dev/pci/viapm.c log diff annotate
src/sys/dev/pv/hyperv.c log diff annotate
src/sys/dev/pv/pvclock.c log diff annotate
message timecounting: remove incomplete PPS support

The timecounting code has had stubs for pulse-per-second (PPS) polling
since it was imported in 2004. At this point it seems unlikely that
anyone is going to finish adding PPS support, so let's remove the stubs:

- Delete the dead tc_poll_pps() call from tc_windup().
- Remove all tc_poll_pps symbols from the kernel.

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

ok miod@

date 2023-02-04T19:33:03Z
author cheloha
files src/sys/kern/kern_clock.c log diff annotate
src/sys/kern/kern_resource.c log diff annotate
src/sys/kern/kern_time.c log diff annotate
src/sys/kern/sched_bsd.c log diff annotate
message kernel: stathz is always non-zero after cpu_initclocks()

Now that the clockintr switch is complete, cpu_initclocks() always
initializes stathz to a non-zero value. We don't call statclock()
from hardclock(9) anymore and, more broadly, we don't need to test
whether stathz is non-zero before using it.

With input from kettenis@.

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

ok kettenis@ miod@

date 2023-02-04T20:04:20Z
author kettenis
files src/sys/dev/fdt/tascodec.c log diff annotate
message Set default volume to -30 dB instead of using the hardware default of 0 dB
(which means maximum volume).

ok patrick@, ratchov@

date 2023-02-04T23:11:59Z
author mglocker
files src/sys/arch/arm64/conf/GENERIC log diff annotate
src/sys/conf/files log diff annotate
src/sys/dev/acpi/files.acpi log diff annotate
src/sys/dev/acpi/ufshci_acpi.c log diff annotate
src/sys/dev/ic/ufshci.c log diff annotate
src/sys/dev/ic/ufshcireg.h log diff annotate
src/sys/dev/ic/ufshcivar.h log diff annotate
message Initial driver for Universal Flash Storage (UFS) Host Controllers.

ok kettenis@

date 2023-02-04T23:17:05Z
author cheloha
files src/sys/arch/macppc/macppc/clock.c log diff annotate
message macppc: dec_rearm: don't disable interrupts around atomic operations

We don't need to disable interrupts around ppc_mtdec(). The
underlying operation, mtdec, is atomic.

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

ok gkoehler@

date 2023-02-04T23:20:54Z
author cheloha
files src/sys/arch/powerpc64/powerpc64/clock.c log diff annotate
message powerpc64: dec_rearm: don't disable interrupts around atomic operations

We don't need to disable interrupts around this singular mtdec() call.
The mtdec operation is atomic.

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

ok gkoehler@