diff options
| author | Brijesh Singh <brijesh.singh@amd.com> | 2022-04-26 17:31:13 +0000 |
|---|---|---|
| committer | Suravee Suthikulpanit <suravee.suthikulpanit@amd.com> | 2022-07-13 17:27:25 -0500 |
| commit | ab2883dcac131dc50a984d3cbb4e15f296272242 (patch) | |
| tree | 6c7590beb369c27404d6c970f820de9953a6bcda /include/linux | |
| parent | fab81bc5030dcb8e50ad4d8e9cd2cb1a4983e55a (diff) | |
| download | cachepc-linux-ab2883dcac131dc50a984d3cbb4e15f296272242.tar.gz cachepc-linux-ab2883dcac131dc50a984d3cbb4e15f296272242.zip | |
x86/sev: Add helper functions for RMPUPDATE and PSMASH instruction
The RMPUPDATE instruction writes a new RMP entry in the RMP Table. The
hypervisor will use the instruction to add pages to the RMP table. See
APM3 for details on the instruction operations.
The PSMASH instruction expands a 2MB RMP entry into a corresponding set of
contiguous 4KB-Page RMP entries. The hypervisor will use this instruction
to adjust the RMP entry without invalidating the previous RMP entry.
Signed-off-by: Brijesh Singh <brijesh.singh@amd.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
