[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2025011441-mountable-glitch-da1b@gregkh>
Date: Tue, 14 Jan 2025 19:46:58 +0100
From: Greg KH <gregkh@...uxfoundation.org>
To: Jiaxun Yang <jiaxun.yang@...goat.com>
Cc: Thomas Bogendoerfer <tsbogend@...ha.franken.de>,
Arnd Bergmann <arnd@...db.de>, Baoquan He <bhe@...hat.com>,
linux-mips@...r.kernel.org, linux-kernel@...r.kernel.org,
stable@...r.kernel.org,
Mateusz Jończyk <mat.jonczyk@...pl>
Subject: Re: [PATCH] MIPS: pci-legacy: Override pci_address_to_pio
On Tue, Jan 14, 2025 at 06:11:58PM +0000, Jiaxun Yang wrote:
> pci-legacy systems are not using logic_pio to managed PIO
> allocations, thus the generic pci_address_to_pio won't work
> when PCI_IOBASE is defined.
>
> Override the function to use architecture implementation to
> fix the problem.
>
> Cc: stable@...r.kernel.org
> Fixes: 4bfb53e7d317 ("mips: add <asm-generic/io.h> including")
> Reported-by: Mateusz Jończyk <mat.jonczyk@...pl>
> Closes: https://lore.kernel.org/r/99f75c66-4c2d-45dc-a808-b5ba440c7551@app.fastmail.com/
> Signed-off-by: Jiaxun Yang <jiaxun.yang@...goat.com>
> ---
> This is a quick fix for fixes tree and stable backporting.
> In long term, we should get logic_pio accept fixed mapping,
> and make PCI core code aware of platforms not using vmap
> for PCI_IOBASE.
Why not do the real work now. Don't worry about stable kernels, fix it
properly.
thanks,
greg k-h
Powered by blists - more mailing lists