[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20180219.094951.2098243214524004486.davem@davemloft.net>
Date: Mon, 19 Feb 2018 09:49:51 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: dwmw@...zon.co.uk
Cc: sparclinux@...r.kernel.org, bhelgaas@...gle.com,
linux-kernel@...r.kernel.org, linux-pci@...r.kernel.org
Subject: Re: [PATCH] sparc: Use generic pci_mmap_resource_range()
From: David Woodhouse <dwmw@...zon.co.uk>
Date: Mon, 19 Feb 2018 13:04:12 +0000
> Commit f719582435 ("PCI: Add pci_mmap_resource_range() and use it for
> ARM64") added this generic function with the intent of using it
> everywhere and ultimately killing the old arch-specific implementations.
>
> Let's get on with that eradication...
>
> Signed-off-by: David Woodhouse <dwmw@...zon.co.uk>
David, the generic code is definitely doing different things.
For one, the sparc specific code allows mmap'ing any address range
within a PCI bus device. The generic code does not allow that.
I know this was used by the X server and that's why the logic is
there.
So we can't just use the generic code without breaking things, sorry.
Powered by blists - more mailing lists