Thread (1 message) 1 message, 1 author, 2013-06-18

[PATCH v3 03/12] bus: mvebu-mbus: Add static window allocation to the DT binding

From: arnd@arndb.de (Arnd Bergmann)
Date: 2013-06-18 18:39:50
Also in: linux-devicetree

On Tuesday 18 June 2013, Sebastian Hesselbarth wrote:
On 06/18/2013 07:46 PM, Jason Gunthorpe wrote:
quoted
On Tue, Jun 18, 2013 at 08:25:28AM -0300, Ezequiel Garcia wrote:
quoted
+
+IIAA0000
+
+Where:
+  -- I = Marvell defined target ID for programmable windows
+  -- A = Marvell defined target attributes for programmable windows
I thought we agreed to something like:

SIAA0000

Where 'S' is the designator for the special items like PCI-E and
internal-regs. 0 = normal target ids, 0xF = special ids.

The target is only 4 bits, the attr is 8, so a little doc update to
clarify this should be enough, no need to change the DTs.
+1 for SIAA0000, as it allows to use MBUS_ID also for those fake
windows. It makes it more readable IMHO.
+1
Also allows you to have up to 40b offset, which might be important
with LPAE enabled.
Not with the current generation I think, since the mbus windows are
32 bit only, but it would avoid having to come up with a new format
for a potential future-generation mbus that has wider address.

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