Thread (3 messages) flat view 3 messages, 3 authors, 2012-03-16

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

From: Scott Wood <hidden>
Date: 2012-03-16 19:43:01

On 03/16/2012 02:32 PM, Kumar Gala wrote:
On Feb 1, 2012, at 9:50 AM, Diana Craciun wrote:
quoted
From: Diana CRACIUN <redacted>

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 <redacted>
---
.../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.

-Scott
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help