diff options
author | Eric Auger <eric.auger@redhat.com> | 2017-05-03 17:38:01 +0200 |
---|---|---|
committer | Christoffer Dall <cdall@linaro.org> | 2017-05-08 14:39:04 +0200 |
commit | eff484e0298da5a4d18ca82f5454c557fd942af5 (patch) | |
tree | 5f631bf8e13b8b3c6a88683bffd1ce68bf8ae8ab /virt/kvm/arm/vgic/vgic.h | |
parent | 57a9a117154c93539e33161dd318e6aeb8c04efa (diff) | |
download | linux-eff484e0298da5a4d18ca82f5454c557fd942af5.tar.gz linux-eff484e0298da5a4d18ca82f5454c557fd942af5.tar.bz2 linux-eff484e0298da5a4d18ca82f5454c557fd942af5.zip |
KVM: arm64: vgic-its: ITT save and restore
Implement routines to save and restore device ITT and their
interrupt table entries (ITE).
Signed-off-by: Eric Auger <eric.auger@redhat.com>
Reviewed-by: Christoffer Dall <cdall@linaro.org>
Diffstat (limited to 'virt/kvm/arm/vgic/vgic.h')
-rw-r--r-- | virt/kvm/arm/vgic/vgic.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/virt/kvm/arm/vgic/vgic.h b/virt/kvm/arm/vgic/vgic.h index f35e993883dc..433449b25c78 100644 --- a/virt/kvm/arm/vgic/vgic.h +++ b/virt/kvm/arm/vgic/vgic.h @@ -81,6 +81,10 @@ #define KVM_ITS_CTE_VALID_MASK BIT_ULL(63) #define KVM_ITS_CTE_RDBASE_SHIFT 16 #define KVM_ITS_CTE_ICID_MASK GENMASK_ULL(15, 0) +#define KVM_ITS_ITE_NEXT_SHIFT 48 +#define KVM_ITS_ITE_PINTID_SHIFT 16 +#define KVM_ITS_ITE_PINTID_MASK GENMASK_ULL(47, 16) +#define KVM_ITS_ITE_ICID_MASK GENMASK_ULL(15, 0) #define KVM_ITS_DTE_VALID_SHIFT 63 #define KVM_ITS_DTE_VALID_MASK BIT_ULL(63) #define KVM_ITS_DTE_NEXT_SHIFT 49 |