Re: [PATCH v3 06/14] x86/sev: Cache the secrets page address

From: Tom Lendacky
Date: Tue Aug 01 2023 - 12:35:05 EST


On 7/22/23 06:19, Nikunj A Dadhania wrote:
Save the secrets page address during snp_init() from the CC blob. Use
secrets_pa instead of calling get_secrets_page() that remaps the CC
blob for getting the secrets page every time.

Signed-off-by: Nikunj A Dadhania <nikunj@xxxxxxx>

Reviewed-by: Tom Lendacky <thomas.lendacky@xxxxxxx>

---
arch/x86/kernel/sev.c | 52 +++++++++++++------------------------------
1 file changed, 16 insertions(+), 36 deletions(-)