OpenBSD cvs log

created 2024-04-12T13:52:02Z
begin 2024-04-08T00:00:00Z
end 2024-04-09T00:00:00Z
path src/sys
commits 11

date 2024-04-08T01:56:20Z
author jsg
files src/sys/dev/pci/drm/drm_panel_orientation_quirks.c log diff annotate
message drm: panel-orientation-quirks: Add quirk for Lenovo Legion Go

From Brenton Simpson
430143b0d3611f4a9c8434319e5e504244749e79 in mainline linux

date 2024-04-08T01:59:36Z
author jsg
files src/sys/dev/pci/drm/drm_panel_orientation_quirks.c log diff annotate
message drm: panel-orientation-quirks: Add quirk for GPD Win Mini

From Samuel Dionne-Riel
2f862fdc0fd802e728b6ca96bc78ec3f01bf161e in mainline linux

date 2024-04-08T19:59:28Z
author miod
files src/sys/arch/sparc64/sparc64/autoconf.c log diff annotate
message Fix sun4v patching of sp_tlb_flush_ctx() to pass flags in the right register.

ok kettenis@

date 2024-04-08T19:59:57Z
author miod
files src/sys/arch/sparc64/sparc64/locore.s log diff annotate
message Fix cut'n'paste error in data miss handler causing wrong label to be used in
some failure conditions.

date 2024-04-08T20:00:27Z
author miod
files src/sys/arch/sparc64/include/hypervisor.h log diff annotate
src/sys/arch/sparc64/sparc64/hvcall.S log diff annotate
src/sys/arch/sparc64/sparc64/ipifuncs.c log diff annotate
src/sys/arch/sparc64/sparc64/locore.s log diff annotate
src/sys/arch/sparc64/sparc64/pmap.c log diff annotate
message Remove dead code and data, fix typos, kill wrong comments.

ok kettenis@

date 2024-04-08T20:02:18Z
author miod
files src/sys/arch/sparc64/sparc64/locore.s log diff annotate
message Introduce more assembler macros to deduplicate code and improve readability:
- one macro for the inline pseg_get logic used in various MMU trap handlers.
- one macro for the TSB locking logic in various PTE update routines.
- one macro for the sun4v rwindow content saving.

ok kettenis@

date 2024-04-08T20:05:51Z
author miod
files src/sys/arch/sparc64/sparc64/clock.c log diff annotate
src/sys/arch/sparc64/sparc64/locore.s log diff annotate
message There is too much #ifdef DEBUG stuff cluttering locore, really. While some of
it had sense in the early days of the sparc64 port, this code has bitrotten
and is getting in the way. Time for a visit to the Attic.

This removes:
- interrupt handling debug code (forcing hz = 1, probably broken since years).
- unused or too invasive DEBUG code which noone will ever use in this state.
- #if 0 code blocks which have been this way since locore.s revision 1.1 and
will never get enabled.

ok kettenis@

date 2024-04-08T20:07:07Z
author miod
files src/sys/arch/sparc64/sparc64/locore.s log diff annotate
message Remove demap code for MMU miss faults.

This code was #if 0, except for instruction misses where it had been enabled
probably by mistake... and was demapping in the data mmu anyway...
(#include <facepalm.h>)

ok kettenis@

date 2024-04-08T20:07:53Z
author miod
files src/sys/arch/sparc64/include/frame.h log diff annotate
src/sys/arch/sparc64/sparc64/db_trace.c log diff annotate
src/sys/arch/sparc64/sparc64/genassym.cf log diff annotate
src/sys/arch/sparc64/sparc64/locore.s log diff annotate
message Remove unused tf_fault and tf_kstack members from struct trapframe. These
fields were (seldom) written to but never used for anything.

ok kettenis@

date 2024-04-08T20:08:19Z
author miod
files src/sys/arch/sparc64/sparc64/locore.s log diff annotate
message Fix misplaced END() macro.

ok kettenis@

date 2024-04-08T20:09:18Z
author miod
files src/sys/arch/sparc64/sparc64/locore.s log diff annotate
message Stop redeclaring ENTRY, the <machine/asm.h> flavour is as good as we need it.
While there, replace inlined NENTRY by actual use of that macro.

ok kettenis@