x86/CPU: Fix CR4 pinning and FRED in CoCo guests
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | x86/cpu: Enable FSGSBASE early in cpu_init_exception_handling()arch/ | +12 | 0 replies | |
| 2/4 | x86/cpu: Remove X86_CR4_FRED from the CR4 pinned bits maskarch/ | +1 | 1 reply | |
| 3/4 | x86/fred: Fix early boot failures on SEV-ES/SNP guestsarch/ arch/ | +20 | 0 replies | |
| 4/4 | x86/cpu: Add comment clarifying CRn pinningarch/ | +13 | 0 replies |
Reviews trailers per patch
3 of 4 patches have a Reviewed-by or Acked-by.
| Patch | Sohil Mehta | Tom Lendacky |
|---|---|---|
| 1/4 | R-b | |
| 2/4 | R-b | |
| 3/4 | R-b | |
| 4/4 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/4] x86/CPU: Fix CR4 pinning and FRED in CoCo guests
From: "Borislav Petkov (AMD)" <[email protected]>
Hi,
the respective patches have very detailed explanations about what this is addressing but basically, there's a window in time during boot when FRED is not setup properly yet and if a CoCo guest generates an exception, it would explode.
So this shuffles things a bit so that that doesn't happen.
Thx.
Borislav Petkov (AMD) (1):
x86/cpu: Remove X86_CR4_FRED from the CR4 pinned bits mask
Nikunj A Dadhania (2):
x86/cpu: Enable FSGSBASE early in cpu_init_exception_handling() x86/fred: Fix early boot failures on SEV-ES/SNP guests
Peter Zijlstra (1):
x86/cpu: Add comment clarifying CRn pinning
arch/x86/coco/sev/noinstr.c | 6 ++++++ arch/x86/entry/entry_fred.c | 14 ++++++++++++++ arch/x86/kernel/cpu/common.c | 33 ++++++++++++++++++++++++++------- 3 files changed, 46 insertions(+), 7 deletions(-)
Signature · 1 line
2.51.0