aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/controller/pci-versatile.c
diff options
context:
space:
mode:
authorThomas Gleixner <[email protected]>2022-03-24 13:47:14 +0000
committerBorislav Petkov <[email protected]>2022-03-30 09:35:22 +0000
commit781c64bfcb735960717d1cb45428047ff6a5030c (patch)
tree82b9ea5f9e17f91eb8f9fe6334ae139daefbf69f /drivers/pci/controller/pci-versatile.c
parentx86/fpu/xsave: Handle compacted offsets correctly with supervisor states (diff)
downloadkernel-781c64bfcb735960717d1cb45428047ff6a5030c.tar.gz
kernel-781c64bfcb735960717d1cb45428047ff6a5030c.zip
x86/fpu/xstate: Handle supervisor states in XSTATE permissions
The size calculation in __xstate_request_perm() fails to take supervisor states into account because the permission bitmap is only relevant for user states. Up to 5.17 this does not matter because there are no supervisor states supported, but the (re-)enabling of ENQCMD makes them available. Fixes: 7c1ef59145f1 ("x86/cpufeatures: Re-enable ENQCMD") Signed-off-by: Thomas Gleixner <[email protected]> Signed-off-by: Borislav Petkov <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/pci/controller/pci-versatile.c')
0 files changed, 0 insertions, 0 deletions