mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-01-13 11:33:58 +00:00
hv: use kick-mode in per-cpu to control kick pCPU
INIT signal has been used to kick off the partitioned pCPU, like RTVM, whose LAPIC is pass-through. notification IPI is used to kick off sharing pCPU. Add mode_to_kick_pcpu in per-cpu to control the way of kicking pCPU. Tracked-On: #8207 Signed-off-by: Minggui Cao <minggui.cao@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
committed by
acrnsi-robot
parent
39cdf6f7a6
commit
2c140addaf
@@ -126,4 +126,6 @@ void send_single_ipi(uint16_t pcpu_id, uint32_t vector);
|
||||
*/
|
||||
void send_single_init(uint16_t pcpu_id);
|
||||
|
||||
void kick_pcpu(uint16_t pcpu_id);
|
||||
|
||||
#endif /* ARCH_X86_LAPIC_H */
|
||||
|
||||
@@ -54,6 +54,7 @@ struct per_cpu_region {
|
||||
uint32_t lapic_id;
|
||||
uint32_t lapic_ldr;
|
||||
uint32_t softirq_servicing;
|
||||
uint32_t mode_to_kick_pcpu;
|
||||
struct smp_call_info_data smp_call_info;
|
||||
struct list_head softirq_dev_entry_list;
|
||||
#ifdef PROFILING_ON
|
||||
|
||||
Reference in New Issue
Block a user