diff options
author | Hanna Hawa <[email protected]> | 2020-07-15 09:06:47 +0200 |
---|---|---|
committer | Will Deacon <[email protected]> | 2020-07-16 09:29:22 +0100 |
commit | f2d9848aeb9fa71523bbfb226203ffb7d50877d2 (patch) | |
tree | a9c17f640facbc94da5bde62f7030be23824d6dc /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 6a79a5a3842b6a9f639fe2874dd6ae0bd4b24d1a (diff) |
iommu/arm-smmu: Workaround for Marvell Armada-AP806 SoC erratum #582743
Due to erratum #582743, the Marvell Armada-AP806 can't access 64bit to
ARM SMMUv2 registers.
Provide implementation relevant hooks:
- split the writeq/readq to two accesses of writel/readl.
- mask the MMU_IDR2.PTFSv8 fields to not use AArch64 format (but
only AARCH32_L) since with AArch64 format 32 bits access is not supported.
Note that most 64-bit registers like TTBRn can be accessed as two 32-bit
halves without issue, and AArch32 format ensures that the register writes
which must be atomic (for TLBI etc.) need only be 32-bit.
Signed-off-by: Hanna Hawa <[email protected]>
Signed-off-by: Gregory CLEMENT <[email protected]>
Signed-off-by: Tomasz Nowicki <[email protected]>
Reviewed-by: Robin Murphy <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions