]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
KVM: x86: Remove unused iommu_domain and iommu_noncoherent from kvm_arch
authorTed Chen <znscnchen@gmail.com>
Fri, 24 Jan 2025 07:50:55 +0000 (15:50 +0800)
committerSean Christopherson <seanjc@google.com>
Tue, 11 Feb 2025 15:05:29 +0000 (07:05 -0800)
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 <znscnchen@gmail.com>
Link: https://lore.kernel.org/r/20250124075055.97158-1-znscnchen@gmail.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
arch/x86/include/asm/kvm_host.h

index b15cde0a9b5ca7ae2c90b15fed4a4debd34f825c..c4e844b60b0f78fadc133061ff7f216ff78d4ef6 100644 (file)
@@ -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