mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-06-08 18:14:53 +00:00
DM: add a thread to monitor UOS ptdev intr status
This patch is for "interrupt storm mitigation", used to reduce the effect on SOS if an "interrupt storm" happens in UOS. Add a monitor thread to get UOS pass-through devices interrupt freqency data; currently, if "interrupt storm" happens, it'll send a command to delay interrupt injection to UOS for some time. The parameters: interrupt storm threshold and delay time can be adjusted according differt HW configure and use case. Tracked-On: #866 Signed-off-by: Minggui Cao <minggui.cao@intel.com> Reviewed-by: Yin Fengwei <fengwei.yin@intel.com> Acked-by: Anthony Xu <anthony.xu@intel.com>
This commit is contained in:
@@ -80,6 +80,7 @@
|
||||
#define IC_DEASSERT_IRQLINE _IC_ID(IC_ID, IC_ID_IRQ_BASE + 0x01)
|
||||
#define IC_PULSE_IRQLINE _IC_ID(IC_ID, IC_ID_IRQ_BASE + 0x02)
|
||||
#define IC_INJECT_MSI _IC_ID(IC_ID, IC_ID_IRQ_BASE + 0x03)
|
||||
#define IC_VM_INTR_MONITOR _IC_ID(IC_ID, IC_ID_IRQ_BASE + 0x04)
|
||||
|
||||
/* DM ioreq management */
|
||||
#define IC_ID_IOREQ_BASE 0x30UL
|
||||
|
||||
Reference in New Issue
Block a user