]> git.baikalelectronics.ru Git - kernel.git/commit
iommu/arm-smmu: Fix broken ATOS check
authorWill Deacon <will.deacon@arm.com>
Mon, 29 Jun 2015 16:47:42 +0000 (17:47 +0100)
committerJoerg Roedel <jroedel@suse.de>
Mon, 29 Jun 2015 19:57:32 +0000 (21:57 +0200)
commitdce8b9df9686517aab8179181f019c2f61c80935
treeeb7d666fac0246c3be7dd2e48ca0fe6ae6d13db0
parentac97e4f2f8f5a5a0b16c7112fffd10adbafc2a3d
iommu/arm-smmu: Fix broken ATOS check

Commit 7344398a875d ("iommu/arm-smmu: fix ARM_SMMU_FEAT_TRANS_OPS
condition") accidentally negated the ID0_ATOSNS predicate in the ATOS
feature check, causing the driver to attempt ATOS requests on SMMUv2
hardware without the ATOS feature implemented.

This patch restores the predicate to the correct value.

Cc: <stable@vger.kernel.org> # 4.0+
Reported-by: Varun Sethi <varun.sethi@freescale.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/arm-smmu.c