Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1297143

Re: [PATCH 2/2] pci, pcie-thunder-pem: Add PCIe host driver for ThunderX processors.

From David Daney <ddaney@caviumnetworks.com>
Newsgroups linux.kernel
Subject Re: [PATCH 2/2] pci, pcie-thunder-pem: Add PCIe host driver for ThunderX processors.
Date 2015-12-23 00:30 +0100
Message-ID <qIExr-1YC-9@gated-at.bofh.it> (permalink)
References <qIkp4-5Ra-5@gated-at.bofh.it> <qIkp4-5Ra-9@gated-at.bofh.it> <qIs3g-2zy-5@gated-at.bofh.it> <qIExr-1YC-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 12/22/2015 11:18 AM, David Daney wrote:
> On 12/22/2015 02:03 AM, Will Deacon wrote:
>> On Mon, Dec 21, 2015 at 05:53:42PM -0800, David Daney wrote:
>>> From: David Daney <david.daney@cavium.com>
[...]
>>> diff --git a/drivers/pci/host/Kconfig b/drivers/pci/host/Kconfig
>>> index f131ba9..16ed9c3 100644
>>> --- a/drivers/pci/host/Kconfig
>>> +++ b/drivers/pci/host/Kconfig
>>> @@ -172,4 +172,10 @@ config PCI_HISI
>>>       help
>>>         Say Y here if you want PCIe controller support on HiSilicon
>>> HIP05 SoC
>>>
>>> +config PCIE_HOST_THUNDER_PEM
>>> +    bool "Cavium Thunder PCIe controller to off-chip devices"
>>> +    depends on PCI_HOST_GENERIC && ARM64
>>
>> || COMPILE_TEST ?
>>
>> (or does the use of writeq get you? If so, maybe COMPILE_TEST && 64BIT)
>
> Yes, we must use writeq in the driver, I will change it to
> ||(COMPILE_TEST && 64BIT)
>

Actually, it turns out that this is not easily done.

For x86, it appears difficult to include asm-generic/pci-bridge.h which 
includes the needed definition of PCI_PROBE_ONLY.  So I think it is not 
worth supporting COMPILE_TEST

David Daney


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 0/2] pci: Add host controller driver for Cavium ThunderX PCIe David Daney <ddaney.cavm@gmail.com> - 2015-12-22 03:00 +0100
  [PATCH 1/2] PCI: generic: Refactor code to enable reuse by other drivers. David Daney <ddaney.cavm@gmail.com> - 2015-12-22 03:00 +0100
    Re: [PATCH 1/2] PCI: generic: Refactor code to enable reuse by other  drivers. Will Deacon <will.deacon@arm.com> - 2015-12-22 11:10 +0100
      Re: [PATCH 1/2] PCI: generic: Refactor code to enable reuse by other drivers. Arnd Bergmann <arnd@arndb.de> - 2015-12-22 22:20 +0100
  [PATCH 2/2] pci, pcie-thunder-pem: Add PCIe host driver for ThunderX processors. David Daney <ddaney.cavm@gmail.com> - 2015-12-22 03:00 +0100
    Re: [PATCH 2/2] pci, pcie-thunder-pem: Add PCIe host driver for  ThunderX processors. Will Deacon <will.deacon@arm.com> - 2015-12-22 11:10 +0100
      Re: [PATCH 2/2] pci, pcie-thunder-pem: Add PCIe host driver for ThunderX  processors. David Daney <ddaney@caviumnetworks.com> - 2015-12-23 00:30 +0100
    Re: [PATCH 2/2] pci, pcie-thunder-pem: Add PCIe host driver for  ThunderX processors. Rob Herring <robh@kernel.org> - 2015-12-23 01:50 +0100

csiph-web