diff options
author | Suravee Suthikulpanit <suravee.suthikulpanit@amd.com> | 2020-04-22 15:30:02 +0200 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2020-05-01 13:21:18 +0200 |
commit | b74aa02d7a30ee5e262072a7d6e8deff10b37924 (patch) | |
tree | 854304196a3d664b043368c3b4424a0ac30cbd6f /fs/freevxfs | |
parent | iommu: spapr_tce: Disable compile testing to fix build on book3s_32 config (diff) | |
download | linux-b74aa02d7a30ee5e262072a7d6e8deff10b37924.tar.xz linux-b74aa02d7a30ee5e262072a7d6e8deff10b37924.zip |
iommu/amd: Fix legacy interrupt remapping for x2APIC-enabled system
Currently, system fails to boot because the legacy interrupt remapping
mode does not enable 128-bit IRTE (GA), which is required for x2APIC
support.
Fix by using AMD_IOMMU_GUEST_IR_LEGACY_GA mode when booting with
kernel option amd_iommu_intr=legacy instead. The initialization
logic will check GASup and automatically fallback to using
AMD_IOMMU_GUEST_IR_LEGACY if GA mode is not supported.
Fixes: 3928aa3f5775 ("iommu/amd: Detect and enable guest vAPIC support")
Signed-off-by: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
Link: https://lore.kernel.org/r/1587562202-14183-1-git-send-email-suravee.suthikulpanit@amd.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'fs/freevxfs')
0 files changed, 0 insertions, 0 deletions