From: Ted Chen Date: Fri, 24 Jan 2025 07:50:55 +0000 (+0800) Subject: KVM: x86: Remove unused iommu_domain and iommu_noncoherent from kvm_arch X-Git-Tag: v6.15-rc1~195^2~10^2~25 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=dfcbcd864edc694a8efdd20179dc29cb561207ac;p=thirdparty%2Fkernel%2Flinux.git KVM: x86: Remove unused iommu_domain and iommu_noncoherent from kvm_arch Remove the "iommu_domain" and "iommu_noncoherent" fields from struct kvm_arch, which are no longer used since commit ad6260da1e23 ("KVM: x86: drop legacy device assignment"). Signed-off-by: Ted Chen Link: https://lore.kernel.org/r/20250124075055.97158-1-znscnchen@gmail.com Signed-off-by: Sean Christopherson --- diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm/kvm_host.h index b15cde0a9b5ca..c4e844b60b0f7 100644 --- a/arch/x86/include/asm/kvm_host.h +++ b/arch/x86/include/asm/kvm_host.h @@ -1353,8 +1353,6 @@ struct kvm_arch { u64 shadow_mmio_value; - struct iommu_domain *iommu_domain; - bool iommu_noncoherent; #define __KVM_HAVE_ARCH_NONCOHERENT_DMA atomic_t noncoherent_dma_count; #define __KVM_HAVE_ARCH_ASSIGNED_DEVICE