+1
−1
+2
−2
Loading
stable inclusion from stable-v6.6.66 commit 3fe534a02897f5fb8a83c3a5d4447831d0cc9204 category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/IBLUBO Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=3fe534a02897f5fb8a83c3a5d4447831d0cc9204 -------------------------------- Most exit handlers return <= 0 to indicate that the host needs to handle the exit. Make kvm_handle_mmio_return() consistent with the exit handlers in handle_exit(). This makes the code easier to reason about, and makes it easier to add other handlers in future patches. No functional change intended. Signed-off-by:Fuad Tabba <tabba@google.com> Acked-by:
Oliver Upton <oliver.upton@linux.dev> Link: https://lore.kernel.org/r/20240423150538.2103045-15-tabba@google.com Signed-off-by:
Marc Zyngier <maz@kernel.org> Stable-dep-of: e735a5da6442 ("KVM: arm64: Don't retire aborted MMIO instruction") Signed-off-by:
Sasha Levin <sashal@kernel.org> Conflicts: arch/arm64/kvm/arm.c arch/arm64/kvm/mmio.c Signed-off-by:
cuiyudong <cuiyudong@kylinos.cn>