RE: [PATCH] iommu/fsl: Fix section mismatch

2015-01-22 Thread Varun Sethi
Hi Emil, Thanks for pointing this out. Please find my comment inline. Regards Varun -Original Message- From: Emil Medve [mailto:emilian.me...@freescale.com] Sent: Thursday, January 22, 2015 3:36 AM To: iommu@lists.linux-foundation.org; j...@8bytes.org; jroe...@suse.de; Sethi

[PATCH 3/3] iommu/fsl: Sprinkle some __init* annotations

2015-01-22 Thread Emil Medve
Signed-off-by: Emil Medve emilian.me...@freescale.com --- drivers/iommu/fsl_pamu.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/iommu/fsl_pamu.c b/drivers/iommu/fsl_pamu.c index 113fb7b..db9c1eb 100644 --- a/drivers/iommu/fsl_pamu.c +++

[GIT PULL] iommu/arm-smmu: updates for 3.20

2015-01-22 Thread Will Deacon
Hi Joerg, Please pull the following ARM SMMU updates for 3.20. The bulk of the changes are due to the introduction of a generic page table framework for IOMMUs along with an ARM LPAE backend. I've moved the ARM SMMU driver over to this and Laurent has a patch to do the same for the IPMMU. There's

[PATCH v2 1/3] iommu/fsl: Fix section mismatch

2015-01-22 Thread Emil Medve
Section mismatch in reference from the variable fsl_of_pamu_driver to the function .init.text:fsl_pamu_probe() The variable fsl_of_pamu_driver references the function __init fsl_pamu_probe() If the reference is valid then annotate the variable with __init* or __refdata (see linux/init.h) or name

[PATCH 2/3] iommu/fsl: Remove unused fsl_of_pamu_ids[]

2015-01-22 Thread Emil Medve
Signed-off-by: Emil Medve emilian.me...@freescale.com --- drivers/iommu/fsl_pamu.c | 10 -- 1 file changed, 10 deletions(-) diff --git a/drivers/iommu/fsl_pamu.c b/drivers/iommu/fsl_pamu.c index d478ad8..113fb7b 100644 --- a/drivers/iommu/fsl_pamu.c +++ b/drivers/iommu/fsl_pamu.c @@

[PATCH] iommu/arm-smmu: use a threaded handler for context interrupts

2015-01-22 Thread Mitchel Humpherys
Context interrupts can call domain-specific handlers which might sleep. Currently we register our handler with request_irq, so our handler is called in atomic context, so domain handlers that sleep result in an invalid context BUG. Fix this by using request_threaded_irq. This also prepares the

RE: [PATCH v2 1/3] iommu/fsl: Fix section mismatch

2015-01-22 Thread Varun Sethi
-Original Message- From: Emil Medve [mailto:emilian.me...@freescale.com] Sent: Thursday, January 22, 2015 8:17 PM To: iommu@lists.linux-foundation.org; j...@8bytes.org; jroe...@suse.de; Sethi Varun-B16395 Cc: Medve Emilian-EMMEDVE1 Subject: [PATCH v2 1/3] iommu/fsl: Fix section

RE: [PATCH 2/3] iommu/fsl: Remove unused fsl_of_pamu_ids[]

2015-01-22 Thread Varun Sethi
-Original Message- From: Emil Medve [mailto:emilian.me...@freescale.com] Sent: Thursday, January 22, 2015 8:17 PM To: iommu@lists.linux-foundation.org; j...@8bytes.org; jroe...@suse.de; Sethi Varun-B16395 Cc: Medve Emilian-EMMEDVE1 Subject: [PATCH 2/3] iommu/fsl: Remove unused

RE: [PATCH 3/3] iommu/fsl: Sprinkle some __init* annotations

2015-01-22 Thread Varun Sethi
Thanks Emil, please find my comments inline. Regards Varun -Original Message- From: Emil Medve [mailto:emilian.me...@freescale.com] Sent: Thursday, January 22, 2015 8:17 PM To: iommu@lists.linux-foundation.org; j...@8bytes.org; jroe...@suse.de; Sethi Varun-B16395 Cc: Medve