diff options
author | Brijesh Singh <[email protected]> | 2024-01-25 22:11:06 -0600 |
---|---|---|
committer | Borislav Petkov (AMD) <[email protected]> | 2024-01-29 17:25:55 +0100 |
commit | 94b36bc244bb134ec616dd3f2d37343cd8c1be54 (patch) | |
tree | 1e607e72327731e4f108a487b500df58a247bcdd /lib/test_fortify/write_overflow-strncpy.c | |
parent | e3fd08afb7c350d5612f113eadfb4ebb6ed08deb (diff) |
x86/sev: Add RMP entry lookup helpers
Add a helper that can be used to access information contained in the RMP
entry corresponding to a particular PFN. This will be needed to make
decisions on how to handle setting up mappings in the NPT in response to
guest page-faults and handling things like cleaning up pages and setting
them back to the default hypervisor-owned state when they are no longer
being used for private data.
[ mdr: separate 'assigned' indicator from return code, and simplify
function signatures for various helpers. ]
Signed-off-by: Brijesh Singh <[email protected]>
Co-developed-by: Ashish Kalra <[email protected]>
Signed-off-by: Ashish Kalra <[email protected]>
Signed-off-by: Michael Roth <[email protected]>
Signed-off-by: Borislav Petkov (AMD) <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy.c')
0 files changed, 0 insertions, 0 deletions