aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_in.c
diff options
context:
space:
mode:
authorFenghua Yu <[email protected]>2022-02-07 15:02:51 -0800
committerBorislav Petkov <[email protected]>2022-02-15 11:31:43 +0100
commitfa6af69f38d3f409bedc55d0112eec36ed526d4b (patch)
tree24ecc48dfb6bb2b66a3a8900a981e18a33017169 /net/lapb/lapb_in.c
parenta3d29e8291b622780eb6e4e3eeaf2b24ec78fd43 (diff)
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 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions