Re: [PATCH v2] arm64: dts: marvell: armada-37xx: Remap IO space to bus address 0x0

From: Pali Rohár
Date: Thu Mar 10 2022 - 05:41:43 EST


On Thursday 10 March 2022 11:22:38 Arnd Bergmann wrote:
> On Thu, Mar 10, 2022 at 11:09 AM Pali Rohár <pali@xxxxxxxxxx> wrote:
> > On Thursday 10 March 2022 11:05:00 Gregory CLEMENT wrote:
>
> > >
> > > This patch has been refused by Arnd so I removed it from the mvebu/fixes
> > > branch so you should not apply anything on top of it.
> >
> > Ok, so what is wrong with a change which increase size of IO space to 1 MB?
>
> It should not cause any harm, but there is really no point in this if no known
> devices use more than a few bytes, and Linux only maps the first 64KB of
> the I/O space for each host bridge. I don't actually see where we limit the
> size to 64KB, so maybe that changed recently.
>
> Arnd

Ok. Anyway, I was told that DTS should describe HW properties and not to
be bound with SW implementation or SW limitations, like case here if
Linux SW limits some sizes.