Skip to content

IOMMU in passthrough #88

@nicopal

Description

@nicopal

After installing the new kernel following the guide https://github.com/AMDESE/AMDSEV/tree/sev-snp-devel
IOMMU is configured in passthrough mode:

[ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-5.14.0-rc2-snp-host-6d4469b86f90 root=UUID=5271158d-59ce-4c94-b0bd-5f67dbc947e1 ro vga=normal nomodeset iommu=pt modprobe.blacklist=btrfs mem_encrypt=on kvm_amd.sev=1
[ 0.080454] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.14.0-rc2-snp-host-6d4469b86f90 root=UUID=5271158d-59ce-4c94-b0bd-5f67dbc947e1 ro vga=normal nomodeset iommu=pt modprobe.blacklist=btrfs mem_encrypt=on kvm_amd.sev=1
[ 0.080501] Any video related functionality will be severely degraded, and you may not even be able to suspend the system properly
[ 0.500541] AMD-Vi: SEV-SNP: IOMMU is either disabled or configured in passthrough mode.
[ 1.458480] ccp 0000:47:00.1: sev enabled
[ 1.517255] ccp 0000:47:00.1: SEV firmware update successful
[ 1.551278] ccp 0000:47:00.1: SEV API:1.51 build:3
[ 1.660986] SEV supported: 410 ASIDs
[ 1.663654] SEV-ES supported: 99 ASIDs
[ 145.773431] SEV supported: 410 ASIDs
[ 145.773432] SEV-ES supported: 99 ASIDs

Should this be changed through a configuration option in the kernel build script?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions