[PATCH] powerpc/dts: Added aliased MSIIR register address to MSI node in dts

Scott Wood scottwood at freescale.com
Sat Mar 17 06:42:51 EST 2012

On 03/16/2012 02:32 PM, Kumar Gala wrote:
> On Feb 1, 2012, at 9:50 AM, Diana Craciun wrote:
>> From: Diana CRACIUN <Diana.Craciun at freescale.com>
>> The MSIIR register for each MSI bank is aliased to a different
>> address. The MSI node reg property was updated to contain this
>> address:
>> e.g. reg = <0x41600 0x200 0x44140 4>;
>> The first region contains the address and length of the MSI
>> register set and the second region contains the address of
>> the aliased MSIIR register at 0x44140.
>> Signed-off-by: Diana CRACIUN <Diana.Craciun at freescale.com>
>> ---
>> .../devicetree/bindings/powerpc/fsl/msi-pic.txt    |    6 ++++--
>> arch/powerpc/boot/dts/fsl/qoriq-mpic.dtsi          |    6 +++---
>> 2 files changed, 7 insertions(+), 5 deletions(-)
> Why, we should only use one of the register regions.  The second region was added to allow for 4k separation and thus PAMU protection.  Not sure what listed both regions gets us.

We list both because the hardware has both.  Device tree describes the
hardware; it doesn't tell you how to use it.

Plus, the separte 4K page has only the MSIIRn register, not the other
MSI registers.  So we still need the first resource.

The second resource will probably not be used by Linux at the moment,
but it used by Topaz, and it may be used by KVM/VFIO in the future.


More information about the Linuxppc-dev mailing list