irqchip/gic-v4.1: Add VPE residency callback
Making a VPE resident on GICv4.1 is pretty simple, as it is just a single write to the local redistributor. We just need extra information about which groups to enable, which the KVM code will have to provide. Signed-off-by: Marc Zyngier <maz@kernel.org> Reviewed-by: Zenghui Yu <yuzenghui@huawei.com> Link: https://lore.kernel.org/r/20191224111055.11836-12-maz@kernel.org
This commit is contained in:
@@ -327,6 +327,15 @@
|
||||
#define GICR_VPENDBASER_IDAI (1ULL << 62)
|
||||
#define GICR_VPENDBASER_Valid (1ULL << 63)
|
||||
|
||||
/*
|
||||
* GICv4.1 VPENDBASER, used for VPE residency. On top of these fields,
|
||||
* also use the above Valid, PendingLast and Dirty.
|
||||
*/
|
||||
#define GICR_VPENDBASER_4_1_DB (1ULL << 62)
|
||||
#define GICR_VPENDBASER_4_1_VGRP0EN (1ULL << 59)
|
||||
#define GICR_VPENDBASER_4_1_VGRP1EN (1ULL << 58)
|
||||
#define GICR_VPENDBASER_4_1_VPEID GENMASK_ULL(15, 0)
|
||||
|
||||
/*
|
||||
* ITS registers, offsets from ITS_base
|
||||
*/
|
||||
|
Reference in New Issue
Block a user