All of lore.kernel.org
 help / color / mirror / Atom feed
From: sebastian.hesselbarth@gmail.com (Sebastian Hesselbarth)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v3 03/12] bus: mvebu-mbus: Add static window allocation to the DT binding
Date: Tue, 18 Jun 2013 20:59:03 +0200	[thread overview]
Message-ID: <51C0ADF7.5050609@gmail.com> (raw)
In-Reply-To: <20130618184753.GA6090@obsidianresearch.com>

On 06/18/2013 08:47 PM, Jason Gunthorpe wrote:
> On Tue, Jun 18, 2013 at 08:44:30PM +0200, Sebastian Hesselbarth wrote:
>> Yeah, I also recall Thomas or Gregory mention a 32b limitation in
>> remap windows. But we don't need to waste addresses here
>>
>> And even if SIAA0000 is a concern because there may be target id>15
>> someday, we can still have IIAASS00 instead of IIAA00SS. I guess
>> LPAE will not rise above 40b quickly ;)
>
> S = 0 means 4 bit I, 8 bit A
> S = F means special
> S = 1 could mean 16 bit I, etc , etc

S & 0x8 == 0x0 means 7b target
S & 0x8 == 0x8 means 7b special ?

> Yes, we could define things as 'SIAAoooo oooooooo'
>
> But remember 'o' is the offset within the window, it is not related to
> LPAE.
>
> To need>  32 bits 'o' you need to have windows>  4G in size. The only
> thing that could possibly do that is PCI-E, and it is all special
> anyhow..
>
> The mbus top level ranges remap already supports>4G locations for
> the windows, even though current hardware cannot do that.

True. But as Arnd also mentioned, I don't think it will ever be a
problem at all. Possibly there will never be any future SoC with mbus
that will either allow >32b remap base addresses nor >4G size.

But never the less, IIAA00SS (which is used in v3 of the patches) will
limit both to 32b/4G forever.

And we already have +3 for SIAAoooo ;)

Sebastian

WARNING: multiple messages have this Message-ID (diff)
From: Sebastian Hesselbarth <sebastian.hesselbarth-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: Jason Gunthorpe
	<jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
Cc: Lior Amsalem <alior-eYqpPyKDWXRBDgjK7y7TUQ@public.gmane.org>,
	Andrew Lunn <andrew-g2DYL2Zd6BY@public.gmane.org>,
	Jason Cooper <jason-NLaQJdtUoK4Be96aLqz0jA@public.gmane.org>,
	devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org,
	Maen Suleiman <maen-eYqpPyKDWXRBDgjK7y7TUQ@public.gmane.org>,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org
Subject: Re: [PATCH v3 03/12] bus: mvebu-mbus: Add static window allocation to the DT binding
Date: Tue, 18 Jun 2013 20:59:03 +0200	[thread overview]
Message-ID: <51C0ADF7.5050609@gmail.com> (raw)
In-Reply-To: <20130618184753.GA6090-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>

On 06/18/2013 08:47 PM, Jason Gunthorpe wrote:
> On Tue, Jun 18, 2013 at 08:44:30PM +0200, Sebastian Hesselbarth wrote:
>> Yeah, I also recall Thomas or Gregory mention a 32b limitation in
>> remap windows. But we don't need to waste addresses here
>>
>> And even if SIAA0000 is a concern because there may be target id>15
>> someday, we can still have IIAASS00 instead of IIAA00SS. I guess
>> LPAE will not rise above 40b quickly ;)
>
> S = 0 means 4 bit I, 8 bit A
> S = F means special
> S = 1 could mean 16 bit I, etc , etc

S & 0x8 == 0x0 means 7b target
S & 0x8 == 0x8 means 7b special ?

> Yes, we could define things as 'SIAAoooo oooooooo'
>
> But remember 'o' is the offset within the window, it is not related to
> LPAE.
>
> To need>  32 bits 'o' you need to have windows>  4G in size. The only
> thing that could possibly do that is PCI-E, and it is all special
> anyhow..
>
> The mbus top level ranges remap already supports>4G locations for
> the windows, even though current hardware cannot do that.

True. But as Arnd also mentioned, I don't think it will ever be a
problem at all. Possibly there will never be any future SoC with mbus
that will either allow >32b remap base addresses nor >4G size.

But never the less, IIAA00SS (which is used in v3 of the patches) will
limit both to 32b/4G forever.

And we already have +3 for SIAAoooo ;)

Sebastian

  reply	other threads:[~2013-06-18 18:59 UTC|newest]

