I've heard exactly the opposite from the TDX team in the past. What IThey're all in MMIO macros.For now we only handle a subset of instructions that the kernelHow do you know which instructions the kernel uses?
uses for MMIO operations. User-space access triggers SIGBUS.
remember was a claim that one can not just leverage the MMIO macros as a
single point to avoid MMIO. I remember being told that not all code in
the kernel that does MMIO uses these macros. APIC MMIO's were called
out as a place that does not use the MMIO macros.
Yes x86 APIC has its own macros, but we don't use the MMIO based APIC, only X2APIC in TDX.