Why does the cache operation need to happen on the same CPU while the L1 caches
between cores are coherent?
As you know, cache operations usually operate for a range and it iterates
without disabling preemption.
Therefore, though you enclose the vcpu_run and handle_exit with preemption
disable,
On Thu, Jul 12, 2012 at 7:35 AM, 김민규 wrote:
> + /*
> +* Make sure preemption is disabled while calling handle_exit
> +* as exit handling touches CPU-specific resources, such as
> +* caches, and we must stay on the same CPU.
> +
: kvm-ow...@vger.kernel.org [mailto:kvm-ow...@vger.kernel.org] On Behalf Of
Christoffer Dall
Sent: Tuesday, July 03, 2012 6:02 PM
To: android-v...@lists.cs.columbia.edu; kvm@vger.kernel.org
Cc: t...@virtualopensystems.com
Subject: [PATCH v9 13/16] ARM: KVM: Emulation framework and CP15 emulation
A
Adds a new important function in the main KVM/ARM code called
handle_exit() which is called from kvm_arch_vcpu_ioctl_run() on returns
from guest execution. This function examines the Hyp-Syndrome-Register
(HSR), which contains information telling KVM what caused the exit from
the guest.
Some of th