mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-01-05 15:45:05 +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
@@ -118,12 +118,12 @@ void send_single_ipi(uint16_t pcpu_id, uint32_t vector);
|
||||
/* End of ipi_ext_apis */
|
||||
|
||||
/**
|
||||
* @brief Send an NMI signal to a single pCPU
|
||||
* @brief Send an INIT signal to a single pCPU
|
||||
*
|
||||
* @param[in] pcpu_id The id of destination physical cpu
|
||||
*
|
||||
* @return None
|
||||
*/
|
||||
void send_single_nmi(uint16_t pcpu_id);
|
||||
void send_single_init(uint16_t pcpu_id);
|
||||
|
||||
#endif /* ARCH_X86_LAPIC_H */
|
||||
|
||||
@@ -15,7 +15,6 @@ struct smp_call_info_data {
|
||||
|
||||
struct acrn_vm;
|
||||
void smp_call_function(uint64_t mask, smp_call_func_t func, void *data);
|
||||
bool is_notification_nmi(const struct acrn_vm *vm);
|
||||
|
||||
void setup_notification(void);
|
||||
void setup_pi_notification(void);
|
||||
|
||||
Reference in New Issue
Block a user