From: Jan Kiszka <[email protected]>

We keep this information via smrs != NULL.

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

diff --git a/hypervisor/arch/arm64/smmu.c b/hypervisor/arch/arm64/smmu.c
index 6abaa52a..31e7f4da 100644
--- a/hypervisor/arch/arm64/smmu.c
+++ b/hypervisor/arch/arm64/smmu.c
@@ -17,8 +17,6 @@
 
 #include <jailhouse/cell-config.h>
 
-#define ARM_SMMU_FEAT_STREAM_MATCH     (1 << 1)
-/* unused bits 2 and 3 */
 #define ARM_SMMU_FEAT_VMID16           (1 << 6)
 #define ARM_SMMU_OPT_SECURE_CFG_ACCESS (1 << 0)
 
@@ -442,8 +440,6 @@ static int arm_smmu_device_cfg_probe(struct arm_smmu_device 
*smmu)
        smmu->streamid_mask = size - 1;
 
        if (id & ID0_SMS) {
-               smmu->features |= ARM_SMMU_FEAT_STREAM_MATCH;
-
                size = (id >> ID0_NUMSMRG_SHIFT) & ID0_NUMSMRG_MASK;
                if (size == 0)
                        return trace_error(-ENODEV);
-- 
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/85c2f1a667965c1461ac546a1c721fed4fb4f524.1602664150.git.jan.kiszka%40siemens.com.

Reply via email to