summaryrefslogtreecommitdiffstats
path: root/include/linux/timerqueue.h
diff options
context:
space:
mode:
authorSuravee Suthikulpanit <suravee.suthikulpanit@amd.com>2022-06-14 09:33:04 -0500
committerSuravee Suthikulpanit <suravee.suthikulpanit@amd.com>2022-07-13 17:27:24 -0500
commitce51cc80336eae16708d201f8db680a62cc556a1 (patch)
tree3ef2e6be4d15cb7a0f165734670ba40c72929abb /include/linux/timerqueue.h
parentd93ac9547792156b871c050495fef8780286311f (diff)
downloadcachepc-linux-ce51cc80336eae16708d201f8db680a62cc556a1.tar.gz
cachepc-linux-ce51cc80336eae16708d201f8db680a62cc556a1.zip
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 <joro@8bytes.org> Signed-off-by: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions