diff options
author | Sam Protsenko <semen.protsenko@linaro.org> | 2022-07-14 19:55:48 +0300 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2022-07-15 10:30:44 +0200 |
commit | 2125afbed8418b212c336509ddd5458aac01744d (patch) | |
tree | 2c2f54499844a7534c10e60286d26266c4778973 /tools/perf/scripts/python/check-perf-trace.py | |
parent | 5f26ad58be8c0ca4dc8b13788a35e71b42cb3b4e (diff) |
iommu/exynos: Abstract non-common registers on different variants
At the moment the driver supports SysMMU v1..v5 versions. SysMMU v5 has
different register layout than SysMMU v1..v3. Instead of checking the
version each time before reading/writing the registers, let's create
corresponding register structure for each SysMMU version and set the
needed structure on init, checking the SysMMU version one single time.
This way is faster and more elegant.
No behavior changes from the user's point of view, it's only a
refactoring patch.
Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>
Acked-by: Marek Szyprowski <m.szyprowski@samsung.com>
Link: https://lore.kernel.org/r/20220714165550.8884-5-semen.protsenko@linaro.org
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions