Skip to content

x86: Fix some bugs related to ITS mitigation

Juergen Gross lkml llvm oe-kbuild-all stable 1 version Applied

Status from this message: The following commit has been merged into the x86/urgent branch of tip:

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 12 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3x86/execmem: don't use PAGE_KERNEL protection for code pagesarch/x86/mm/init.c+1 -13 replies
2/3x86/mm/pat: don't collapse pages without PSE setarch/x86/mm/pat/set_memory.c+3 -00 replies
3/3x86/alternative: make kernel ITS thunks read-onlyarch/x86/kernel/alternative.c+16 -09 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] x86: Fix some bugs related to ITS mitigation

Running as a Xen PV guest uncovered some bugs when ITS mitigation is active.

Juergen Gross (3):
x86/execmem: don't use PAGE_KERNEL protection for code pages x86/mm/pat: don't collapse pages without PSE set x86/alternative: make kernel ITS thunks read-only

 arch/x86/kernel/alternative.c | 16 ++++++++++++++++
 arch/x86/mm/init.c            |  2 +-
 arch/x86/mm/pat/set_memory.c  |  3 +++
 3 files changed, 20 insertions(+), 1 deletion(-)
Signature · 1 line
2.43.0