summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorVasant Hegde <vasant.hegde@amd.com>2026-08-24 06:29:07 +0000
committerJoerg Roedel <joerg.roedel@amd.com>2026-09-07 14:38:58 +0200
commiteb29b7bbc8ba28bbb0b9fdd655e931e1d1fa625c (patch)
treedefa07eb2856acfa2e0552f17688d5269884ab1e /scripts
parent00a7dd64888d6dd72110b40e2824a088cf7b7386 (diff)
downloadlinux-eb29b7bbc8ba28bbb0b9fdd655e931e1d1fa625c.tar.gz
linux-eb29b7bbc8ba28bbb0b9fdd655e931e1d1fa625c.zip
iommu/amd: Fix premature break in init_iommu_one() again
Commit 283d245468a2 ("iommu/amd: Fix premature break in init_iommu_one()") unintentionally broke older platforms - such as the ASRockRack B550D4-4L - where the BIOS advertises incorrect IOMMU features. Move the HATDis check ahead of the GASup check, and re-introduce the break inside the GASup check to restore correct behavior on affected platforms. This is a short-term fix to resolve the regression. Longer term, we should rework how EFRs are tracked and prioritize the MMIO-advertised EFR over the one reported via IVRS. That requires more extensive changes and will be addressed separately. Fixes: 283d245468a2 ("iommu/amd: Fix premature break in init_iommu_one()") Reported-by: Andreas Juch <andreas@juch.cc> Closes: https://lore.kernel.org/linux-iommu/07b2d390-f7a0-47e2-bc2c-eb0853acf52e@juch.cc/ Tested-by: Andreas Juch <andreas@juch.cc> Signed-off-by: Vasant Hegde <vasant.hegde@amd.com> Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions