OSDN Git Service

iommu/arm-smmu: move TLB timeout and spin count macros
authorKrishna Reddy <vdumpa@nvidia.com>
Sat, 18 Jul 2020 19:34:53 +0000 (12:34 -0700)
committerWill Deacon <will@kernel.org>
Mon, 20 Jul 2020 08:30:50 +0000 (09:30 +0100)
commitcd8479cf0de9d1950b51032a216fbf630f8542a4
tree0dd43746009d2003ac8a5145bdd53849478b7284
parent49fbb25030265c660de732513f18275d88ff99d3
iommu/arm-smmu: move TLB timeout and spin count macros

Move TLB timeout and spin count macros to header file to
allow using the same from vendor specific implementations.

Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
Reviewed-by: Nicolin Chen <nicoleotsuka@gmail.com>
Reviewed-by: Pritesh Raithatha <praithatha@nvidia.com>
Reviewed-by: Robin Murphy <robin.murphy@arm.com>
Reviewed-by: Thierry Reding <thierry.reding@gmail.com>
Link: https://lore.kernel.org/r/20200718193457.30046-2-vdumpa@nvidia.com
Signed-off-by: Will Deacon <will@kernel.org>
drivers/iommu/arm-smmu.c
drivers/iommu/arm-smmu.h