Re: [PATCH] iommu/io-pgtable-arm: Add built time dependency

2015-02-20 Thread Jean Delvare
Hi Will, On Fri, 20 Feb 2015 19:19:43 +, Will Deacon wrote: > On Fri, Feb 20, 2015 at 06:44:45PM +, Jean Delvare wrote: > > If io-pgtable-arm is an ARM-specific driver then configuration option > > IOMMU_IO_PGTABLE_LPAE should not be presented to the user by default > > for non-ARM kernels

[PATCH] iommu/io-pgtable-arm: Add built time dependency

2015-02-20 Thread Jean Delvare
If io-pgtable-arm is an ARM-specific driver then configuration option IOMMU_IO_PGTABLE_LPAE should not be presented to the user by default for non-ARM kernels. Signed-off-by: Jean Delvare Cc: Will Deacon Cc: Joerg Roedel --- drivers/iommu/Kconfig |1 + 1 file changed, 1 insertion(+) --- l

Re: [PATCH] iommu/io-pgtable-arm: Add built time dependency

2015-02-20 Thread Will Deacon
On Fri, Feb 20, 2015 at 06:44:45PM +, Jean Delvare wrote: > If io-pgtable-arm is an ARM-specific driver then configuration option > IOMMU_IO_PGTABLE_LPAE should not be presented to the user by default > for non-ARM kernels. > > Signed-off-by: Jean Delvare > Cc: Will Deacon > Cc: Joerg Roedel

[patch] iommu/amd: small cleanup in mn_release()

2015-02-20 Thread Dan Carpenter
"pasid_state->device_state" and "dev_state" are the same, but it's nicer to use dev_state consistently. Signed-off-by: Dan Carpenter diff --git a/drivers/iommu/amd_iommu_v2.c b/drivers/iommu/amd_iommu_v2.c index 6d5a5c4..a1cbba9 100644 --- a/drivers/iommu/amd_iommu_v2.c +++ b/drivers/iommu/amd_i