From bfcf5461800496c888d854e19c809fe0d60ac23b Mon Sep 17 00:00:00 2001 From: Minggui Cao Date: Tue, 4 Sep 2018 12:09:43 +0800 Subject: [PATCH] Doc: add interrupt storm mitigation explanation. Tracked-On: #866 Signed-off-by: Minggui Cao Acked-by: Geoffroy Van Cutsem --- doc/developer-guides/interrupt-hld.rst | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/doc/developer-guides/interrupt-hld.rst b/doc/developer-guides/interrupt-hld.rst index 24bc3edc0..c48be271d 100644 --- a/doc/developer-guides/interrupt-hld.rst +++ b/doc/developer-guides/interrupt-hld.rst @@ -451,6 +451,16 @@ a guest's vMSI. The handler then injects the corresponding virtual interrupt into the guest, based on vPIC/vIOAPIC/vLAPIC APIs described earlier. +Interrupt Storm Mitigation +========================== + +When the Device Model (DM) launches a User OS (UOS), the ACRN hypervisor +will remap the interrupt for this user OS's pass-through devices. When +an interrupt occurs for a pass-through device, the CPU core is assigned +to that User OS gets trapped into the hypervisor. The benefit of such a +mechanism is that, should an interrupt storm happen in a particular UOS, +it will have only a minimal effect on the performance of the Service OS. + Interrupt/Exception Injection Process =====================================