Re: [PATCH 3/5] MIPS: Loongson64: Enlarge IO_SPACE_LIMIT

From: Arnd Bergmann
Date: Mon Jul 20 2020 - 08:21:09 EST


On Mon, Jul 20, 2020 at 2:07 PM Jiaxun Yang <jiaxun.yang@xxxxxxxxxxx> wrote:
> å 2020/7/20 äå6:45, Arnd Bergmann åé:
> > On Mon, Jul 20, 2020 at 9:44 AM Jiaxun Yang <jiaxun.yang@xxxxxxxxxxx> wrote:
> >> It can be very big on LS7A PCH systems.
> > In practice, one should rarely need more than a few kb worth of
> > port numbers, unless you expect to see hundreds of legacy PCI
> > devices.
> I must blame stupid hardware design here. The LPC Controller (for ISA
> device) can eat
> up to 0x20000 IO BAR, and we can't resize it. Thus we have to enlarge
> the I/O Space.

Ok, I see.

Arnd