OpenBSD cvs log

created 2022-02-02T10:35:30Z
begin 2022-01-19T00:00:00Z
end 2022-01-20T00:00:00Z
path src/sys
commits 9

date 2022-01-19T00:34:31Z
author jsg
files src/sys/dev/pci/drm/include/linux/compiler.h log diff annotate
message __always_inline needs the inline keyword as well as the attribute

date 2022-01-19T02:08:24Z
author mpi
files src/sys/uvm/uvm_page.c log diff annotate
message Comment out an incorrect lock assertion.

The swap code path in uvm_aio_aiodone() is not holding the corresponding
page lock and shouldn't as long as anons are locked inside uvm_page_unbusy()
to handle the PG_RELEASED case.

Reported by Ralf Horstmann on bugs@

date 2022-01-19T02:20:06Z
author jsg
files src/sys/dev/pci/drm/i915/i915_drv.c log diff annotate
src/sys/dev/pci/drm/i915/i915_perf.c log diff annotate
message move some unused functions under ifdef

date 2022-01-19T02:49:05Z
author jsg
files src/sys/dev/pci/drm/include/linux/compiler.h log diff annotate
message no longer need to disable -Wtautological-compare and
-Wunneeded-internal-declaration when building drm with clang

date 2022-01-19T05:36:54Z
author jsg
files src/sys/dev/pci/drm/include/linux/irq_work.h log diff annotate
message go back to rev 1.5 of irq_work.h with tasks on system_wq
this may further help people with recent gen intel machines

date 2022-01-19T06:46:55Z
author anton
files src/sys/dev/kcov.c log diff annotate
message Remove temporary verbose logging.

date 2022-01-19T10:43:48Z
author kn
files src/sys/uvm/uvm_mmap.c log diff annotate
message Grab the kernel lock in uvm_wxcheck() when aborting the process

kern.wxabort=1 logs and kills programs after W^X violations.
At least sigexit() -> coredump() as well as the non-atomic increment of
ps_wxcounter require protection, so grab the big lock for the entire block.

This is part of the effort to unlock mmap(2)'s MAP_ANON case.

Feedback mvs claudio kettenis deraadt
OK kettenis

date 2022-01-19T10:51:04Z
author patrick
files src/sys/dev/sdmmc/sdhc.c log diff annotate
message On SDHC version 3.0 controllers the divisor doesn't have to be a power
of two, but can be a multiple of two. Make use of this to achieve card
clock frequencies closer to the target frequency.

ok visa@

date 2022-01-19T19:39:42Z
author guenther
files src/sys/arch/amd64/amd64/vmm.c log diff annotate
message Only invoke the underlying cpuid instruction if the real CPU might support
the leaf (<=cpuid_level) and always pass the subleaf. Delete the
CPUID_LEAF() calls made superfluous by always passing the subleaf.

ok mlarkin@