From: Joao Pinto <Joao.Pinto@synopsys.com>
To: Bjorn Helgaas <helgaas@kernel.org>, Joao Pinto <Joao.Pinto@synopsys.com>
Cc: <Vineet.Gupta1@synopsys.com>, <linux-pci@vger.kernel.org>,
<linux-kernel@vger.kernel.org>,
<linux-snps-arc@lists.infradead.org>,
<CARLOS.PALMINHA@synopsys.com>, <Alexey.Brodkin@synopsys.com>,
<robh+dt@kernel.org>, <pawel.moll@arm.com>,
<mark.rutland@arm.com>, <ijc+devicetree@hellion.org.uk>,
<galak@codeaurora.org>
Subject: Re: [PATCH v3 0/2] adding PCI support to AXS10x
Date: Mon, 11 Jan 2016 15:02:12 +0000 [thread overview]
Message-ID: <5693C3F4.6040408@synopsys.com> (raw)
In-Reply-To: <20160111145353.GD25540@localhost>
Hi,
I am going to add dependencies to the driver' kconfig to avoid this problem. I
will send you a new patch version today.
Thanks.
On 1/11/2016 2:53 PM, Bjorn Helgaas wrote:
> On Mon, Jan 11, 2016 at 02:31:51PM +0000, Joao Pinto wrote:
>> Hi Bjorn,
>>
>> On 1/8/2016 8:33 PM, Bjorn Helgaas wrote:
>>> Hi Joao,
>>>
>>> On Mon, Dec 21, 2015 at 03:44:14PM +0000, Joao Pinto wrote:
>>>> This patch set has the goal to add suppport for DesignWare PCIe RC in ARC
>>>> AXS10x. It includes the necessary tweaks to the ARC architecture, necessary
>>>> tweaks to the PCI subsystem and a new driver (pcie-snpsdev).
>>>> This new driver will be used extensively in the PCIe RC Prototyping Kit.
>>>>
>>>> The patches were produced against Bjorn Helgaas' repository. It was properly
>>>> tested in an IP Prototyping Kit.
>>>>
>>>> Joao Pinto (2):
>>>> PCI support added to ARC
>>>> add new platform driver for PCI RC
>>>>
>>>> .../devicetree/bindings/pci/pcie-snpsdev.txt | 33 +++
>>>> MAINTAINERS | 7 +
>>>> arch/arc/Kconfig | 23 ++
>>>> arch/arc/include/asm/dma.h | 5 +
>>>> arch/arc/include/asm/io.h | 10 +
>>>> arch/arc/include/asm/pci.h | 43 ++++
>>>> arch/arc/kernel/Makefile | 1 +
>>>> arch/arc/kernel/pcibios.c | 55 ++++
>>>> arch/arc/mm/ioremap.c | 10 +-
>>>> arch/arc/plat-axs10x/Kconfig | 1 +
>>>> drivers/pci/Makefile | 1 +
>>>> drivers/pci/host/Kconfig | 5 +
>>>> drivers/pci/host/Makefile | 1 +
>>>> drivers/pci/host/pcie-designware.c | 11 +
>>>> drivers/pci/host/pcie-designware.h | 1 +
>>>> drivers/pci/host/pcie-snpsdev.c | 286 +++++++++++++++++++++
>>>> 16 files changed, 492 insertions(+), 1 deletion(-)
>>>> create mode 100644 Documentation/devicetree/bindings/pci/pcie-snpsdev.txt
>>>> create mode 100644 arch/arc/include/asm/pci.h
>>>> create mode 100644 arch/arc/kernel/pcibios.c
>>>> create mode 100644 drivers/pci/host/pcie-snpsdev.c
>>>
>>> This failed the kbuild test, so I'm waiting for a refresh to fix that.
>>
>> Just checked the kbuild robot error and it is happening in ARC git tree when
>> built for i386 arch and the problem is independent from my patches. The build
>> error is the following:
>>
>> drivers/pci/host/pcie-designware.c: In function 'dw_pcie_host_init':
>>>> drivers/pci/host/pcie-designware.c:556:7: error: implicit declaration of function
>> 'pci_has_flag' [-Werror=implicit-function-declaration]
>> if (!pci_has_flag(PCI_PROBE_ONLY)) {
>> ^
>>>> drivers/pci/host/pcie-designware.c:556:20: error: 'PCI_PROBE_ONLY' undeclared
>> (first use in
>> this function)
>> if (!pci_has_flag(PCI_PROBE_ONLY)) {
>> ^
>> This problem has been already identified by Stephen Rothwell as you can see in
>> the following mailing list thread:
>>
>> http://www.gossamer-threads.com/lists/linux/kernel/2341200
>
> Stephen saw that problem while building the Qualcomm driver
> (CONFIG_PCIE_QCOM), and we fixed it by changing Kconfig so we won't build
> that driver on x86.
>
> That fix only affects CONFIG_PCIE_QCOM, so it won't help your driver.
>
> You need some improvements to your drivers/pci/host/Kconfig patch -- some
> help text and probably some dependencies.
>
> Bjorn
>
prev parent reply other threads:[~2016-01-11 15:02 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-21 15:44 [PATCH v3 0/2] adding PCI support to AXS10x Joao Pinto
2015-12-21 15:44 ` [PATCH v3 1/2] PCI support added to ARC Joao Pinto
2015-12-21 15:44 ` [PATCH v3 2/2] add new platform driver for PCI RC Joao Pinto
2015-12-21 19:45 ` kbuild test robot
2016-01-08 20:33 ` [PATCH v3 0/2] adding PCI support to AXS10x Bjorn Helgaas
2016-01-11 10:38 ` Joao Pinto
2016-01-11 14:31 ` Joao Pinto
2016-01-11 14:53 ` Bjorn Helgaas
2016-01-11 15:02 ` Joao Pinto [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5693C3F4.6040408@synopsys.com \
--to=joao.pinto@synopsys.com \
--cc=Alexey.Brodkin@synopsys.com \
--cc=CARLOS.PALMINHA@synopsys.com \
--cc=Vineet.Gupta1@synopsys.com \
--cc=galak@codeaurora.org \
--cc=helgaas@kernel.org \
--cc=ijc+devicetree@hellion.org.uk \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pci@vger.kernel.org \
--cc=linux-snps-arc@lists.infradead.org \
--cc=mark.rutland@arm.com \
--cc=pawel.moll@arm.com \
--cc=robh+dt@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).