diff options
author | Robin Murphy <Robin.Murphy@arm.com> | 2015-05-27 17:09:34 +0100 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2015-05-29 11:12:01 +0200 |
commit | 661d962f19c23df492a03f47b583ef6a540d6031 (patch) | |
tree | 9eca1be5103ea249ce297cfdf2adbe718b54dadb /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | ba155e2d21f6bf05de86a78dbe5bfd8757604a65 (diff) |
iommu/arm-smmu: Fix ATS1* register writes
The ATS1* address translation registers only support being written
atomically - in SMMUv2 where they are 64 bits wide, 32-bit writes to
the lower half are automatically zero-extended, whilst 32-bit writes
to the upper half are ignored. Thus, the current logic of performing
64-bit writes as two 32-bit accesses is wrong.
Since we already limit IOVAs to 32 bits on 32-bit ARM, the lack of a
suitable writeq() implementation there is not an issue, and we only
need a little preprocessor ugliness to safely hide the 64-bit case.
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions