Thread (83 messages) flat view 83 messages, 6 authors, 2021-08-23

Re: [PATCH Part1 RFC v4 04/36] x86/mm: Add sev_feature_enabled() helper

From: Brijesh Singh <hidden>
Date: 2021-08-10 14:58:00
Also in: kvm, linux-coco, linux-crypto, linux-efi, lkml, platform-driver-x86


On 8/10/21 6:25 AM, Borislav Petkov wrote:
On Wed, Jul 07, 2021 at 01:14:34PM -0500, Brijesh Singh wrote:
quoted
The sev_feature_enabled() helper can be used by the guest to query whether
the SNP - Secure Nested Paging feature is active.

Signed-off-by: Brijesh Singh <redacted>
---
  arch/x86/include/asm/mem_encrypt.h |  8 ++++++++
  arch/x86/include/asm/msr-index.h   |  2 ++
  arch/x86/mm/mem_encrypt.c          | 14 ++++++++++++++
  3 files changed, 24 insertions(+)
This will get replaced by this I presume:

https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Flkml.kernel.org%2Fr%2Fcover.1627424773.git.thomas.lendacky%40amd.com&amp;data=04%7C01%7Cbrijesh.singh%40amd.com%7C15d8b87644e148488da408d95bf16ae3%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637641914718165877%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=UMRigkWSG2h%2BZ4L08AUlG0JeUiqMb9te52LprPrq51M%3D&amp;reserved=0
Yes.

thanks
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help