Messages in this thread | | | Date | Mon, 20 Jun 2022 08:27:33 -0700 | Subject | Re: [PATCH 1/2] x86/pat: fix x86_has_pat_wp() | From | Dave Hansen <> |
| |
On 6/20/22 03:41, Juergen Gross wrote: >> But I'm only guessing - this needs a *lot* more elaboration and >> explanation why exactly this is needed. > > I will correct the code and update the commit message.
It would also be great to cover the end-user-visible impact of the bug and the fix. It _looks_ like it will probably only affect an SEV system's ability to read some EFI data. That will presumably be pretty bad because it ends up reading from an encrypted mapping instead of a decrypted one.
The
pr_warn("failed to early memremap...
is (counterintuitively) what is wanted here.
Right?
| |