mirror of
https://github.com/torvalds/linux.git
synced 2024-11-15 08:31:55 +00:00
irqchip/gic-v3-its: Add VPE invalidation hook
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>
This commit is contained in:
parent
e643d80340
commit
5e2f764234
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user