diff options
| author | Fenghua Yu <[email protected]> | 2022-02-07 23:02:51 +0000 |
|---|---|---|
| committer | Borislav Petkov <[email protected]> | 2022-02-15 10:31:43 +0000 |
| commit | fa6af69f38d3f409bedc55d0112eec36ed526d4b (patch) | |
| tree | 24ecc48dfb6bb2b66a3a8900a981e18a33017169 /drivers/acpi/cppc_acpi.c | |
| parent | sched: Define and initialize a flag to identify valid PASID in the task (diff) | |
| download | kernel-fa6af69f38d3f409bedc55d0112eec36ed526d4b.tar.gz kernel-fa6af69f38d3f409bedc55d0112eec36ed526d4b.zip | |
x86/traps: Demand-populate PASID MSR via #GP
All tasks start with PASID state disabled. This means that the first
time they execute an ENQCMD instruction they will take a #GP fault.
Modify the #GP fault handler to check if the "mm" for the task has
already been allocated a PASID. If so, try to fix the #GP fault by
loading the IA32_PASID MSR.
Signed-off-by: Fenghua Yu <[email protected]>
Signed-off-by: Borislav Petkov <[email protected]>
Reviewed-by: Tony Luck <[email protected]>
Reviewed-by: Thomas Gleixner <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/acpi/cppc_acpi.c')
0 files changed, 0 insertions, 0 deletions
