[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200528074539.GC10708@alpha.franken.de>
Date: Thu, 28 May 2020 09:45:39 +0200
From: Thomas Bogendoerfer <tsbogend@...ha.franken.de>
To: Jiaxun Yang <jiaxun.yang@...goat.com>
Cc: linux-mips@...r.kernel.org, Huacai Chen <chenhc@...ote.com>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] MIPS: Loongson64: Define PCI_IOBASE
On Wed, May 27, 2020 at 09:17:21PM +0800, Jiaxun Yang wrote:
> PCI_IOBASE is used to create VM maps for PCI I/O ports, it is
> required by generic PCI drivers to make memory mapped I/O range
> work.
>
> To deal with legacy drivers that have fixed I/O ports range we
> reserved 0x10000 in PCI_IOBASE, should be enough for i8259 i8042
> stuff.
>
> Signed-off-by: Jiaxun Yang <jiaxun.yang@...goat.com>
> ---
> .../mips/include/asm/mach-loongson64/spaces.h | 8 ++++
> arch/mips/loongson64/init.c | 42 ++++++++++++++++++-
> 2 files changed, 48 insertions(+), 2 deletions(-)
that looks so much nicer, thank you for doing this. Applied to mips-next.
Thomas.
--
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea. [ RFC1925, 2.3 ]
Powered by blists - more mailing lists