projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e643d80
)
irqchip/gic-v3-its: Add VPE invalidation hook
author
Marc Zyngier
<marc.zyngier@arm.com>
Tue, 20 Dec 2016 15:10:50 +0000
(15:10 +0000)
committer
Marc Zyngier
<marc.zyngier@arm.com>
Thu, 31 Aug 2017 14:31:37 +0000
(15:31 +0100)
When a guest issues a INVALL command targetting a collection, it must
be translated into a VINVALL for the VPE that has this collection.
This patch implements a hook that offers this functionallity to the
hypervisor.
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
drivers/irqchip/irq-gic-v3-its.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/irqchip/irq-gic-v3-its.c
b/drivers/irqchip/irq-gic-v3-its.c
index f4827040a788bbb4b63cd95db197ea2200223740..21b728df7544a4bc5fb24a4fa9587438832cb73f 100644
(file)
--- a/
drivers/irqchip/irq-gic-v3-its.c
+++ b/
drivers/irqchip/irq-gic-v3-its.c
@@
-2232,6
+2232,10
@@
static int its_vpe_set_vcpu_affinity(struct irq_data *d, void *vcpu_info)
its_vpe_deschedule(vpe);
return 0;
+ case INVALL_VPE:
+ its_send_vinvall(vpe);
+ return 0;
+
default:
return -EINVAL;
}