On 5/7/2021 2:55 PM, Dave Hansen wrote:
On 4/26/21 11:01 AM, Kuppuswamy Sathyanarayanan wrote:
static unsigned int __ioremap_check_encrypted(struct resource *res)I think it's time to come up with a real name for all of the code that's
{
- if (!sev_active())
+ if (!sev_active() && !is_tdx_guest())
return 0;
under: (sev_active() || is_tdx_guest()).
"encrypted" isn't it, for sure.
I called it protected_guest() in some other patches.
-Andi