Re: [PATCH 2/3] iommu/dma: Use correct offset in map_sg

2016-03-09 Thread Magnus Damm
Hi Robin, On Thu, Mar 10, 2016 at 12:00 AM, Robin Murphy wrote: > Hi Magnus, > > Thanks for bringing this up... No worries! > On 09/03/16 07:50, Magnus Damm wrote: >> >> On Sat, Dec 19, 2015 at 2:01 AM, Robin Murphy >> wrote: >>> >>> When mapping a

[v6, 5/5] mmc: sdhci-of-esdhc: fix host version for T4240-R1.0-R2.0

2016-03-09 Thread Yangbo Lu
The eSDHC of T4240-R1.0-R2.0 has incorrect vender version and spec version. Acturally the right version numbers should be VVN=0x13 and SVN = 0x1. This patch adds the GUTS driver support for eSDHC driver to get SVR(System version register). And fix host version to avoid that incorrect version

[v6, 4/5] powerpc/fsl: move mpc85xx.h to include/linux/fsl

2016-03-09 Thread Yangbo Lu
Move mpc85xx.h to include/linux/fsl and rename it to svr.h as a common header file. It has been used for mpc85xx and it will be used for ARM-based SoC as well. Signed-off-by: Yangbo Lu --- Changes for v2: - None Changes for v3: - None Changes for v4: -

[v6, 3/5] dt: move guts devicetree doc out of powerpc directory

2016-03-09 Thread Yangbo Lu
Move guts devicetree doc to Documentation/devicetree/bindings/soc/fsl/ since it's used by not only PowerPC but also ARM. And add a specification for 'little-endian' property. Signed-off-by: Yangbo Lu --- Changes for v2: - None Changes for v3: - None Changes for

[v6, 2/5] soc: fsl: add GUTS driver for QorIQ platforms

2016-03-09 Thread Yangbo Lu
The global utilities block controls power management, I/O device enabling, power-onreset(POR) configuration monitoring, alternate function selection for multiplexed signals,and clock control. This patch adds GUTS driver to manage and access global utilities block. Signed-off-by: Yangbo Lu

[v6, 0/5] Fix eSDHC host version register bug

2016-03-09 Thread Yangbo Lu
This patchset is used to fix a host version register bug in the T4240-R1.0-R2.0 eSDHC controller. To get the SoC version and revision, it's needed to add the GUTS driver to access the global utilities registers. So, the first three patches are to add the GUTS driver. The following two patches are

[v6, 1/5] ARM64: dts: ls2080a: add device configuration node

2016-03-09 Thread Yangbo Lu
Add the dts node for device configuration unit that provides general purpose configuration and status for the device. Signed-off-by: Yangbo Lu --- Changes for v2: - None Changes for v3: - None Changes for v4: - None Changes for v5: - Added this

Re: [PATCH 2/3] iommu/dma: Use correct offset in map_sg

2016-03-09 Thread Robin Murphy
Hi Magnus, Thanks for bringing this up... On 09/03/16 07:50, Magnus Damm wrote: On Sat, Dec 19, 2015 at 2:01 AM, Robin Murphy wrote: When mapping a non-page-aligned scatterlist entry, we copy the original offset to the output DMA address before aligning it to hand off