public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2]Add Variable Page Size and IA64 Support in Intel IOMMU
@ 2008-10-01 16:56 Fenghua Yu
  2008-10-03 15:50 ` Bjorn Helgaas
  2008-10-07  0:01 ` [PATCH V2 0/2] Add Variable Page Size and IA64 Support in Intel IOMMU Fenghua Yu
  0 siblings, 2 replies; 4+ messages in thread
From: Fenghua Yu @ 2008-10-01 16:56 UTC (permalink / raw)
  To: Luck, Tony, Jesse Barnes, David Woodhouse, Ingo Molnar,
	Avi Kivity, Stephen Rothwell, Andrew Morton
  Cc: LKML, linux-ia64


The following two patches (Intel IOMMU generic patch and ia64 specific patch) together enable Intel IOMMU on IA64 platform. They are applied cleanly on the latest linux-next tree which contains Intel IOMMU interrupt remapping and VT-d driver KVM support code.

If applying only the generic patch on x86-64 kernel, x86-64 IOMMU is working fine, i.e. the generic patch doesn't have compilation and functionality impact on x86-64 IOMMU. If applying only the ia64 specific patch on ia64 kernel, ia64 is working as non-IOMMU/swiotlb case. If applying both of the patches and set CONFIG_DMAR=y, ia64 IOMMU is working.

Thanks.

-Fenghua

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

* Re: [PATCH 0/2]Add Variable Page Size and IA64 Support in Intel IOMMU
  2008-10-01 16:56 [PATCH 0/2]Add Variable Page Size and IA64 Support in Intel IOMMU Fenghua Yu
@ 2008-10-03 15:50 ` Bjorn Helgaas
  2008-10-06 19:44   ` [PATCH 0/2]Add Variable Page Size and IA64 Support in Intel Yu, Fenghua
  2008-10-07  0:01 ` [PATCH V2 0/2] Add Variable Page Size and IA64 Support in Intel IOMMU Fenghua Yu
  1 sibling, 1 reply; 4+ messages in thread
From: Bjorn Helgaas @ 2008-10-03 15:50 UTC (permalink / raw)
  To: Fenghua Yu
  Cc: Luck, Tony, Jesse Barnes, David Woodhouse, Ingo Molnar,
	Avi Kivity, Stephen Rothwell, Andrew Morton, LKML, linux-ia64

On Wednesday 01 October 2008 10:56:06 am Fenghua Yu wrote:
> The following two patches (Intel IOMMU generic patch and ia64 specific patch) together enable Intel IOMMU on IA64 platform. They are applied cleanly on the latest linux-next tree which contains Intel IOMMU interrupt remapping and VT-d driver KVM support code.

General comment (not ia64-related): it looks like you detect the
IOMMU using the static DMAR table.  Does the IOMMU also appear in
PCI config space or the ACPI namespace?  I expect it would, because
the fact that the DMAR table is static precludes any sort of hot-plug
to add or remove IOMMUs.

If it *is* in config space or the namespace, it would be good to
exercise that discovery path to help shake out firmware bugs.  For
example, arch/ia64/hp/common/sba_iommu.c uses acpi_bus_register_driver()
to discover HP IOMMUs.  I wouldn't hold the sba_iommu.c discovery code
(most of which I take the blame for) up as a shining example of how to
do things, but it shows the point.

Bjorn

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

* RE: [PATCH 0/2]Add Variable Page Size and IA64 Support in Intel
  2008-10-03 15:50 ` Bjorn Helgaas
@ 2008-10-06 19:44   ` Yu, Fenghua
  0 siblings, 0 replies; 4+ messages in thread
From: Yu, Fenghua @ 2008-10-06 19:44 UTC (permalink / raw)
  To: Bjorn Helgaas
  Cc: Luck, Tony, Jesse Barnes, David Woodhouse, Ingo Molnar,
	Avi Kivity, Stephen Rothwell, Andrew Morton, LKML,
	linux-ia64@vger.kernel.org

>> The following two patches (Intel IOMMU generic patch and ia64 specific

>the fact that the DMAR table is static precludes any sort of hot-plug
>to add or remove IOMMUs.

The latest VT-d spec v1.1 does not support hot plug. If the feature is available in newer spec, we will support it.

Thanks.

-Fenghua

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

* [PATCH V2 0/2] Add Variable Page Size and IA64 Support in Intel IOMMU
  2008-10-01 16:56 [PATCH 0/2]Add Variable Page Size and IA64 Support in Intel IOMMU Fenghua Yu
  2008-10-03 15:50 ` Bjorn Helgaas
@ 2008-10-07  0:01 ` Fenghua Yu
  1 sibling, 0 replies; 4+ messages in thread
From: Fenghua Yu @ 2008-10-07  0:01 UTC (permalink / raw)
  To: Luck, Tony, Jesse Barnes, David Woodhouse, Ingo Molnar,
	Avi Kivity, Stephen Rothwell, Andrew Morton, Bjorn Helgaas
  Cc: LKML, linux-ia64@vger.kernel.org

The patche set (Intel IOMMU generic patch and ia64 specific patch) together enable Intel IOMMU on IA64 platform. They are applied cleanly on the latest linux-next tree which contains Intel IOMMU interrupt remapping and VT-d driver KVM support code.
 
If applying only the generic patch on x86-64 kernel, x86-64 IOMMU is working fine, i.e. the generic patch doesn't have compilation and functionality impact on x86-64 IOMMU. If applying only the ia64 specific patch on ia64 kernel, ia64 is working as non-IOMMU/swiotlb case. If applying both of the patches and set CONFIG_DMAR=y, ia64 IOMMU is working.
 
Thanks.
 
-Fenghua

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

end of thread, other threads:[~2008-10-07  0:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-01 16:56 [PATCH 0/2]Add Variable Page Size and IA64 Support in Intel IOMMU Fenghua Yu
2008-10-03 15:50 ` Bjorn Helgaas
2008-10-06 19:44   ` [PATCH 0/2]Add Variable Page Size and IA64 Support in Intel Yu, Fenghua
2008-10-07  0:01 ` [PATCH V2 0/2] Add Variable Page Size and IA64 Support in Intel IOMMU Fenghua Yu

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