Re: [PATCH] intel-iommu: Fix alloc_coherent for pass-throughdevices
From: FUJITA Tomonori
Date: Thu Oct 22 2009 - 11:02:03 EST
On Thu, 22 Oct 2009 23:47:47 +0900
David Woodhouse <dwmw2@xxxxxxxxxxxxx> wrote:
> On Thu, 2009-10-22 at 06:24 -0600, Alex Williamson wrote:
> > The coherent_dma_mask is independent of the dma_mask and can be set
> > separately by the device. The default for any device that doesn't
> > specify one is 32bits. iommu_should_identity_map() only checks the
> > dma_mask, not the coherent_dma_mask.
> Are you telling me that this particular device supports only a 32-bit
> coherent DMA mask, but that it _does_ support a 64-bit DMA mask for
> non-coherent DMA? On x86?
This is not related with architectures. This card support 64 bit
addresses but doesn't support 64 bit addresses for descriptors, etc.
There are several hardware that have such limit.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/