aboutsummaryrefslogtreecommitdiff
path: root/scripts/bpf_doc.py
diff options
context:
space:
mode:
authorSam Protsenko <[email protected]>2022-07-14 19:55:48 +0300
committerJoerg Roedel <[email protected]>2022-07-15 10:30:44 +0200
commit2125afbed8418b212c336509ddd5458aac01744d (patch)
tree2c2f54499844a7534c10e60286d26266c4778973 /scripts/bpf_doc.py
parent5f26ad58be8c0ca4dc8b13788a35e71b42cb3b4e (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 <[email protected]> Acked-by: Marek Szyprowski <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions