OpenBSD cvs log

created 2022-09-22T04:03:22Z
begin 2022-09-12T00:00:00Z
end 2022-09-13T00:00:00Z
path src/sys
commits 7

date 2022-09-12T10:58:05Z
author cheloha
files src/sys/dev/acpi/acpihpet.c log diff annotate
message acpihpet(4): acpihpet_delay: only use lower 32 bits of counter

We can't use acpihpet_r() to implement acpihpet_delay(). Even if we
made acpihpet_r() atomic on amd64, i386 would still be incapable of
doing atomic 8-byte reads. As-is, the code does a split read on all
platforms, which may or may not already be causing problems with TSC
calibration:

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

Switch from acpihpet_r() to bus_space_read_4() and only use the lower
32 bits of the counter. This makes acpihpet_delay() slightly larger,
but unless we want two acpihpet_delay() implementations we have no
choice.

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

ok jsg@

date 2022-09-12T14:18:17Z
author jsg
files src/sys/dev/pci/drm/i915/i915_drv.c log diff annotate
message disable Panel Self Refresh (PSR) by default in inteldrm

After i915_drv.c 1.144 PSR changed to being on by default.
On a TUXEDO InfinityBook Pro 14 Gen6 (Tiger Lake) this introduced screen
flicker. Reported and tested by Matthias Schmidt.

Should also avoid flicker problem on Dell XPS 13 7390 (Comet Lake)
reported by James Cook.

date 2022-09-12T17:42:31Z
author kettenis
files src/sys/dev/acpi/acpi.c log diff annotate
src/sys/dev/acpi/amltypes.h log diff annotate
src/sys/dev/acpi/qcgpio.c log diff annotate
message Add support for level-triggered GPIO events.

ok mlarkin@

date 2022-09-12T19:28:19Z
author miod
files src/sys/arch/arm/arm/pmap7.c log diff annotate
src/sys/arch/arm/include/pmap.h log diff annotate
message Drop orphaned pv_flags values.

date 2022-09-12T19:33:34Z
author miod
files src/sys/arch/sh/include/pmap.h log diff annotate
src/sys/arch/sh/sh/pmap.c log diff annotate
src/sys/arch/sh/sh/trap.c log diff annotate
message Store mod/ref flags using md pg_flags values rather than a specific field in
vm_page_md, which allows this struct to shrink a bit.

date 2022-09-12T19:35:20Z
author miod
files src/sys/arch/alpha/alpha/pmap.c log diff annotate
src/sys/arch/alpha/include/pmap.h log diff annotate
message Store mod/ref flags using md pg_flags values rather than a specific field in
vm_page_md, which allows this struct to shrink a bit.

date 2022-09-12T20:31:53Z
author kettenis
files src/sys/arch/arm64/conf/GENERIC log diff annotate
message Enable acpiac(4) and acpibat(4).

ok deraadt@