Re: [PATCH v13 1/4] virt/coco/sev-guest: Add throttling awareness

From: Tom Lendacky
Date: Wed Jan 25 2023 - 13:32:03 EST


On 1/25/23 11:48, Dionna Amalie Glaze wrote:

So these should really be:

#define SNP_GUEST_REQ_INVALID_LEN (1ULL << 32)
#define SNP_GUEST_REQ_ERR_BUSY (2ULL << 32)

Thanks,
Tom


Patch 3/4 cleans them up with just such a shift. They also move from
arch/x86/include/asm/sev-common.h to include/uapi/linux/sev-guest.h.
Is it okay to delay that cleanup until after the fix patch?

Yeah, if they're being deleted later and fixed up, I'm ok with that.

Thanks,
Tom



--
-Dionna Glaze, PhD (she/her)