OpenBSD cvs log

created 2023-01-17T10:28:37Z
begin 2023-01-11T00:00:00Z
end 2023-01-12T00:00:00Z
path src/sys
commits 10

date 2023-01-11T02:49:34Z
author cheloha
files src/sys/arch/i386/i386/machdep.c log diff annotate
message i386/machdep.c: revert revisions 1.659 and 1.660

"put it back" kettenis@

date 2023-01-11T03:17:56Z
author visa
files src/sys/arch/mips64/include/pte.h log diff annotate
src/sys/arch/mips64/mips64/db_machdep.c log diff annotate
src/sys/arch/mips64/mips64/pmap.c log diff annotate
message Add MIPS64r2 TLB read inhibit support

OK deraadt@ miod@

date 2023-01-11T03:19:52Z
author visa
files src/sys/arch/mips64/include/cpu.h log diff annotate
src/sys/arch/mips64/include/pmap.h log diff annotate
src/sys/arch/mips64/mips64/fp_emulate.c log diff annotate
src/sys/arch/mips64/mips64/pmap.c log diff annotate
src/sys/arch/mips64/mips64/trap.c log diff annotate
message Add TLB bypass for instruction emulation

copyinsn() fetches a userland instruction through the direct map.
This lets emulation work with execute-only virtual memory mappings.

OK deraadt@

date 2023-01-11T03:20:52Z
author visa
files src/sys/arch/octeon/octeon/machdep.c log diff annotate
message Enable TLB read inhibit on OCTEON Plus and newer SoCs.

OK deraadt@

date 2023-01-11T03:28:42Z
author visa
files src/sys/arch/octeon/conf/BOOT log diff annotate
src/sys/arch/octeon/conf/GENERIC log diff annotate
src/sys/arch/octeon/conf/RAMDISK log diff annotate
message Use 64-bit page table entries on octeon

This (over-)compensates for the frame bit reduction related to the
TLB read inhibit support. However, the memory overhead of page tables
is increased.

OK miod@

date 2023-01-11T11:09:17Z
author kettenis
files src/sys/arch/arm64/arm64/pmap.c log diff annotate
message Make sure we also remove read access in pmap_page_ro() when the new
permissions only allow execution. Make sure we completely invalidate
the PTE if the intersection between the old and new permissions is the
empty set.

ok drahn@, deraadt@, mpi@

date 2023-01-11T11:10:25Z
author kettenis
files src/sys/arch/riscv64/riscv64/pmap.c log diff annotate
message Make sure we also remove read access in pmap_page_ro() when the new
permissions only allow execution. Make sure we completely invalidate
the PTE if the intersection between the old and new permissions is the
empty set.

ok deraadt@, mpi@

date 2023-01-11T12:47:04Z
author nicm
files src/sys/dev/rasops/rasops.c log diff annotate
message Remove rasops_isgray, this is no longer used. From Crystal Kolipe
kolipe.c at exoticsilicon dot com.

ok miod

date 2023-01-11T19:57:17Z
author miod
files src/sys/arch/sparc64/sparc64/genassym.cf log diff annotate
src/sys/arch/sparc64/sparc64/locore.s log diff annotate
message Implement X-only mappings on sun4u by not letting the dtlb miss handler
allow ttes with the "exec only" bit; joint work with deraadt@, unfortunately
no effect on sun4v due to the lack of software bits in ttes to fit an
"exec only" bit.

ok deraadt@ kettenis@

date 2023-01-11T19:57:18Z
author miod
files src/sys/arch/sparc64/sparc64/pmap.c log diff annotate
message Implement X-only mappings on sun4u by not letting the dtlb miss handler
allow ttes with the "exec only" bit; joint work with deraadt@, unfortunately
no effect on sun4v due to the lack of software bits in ttes to fit an
"exec only" bit.

ok deraadt@ kettenis@