diff options
| author | Dan Williams <[email protected]> | 2018-07-13 21:50:27 -0700 |
|---|---|---|
| committer | Dave Jiang <[email protected]> | 2018-08-20 09:22:45 -0700 |
| commit | 510ee090abc3dbc862bd35f5f3d8b7284a9117b4 (patch) | |
| tree | d2df0a6b7bc544752629f55255c8823dc3884d90 /drivers/platform/surface/aggregator/ssh_parser.c | |
| parent | 6100e34b2526e1dc3dbcc47fea2677974d6aaea5 (diff) | |
x86/mm/pat: Prepare {reserve, free}_memtype() for "decoy" addresses
In preparation for using set_memory_uc() instead set_memory_np() for
isolating poison from speculation, teach the memtype code to sanitize
physical addresses vs __PHYSICAL_MASK.
The motivation for using set_memory_uc() for this case is to allow
ongoing access to persistent memory pages via the pmem-driver +
memcpy_mcsafe() until the poison is repaired.
Cc: Thomas Gleixner <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: "H. Peter Anvin" <[email protected]>
Cc: Tony Luck <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: <[email protected]>
Cc: <[email protected]>
Signed-off-by: Dan Williams <[email protected]>
Acked-by: Ingo Molnar <[email protected]>
Signed-off-by: Dave Jiang <[email protected]>
Diffstat (limited to 'drivers/platform/surface/aggregator/ssh_parser.c')
0 files changed, 0 insertions, 0 deletions