Thread overview: 136+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-18 11:25 [PATCH v3 00/12] MBus device tree binding Ezequiel Garcia
2013-06-18 11:25 ` Ezequiel Garcia
2013-06-18 11:25 ` [PATCH v3 01/12] bus: mvebu-mbus: Factor out initialization details Ezequiel Garcia
2013-06-18 11:25   ` Ezequiel Garcia
2013-06-18 11:25 ` [PATCH v3 02/12] bus: mvebu-mbus: Introduce device tree binding Ezequiel Garcia
2013-06-18 11:25   ` Ezequiel Garcia
2013-06-18 11:25 ` [PATCH v3 03/12] bus: mvebu-mbus: Add static window allocation to the DT binding Ezequiel Garcia
2013-06-18 11:25   ` Ezequiel Garcia
2013-06-18 16:14   ` Arnd Bergmann
2013-06-18 16:14     ` Arnd Bergmann
2013-06-18 17:12     ` Thomas Petazzoni
2013-06-18 17:12       ` Thomas Petazzoni
2013-06-18 17:16       ` Arnd Bergmann
2013-06-18 17:16         ` Arnd Bergmann
2013-06-18 21:34     ` Ezequiel Garcia
2013-06-18 21:34       ` Ezequiel Garcia
2013-06-18 21:45       ` Arnd Bergmann
2013-06-18 21:45         ` Arnd Bergmann
2013-06-19 18:52         ` Ezequiel Garcia
2013-06-19 18:52           ` Ezequiel Garcia
2013-06-19 19:08           ` Arnd Bergmann
2013-06-19 19:08             ` Arnd Bergmann
2013-06-19 19:29             ` Ezequiel Garcia
2013-06-19 19:29               ` Ezequiel Garcia
2013-06-19 19:37               ` Jason Cooper
2013-06-19 19:37                 ` Jason Cooper
2013-06-18 17:46   ` Jason Gunthorpe
2013-06-18 17:46     ` Jason Gunthorpe
2013-06-18 18:24     ` Sebastian Hesselbarth
2013-06-18 18:24       ` Sebastian Hesselbarth
2013-06-18 18:39       ` Arnd Bergmann
2013-06-18 18:39         ` Arnd Bergmann
2013-06-18 18:44         ` Sebastian Hesselbarth
2013-06-18 18:44           ` Sebastian Hesselbarth
2013-06-18 18:47           ` Jason Gunthorpe
2013-06-18 18:47             ` Jason Gunthorpe
2013-06-18 18:59             ` Sebastian Hesselbarth [this message]
2013-06-18 18:59               ` Sebastian Hesselbarth
2013-06-18 19:10               ` Jason Gunthorpe
2013-06-18 19:10                 ` Jason Gunthorpe
2013-06-18 19:27                 ` Sebastian Hesselbarth
2013-06-18 19:27                   ` Sebastian Hesselbarth
2013-06-18 20:49                   ` Ezequiel Garcia
2013-06-18 20:49                     ` Ezequiel Garcia
2013-06-18 20:55                     ` Jason Gunthorpe
2013-06-18 20:55                       ` Jason Gunthorpe
2013-06-18 21:10                       ` Ezequiel Garcia
2013-06-18 21:10                         ` Ezequiel Garcia
2013-06-18 11:25 ` [PATCH v3 04/12] ARM: mvebu: Initialize MBus using " Ezequiel Garcia
2013-06-18 11:25   ` Ezequiel Garcia
2013-06-18 11:25 ` [PATCH v3 05/12] ARM: mvebu: Remove the harcoded BootROM window allocation Ezequiel Garcia
2013-06-18 11:25   ` Ezequiel Garcia
2013-06-18 17:39   ` Jason Gunthorpe
2013-06-18 17:39     ` Jason Gunthorpe
2013-06-18 19:43     ` Ezequiel Garcia
2013-06-18 19:43       ` Ezequiel Garcia
2013-06-18 19:51       ` Jason Gunthorpe
2013-06-18 19:51         ` Jason Gunthorpe
2013-06-18 20:02         ` Ezequiel Garcia
2013-06-18 20:02           ` Ezequiel Garcia
2013-06-18 20:10           ` Jason Gunthorpe
2013-06-18 20:10             ` Jason Gunthorpe
2013-06-18 20:39             ` Ezequiel Garcia
2013-06-18 20:39               ` Ezequiel Garcia
2013-06-19 10:02     ` Ezequiel Garcia
2013-06-19 10:02       ` Ezequiel Garcia
2013-06-19 16:58       ` Jason Gunthorpe
2013-06-19 16:58         ` Jason Gunthorpe
2013-06-19 17:58         ` Ezequiel Garcia
2013-06-19 17:58           ` Ezequiel Garcia
2013-06-19 18:03           ` Jason Gunthorpe
2013-06-19 18:03             ` Jason Gunthorpe
2013-06-19 18:17             ` Ezequiel Garcia
2013-06-19 18:17               ` Ezequiel Garcia
2013-06-18 11:25 ` [PATCH v3 06/12] memory: mvebu-devbus: Remove address decoding window workaround Ezequiel Garcia
2013-06-18 11:25   ` Ezequiel Garcia
2013-06-18 11:39   ` Jason Cooper
2013-06-18 11:39     ` Jason Cooper
2013-06-18 12:17     ` Thomas Petazzoni
2013-06-18 12:17       ` Thomas Petazzoni
2013-06-18 12:33       ` Jason Cooper
2013-06-18 12:33         ` Jason Cooper
2013-06-18 12:48         ` Ezequiel Garcia
2013-06-18 12:48           ` Ezequiel Garcia
2013-06-18 11:25 ` [PATCH v3 07/12] ARM: mvebu: Use the preprocessor on Armada 370/XP device tree files Ezequiel Garcia
2013-06-18 11:25   ` Ezequiel Garcia
2013-06-18 11:25 ` [PATCH v3 08/12] ARM: mvebu: Add MBus to Armada 370/XP device tree Ezequiel Garcia
2013-06-18 11:25   ` Ezequiel Garcia
2013-06-18 11:25 ` [PATCH v3 09/12] ARM: mvebu: Add BootROM " Ezequiel Garcia
2013-06-18 11:25   ` Ezequiel Garcia
2013-06-18 11:25 ` [PATCH v3 10/12] ARM: mvebu: Relocate Armada 370/XP DeviceBus device tree nodes Ezequiel Garcia
2013-06-18 11:25   ` Ezequiel Garcia
2013-06-18 16:16   ` Arnd Bergmann
2013-06-18 16:16     ` Arnd Bergmann
2013-06-18 22:09     ` Ezequiel Garcia
2013-06-18 22:09       ` Ezequiel Garcia
2013-06-18 22:14       ` Ezequiel Garcia
2013-06-18 22:14         ` Ezequiel Garcia
2013-06-19 12:03       ` Arnd Bergmann
2013-06-19 12:03         ` Arnd Bergmann
2013-06-18 11:25 ` [PATCH v3 11/12] ARM: mvebu: Relocate Armada 370 PCIe " Ezequiel Garcia
2013-06-18 11:25   ` Ezequiel Garcia
2013-06-18 16:29   ` Arnd Bergmann
2013-06-18 16:29     ` Arnd Bergmann
2013-06-18 17:15     ` Thomas Petazzoni
2013-06-18 17:15       ` Thomas Petazzoni
2013-06-18 17:18       ` Arnd Bergmann
2013-06-18 17:18         ` Arnd Bergmann
2013-06-18 17:21         ` Thomas Petazzoni
2013-06-18 17:21           ` Thomas Petazzoni
2013-06-18 18:22           ` Arnd Bergmann
2013-06-18 18:22             ` Arnd Bergmann
2013-06-18 19:02             ` Jason Gunthorpe
2013-06-18 19:02               ` Jason Gunthorpe
2013-06-18 21:20               ` Arnd Bergmann
2013-06-18 21:20                 ` Arnd Bergmann
2013-06-18 21:40                 ` Ezequiel Garcia
2013-06-18 21:40                   ` Ezequiel Garcia
2013-06-19 12:06                   ` Arnd Bergmann
2013-06-19 12:06                     ` Arnd Bergmann
2013-06-18 21:35   ` Arnd Bergmann
2013-06-18 21:35     ` Arnd Bergmann
2013-06-19 11:12     ` Ezequiel Garcia
2013-06-19 11:12       ` Ezequiel Garcia
2013-06-19 12:11       ` Arnd Bergmann
2013-06-19 12:11         ` Arnd Bergmann
2013-06-19 16:53         ` Jason Gunthorpe
2013-06-19 16:53           ` Jason Gunthorpe
2013-06-19 18:55           ` Arnd Bergmann
2013-06-19 18:55             ` Arnd Bergmann
2013-06-18 11:25 ` [PATCH v3 12/12] ARM: mvebu: Relocate Armada XP " Ezequiel Garcia
2013-06-18 11:25   ` Ezequiel Garcia
2013-06-18 11:33 ` [PATCH v3 00/12] MBus device tree binding Sebastian Hesselbarth
2013-06-18 11:33   ` Sebastian Hesselbarth
2013-06-18 13:07   ` Ezequiel Garcia
2013-06-18 13:07     ` Ezequiel Garcia

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=51C0ADF7.5050609@gmail.com \
    --to=sebastian.hesselbarth@gmail.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.