diff options
author | Tom Lendacky <[email protected]> | 2018-01-10 13:26:16 -0600 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2018-01-16 01:50:58 +0100 |
commit | 2b5d00b6c2cdd94f6d6a494a6f6c0c0fc7b8e711 (patch) | |
tree | abfb1332c04ee4ebf69c8759e61fea0827d653fe /tools/perf/scripts/python/export-to-sqlite.py | |
parent | bacf6b499e11760aef73a3bb5ce4e5eea74a3fd4 (diff) |
x86/mm: Centralize PMD flags in sme_encrypt_kernel()
In preparation for encrypting more than just the kernel during early
boot processing, centralize the use of the PMD flag settings based
on the type of mapping desired. When 4KB aligned encryption is added,
this will allow either PTE flags or large page PMD flags to be used
without requiring the caller to adjust.
Tested-by: Gabriel Craciunescu <[email protected]>
Signed-off-by: Tom Lendacky <[email protected]>
Reviewed-by: Borislav Petkov <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Brijesh Singh <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions