Re: [PATCH] iommu/io-pgtable-arm: fix self-test WARNs on i386

2015-02-25 Thread Joerg Roedel
On Mon, Feb 16, 2015 at 06:38:20PM +, Will Deacon wrote: > Various build/boot bots have reported WARNs being triggered by the ARM > iopgtable LPAE self-tests on i386 machines. > > This boils down to two instances of right-shifting a 32-bit unsigned > long (i.e. an iova) by more than the size

Re: [PATCH] iommu/io-pgtable-arm: fix self-test WARNs on i386

2015-02-25 Thread Joerg Roedel
On Mon, Feb 16, 2015 at 06:38:20PM +, Will Deacon wrote: Various build/boot bots have reported WARNs being triggered by the ARM iopgtable LPAE self-tests on i386 machines. This boils down to two instances of right-shifting a 32-bit unsigned long (i.e. an iova) by more than the size of

[PATCH] iommu/io-pgtable-arm: fix self-test WARNs on i386

2015-02-16 Thread Will Deacon
Various build/boot bots have reported WARNs being triggered by the ARM iopgtable LPAE self-tests on i386 machines. This boils down to two instances of right-shifting a 32-bit unsigned long (i.e. an iova) by more than the size of the type. On 32-bit ARM, this happens to give us zero, hence my

[PATCH] iommu/io-pgtable-arm: fix self-test WARNs on i386

2015-02-16 Thread Will Deacon
Various build/boot bots have reported WARNs being triggered by the ARM iopgtable LPAE self-tests on i386 machines. This boils down to two instances of right-shifting a 32-bit unsigned long (i.e. an iova) by more than the size of the type. On 32-bit ARM, this happens to give us zero, hence my