lkml.org 
[lkml]   [2014]   [Nov]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] pci: generic host: make it more generic
On Wed, Nov 12, 2014 at 02:12:12AM +0000, Ming Lei wrote:
> On Wed, Nov 12, 2014 at 2:24 AM, Lorenzo Pieralisi
> <lorenzo.pieralisi@arm.com> wrote:
> > On Tue, Nov 11, 2014 at 02:02:20PM +0000, Ming Lei wrote:
> >
> > [...]
> >
> >> > http://lists.infradead.org/pipermail/linux-arm-kernel/2014-October/296535.html
> >> >
> >> > Patch above is already queued and applies most of the changes you have posted
> >> > above.
> >>
> >> I should have looked at list first before writing the patch, :-(
> >>
> >> Could you make it more generic so that other ARCHs(at least ARM64)
> >> can benefit from it too?
> >
> > That's our current goal, we are carrying out clean-ups to remove arch
> > dependency and move code to the generic layer PCI layer.
>
> OK, I am glad to test them after you post them out.
>
> At least, the 'struct gen_pci' pointer can be put in driver data
> of the platform_device now, which may remove dependency on
> pci_sysdata in this driver. But ARCH's pcibios code still may
> access 'pci_sysdata', do you have patches or solution to handle
> this issue?

I will consider adding struct gen_pci pointer as platform device
driver data, we are working on removing pci_sys_data dependency in the ARM
pcibios backend, and I do not think we are far from achieving that.

Thanks,
Lorenzo


\
 
 \ /
  Last update: 2014-11-12 11:41    [W:1.569 / U:0.056 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site