[PATCH] iommu/omap: Remove casting the return value which is a void pointer

2014-08-28 Thread Jingoo Han
Casting the return value which is a void pointer is redundant. The conversion from void pointer to any other pointer type is guaranteed by the C programming language. Signed-off-by: Jingoo Han --- drivers/iommu/omap-iommu.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dr

Re: [PATCH v2] iommu/vt-d: Fix broken device issue when using iommu=pt

2014-08-28 Thread Linda Knippers
On 8/25/2014 9:51 PM, Yijing Wang wrote: > On 2014/8/25 23:04, David Woodhouse wrote: >> On Mon, 2014-08-25 at 12:11 +, Sathya Perla wrote: >>> >>> Hi Wang, from the kernel log I can see that the faulting address >>> 0xbdf7 falls in the >>> RMRR range the BIOS requested: >>> [0.111343]

Re: [PATCH v4 1/1] iommu/arm-smmu: Do not access non-existing S2CR registers

2014-08-28 Thread Will Deacon
On Tue, Aug 26, 2014 at 11:37:30AM +0100, Will Deacon wrote: > On Sat, Aug 23, 2014 at 01:12:32AM +0100, Olav Haugan wrote: > > The number of S2CR registers is not properly set when stream > > matching is not supported. Fix this and add check that we do not try to > > access outside of the number o