mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-04-29 04:04:05 +00:00
This patch can fetch the thermal lvt irq and propagate it to VM. At this stage we support the case that there is only one VM governing thermal. And we pass the hardware thermal irq to this VM. First, we register the handler for thermal lvt interrupt, its irq vector is THERMAL_VECTOR and the handler is thermal_irq_handler(). Then, when a thermal irq occurs, it flags the SOFTIRQ_THERMAL bit of softirq_pending, This bit triggers the thermal_softirq() function. And this function will inject the virtual thermal irq to VM. Tracked-On: #8595 Signed-off-by: Zhangwei6 <wei6.zhang@intel.com> Reviewed-by: Junjie Mao <junjie.mao@intel.com> |
||
---|---|---|
.. | ||
delay.c | ||
efi_mmap.c | ||
event.c | ||
hv_main.c | ||
hypercall.c | ||
irq.c | ||
ptdev.c | ||
sbuf.c | ||
sched_bvt.c | ||
sched_iorr.c | ||
sched_noop.c | ||
sched_prio.c | ||
schedule.c | ||
softirq.c | ||
thermal.c | ||
ticks.c | ||
timer.c | ||
trusty_hypercall.c | ||
vm_event.c | ||
vm_load.c |