Re: [PATCH v5 16/16] x86/tdx: Add cmdline option to force use of ioremap_host_shared

Andi Kleen
2021-10-11T17:35:27Z

> Presumably bios code is in arch/x86 and drivers/acpi, right?
> Up to 200 calls the majority of which is likely private ...

Yes.

> I don't have better ideas but the current setup will just
> result in people making their guests vulnerable whenever they
> want to allow device pass-through.

Yes that's true. For current TDX our target is virtual devices only. But
if pass through usage will be really wide spread we may need to revisit.

-Andi