From: Jan Kiszka <[email protected]>

There is no VMID in CNn_TTBR - stop writing to reserved bits.

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

diff --git a/hypervisor/arch/arm64/smmu.c b/hypervisor/arch/arm64/smmu.c
index e255e381..eb79711d 100644
--- a/hypervisor/arch/arm64/smmu.c
+++ b/hypervisor/arch/arm64/smmu.c
@@ -229,7 +229,6 @@ static int arm_smmu_init_context_bank(struct 
arm_smmu_device *smmu,
        cell_table = paging_hvirt2phys(pg_structs->root_table);
        u64 vttbr = 0;
 
-       vttbr |= (u64)cell->config->id << VTTBR_VMID_SHIFT;
        vttbr |= (u64)(cell_table & TTBR_MASK);
        cb->ttbr = vttbr;
 
-- 
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/da8efd8fa8c2d789e4e4bf9de680103fc5960997.1602664150.git.jan.kiszka%40siemens.com.

Reply via email to