Re: [PATCH v6] swiotlb: Adjust SWIOTBL bounce buffer size for SEV guests.

From: Borislav Petkov
Date: Tue Nov 24 2020 - 04:01:04 EST


On Mon, Nov 23, 2020 at 01:43:27PM -0500, Konrad Rzeszutek Wilk wrote:
> I am assuming that TDX is going to have the same exact issue that
> AMD SEV will have.
>
> Are you recommending to have an unified x86 specific callback
> where we check if it:
>
> - CPUID_AMD_SEV or CPUID_INTEL_TDX is set, and
> - No vIOMMU present, then we adjust the size?

I'm thinking do it correct right now and when TDX appears on the horizon
requesting this adjusted to TDX, then change it. Like we always do.

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette