aboutsummaryrefslogtreecommitdiff
path: root/drivers/spi/spi-fsl-dspi.c
diff options
context:
space:
mode:
authorVasant Hegde <[email protected]>2024-05-06 08:20:39 +0000
committerJoerg Roedel <[email protected]>2024-05-06 10:24:18 +0200
commitde111f6b4f6a3010020825d22a068f416bc29c95 (patch)
tree21c9b9faeb4f897d27b1ab952a5bae79f77e1f7d /drivers/spi/spi-fsl-dspi.c
parentbbe1e78ae23e7e474401880d0d496acc8cec6863 (diff)
iommu/amd: Enable Guest Translation after reading IOMMU feature register
Commit 8e0179733172 ("iommu/amd: Enable Guest Translation before registering devices") moved IOMMU Guest Translation (GT) enablement to early init path. It does feature check based on Global EFR value (got from ACPI IVRS table). Later it adjusts EFR value based on IOMMU feature register (late_iommu_features_init()). It seems in some systems BIOS doesn't set gloabl EFR value properly. This is causing mismatch. Hence move IOMMU GT enablement after late_iommu_features_init() so that it does check based on IOMMU EFR value. Fixes: 8e0179733172 ("iommu/amd: Enable Guest Translation before registering devices") Reported-by: Klara Modin <[email protected]> Closes: https://lore.kernel.org/linux-iommu/[email protected]/ Signed-off-by: Vasant Hegde <[email protected]> Tested-by: Klara Modin <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'drivers/spi/spi-fsl-dspi.c')
0 files changed, 0 insertions, 0 deletions