diff options
author | Erdem Aktas <[email protected]> | 2019-12-13 13:31:46 -0800 |
---|---|---|
committer | Dennis Zhou <[email protected]> | 2020-01-31 11:15:59 -0800 |
commit | 264b0d2bee148073c117e7bbbde5be7125a53be1 (patch) | |
tree | 2fd998ca682d902969b5c25f2aafd43ca6dbf652 /drivers/usb/cdns3/cdns3-debug.h | |
parent | becef184dfe9bfef522c80501d22a5e02efba8d8 (diff) |
percpu: Separate decrypted varaibles anytime encryption can be enabled
CONFIG_VIRTUALIZATION may not be enabled for memory encrypted guests. If
disabled, decrypted per-CPU variables may end up sharing the same page
with variables that should be left encrypted.
Always separate per-CPU variables that should be decrypted into their own
page anytime memory encryption can be enabled in the guest rather than
rely on any other config option that may not be enabled.
Fixes: ac26963a1175 ("percpu: Introduce DEFINE_PER_CPU_DECRYPTED")
Cc: [email protected] # 4.15+
Signed-off-by: Erdem Aktas <[email protected]>
Signed-off-by: David Rientjes <[email protected]>
Signed-off-by: Dennis Zhou <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions