Re: [RFC PATCH] Fix Intel IOMMU support for Marvell 88SE91xx SATA controllers.

2012-12-19 Thread Ying Chu
Ack. 2012/12/19 Andrew Cooks > On Wed, Dec 19, 2012 at 9:41 PM, Chu Ying wrote: > > On 2012-12-19, at 18:58, Andrew Cooks wrote: > > > >> This is my second attempt to make Marvell 88SE91xx SATA controllers > work when IOMMU is enabled.[1][2] > >> +static const struct pci_dev_dma_source_funcs {

Re: [RFC PATCH] Fix Intel IOMMU support for Marvell 88SE91xx SATA controllers.

2012-12-19 Thread Chu Ying
On 2012-12-19, at 18:58, Andrew Cooks wrote: > This is my second attempt to make Marvell 88SE91xx SATA controllers work when > IOMMU is enabled.[1][2] > As suggested, it no longer tries to add support for phantom functions. > > What's missing: > * No AMD support. I need some help with this. >

Re: [v3 1/1] iommu/tegra: smmu: bus_notifier registers platform IOMMU devices

2012-12-19 Thread Mark Zhang
On 12/05/2012 02:37 AM, Hiroshi Doyu wrote: > Most of platform devices are IOMMU'able in Tegra30 SoC. Registering > all IOMMU'able devices manually isn't nice. This patch allows > platform bus_notifier to register IOMMU devices. Map info can be > passed from DT. Info format is: > > dma-window =

Re: [PATCH 1/1] ARM: tegra: bus_notifier registers IOMMU devices(was: How to specify IOMMU'able devices in DT)

2012-12-19 Thread Mark Zhang
On 11/28/2012 09:48 PM, Hiroshi Doyu wrote: > Hiroshi Doyu wrote @ Mon, 24 Sep 2012 14:50:14 +0300 > (EEST): > ... > On Mon, 2012-09-24 at 12:04 +0300, Hiroshi Doyu wrote: >> diff --git a/drivers/base/platform.c b/drivers/base/platform.c >> index a1a7225..9eae3be 100644 >> --- a/d

Re: [PATCH 3/3] iommu/tegra: smmu: Move bus_set_iommu after probe for multi arch

2012-12-19 Thread Mark Zhang
On 11/28/2012 09:52 PM, Hiroshi Doyu wrote: > For a single image to support multiple SoCs(GART/SMMU). > To be honest, I didn't get why we need to move "bus_set_iommu" to probe func. So could you add more words in the commit message? Same with tegra-gart.c. Mark > Reported-by: Arto Merilainen > S

[PATCH] intel-iommu: Free old page tables before creating superpage

2012-12-19 Thread Woodhouse, David
The dma_pte_free_pagetable() function will only free a page table page if it is asked to free the *entire* 2MiB range that it covers. So if a page table page was used for one or more small mappings, it's likely to end up still present in the page tables... but with no valid PTEs. This was fine whe

[RFC PATCH] Fix Intel IOMMU support for Marvell 88SE91xx SATA controllers.

2012-12-19 Thread Andrew Cooks
This is my second attempt to make Marvell 88SE91xx SATA controllers work when IOMMU is enabled.[1][2] As suggested, it no longer tries to add support for phantom functions. What's missing: * No AMD support. I need some help with this. * Table of affected chip IDs is incomplete. I think 0x9123, 0