FROMLIST: virt: geniezone: Add support for virtual timer migration
Introduce a mechanism to migrate the ARM64 virtual timer from the guest VM to the host Linux system when the execution context switches from the guest VM to the host. Ensure that the guest VM's virtual timer continues to operate seamlessly after the context switch, given that ARM64 has only one virtual timer. Translate the remaining time before the VM timer expires into the host Linux system by setting the remaining time on an hrtimer. This allows the guest VM to maintain its timer operations without interruption. Enable seamless timer operation during idle states. When a VM enters an idle state and the execution context returns to the host Linux, ensure that the timer continues to operate seamlessly, preventing disruption to the guest VM's timing operations. Change-Id: I70e5e00cc8d4848aea218b41ab15fec688ac6df7 Signed-off-by:Willix Yeh <chi-shen.yeh@mediatek.com> Co-developed-by:
Kevenny Hsieh <kevenny.hsieh@mediatek.com> Signed-off-by:
Kevenny Hsieh <kevenny.hsieh@mediatek.com> Signed-off-by:
Liju Chen <liju-clr.chen@mediatek.com> Bug: 356552547 Link: https://lore.kernel.org/lkml/20240730082436.9151-23-liju-clr.chen@mediatek.com/
Loading
Please sign in to comment