Kernel KVM virtualization development
 help / color / mirror / Atom feed
* [PATCH] KVM: x86: Remove unused iommu_domain and iommu_noncoherent from kvm_arch
@ 2025-01-24  7:50 Ted Chen
  2025-02-15  0:50 ` Sean Christopherson
  0 siblings, 1 reply; 2+ messages in thread
From: Ted Chen @ 2025-01-24  7:50 UTC (permalink / raw)
  To: seanjc, pbonzini; +Cc: kvm, Ted Chen

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>
---
 arch/x86/include/asm/kvm_host.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm/kvm_host.h
index 5193c3dfbce1..c75156fdd395 100644
--- a/arch/x86/include/asm/kvm_host.h
+++ b/arch/x86/include/asm/kvm_host.h
@@ -1345,8 +1345,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
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] KVM: x86: Remove unused iommu_domain and iommu_noncoherent from kvm_arch
  2025-01-24  7:50 [PATCH] KVM: x86: Remove unused iommu_domain and iommu_noncoherent from kvm_arch Ted Chen
@ 2025-02-15  0:50 ` Sean Christopherson
  0 siblings, 0 replies; 2+ messages in thread
From: Sean Christopherson @ 2025-02-15  0:50 UTC (permalink / raw)
  To: Sean Christopherson, pbonzini, Ted Chen; +Cc: kvm

On Fri, 24 Jan 2025 15:50:55 +0800, Ted Chen wrote:
> 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").
> 
> 

Applied to kvm-x86 misc, thanks!

[1/1] KVM: x86: Remove unused iommu_domain and iommu_noncoherent from kvm_arch
      https://github.com/kvm-x86/linux/commit/dfcbcd864edc

--
https://github.com/kvm-x86/linux/tree/next

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-02-15  0:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-24  7:50 [PATCH] KVM: x86: Remove unused iommu_domain and iommu_noncoherent from kvm_arch Ted Chen
2025-02-15  0:50 ` Sean Christopherson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox