ARM: Implement vcpu_kick()
authorAndre Przywara <andre.przywara@linaro.org>
Thu, 15 Mar 2018 20:30:07 +0000 (20:30 +0000)
committerJulien Grall <julien.grall@arm.com>
Tue, 20 Mar 2018 08:19:46 +0000 (08:19 +0000)
commitf27009ff9ec478676f1d7635b77975875755e5a2
tree04224211a9857ce58ade74f667ff764e9a2f6f28
parentcf29708ff6f945d5c00f9b4d2bd88d684e12897f
ARM: Implement vcpu_kick()

If we change something in a vCPU that affects its runnability or
otherwise needs the vCPU's attention, we might need to tell the scheduler
about it.
We are using this in one place (vIRQ injection) at the moment, but will
need this at more places soon.
So let's factor out this functionality, using the already existing
vcpu_kick() prototype (used in x86 only so far), to make this available
to the rest of the Xen code.
Also adjust the perfcounter name to reflect the new usage.

Signed-off-by: Andre Przywara <andre.przywara@linaro.org>
Reviewed-by: Julien Grall <julien.grall@arm.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
xen/arch/arm/domain.c
xen/arch/arm/vgic.c
xen/include/asm-arm/perfc_defn.h