x86: Fast Return and Event Delivery
summary
x86 Fast Return and Event Delivery (FRED) replaces IDT-based entry with a uniform, metadata-rich stack frame so interrupts/exceptions always preserve outgoing context, expose instruction length, and remove memory-registered entry points. Implementation in Xen uses Intel Simics for testing, lands as experimental in Xen421 with ~60 patches merged and ~24 remaining, aiming for full support in Xen 4.22 when Intel Panther Lake hardware ships later this year. Changes include two entry points, four stack levels, and NMI source reporting, plus GS-base handling and security fixes.
AI-written summary · about
chapters (12)
- 0:00Introduction and background
- 1:05What is FRED and its history
- 3:13Problems with legacy x86 interrupt handling
- 7:26Flaws in legacy system call methods
- 10:18How FRED improves event delivery
- 13:09Security improvements in FRED
- 14:35Current vs FRED stack handling
- 18:28New instructions and stack levels
- 21:51Metadata and state preservation
- 24:01Zen’s implementation progress
- 28:16Status and future work
- 31:24Q&A session
