]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
iommu/amd: Report SEV-TIO support
authorAlexey Kardashevskiy <aik@amd.com>
Tue, 2 Dec 2025 02:44:48 +0000 (13:44 +1100)
committerDan Williams <dan.j.williams@intel.com>
Tue, 2 Dec 2025 20:06:45 +0000 (12:06 -0800)
commiteeb934137debfbe98be61a27756a605edf492ed3
treeec49887940c079bc172fd59bf18e21aa58dedf0e
parentc3859de858aa7ae0d0a5ca21e8ee9792f2f256b6
iommu/amd: Report SEV-TIO support

The SEV-TIO switch in the AMD BIOS is reported to the OS via
the IOMMU Extended Feature 2 register (EFR2), bit 1.

Add helper to parse the bit and report the feature presence.

Signed-off-by: Alexey Kardashevskiy <aik@amd.com>
Link: https://patch.msgid.link/20251202024449.542361-4-aik@amd.com
Acked-by: Joerg Roedel <joerg.roedel@amd.com>
Reviewed-by: Vasant Hegde <vasant.hegde@amd.com>
Acked-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/iommu/amd/amd_iommu_types.h
drivers/iommu/amd/init.c
include/linux/amd-iommu.h