[lkml]   [2016]   [Mar]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Question about PCI I/O space in ARM64

On 2016/3/25 1:57, Lorenzo Pieralisi wrote:
> [+ Jean]
> On Thu, Mar 24, 2016 at 11:14:50AM +0800, Kefeng Wang wrote:
> [...]
>>>> You need a PCI host controller driver (e.g.
>>>> drivers/pci/host/pci-host-generic.c) and corresponding bindings in DT or
>>>> ACPI.
>> In our inner test, there are some board without pcie host driver(even
>> without pci host controller).
> So I guess those drivers are for devices that are attached to an LPC
> controller that is not part of a PCI host controller, right ?
> BTW, what happened to this (not that I particularly like this patchset) ?

They are working on it, and will upstream again.

> I agree with Arnd on this and we need to patch the eg f71805f driver too
> (or we just do not build on ARM) to make it request the IO port region it
> needs to actually probe the device, it is not correct to assume IO space
> is available and mapped, I think that's a driver bug rather than anything
> else, Jean can certainly shed some light here.

Ok, so Jean, would you take a look this? Thanks.

>> Define some arch in/out func instead of generic ops? when in/out vals, check
>> whether or not the pci_iobase is mapped.
> I do not think the problem should be solved in the IO accessors
> implementation, see above.
> Lorenzo
> .

 \ /
  Last update: 2016-03-25 08:01    [W:0.061 / U:0.320 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site