]> www.infradead.org Git - users/jedix/linux-maple.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 10 Jul 2015 16:49:33 +0000 (09:49 -0700)
commit72e09509a225e553f3736b3822a91f99f8c4777c
treec0d11d6d25ee5a3db6d7659a0dcd19e89006d40c
parent44cb6ff1db11f2a147cccc943927a5ca20d1bb81
iommu/arm-smmu: Fix broken ATOS check

commit d38f0ff9ab35414644995bae187d015c31aae19c upstream.

Commit 83a60ed8f0b5 ("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.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/iommu/arm-smmu.c