Re: [PATCH v3 4/4] crypto: ccp: When TSME and SME both detected notify user

From: Tom Lendacky
Date: Tue Apr 05 2022 - 22:32:57 EST


On 3/31/22 16:12, Mario Limonciello wrote:
CC_ATTR_HOST_MEM_ENCRYPT is used to relay that memory encryption has been
activated by the kernel.

As it's technically possible to enable both SME and TSME at the same time,
detect this scenario and notify the user that enabling TSME and SME at the
same time is unnecessary.

Signed-off-by: Mario Limonciello <mario.limonciello@xxxxxxx>

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

---