diff options
| author | Michal Hocko <[email protected]> | 2018-06-27 17:46:50 +0200 |
|---|---|---|
| committer | Thomas Gleixner <[email protected]> | 2018-06-29 21:23:40 +0200 |
| commit | e14d7dfb41f5807a0c1c26a13f2b8ef16af24935 (patch) | |
| tree | 286125cde4ac83d006bce769c9b52060c365ab84 /tools/perf/scripts/python | |
| parent | 0d0f6249058834ffe1ceaad0bb31464af66f6e7a (diff) | |
x86/speculation/l1tf: Fix up pte->pfn conversion for PAE
Jan has noticed that pte_pfn and co. resp. pfn_pte are incorrect for
CONFIG_PAE because phys_addr_t is wider than unsigned long and so the
pte_val reps. shift left would get truncated. Fix this up by using proper
types.
Fixes: 6b28baca9b1f ("x86/speculation/l1tf: Protect PROT_NONE PTEs against speculation")
Reported-by: Jan Beulich <[email protected]>
Signed-off-by: Michal Hocko <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Acked-by: Vlastimil Babka <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions