OpenBSD cvs log

created 2023-04-21T07:33:46Z
begin 2023-04-17T00:00:00Z
end 2023-04-18T00:00:00Z
path src/sys
commits 15

date 2023-04-17T00:02:14Z
author deraadt
files src/sys/arch/amd64/amd64/vector.S log diff annotate
src/sys/arch/amd64/include/asm.h log diff annotate
src/sys/arch/amd64/include/frameasm.h log diff annotate
message Add endbr64 instructions to most of the ENTRY() macros.
The IDTVEC() and KIDTVEC() macros also get a endbr64, and therefore we need
to change the way that vectors are aliased with a new IDTVEC_ALIAS() macro.
with guenther, jsg

date 2023-04-17T00:03:59Z
author deraadt
files src/sys/arch/amd64/amd64/locore.S log diff annotate
message IDTVEC_NOALIGN() was the incorrect way to create a label in two places,
use GENTRY() instead. Also add two endbr64 which cannot be supplied by
macros
ok guenther

date 2023-04-17T00:05:35Z
author deraadt
files src/sys/arch/amd64/stand/boot/Makefile log diff annotate
src/sys/arch/amd64/stand/cdboot/Makefile log diff annotate
src/sys/arch/amd64/stand/pxeboot/Makefile log diff annotate
message The bootblocks are 32-bit binaries which use the ENTRY() macros which now
include endbr64 macros. That's not going to work, so use the simple method
of -Dendbr64= to remove them from the instruction stream.
ok kettenis guenther

date 2023-04-17T00:14:59Z
author deraadt
files src/sys/arch/amd64/amd64/locore.S log diff annotate
message For future userland IBT, the sigcode needs to start with a endbr64.
This is simpler than clearing the cet_u bits in the kernel.
ok guenther, kettenis

date 2023-04-17T00:42:04Z
author jsg
files src/sys/arch/amd64/amd64/cpu.c log diff annotate
message Enable Indirect Branch Tracking (IBT) for the kernel

endbr64 (f3 0f 1e fa) is placed at valid targets of an indirect jmp or
call. A nop on older machines. When IBT is enabled, an indirect jmp or
call with no endbr will trigger a control protection trap.

IBT is present on Intel Tiger Lake (Core gen 11) and later.

with and ok deraadt@

date 2023-04-17T01:14:24Z
author deraadt
files src/sys/arch/amd64/conf/Makefile.amd64 log diff annotate
message Oops, ramdisk case should be -fcf-protection=none
spotted by brynet

date 2023-04-17T05:13:20Z
author jsg
files src/sys/dev/pci/drm/i915/gt/intel_execlists_submission.c log diff annotate
message drm/i915: Fix context runtime accounting

From Tvrtko Ursulin
4e29fb89f771316caed9e4d166213b10dd49eb2e in linux-6.1.y/6.1.24
dc3421560a67361442f33ec962fc6dd48895a0df in mainline linux

date 2023-04-17T05:15:40Z
author jsg
files src/sys/dev/pci/drm/i915/i915_perf.c log diff annotate
message drm/i915: fix race condition UAF in i915_perf_add_config_ioctl

From Min Li
240b1502708858b5e3f10b6dc5ca3f148a322fef in linux-6.1.y/6.1.24
dc30c011469165d57af9adac5baff7d767d20e5c in mainline linux

date 2023-04-17T05:17:20Z
author jsg
files src/sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm.c log diff annotate
message drm/amd/display: Clear MST topology if it fails to resume

From Roman Li
245525543f48cd9eabd2964d8931043e9e3c31cf in linux-6.1.y/6.1.24
3f6752b4de41896c7f1609b1585db2080e8150d8 in mainline linux

date 2023-04-17T05:19:09Z
author jsg
files src/sys/dev/pci/drm/amd/amdgpu/amdgpu_device.c log diff annotate
message drm/amdgpu: for S0ix, skip SDMA 5.x+ suspend/resume

From Alex Deucher
73ca74fc7ab6c1679c3b2720579c0c20b73a9764 in linux-6.1.y/6.1.24
2a7798ea7390fd78f191c9e9bf68f5581d3b4a02 in mainline linux

date 2023-04-17T05:21:13Z
author jsg
files src/sys/dev/pci/drm/amd/amdgpu/amdgpu_device.c log diff annotate
message drm/amdgpu: skip psp suspend for IMU enabled ASICs mode2 reset

From Tim Huang
62de38c8201d853b130fc54ddbfab748180053e2 in linux-6.1.y/6.1.24
e11c775030c5585370fda43035204bb5fa23b139 in mainline linux

date 2023-04-17T05:29:45Z
author jsg
files src/sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c log diff annotate
src/sys/dev/pci/drm/display/drm_dp_mst_topology.c log diff annotate
src/sys/dev/pci/drm/i915/display/intel_dp_mst.c log diff annotate
src/sys/dev/pci/drm/include/drm/display/drm_dp_mst_helper.h log diff annotate
message drm/display/dp_mst: Handle old/new payload states in drm_dp_remove_payload()

From Imre Deak
0c64d72fd3f21ac9d0da186809394d9593090ce7 in linux-6.1.y/6.1.24
e761cc20946a0094df71cb31a565a6a0d03bd8be in mainline linux

date 2023-04-17T05:32:30Z
author jsg
files src/sys/dev/pci/drm/i915/display/intel_dp_mst.c log diff annotate
message drm/i915/dp_mst: Fix payload removal during output disabling

From Imre Deak
1297278ce23977853afeac7bfb65e42450a722dd in linux-6.1.y/6.1.24
eb50912ec931913e70640cecf75cb993fd26995f in mainline linux

date 2023-04-17T05:35:37Z
author jsg
files src/sys/dev/pci/drm/i915/i915_reg.h log diff annotate
message drm/i915: Use _MMIO_PIPE() for SKL_BOTTOM_COLOR

From Ville Syrjala
64244a900ddff4abd4c894dcfa9ea7df898ad1eb in linux-6.1.y/6.1.24
05ca98523481aa687c5a8dce8939fec539632153 in mainline linux

date 2023-04-17T05:38:17Z
author jsg
files src/sys/dev/pci/drm/i915/display/intel_color.c log diff annotate
message drm/i915: Split icl_color_commit_noarm() from skl_color_commit_noarm()

From Ville Syrjala
726825297dd6aaa2d91daf7c1c2fd030859cc6cb in linux-6.1.y/6.1.24
76b767d4d1cd052e455cf18e06929e8b2b70101d in mainline linux