diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2026-09-20 09:49:10 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2026-09-20 09:49:10 -0700 |
| commit | 156fa7417fac89fd9dcf3a4ee88785ff90ab6411 (patch) | |
| tree | fe4933b8aeef301f1920991701f86e3b2260b55c /scripts | |
| parent | 0a15ba6b0c3adec5842d4252c3e5d2ca935e9948 (diff) | |
| parent | 63edf5a009ae366369a1b484cd9ae4ee7c51946c (diff) | |
| download | linux-stable-156fa7417fac89fd9dcf3a4ee88785ff90ab6411.tar.gz linux-stable-156fa7417fac89fd9dcf3a4ee88785ff90ab6411.zip | |
Merge tag 'x86-urgent-2026-09-20' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull x86 fixes from Ingo Molnar:
- Reject the loading of a potentially problematic microcode version
on Intel Granite Rapids systems (Chang S. Bae)
- On FRED, reconstruct the proper #GP context for rejected INT
instructions, to fix a signal ABI regression (Matthew Schwartz)
- Add a test for this signal ABI regression the x86
self-test suite (Matthew Schwartz)
- Don't emit the new and not yet properly supported EGPR instructions
(%r16-%r31) on CONFIG_X86_NATIVE_CPU=y builds (Chang S. Bae)
* tag 'x86-urgent-2026-09-20' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
x86/build/64: Prevent native builds from generating EGPR use
selftests/x86: Check signal state for rejected software interrupts
x86/fred: Reconstruct the #GP context for rejected INT instructions
x86/microcode/intel: Reject problematic loading on Granite Rapids systems
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/generate_rust_target.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/generate_rust_target.rs b/scripts/generate_rust_target.rs index 3bf296581..7687b0dd5 100644 --- a/scripts/generate_rust_target.rs +++ b/scripts/generate_rust_target.rs @@ -224,6 +224,11 @@ fn main() { features += ",+harden-sls-ijmp"; features += ",+harden-sls-ret"; } + if cfg.has("X86_NATIVE_CPU") { + // Prevent the backend from generating APX instructions. The kernel is not yet prepared + // for general in-kernel EGPR use. + features += ",-apxf"; + } ts.push("features", features); ts.push("llvm-target", "x86_64-linux-gnu"); ts.push("supported-sanitizers", ["kcfi", "kernel-address"]); |
