Re: [PATCH 03/16] iommu/amd: Allocate data structures to keep track of irq remapping tables

2012-10-03 Thread Shuah Khan
On Fri, Sep 28, 2012 at 6:23 AM, Joerg Roedel joerg.roe...@amd.com wrote: To easily map device ids to interrupt remapping table entries a new lookup table is necessary. Signed-off-by: Joerg Roedel joerg.roe...@amd.com --- drivers/iommu/amd_iommu_init.c | 16

Re: [PATCH 14/16] iommu/irq: Use amd_iommu_irq_ops if supported

2012-10-03 Thread Shuah Khan
On Fri, Sep 28, 2012 at 6:24 AM, Joerg Roedel joerg.roe...@amd.com wrote: Finally enable interrupt remapping for AMD systems. Signed-off-by: Joerg Roedel joerg.roe...@amd.com --- drivers/iommu/irq_remapping.c |5 + 1 file changed, 5 insertions(+) diff --git

Re: [PATCH 12/16] iommu/amd: Add initialization routines for AMD interrupt remapping

2012-10-03 Thread Shuah Khan
On Mon, Oct 1, 2012 at 2:05 AM, Joerg Roedel joerg.roe...@amd.com wrote: On Fri, Sep 28, 2012 at 05:18:18PM -0600, Shuah Khan wrote: +void amd_iommu_disable(void) +{ + amd_iommu_suspend(); Is it safe to attempt to suspend when iommu is in suspend state? In other words what happens

Re: [PATCH 14/16] iommu/irq: Use amd_iommu_irq_ops if supported

2012-10-03 Thread Shuah Khan
On Mon, Oct 1, 2012 at 2:08 AM, Joerg Roedel joerg.roe...@amd.com wrote: On Fri, Sep 28, 2012 at 05:39:03PM -0600, Shuah Khan wrote: On Fri, Sep 28, 2012 at 6:24 AM, Joerg Roedel joerg.roe...@amd.com wrote: void __init setup_irq_remapping_ops(void) { remap_ops =