mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-01-04 23:24:56 +00:00
hv: revert NMI notification by INIT signal
NMI is used to notify LAPIC-PT RTVM, to kick its CPU into hypervisor. But NMI could be used by system devices, like PMU (Performance Monitor Unit). So use INIT signal as the partition CPU notification function, to replace injecting NMI. Also remove unused NMI as notification related code. Tracked-On: #6966 Acked-by: Anthony Xu <anthony.xu@intel.com> Signed-off-by: Minggui Cao <minggui.cao@intel.com>
This commit is contained in:
committed by
acrnsi-robot
parent
b72202e976
commit
3b1deda0eb
@@ -12,7 +12,7 @@
|
||||
|
||||
#define NEED_RESCHEDULE (1U)
|
||||
|
||||
#define DEL_MODE_NMI (1U)
|
||||
#define DEL_MODE_INIT (1U)
|
||||
#define DEL_MODE_IPI (2U)
|
||||
|
||||
#define THREAD_DATA_SIZE (256U)
|
||||
@@ -24,7 +24,7 @@ enum thread_object_state {
|
||||
};
|
||||
|
||||
enum sched_notify_mode {
|
||||
SCHED_NOTIFY_NMI,
|
||||
SCHED_NOTIFY_INIT,
|
||||
SCHED_NOTIFY_IPI
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user