aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorSuravee Suthikulpanit <[email protected]>2022-07-13 17:56:45 -0500
committerJoerg Roedel <[email protected]>2022-07-15 10:41:02 +0200
commit9dd299d8c6cd9cd50fe49c067a82f091df87565f (patch)
tree7c60fcce841cb8b68835d2da21066e3cf0fef165 /scripts/gdb/linux/utils.py
parent1e98a35da49ee7d5b0d101518da51a109a02f238 (diff)
iommu/amd: Introduce global variable for storing common EFR and EFR2
Some IOMMU features require that all IOMMUs must support the feature, which is determined by checking the support bit in the Extended Feature Register 1 and 2 (EFR/EFR2) on all IOMMUs. This check is done by the function check_feature_on_all_iommus(), which iterates through all IOMMUs everytime it is called. Instead, introduce a global variable to store common EFR/EFR2 among all IOMMUs. In case of inconsistent EFR/EFR2 masks are detected on an IOMMU, a FW_BUG warning is reported. Suggested-by: Joerg Roedel <[email protected]> Signed-off-by: Suravee Suthikulpanit <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions