Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1364575
| From | Kefeng Wang <wangkefeng.wang@huawei.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: Question about PCI I/O space in ARM64 |
| Date | 2016-03-25 08:00 +0100 |
| Message-ID | <rgtSW-6iV-7@gated-at.bofh.it> (permalink) |
| References | <rfHuV-5OI-7@gated-at.bofh.it> <rfO3p-1S7-45@gated-at.bofh.it> <rfQ5d-3jc-19@gated-at.bofh.it> <rg3Yt-4Qf-5@gated-at.bofh.it> <rghI7-6aA-23@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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. > > https://lkml.org/lkml/2015/12/29/154 > [...] > > 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. Kefeng > >> 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 > > . >
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
Question about PCI I/O space in ARM64 Kefeng Wang <wangkefeng.wang@huawei.com> - 2016-03-23 04:20 +0100
Re: Question about PCI I/O space in ARM64 Catalin Marinas <catalin.marinas@arm.com> - 2016-03-23 11:20 +0100
Re: Question about PCI I/O space in ARM64 Arnd Bergmann <arnd@arndb.de> - 2016-03-23 13:30 +0100
Re: Question about PCI I/O space in ARM64 Kefeng Wang <wangkefeng.wang@huawei.com> - 2016-03-24 04:20 +0100
Re: Question about PCI I/O space in ARM64 Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> - 2016-03-24 19:00 +0100
Re: Question about PCI I/O space in ARM64 Kefeng Wang <wangkefeng.wang@huawei.com> - 2016-03-25 08:00 +0100
csiph-web