From: Jan Kiszka <[email protected]>

Not used with SMMUv2, which is what we focus on.

Signed-off-by: Jan Kiszka <[email protected]>
---
 hypervisor/arch/arm64/smmu.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/hypervisor/arch/arm64/smmu.c b/hypervisor/arch/arm64/smmu.c
index f17fca09..e39c2264 100644
--- a/hypervisor/arch/arm64/smmu.c
+++ b/hypervisor/arch/arm64/smmu.c
@@ -170,7 +170,6 @@
 #define CBAR_VMID_SHIFT                        0
 #define CBAR_TYPE_SHIFT                        16
 #define CBAR_TYPE_S2_TRANS             (0 << CBAR_TYPE_SHIFT)
-#define CBAR_IRPTNDX_SHIFT             24
 
 #define ARM_SMMU_GR1_CBA2R(n)          (0x800 + ((n) << 2))
 #define CBA2R_RW64_32BIT               (0 << 0)
@@ -246,7 +245,6 @@ enum arm_smmu_context_fmt {
 
 struct arm_smmu_cfg {
        u8                              cbndx;
-       u8                              irptndx;
        union {
                u16                     asid;
                u16                     vmid;
@@ -809,7 +807,6 @@ static int arm_smmu_cell_init(struct cell *cell)
 
                /* We use cell->config->id here, one cell use one context */
                cfg->cbndx = cell->config->id;
-               cfg->irptndx = cfg->cbndx;
                cfg->vmid = cfg->cbndx + 1;
 
                ret = arm_smmu_init_context_bank(smmu, cfg, cell);
-- 
2.26.2

-- 
You received this message because you are subscribed to the Google Groups 
"Jailhouse" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jailhouse-dev/0766d8d4d666156edbfc8450b9070f656b59e4e9.1601838005.git.jan.kiszka%40siemens.com.

Reply via email to