Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1380019 > unrolled thread
| Started by | Tomasz Nowicki <tn@semihalf.com> |
|---|---|
| First post | 2016-04-15 19:10 +0200 |
| Last post | 2016-04-25 19:30 +0200 |
| Articles | 9 on this page of 69 — 15 participants |
Back to article view | Back to linux.kernel
[PATCH V6 00/13] Support for generic ACPI based PCI host controller Tomasz Nowicki <tn@semihalf.com> - 2016-04-15 19:10 +0200
[PATCH V6 11/13] pci, acpi: Match PCI config space accessors against platfrom specific quirks. Tomasz Nowicki <tn@semihalf.com> - 2016-04-15 19:10 +0200
Re: [PATCH V6 11/13] pci, acpi: Match PCI config space accessors against platfrom specific quirks. "liudongdong (C)" <liudongdong3@huawei.com> - 2016-04-18 14:00 +0200
Re: [PATCH V6 11/13] pci, acpi: Match PCI config space accessors against platfrom specific quirks. Tomasz Nowicki <tn@semihalf.com> - 2016-04-18 14:30 +0200
[PATCH V6 13/13] pci, pci-thunder-pem: Add ACPI support for ThunderX PEM. Tomasz Nowicki <tn@semihalf.com> - 2016-04-15 19:10 +0200
[PATCH V6 02/13] pci, acpi: Provide generic way to assign bus domain number. Tomasz Nowicki <tn@semihalf.com> - 2016-04-15 19:10 +0200
Re: [PATCH V6 02/13] pci, acpi: Provide generic way to assign bus domain number. Bjorn Helgaas <helgaas@kernel.org> - 2016-04-27 04:30 +0200
Re: [PATCH V6 02/13] pci, acpi: Provide generic way to assign bus domain number. Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> - 2016-04-27 13:20 +0200
Re: [PATCH V6 02/13] pci, acpi: Provide generic way to assign bus domain number. Bjorn Helgaas <helgaas@kernel.org> - 2016-04-27 18:50 +0200
Re: [PATCH V6 02/13] pci, acpi: Provide generic way to assign bus domain number. Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> - 2016-04-27 19:40 +0200
Re: [PATCH V6 02/13] pci, acpi: Provide generic way to assign bus domain number. Liviu.Dudau@arm.com - 2016-04-28 10:20 +0200
Re: [PATCH V6 02/13] pci, acpi: Provide generic way to assign bus domain number. Tomasz Nowicki <tn@semihalf.com> - 2016-04-27 14:10 +0200
[PATCH V6 12/13] pci, pci-thunder-ecam: Add ACPI support for ThunderX ECAM. Tomasz Nowicki <tn@semihalf.com> - 2016-04-15 19:10 +0200
Re: [PATCH V6 12/13] pci, pci-thunder-ecam: Add ACPI support for ThunderX ECAM. Tomasz Nowicki <tn@semihalf.com> - 2016-04-19 12:30 +0200
Re: [Linaro-acpi] [PATCH V6 12/13] pci, pci-thunder-ecam: Add ACPI support for ThunderX ECAM. G Gregory <graeme.gregory@linaro.org> - 2016-04-19 12:50 +0200
Re: [Linaro-acpi] [PATCH V6 12/13] pci, pci-thunder-ecam: Add ACPI support for ThunderX ECAM. Graeme Gregory <gg@slimlogic.co.uk> - 2016-04-19 13:20 +0200
Re: [Linaro-acpi] [PATCH V6 12/13] pci, pci-thunder-ecam: Add ACPI support for ThunderX ECAM. Tomasz Nowicki <tn@semihalf.com> - 2016-04-19 13:30 +0200
Re: [Linaro-acpi] [PATCH V6 12/13] pci, pci-thunder-ecam: Add ACPI support for ThunderX ECAM. G Gregory <graeme.gregory@linaro.org> - 2016-04-19 14:30 +0200
[PATCH V6 08/13] PCI: generic, thunder: update to use generic ECAM API Tomasz Nowicki <tn@semihalf.com> - 2016-04-15 19:10 +0200
Re: [PATCH V6 08/13] PCI: generic, thunder: update to use generic ECAM API Arnd Bergmann <arnd@arndb.de> - 2016-04-15 20:50 +0200
Re: [PATCH V6 08/13] PCI: generic, thunder: update to use generic ECAM API Jayachandran C <jchandra@broadcom.com> - 2016-04-16 09:30 +0200
Re: [PATCH V6 08/13] PCI: generic, thunder: update to use generic ECAM API Arnd Bergmann <arnd@arndb.de> - 2016-04-16 09:40 +0200
Re: [PATCH V6 08/13] PCI: generic, thunder: update to use generic ECAM API Jayachandran C <jchandra@broadcom.com> - 2016-04-16 16:40 +0200
Re: [PATCH V6 08/13] PCI: generic, thunder: update to use generic ECAM API Tomasz Nowicki <tn@semihalf.com> - 2016-04-18 15:10 +0200
Re: [PATCH V6 08/13] PCI: generic, thunder: update to use generic ECAM API Arnd Bergmann <arnd@arndb.de> - 2016-04-18 16:50 +0200
Re: [PATCH V6 08/13] PCI: generic, thunder: update to use generic ECAM API Tomasz Nowicki <tn@semihalf.com> - 2016-04-18 21:40 +0200
Re: [PATCH V6 08/13] PCI: generic, thunder: update to use generic ECAM API Arnd Bergmann <arnd@arndb.de> - 2016-04-19 15:10 +0200
Re: [PATCH V6 08/13] PCI: generic, thunder: update to use generic ECAM API Tomasz Nowicki <tn@semihalf.com> - 2016-04-21 11:30 +0200
Re: [PATCH V6 08/13] PCI: generic, thunder: update to use generic ECAM API Arnd Bergmann <arnd@arndb.de> - 2016-04-21 11:40 +0200
Re: [PATCH V6 08/13] PCI: generic, thunder: update to use generic ECAM API Tomasz Nowicki <tn@semihalf.com> - 2016-04-21 12:10 +0200
Re: [PATCH V6 08/13] PCI: generic, thunder: update to use generic ECAM API Jon Masters <jcm@redhat.com> - 2016-04-22 16:40 +0200
Re: [PATCH V6 08/13] PCI: generic, thunder: update to use generic ECAM API David Daney <ddaney.cavm@gmail.com> - 2016-04-22 18:10 +0200
Re: [PATCH V6 08/13] PCI: generic, thunder: update to use generic ECAM API Arnd Bergmann <arnd@arndb.de> - 2016-04-19 23:50 +0200
Re: [PATCH V6 08/13] PCI: generic, thunder: update to use generic ECAM API Jayachandran C <jchandra@broadcom.com> - 2016-04-20 02:30 +0200
[PATCH V6 04/13] pci, of: Move the PCI I/O space management to PCI core code. Tomasz Nowicki <tn@semihalf.com> - 2016-04-15 19:10 +0200
[PATCH V6 09/13] pci, acpi: Support for ACPI based generic PCI host controller Tomasz Nowicki <tn@semihalf.com> - 2016-04-15 19:10 +0200
Re: [PATCH V6 09/13] pci, acpi: Support for ACPI based generic PCI host controller Jayachandran C <jchandra@broadcom.com> - 2016-04-20 21:20 +0200
Re: [PATCH V6 09/13] pci, acpi: Support for ACPI based generic PCI host controller Tomasz Nowicki <tn@semihalf.com> - 2016-04-21 11:10 +0200
Re: [PATCH V6 09/13] pci, acpi: Support for ACPI based generic PCI host controller Jayachandran C <jchandra@broadcom.com> - 2016-04-22 15:00 +0200
Re: [PATCH V6 09/13] pci, acpi: Support for ACPI based generic PCI host controller Jon Masters <jcm@redhat.com> - 2016-04-22 16:50 +0200
Re: [PATCH V6 09/13] pci, acpi: Support for ACPI based generic PCI host controller Jon Masters <jcm@redhat.com> - 2016-04-23 17:30 +0200
[PATCH V6 10/13] arm64, pci, acpi: Start using ACPI based PCI host controller driver for ARM64. Tomasz Nowicki <tn@semihalf.com> - 2016-04-15 19:10 +0200
[PATCH V6 06/13] arm64, pci, acpi: ACPI support for legacy IRQs parsing and consolidation with DT code. Tomasz Nowicki <tn@semihalf.com> - 2016-04-15 19:20 +0200
Re: [PATCH V6 06/13] arm64, pci, acpi: ACPI support for legacy IRQs parsing and consolidation with DT code. Bjorn Helgaas <helgaas@kernel.org> - 2016-04-27 04:50 +0200
Re: [PATCH V6 06/13] arm64, pci, acpi: ACPI support for legacy IRQs parsing and consolidation with DT code. Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> - 2016-04-27 13:50 +0200
[PATCH V6 07/13] PCI: Provide common functions for ECAM mapping Tomasz Nowicki <tn@semihalf.com> - 2016-04-15 19:20 +0200
Re: [PATCH V6 07/13] PCI: Provide common functions for ECAM mapping Arnd Bergmann <arnd@arndb.de> - 2016-04-15 20:50 +0200
[PATCH V6 01/13] pci, acpi, x86, ia64: Move ACPI host bridge device companion assignment to core code. Tomasz Nowicki <tn@semihalf.com> - 2016-04-15 19:20 +0200
Re: [PATCH V6 01/13] pci, acpi, x86, ia64: Move ACPI host bridge device companion assignment to core code. Bjorn Helgaas <helgaas@kernel.org> - 2016-04-27 00:40 +0200
Re: [PATCH V6 01/13] pci, acpi, x86, ia64: Move ACPI host bridge device companion assignment to core code. Tomasz Nowicki <tn@semihalf.com> - 2016-04-27 12:20 +0200
Re: [PATCH V6 01/13] pci, acpi, x86, ia64: Move ACPI host bridge device companion assignment to core code. Bjorn Helgaas <helgaas@kernel.org> - 2016-04-27 04:50 +0200
[PATCH V6 03/13] x86, ia64: Include acpi_pci_{add|remove}_bus to the default pcibios_{add|remove}_bus implementation. Tomasz Nowicki <tn@semihalf.com> - 2016-04-15 19:20 +0200
Re: [PATCH V6 03/13] x86, ia64: Include acpi_pci_{add|remove}_bus to the default pcibios_{add|remove}_bus implementation. Bjorn Helgaas <helgaas@kernel.org> - 2016-04-27 04:40 +0200
Re: [PATCH V6 03/13] x86, ia64: Include acpi_pci_{add|remove}_bus to the default pcibios_{add|remove}_bus implementation. Tomasz Nowicki <tn@semihalf.com> - 2016-04-27 15:30 +0200
[PATCH V6 05/13] acpi, pci: Support IO resources when parsing PCI host bridge resources. Tomasz Nowicki <tn@semihalf.com> - 2016-04-15 19:20 +0200
Re: [PATCH V6 05/13] acpi, pci: Support IO resources when parsing PCI host bridge resources. Bjorn Helgaas <helgaas@kernel.org> - 2016-04-27 04:40 +0200
Re: [PATCH V6 05/13] acpi, pci: Support IO resources when parsing PCI host bridge resources. Jon Masters <jcm@redhat.com> - 2016-04-27 07:40 +0200
Re: [PATCH V6 05/13] acpi, pci: Support IO resources when parsing PCI host bridge resources. Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> - 2016-04-27 16:30 +0200
Re: [PATCH V6 05/13] acpi, pci: Support IO resources when parsing PCI host bridge resources. Liviu.Dudau@arm.com - 2016-04-27 17:20 +0200
Re: [PATCH V6 05/13] acpi, pci: Support IO resources when parsing PCI host bridge resources. Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> - 2016-04-27 18:10 +0200
Re: [PATCH V6 00/13] Support for generic ACPI based PCI host controller Jon Masters <jcm@redhat.com> - 2016-04-15 20:20 +0200
Re: [PATCH V6 00/13] Support for generic ACPI based PCI host controller Jayachandran C <jchandra@broadcom.com> - 2016-04-16 17:40 +0200
Re: [PATCH V6 00/13] Support for generic ACPI based PCI host controller Tomasz Nowicki <tn@semihalf.com> - 2016-04-18 15:40 +0200
Re: [PATCH V6 00/13] Support for generic ACPI based PCI host controller Arnd Bergmann <arnd@arndb.de> - 2016-04-18 16:40 +0200
Re: [PATCH V6 00/13] Support for generic ACPI based PCI host controller Tomasz Nowicki <tn@semihalf.com> - 2016-04-18 17:30 +0200
Re: [PATCH V6 00/13] Support for generic ACPI based PCI host controller Martinez Kristofer <kristofer.s.martinez@gmail.com> - 2016-04-17 11:30 +0200
Re: [PATCH V6 00/13] Support for generic ACPI based PCI host controller Duc Dang <dhdang@apm.com> - 2016-04-16 20:40 +0200
Re: [PATCH V6 00/13] Support for generic ACPI based PCI host controller Sinan Kaya <okaya@codeaurora.org> - 2016-04-17 06:20 +0200
Re: [PATCH V6 00/13] Support for generic ACPI based PCI host controller Jeremy Linton <jeremy.linton@arm.com> - 2016-04-25 19:30 +0200
Page 4 of 4 — ← Prev page 1 2 3 [4]
| From | Jon Masters <jcm@redhat.com> |
|---|---|
| Date | 2016-04-15 20:20 +0200 |
| Subject | Re: [PATCH V6 00/13] Support for generic ACPI based PCI host controller |
| Message-ID | <rogvw-7hf-15@gated-at.bofh.it> |
| In reply to | #1380019 |
On 04/15/2016 01:06 PM, Tomasz Nowicki wrote: > From the functionality point of view this series might be split into the > following logic parts: > 1. Necessary fixes as the preparation for using driver on ARM64. > 2. New ECAM API and update for users of the pci-host-common API > 3. Use new MCFG interface and implement generic ACPI based PCI host controller driver. > 4. Enable above driver on ARM64 > > Patches has been built on top of 4.6-rc2 and can be found here: > git@github.com:semihalf-nowicki-tomasz/linux.git (pci-acpi-v6) > > This has been tested on Cavium ThunderX server. Any help in reviewing and > testing is very appreciated. > > v5 -> v6 > - dropped idea of x86 MMCONFIG code refactoring > - integrated JC's patches which introduce new ECAM API: > https://lkml.org/lkml/2016/4/11/907 > git: https://github.com/jchandra-brcm/linux/ (arm64-acpi-pci-v3) > - integrated Sinan's fix for releasing IO resources, see patch [06/13] > - added ACPI support for ThunderX ECAM and PEM drivers > - rebased to 4.6-rc2 JC: can you explicitly confirm that you're ok with letting Tomasz drive this? We would like to see one driver. Either that is Tomasz, or Lorenzo, or it is you. But we need to have one overall cooordinated effort to get this enablement into upstream as quickly as possible. Some of the Enterprise folks are going to otherwise end up in a very nasty situation of supporting the previous non-upstream patches for many years, which is absolutely something we want to avoid... Jon.
[toc] | [prev] | [next] | [standalone]
| From | Jayachandran C <jchandra@broadcom.com> |
|---|---|
| Date | 2016-04-16 17:40 +0200 |
| Message-ID | <roAud-5LI-13@gated-at.bofh.it> |
| In reply to | #1380082 |
On Fri, Apr 15, 2016 at 11:49 PM, Jon Masters <jcm@redhat.com> wrote: > On 04/15/2016 01:06 PM, Tomasz Nowicki wrote: >> From the functionality point of view this series might be split into the >> following logic parts: >> 1. Necessary fixes as the preparation for using driver on ARM64. >> 2. New ECAM API and update for users of the pci-host-common API >> 3. Use new MCFG interface and implement generic ACPI based PCI host controller driver. >> 4. Enable above driver on ARM64 >> >> Patches has been built on top of 4.6-rc2 and can be found here: >> git@github.com:semihalf-nowicki-tomasz/linux.git (pci-acpi-v6) >> >> This has been tested on Cavium ThunderX server. Any help in reviewing and >> testing is very appreciated. >> >> v5 -> v6 >> - dropped idea of x86 MMCONFIG code refactoring >> - integrated JC's patches which introduce new ECAM API: >> https://lkml.org/lkml/2016/4/11/907 >> git: https://github.com/jchandra-brcm/linux/ (arm64-acpi-pci-v3) >> - integrated Sinan's fix for releasing IO resources, see patch [06/13] >> - added ACPI support for ThunderX ECAM and PEM drivers >> - rebased to 4.6-rc2 > > JC: can you explicitly confirm that you're ok with letting Tomasz drive > this? We would like to see one driver. Either that is Tomasz, or > Lorenzo, or it is you. But we need to have one overall cooordinated > effort to get this enablement into upstream as quickly as possible. I have been concentrating on the ECAM code and ECAM based ACPI host controller, the rest of the code is from Tomasz original patchset. I am not happy with the way the ACPI quirk handling is done in Tomasz's current patchset. I believe that it has to be done in a separate patchset with another set of discussions. It introduces additional complexity and mixing that discussion with the ECAM one will not help in making progress. I hope things will be clearer when more maintainers chime in. When there is clarity on if the ECAM split is fine, I think we can look at how to drive the whole patchset forward, otherwise we are back to square one. > Some of the Enterprise folks are going to otherwise end up in a very > nasty situation of supporting the previous non-upstream patches for many > years, which is absolutely something we want to avoid... Not having ACPI/PCI support upstream is a huge problem for us too... JC.
[toc] | [prev] | [next] | [standalone]
| From | Tomasz Nowicki <tn@semihalf.com> |
|---|---|
| Date | 2016-04-18 15:40 +0200 |
| Subject | Re: [PATCH V6 00/13] Support for generic ACPI based PCI host controller |
| Message-ID | <rphzd-6pz-39@gated-at.bofh.it> |
| In reply to | #1380564 |
On 16.04.2016 17:31, Jayachandran C wrote: > On Fri, Apr 15, 2016 at 11:49 PM, Jon Masters <jcm@redhat.com> wrote: >> On 04/15/2016 01:06 PM, Tomasz Nowicki wrote: >>> From the functionality point of view this series might be split into the >>> following logic parts: >>> 1. Necessary fixes as the preparation for using driver on ARM64. >>> 2. New ECAM API and update for users of the pci-host-common API >>> 3. Use new MCFG interface and implement generic ACPI based PCI host controller driver. >>> 4. Enable above driver on ARM64 >>> >>> Patches has been built on top of 4.6-rc2 and can be found here: >>> git@github.com:semihalf-nowicki-tomasz/linux.git (pci-acpi-v6) >>> >>> This has been tested on Cavium ThunderX server. Any help in reviewing and >>> testing is very appreciated. >>> >>> v5 -> v6 >>> - dropped idea of x86 MMCONFIG code refactoring >>> - integrated JC's patches which introduce new ECAM API: >>> https://lkml.org/lkml/2016/4/11/907 >>> git: https://github.com/jchandra-brcm/linux/ (arm64-acpi-pci-v3) >>> - integrated Sinan's fix for releasing IO resources, see patch [06/13] >>> - added ACPI support for ThunderX ECAM and PEM drivers >>> - rebased to 4.6-rc2 >> >> JC: can you explicitly confirm that you're ok with letting Tomasz drive >> this? We would like to see one driver. Either that is Tomasz, or >> Lorenzo, or it is you. But we need to have one overall cooordinated >> effort to get this enablement into upstream as quickly as possible. > > I have been concentrating on the ECAM code and ECAM based ACPI > host controller, the rest of the code is from Tomasz original patchset. > > I am not happy with the way the ACPI quirk handling is done in Tomasz's > current patchset. I believe that it has to be done in a separate patchset > with another set of discussions. It introduces additional complexity and > mixing that discussion with the ECAM one will not help in making progress. Of course we can split discussion into the two topics: 1. ECAM based ACPI host controller - patches [1-10] 2. Quirks handling and examples. IMO, it is very helpful for reviewers to go with one unified patch set and see the whole picture. Also, as you can see, quirks handling allows people to test it easily with their servers (not only QEMU but real HW). Thanks, Tomasz
[toc] | [prev] | [next] | [standalone]
| From | Arnd Bergmann <arnd@arndb.de> |
|---|---|
| Date | 2016-04-18 16:40 +0200 |
| Message-ID | <rpivg-79W-35@gated-at.bofh.it> |
| In reply to | #1381711 |
On Monday 18 April 2016 15:33:24 Tomasz Nowicki wrote: > > Of course we can split discussion into the two topics: > 1. ECAM based ACPI host controller - patches [1-10] > 2. Quirks handling and examples. > > IMO, it is very helpful for reviewers to go with one unified patch set > and see the whole picture. Also, as you can see, quirks handling allows > people to test it easily with their servers (not only QEMU but real HW). I think splitting the two would help tremendously. The regular PCI support should just get merged (it should have been completed years ago when ACPI for ARM64 was first implemented), while the quirks handling contains all ugly nonstandard hacks we have to be careful about. Arnd
[toc] | [prev] | [next] | [standalone]
| From | Tomasz Nowicki <tn@semihalf.com> |
|---|---|
| Date | 2016-04-18 17:30 +0200 |
| Subject | Re: [PATCH V6 00/13] Support for generic ACPI based PCI host controller |
| Message-ID | <rpjhF-7Oq-31@gated-at.bofh.it> |
| In reply to | #1381766 |
On 18.04.2016 16:38, Arnd Bergmann wrote: > On Monday 18 April 2016 15:33:24 Tomasz Nowicki wrote: >> >> Of course we can split discussion into the two topics: >> 1. ECAM based ACPI host controller - patches [1-10] >> 2. Quirks handling and examples. >> >> IMO, it is very helpful for reviewers to go with one unified patch set >> and see the whole picture. Also, as you can see, quirks handling allows >> people to test it easily with their servers (not only QEMU but real HW). > > I think splitting the two would help tremendously. The regular > PCI support should just get merged (it should have been completed > years ago when ACPI for ARM64 was first implemented), while the quirks > handling contains all ugly nonstandard hacks we have to be careful > about. > OK, so for those who want to review just "ECAM based ACPI host controller" lets consider only patches [1-10]. Patches 11-13 are well isolated and do not affect previous one. Is that ok for this series? Thanks, Tomasz
[toc] | [prev] | [next] | [standalone]
| From | Martinez Kristofer <kristofer.s.martinez@gmail.com> |
|---|---|
| Date | 2016-04-17 11:30 +0200 |
| Message-ID | <roRbI-1V4-7@gated-at.bofh.it> |
| In reply to | #1380082 |
On Sat, Apr 16, 2016 at 2:19 AM, Jon Masters <jcm@redhat.com> wrote: > On 04/15/2016 01:06 PM, Tomasz Nowicki wrote: >> From the functionality point of view this series might be split into the >> following logic parts: >> 1. Necessary fixes as the preparation for using driver on ARM64. >> 2. New ECAM API and update for users of the pci-host-common API >> 3. Use new MCFG interface and implement generic ACPI based PCI host controller driver. >> 4. Enable above driver on ARM64 >> >> Patches has been built on top of 4.6-rc2 and can be found here: >> git@github.com:semihalf-nowicki-tomasz/linux.git (pci-acpi-v6) >> >> This has been tested on Cavium ThunderX server. Any help in reviewing and >> testing is very appreciated. >> >> v5 -> v6 >> - dropped idea of x86 MMCONFIG code refactoring >> - integrated JC's patches which introduce new ECAM API: >> https://lkml.org/lkml/2016/4/11/907 >> git: https://github.com/jchandra-brcm/linux/ (arm64-acpi-pci-v3) >> - integrated Sinan's fix for releasing IO resources, see patch [06/13] >> - added ACPI support for ThunderX ECAM and PEM drivers >> - rebased to 4.6-rc2 > > JC: can you explicitly confirm that you're ok with letting Tomasz drive > this? We would like to see one driver. Either that is Tomasz, or > Lorenzo, or it is you. But we need to have one overall cooordinated > effort to get this enablement into upstream as quickly as possible. > > Some of the Enterprise folks are going to otherwise end up in a very > nasty situation of supporting the previous non-upstream patches for many > years, which is absolutely something we want to avoid... > Indeed, we need only one driver for this. But given there're already others except this one exist, and I believe no one want to give up their efforts. Also I think it's not exactly the same feauture provided by those drivers, so can we make some trade-off to combine those drivers into one and add the Signed-off-by for all the anthors? One agreement for all of us is to upstream the ACPI PCI for ARM64 asap! M.K. > > Jon. > > -- > To unsubscribe from this list: send the line "unsubscribe linux-acpi" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html
[toc] | [prev] | [next] | [standalone]
| From | Duc Dang <dhdang@apm.com> |
|---|---|
| Date | 2016-04-16 20:40 +0200 |
| Message-ID | <roDip-7Yf-3@gated-at.bofh.it> |
| In reply to | #1380019 |
On Fri, Apr 15, 2016 at 10:06 AM, Tomasz Nowicki <tn@semihalf.com> wrote:
> From the functionality point of view this series might be split into the
> following logic parts:
> 1. Necessary fixes as the preparation for using driver on ARM64.
> 2. New ECAM API and update for users of the pci-host-common API
> 3. Use new MCFG interface and implement generic ACPI based PCI host controller driver.
> 4. Enable above driver on ARM64
>
> Patches has been built on top of 4.6-rc2 and can be found here:
> git@github.com:semihalf-nowicki-tomasz/linux.git (pci-acpi-v6)
>
> This has been tested on Cavium ThunderX server. Any help in reviewing and
> testing is very appreciated.
Hi Tomasz,
I changed X-Gene ECAM fixup code to follow the new ECAM APIs and my
X-Gene PCIe on Mustang board works fine with this series.
Thanks and regards,
Duc Dang.
>
> v5 -> v6
> - dropped idea of x86 MMCONFIG code refactoring
> - integrated JC's patches which introduce new ECAM API:
> https://lkml.org/lkml/2016/4/11/907
> git: https://github.com/jchandra-brcm/linux/ (arm64-acpi-pci-v3)
> - integrated Sinan's fix for releasing IO resources, see patch [06/13]
> - added ACPI support for ThunderX ECAM and PEM drivers
> - rebased to 4.6-rc2
>
> v4 -> v5
> - dropped MCFG refactoring group patches 1-6 from series v4 and integrated Jayachandran's patch
> https://patchwork.ozlabs.org/patch/575525/
> - rewrite PCI legacy IRQs allocation
> - squashed two patches 11 and 12 from series v4, fixed bisection issue
> - changelog improvements
> - rebased to 4.5-rc3
>
> v3 -> v4
> - dropped Jiang's fix http://lkml.iu.edu/hypermail/linux/kernel/1601.1/04318.html
> - added Lorenzo's fix patch 19/24
> - ACPI PCI bus domain number assigning cleanup
> - changed resource management, we now claim and reassign resources
> - improvements for applying quirks
> - dropped Matthew's http://www.spinics.net/lists/linux-pci/msg45950.html dependency
> - rebased to 4.5-rc1
>
> v2 -> v3
> - fix legacy IRQ assigning and IO ports registration
> - remove reference to arch specific companion device for ia64
> - move ACPI PCI host controller driver to pci_root.c
> - drop generic domain assignment for x86 and ia64 as I am not
> able to run all necessary test variants
> - drop patch which cleaned legacy IRQ assignment since it belongs to
> Mathew's series:
> https://patchwork.ozlabs.org/patch/557504/
> - extend MCFG quirk code
> - rebased to 4.4
>
> v1 -> v2
> - moved non-arch specific piece of code to dirver/acpi/ directory
> - fixed IO resource handling
> - introduced PCI config accessors quirks matching
> - moved ACPI_COMPANION_SET to generic code
>
> v1 - https://lkml.org/lkml/2015/10/27/504
> v2 - https://lkml.org/lkml/2015/12/16/246
> v3 - http://lkml.iu.edu/hypermail/linux/kernel/1601.1/04308.html
> v4 - https://lkml.org/lkml/2016/2/4/646
> v5 - https://lkml.org/lkml/2016/2/16/426
>
> Jayachandran C (2):
> PCI: Provide common functions for ECAM mapping
> PCI: generic, thunder: update to use generic ECAM API
>
> Tomasz Nowicki (11):
> pci, acpi, x86, ia64: Move ACPI host bridge device companion
> assignment to core code.
> pci, acpi: Provide generic way to assign bus domain number.
> x86, ia64: Include acpi_pci_{add|remove}_bus to the default
> pcibios_{add|remove}_bus implementation.
> pci, of: Move the PCI I/O space management to PCI core code.
> acpi, pci: Support IO resources when parsing PCI host bridge
> resources.
> arm64, pci, acpi: ACPI support for legacy IRQs parsing and
> consolidation with DT code.
> pci, acpi: Support for ACPI based generic PCI host controller
> arm64, pci, acpi: Start using ACPI based PCI host controller driver
> for ARM64.
> pci, acpi: Match PCI config space accessors against platfrom specific
> quirks.
> pci, pci-thunder-ecam: Add ACPI support for ThunderX ECAM.
> pci, pci-thunder-pem: Add ACPI support for ThunderX PEM.
>
> arch/arm64/Kconfig | 15 +++
> arch/arm64/include/asm/cpufeature.h | 3 +-
> arch/arm64/kernel/cpu_errata.c | 8 ++
> arch/arm64/kernel/pci.c | 35 ++---
> arch/ia64/hp/common/sba_iommu.c | 2 +-
> arch/ia64/include/asm/pci.h | 1 -
> arch/ia64/pci/pci.c | 26 ----
> arch/ia64/sn/kernel/io_acpi_init.c | 4 +-
> arch/x86/include/asm/pci.h | 3 -
> arch/x86/pci/acpi.c | 17 ---
> arch/x86/pci/common.c | 10 --
> drivers/acpi/Kconfig | 8 ++
> drivers/acpi/Makefile | 1 +
> drivers/acpi/bus.c | 1 +
> drivers/acpi/pci_gen_host.c | 259 ++++++++++++++++++++++++++++++++++++
> drivers/acpi/pci_root.c | 58 +++++++-
> drivers/of/address.c | 116 +---------------
> drivers/pci/Kconfig | 3 +
> drivers/pci/Makefile | 2 +
> drivers/pci/ecam.c | 137 +++++++++++++++++++
> drivers/pci/ecam.h | 66 +++++++++
> drivers/pci/host/Kconfig | 1 +
> drivers/pci/host/pci-host-common.c | 119 ++++++++---------
> drivers/pci/host/pci-host-common.h | 47 -------
> drivers/pci/host/pci-host-generic.c | 52 ++------
> drivers/pci/host/pci-thunder-ecam.c | 70 ++++++----
> drivers/pci/host/pci-thunder-pem.c | 215 ++++++++++++++++++++++--------
> drivers/pci/pci.c | 150 ++++++++++++++++++++-
> drivers/pci/probe.c | 5 +
> include/asm-generic/vmlinux.lds.h | 7 +
> include/linux/of_address.h | 9 --
> include/linux/pci-acpi.h | 20 +++
> include/linux/pci.h | 12 ++
> 33 files changed, 1029 insertions(+), 453 deletions(-)
> create mode 100644 drivers/acpi/pci_gen_host.c
> create mode 100644 drivers/pci/ecam.c
> create mode 100644 drivers/pci/ecam.h
> delete mode 100644 drivers/pci/host/pci-host-common.h
>
> --
> 1.9.1
>
>
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
[toc] | [prev] | [next] | [standalone]
| From | Sinan Kaya <okaya@codeaurora.org> |
|---|---|
| Date | 2016-04-17 06:20 +0200 |
| Subject | Re: [PATCH V6 00/13] Support for generic ACPI based PCI host controller |
| Message-ID | <roMlI-6FS-5@gated-at.bofh.it> |
| In reply to | #1380019 |
On 4/15/2016 1:06 PM, Tomasz Nowicki wrote:
>>From the functionality point of view this series might be split into the
> following logic parts:
> 1. Necessary fixes as the preparation for using driver on ARM64.
> 2. New ECAM API and update for users of the pci-host-common API
> 3. Use new MCFG interface and implement generic ACPI based PCI host controller driver.
> 4. Enable above driver on ARM64
>
> Patches has been built on top of 4.6-rc2 and can be found here:
> git@github.com:semihalf-nowicki-tomasz/linux.git (pci-acpi-v6)
>
> This has been tested on Cavium ThunderX server. Any help in reviewing and
> testing is very appreciated.
>
> v5 -> v6
> - dropped idea of x86 MMCONFIG code refactoring
> - integrated JC's patches which introduce new ECAM API:
> https://lkml.org/lkml/2016/4/11/907
> git: https://github.com/jchandra-brcm/linux/ (arm64-acpi-pci-v3)
> - integrated Sinan's fix for releasing IO resources, see patch [06/13]
> - added ACPI support for ThunderX ECAM and PEM drivers
> - rebased to 4.6-rc2
>
> v4 -> v5
> - dropped MCFG refactoring group patches 1-6 from series v4 and integrated Jayachandran's patch
> https://patchwork.ozlabs.org/patch/575525/
> - rewrite PCI legacy IRQs allocation
> - squashed two patches 11 and 12 from series v4, fixed bisection issue
> - changelog improvements
> - rebased to 4.5-rc3
>
> v3 -> v4
> - dropped Jiang's fix http://lkml.iu.edu/hypermail/linux/kernel/1601.1/04318.html
> - added Lorenzo's fix patch 19/24
> - ACPI PCI bus domain number assigning cleanup
> - changed resource management, we now claim and reassign resources
> - improvements for applying quirks
> - dropped Matthew's http://www.spinics.net/lists/linux-pci/msg45950.html dependency
> - rebased to 4.5-rc1
>
> v2 -> v3
> - fix legacy IRQ assigning and IO ports registration
> - remove reference to arch specific companion device for ia64
> - move ACPI PCI host controller driver to pci_root.c
> - drop generic domain assignment for x86 and ia64 as I am not
> able to run all necessary test variants
> - drop patch which cleaned legacy IRQ assignment since it belongs to
> Mathew's series:
> https://patchwork.ozlabs.org/patch/557504/
> - extend MCFG quirk code
> - rebased to 4.4
>
> v1 -> v2
> - moved non-arch specific piece of code to dirver/acpi/ directory
> - fixed IO resource handling
> - introduced PCI config accessors quirks matching
> - moved ACPI_COMPANION_SET to generic code
>
> v1 - https://lkml.org/lkml/2015/10/27/504
> v2 - https://lkml.org/lkml/2015/12/16/246
> v3 - http://lkml.iu.edu/hypermail/linux/kernel/1601.1/04308.html
> v4 - https://lkml.org/lkml/2016/2/4/646
> v5 - https://lkml.org/lkml/2016/2/16/426
>
> Jayachandran C (2):
> PCI: Provide common functions for ECAM mapping
> PCI: generic, thunder: update to use generic ECAM API
>
> Tomasz Nowicki (11):
> pci, acpi, x86, ia64: Move ACPI host bridge device companion
> assignment to core code.
> pci, acpi: Provide generic way to assign bus domain number.
> x86, ia64: Include acpi_pci_{add|remove}_bus to the default
> pcibios_{add|remove}_bus implementation.
> pci, of: Move the PCI I/O space management to PCI core code.
> acpi, pci: Support IO resources when parsing PCI host bridge
> resources.
> arm64, pci, acpi: ACPI support for legacy IRQs parsing and
> consolidation with DT code.
> pci, acpi: Support for ACPI based generic PCI host controller
> arm64, pci, acpi: Start using ACPI based PCI host controller driver
> for ARM64.
> pci, acpi: Match PCI config space accessors against platfrom specific
> quirks.
> pci, pci-thunder-ecam: Add ACPI support for ThunderX ECAM.
> pci, pci-thunder-pem: Add ACPI support for ThunderX PEM.
>
> arch/arm64/Kconfig | 15 +++
> arch/arm64/include/asm/cpufeature.h | 3 +-
> arch/arm64/kernel/cpu_errata.c | 8 ++
> arch/arm64/kernel/pci.c | 35 ++---
> arch/ia64/hp/common/sba_iommu.c | 2 +-
> arch/ia64/include/asm/pci.h | 1 -
> arch/ia64/pci/pci.c | 26 ----
> arch/ia64/sn/kernel/io_acpi_init.c | 4 +-
> arch/x86/include/asm/pci.h | 3 -
> arch/x86/pci/acpi.c | 17 ---
> arch/x86/pci/common.c | 10 --
> drivers/acpi/Kconfig | 8 ++
> drivers/acpi/Makefile | 1 +
> drivers/acpi/bus.c | 1 +
> drivers/acpi/pci_gen_host.c | 259 ++++++++++++++++++++++++++++++++++++
> drivers/acpi/pci_root.c | 58 +++++++-
> drivers/of/address.c | 116 +---------------
> drivers/pci/Kconfig | 3 +
> drivers/pci/Makefile | 2 +
> drivers/pci/ecam.c | 137 +++++++++++++++++++
> drivers/pci/ecam.h | 66 +++++++++
> drivers/pci/host/Kconfig | 1 +
> drivers/pci/host/pci-host-common.c | 119 ++++++++---------
> drivers/pci/host/pci-host-common.h | 47 -------
> drivers/pci/host/pci-host-generic.c | 52 ++------
> drivers/pci/host/pci-thunder-ecam.c | 70 ++++++----
> drivers/pci/host/pci-thunder-pem.c | 215 ++++++++++++++++++++++--------
> drivers/pci/pci.c | 150 ++++++++++++++++++++-
> drivers/pci/probe.c | 5 +
> include/asm-generic/vmlinux.lds.h | 7 +
> include/linux/of_address.h | 9 --
> include/linux/pci-acpi.h | 20 +++
> include/linux/pci.h | 12 ++
> 33 files changed, 1029 insertions(+), 453 deletions(-)
> create mode 100644 drivers/acpi/pci_gen_host.c
> create mode 100644 drivers/pci/ecam.c
> create mode 100644 drivers/pci/ecam.h
> delete mode 100644 drivers/pci/host/pci-host-common.h
>
+tested by for the v6.
Tested-by: Sinan Kaya <okaya@codeaurora.org>
using the Qualcomm Technologies QDF2XXX server.
--
Sinan Kaya
Qualcomm Technologies, Inc. on behalf of Qualcomm Innovation Center, Inc.
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project
[toc] | [prev] | [next] | [standalone]
| From | Jeremy Linton <jeremy.linton@arm.com> |
|---|---|
| Date | 2016-04-25 19:30 +0200 |
| Subject | Re: [PATCH V6 00/13] Support for generic ACPI based PCI host controller |
| Message-ID | <rrSuD-1f0-25@gated-at.bofh.it> |
| In reply to | #1380019 |
On 04/15/2016 12:06 PM, Tomasz Nowicki wrote:
> From the functionality point of view this series might be split into the
> following logic parts:
> 1. Necessary fixes as the preparation for using driver on ARM64.
> 2. New ECAM API and update for users of the pci-host-common API
> 3. Use new MCFG interface and implement generic ACPI based PCI host controller driver.
> 4. Enable above driver on ARM64
>
> Patches has been built on top of 4.6-rc2 and can be found here:
> git@github.com:semihalf-nowicki-tomasz/linux.git (pci-acpi-v6)
>
> This has been tested on Cavium ThunderX server. Any help in reviewing and
> testing is very appreciated.
I did some basic testing of this series on ARM's JunoR2 platform.
Everything seems to work as expected, the on-board SATA/Ethernet work
correctly as do a couple of boards plugged into the slots.
Tested-by: Jeremy Linton <jeremy.linton@arm.com>
Thanks!
>
> v5 -> v6
> - dropped idea of x86 MMCONFIG code refactoring
> - integrated JC's patches which introduce new ECAM API:
> https://lkml.org/lkml/2016/4/11/907
> git: https://github.com/jchandra-brcm/linux/ (arm64-acpi-pci-v3)
> - integrated Sinan's fix for releasing IO resources, see patch [06/13]
> - added ACPI support for ThunderX ECAM and PEM drivers
> - rebased to 4.6-rc2
>
> v4 -> v5
> - dropped MCFG refactoring group patches 1-6 from series v4 and integrated Jayachandran's patch
> https://patchwork.ozlabs.org/patch/575525/
> - rewrite PCI legacy IRQs allocation
> - squashed two patches 11 and 12 from series v4, fixed bisection issue
> - changelog improvements
> - rebased to 4.5-rc3
>
> v3 -> v4
> - dropped Jiang's fix http://lkml.iu.edu/hypermail/linux/kernel/1601.1/04318.html
> - added Lorenzo's fix patch 19/24
> - ACPI PCI bus domain number assigning cleanup
> - changed resource management, we now claim and reassign resources
> - improvements for applying quirks
> - dropped Matthew's http://www.spinics.net/lists/linux-pci/msg45950.html dependency
> - rebased to 4.5-rc1
>
> v2 -> v3
> - fix legacy IRQ assigning and IO ports registration
> - remove reference to arch specific companion device for ia64
> - move ACPI PCI host controller driver to pci_root.c
> - drop generic domain assignment for x86 and ia64 as I am not
> able to run all necessary test variants
> - drop patch which cleaned legacy IRQ assignment since it belongs to
> Mathew's series:
> https://patchwork.ozlabs.org/patch/557504/
> - extend MCFG quirk code
> - rebased to 4.4
>
> v1 -> v2
> - moved non-arch specific piece of code to dirver/acpi/ directory
> - fixed IO resource handling
> - introduced PCI config accessors quirks matching
> - moved ACPI_COMPANION_SET to generic code
>
> v1 - https://lkml.org/lkml/2015/10/27/504
> v2 - https://lkml.org/lkml/2015/12/16/246
> v3 - http://lkml.iu.edu/hypermail/linux/kernel/1601.1/04308.html
> v4 - https://lkml.org/lkml/2016/2/4/646
> v5 - https://lkml.org/lkml/2016/2/16/426
>
> Jayachandran C (2):
> PCI: Provide common functions for ECAM mapping
> PCI: generic, thunder: update to use generic ECAM API
>
> Tomasz Nowicki (11):
> pci, acpi, x86, ia64: Move ACPI host bridge device companion
> assignment to core code.
> pci, acpi: Provide generic way to assign bus domain number.
> x86, ia64: Include acpi_pci_{add|remove}_bus to the default
> pcibios_{add|remove}_bus implementation.
> pci, of: Move the PCI I/O space management to PCI core code.
> acpi, pci: Support IO resources when parsing PCI host bridge
> resources.
> arm64, pci, acpi: ACPI support for legacy IRQs parsing and
> consolidation with DT code.
> pci, acpi: Support for ACPI based generic PCI host controller
> arm64, pci, acpi: Start using ACPI based PCI host controller driver
> for ARM64.
> pci, acpi: Match PCI config space accessors against platfrom specific
> quirks.
> pci, pci-thunder-ecam: Add ACPI support for ThunderX ECAM.
> pci, pci-thunder-pem: Add ACPI support for ThunderX PEM.
>
> arch/arm64/Kconfig | 15 +++
> arch/arm64/include/asm/cpufeature.h | 3 +-
> arch/arm64/kernel/cpu_errata.c | 8 ++
> arch/arm64/kernel/pci.c | 35 ++---
> arch/ia64/hp/common/sba_iommu.c | 2 +-
> arch/ia64/include/asm/pci.h | 1 -
> arch/ia64/pci/pci.c | 26 ----
> arch/ia64/sn/kernel/io_acpi_init.c | 4 +-
> arch/x86/include/asm/pci.h | 3 -
> arch/x86/pci/acpi.c | 17 ---
> arch/x86/pci/common.c | 10 --
> drivers/acpi/Kconfig | 8 ++
> drivers/acpi/Makefile | 1 +
> drivers/acpi/bus.c | 1 +
> drivers/acpi/pci_gen_host.c | 259 ++++++++++++++++++++++++++++++++++++
> drivers/acpi/pci_root.c | 58 +++++++-
> drivers/of/address.c | 116 +---------------
> drivers/pci/Kconfig | 3 +
> drivers/pci/Makefile | 2 +
> drivers/pci/ecam.c | 137 +++++++++++++++++++
> drivers/pci/ecam.h | 66 +++++++++
> drivers/pci/host/Kconfig | 1 +
> drivers/pci/host/pci-host-common.c | 119 ++++++++---------
> drivers/pci/host/pci-host-common.h | 47 -------
> drivers/pci/host/pci-host-generic.c | 52 ++------
> drivers/pci/host/pci-thunder-ecam.c | 70 ++++++----
> drivers/pci/host/pci-thunder-pem.c | 215 ++++++++++++++++++++++--------
> drivers/pci/pci.c | 150 ++++++++++++++++++++-
> drivers/pci/probe.c | 5 +
> include/asm-generic/vmlinux.lds.h | 7 +
> include/linux/of_address.h | 9 --
> include/linux/pci-acpi.h | 20 +++
> include/linux/pci.h | 12 ++
> 33 files changed, 1029 insertions(+), 453 deletions(-)
> create mode 100644 drivers/acpi/pci_gen_host.c
> create mode 100644 drivers/pci/ecam.c
> create mode 100644 drivers/pci/ecam.h
> delete mode 100644 drivers/pci/host/pci-host-common.h
>
[toc] | [prev] | [standalone]
Page 4 of 4 — ← Prev page 1 2 3 [4]
Back to top | Article view | linux.kernel
csiph-web