Hi all, This short patch series improves Xen real-time execution on AMD x86 processors.
The key to real-time performance is deterministic guest execution times and deterministic guest interrupt latency. In such configurations, the null scheduler is typically used, and there should be no IPIs or other sources of vCPU execution interruptions beyond the guest timer interrupt as configured by the guest, and any passthrough interrupts for passthrough devices. This is because, upon receiving a critical interrupt, the guest (such as FreeRTOS or Zephyr) typically has a very short window of time to complete the required action. Being interrupted in the middle of this critical section could prevent the guest from completing the action within the allotted time, leading to malfunctions. To address this, the patch series disables IPIs that could potentially affect the real-time domain. Cheers, Stefano Stefano Stabellini (2): xen/x86: don't send IPI to sync TSC when it is reliable xen/x86: introduce AMD_MCE_NONFATAL xen/arch/x86/Kconfig.cpu | 15 +++++++++++++++ xen/arch/x86/cpu/mcheck/amd_nonfatal.c | 3 ++- xen/arch/x86/time.c | 4 ++++ 3 files changed, 21 insertions(+), 1 deletion(-)