Re: [PATCH] pci: adding support for PCI_MSI_IRQ_DOMAIN in ARC arch

2016-09-06 Thread Joao Pinto
On 9/6/2016 4:57 PM, Bjorn Helgaas wrote: > On Tue, Aug 09, 2016 at 04:49:37PM +0100, Joao Pinto wrote: >> To fix this, this patch adds ARC as a PCI_MSI_IRQ_DOMAIN supportive >> platform and adds the generation of msi.h in the ARC arch. >> >> Signed-off-by: Joao Pinto

Re: [PATCH] pci: adding support for PCI_MSI_IRQ_DOMAIN in ARC arch

2016-09-06 Thread Joao Pinto
Hi Bjorn, Did you have the chance to check this patch? Thanks. On 8/10/2016 6:55 PM, Vineet Gupta wrote: > On 08/09/2016 08:51 AM, Joao Pinto wrote: >> Due to the added dependency on PCI_MSI_IRQ_DOMAIN for all PCIe RC >> drivers, we were unable to build a RC solution for

[PATCH] pci: adding support for PCI_MSI_IRQ_DOMAIN in ARC arch

2016-08-09 Thread Joao Pinto
To fix this, this patch adds ARC as a PCI_MSI_IRQ_DOMAIN supportive platform and adds the generation of msi.h in the ARC arch. Signed-off-by: Joao Pinto --- arch/arc/include/asm/Kbuild | 1 + drivers/pci/Kconfig | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/arch

Re: [PATCH] Remove the inclusion of pci-bridge.h and pci-dma-compat.h

2016-03-15 Thread Joao Pinto
No problem! Thanks! On 3/15/2016 1:51 PM, Bjorn Helgaas wrote: > On Tue, Mar 15, 2016 at 11:06:02AM +0000, Joao Pinto wrote: >> While building linux-next the test robot detected that the pci.h was >> including >> two removed header files (pci-dma-compat.h and pci-

Re: [PATCH] ARC: Don't source drivers/pci/pcie/Kconfig ourselves

2016-03-15 Thread Joao Pinto
; diff --git a/arch/arc/Kconfig b/arch/arc/Kconfig >> index 69d05f5..282efec 100644 >> --- a/arch/arc/Kconfig >> +++ b/arch/arc/Kconfig >> @@ -592,7 +592,6 @@ config PCI_SYSCALL >> def_bool PCI >> >> source "drivers/pci/Kconfig" >> -source "drivers/pci/pcie/Kconfig" >> >> endmenu >> > Acked-by: Joao Pinto ___ linux-snps-arc mailing list linux-snps-arc@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-snps-arc

[PATCH] Remove the inclusion of pci-bridge.h and pci-dma-compat.h

2016-03-15 Thread Joao Pinto
. Signed-off-by: Joao Pinto --- arch/arc/include/asm/pci.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/arc/include/asm/pci.h b/arch/arc/include/asm/pci.h index 2f2011c..ba56c23 100644 --- a/arch/arc/include/asm/pci.h +++ b/arch/arc/include/asm/pci.h @@ -10,9 +10,6 @@ #define

Re: [PATCH v11 0/4] ARC: Add PCI support

2016-03-01 Thread Joao Pinto
Hi! On 2/29/2016 7:22 PM, Bjorn Helgaas wrote: > On Mon, Feb 29, 2016 at 06:30:52PM +0000, Joao Pinto wrote: >> Hi Bjorn! >> >> Is it possible to pull this patch set into 4.5? > > No, it's a little late for v4.5. We're already at v4.5-rc6, so it's >

RE: [PATCH v11 0/4] ARC: Add PCI support

2016-02-29 Thread Joao Pinto
Hi Bjorn! Is it possible to pull this patch set into 4.5? Thanks -Original Message- From: linux-pci-ow...@vger.kernel.org [mailto:linux-pci-ow...@vger.kernel.org] On Behalf Of Bjorn Helgaas Sent: Friday, February 26, 2016 4:30 PM To: Joao Pinto Cc: mark.rutl...@arm.com; alexey.brod

Re: [PATCH v10 2/4] PCI: designware: Add generic dw_pcie_wait_for_link()

2016-02-29 Thread Joao Pinto
Hi Bjorn! On 2/27/2016 12:06 AM, Bjorn Helgaas wrote: > On Fri, Feb 26, 2016 at 10:42:55AM +0800, Joao Pinto wrote: >> Hi! This patch seems OK also. >> I did not received the 3/4 and 4/4 patches. > > Huh. I do see them in the list archives: > > http

Re: [PATCH v10 2/4] PCI: designware: Add generic dw_pcie_wait_for_link()

2016-02-25 Thread Joao Pinto
Hi! This patch seems OK also. I did not received the 3/4 and 4/4 patches. Thanks. On 2/26/2016 1:37 AM, Bjorn Helgaas wrote: > From: Joao Pinto > > Several DesignWare-based drivers (dra7xx, exynos, imx6 and spear13xx) had > similar loops waiting for the link to come up. >

Re: [PATCH v10 1/4] ARC: Add PCI support

2016-02-25 Thread Joao Pinto
Hi! This patch is fine. Joao On 2/26/2016 1:37 AM, Bjorn Helgaas wrote: > From: Joao Pinto > > Add PCI support to ARC and update drivers/pci Makefile enabling the ARC > arch to use the generic PCI setup functions. > > Signed-off-by: Joao Pinto > Signed-off-by: Bjor

Re: [PATCH v9 2/2] pcie-designware platform driver

2016-02-15 Thread Joao Pinto
Hi Bjorn! Did you have opportunity to check the v9 patch set? Thanks. Joao On 2/10/2016 9:48 AM, Joao Pinto wrote: > Hi Bjorn, > > On 2/8/2016 11:28 PM, Bjorn Helgaas wrote: >>> if (!pci_has_flag(PCI_PROBE_ONLY)) { >>>^ >>>dr

Re: [PATCH v9 2/2] pcie-designware platform driver

2016-02-10 Thread Joao Pinto
Hi Bjorn, On 2/8/2016 11:28 PM, Bjorn Helgaas wrote: >> if (!pci_has_flag(PCI_PROBE_ONLY)) { >>^ >>drivers/pci/host/pcie-designware.c:581:20: note: each undeclared >> identifier is reported only once for each function it appears in >>cc1: some warnings being t

[PATCH v9 0/2] adding PCI support to AXS10x

2016-02-08 Thread Joao Pinto
spear13xx drivers to use the centralised code for link wait A simple module was (pcie-designware-plat) was created to contain the specific platform init code. The patches were produced against Bjorn Helgaas' repository. It was properly tested in an IP Prototyping Kit. Joao Pinto (2): PCI su

[PATCH v9 1/2] PCI support added to ARC

2016-02-08 Thread Joao Pinto
This patch adds PCI support to ARC and updates drivers/pci Makefile enabling the ARC arch to use the generic PCI setup functions. Signed-off-by: Joao Pinto --- Change v8 -> v9: - Nothing changed (just to keep up with patch set version). Change v7 -> v8: - Nothing changed (just to keep u

[PATCH v9 2/2] pcie-designware platform driver

2016-02-08 Thread Joao Pinto
-plat) was created to contain the specific platform init code for pcie-designware. Signed-off-by: Joao Pinto --- Change v8 -> v9 (Bjorn Helgaas and Arnd Bergmann): - wait for link routine was moved to pcie-designware, this implicated an update in ra7xx, exynos, imx6 and spear13xx pcie drivers -

Re: [PATCH v8 2/2] add new platform driver for PCI RC

2016-02-08 Thread Joao Pinto
Bergmann wrote: > On Friday 05 February 2016 17:32:48 Bjorn Helgaas wrote: >> On Fri, Feb 05, 2016 at 03:39:05PM +0100, Arnd Bergmann wrote: >>> On Friday 05 February 2016 10:44:29 Joao Pinto wrote: > >>> I think in this case, we should do this completely differently:

Re: [PATCH v8 2/2] add new platform driver for PCI RC

2016-02-05 Thread Joao Pinto
On 2/5/2016 3:43 PM, Arnd Bergmann wrote: > On Friday 05 February 2016 14:51:39 Joao Pinto wrote: >> >> It is a driver that is useful for PCIe RC prototyping and to be a reference >> platform driver for DesignWare PCIe RC, I don't know if merging some of the >> dr

Re: [PATCH v8 2/2] add new platform driver for PCI RC

2016-02-05 Thread Joao Pinto
On 2/5/2016 2:39 PM, Arnd Bergmann wrote: > On Friday 05 February 2016 10:44:29 Joao Pinto wrote: >> Hi, >> >> On 2/4/2016 11:43 PM, Bjorn Helgaas wrote: >>>> What do you think? >>> >>> I don't think the "dw" part is relevant

Re: [PATCH v8 2/2] add new platform driver for PCI RC

2016-02-05 Thread Joao Pinto
Hi, On 2/4/2016 11:43 PM, Bjorn Helgaas wrote: >> What do you think? > > I don't think the "dw" part is relevant (none of the other > DesignWare-based drivers includes it in the driver or file name). > > How do people typically refer to this board? > > I really like "synopsys" because it fits t

Re: [PATCH v8 2/2] add new platform driver for PCI RC

2016-02-04 Thread Joao Pinto
Hi Bjorn, On 2/4/2016 6:19 PM, Bjorn Helgaas wrote: > On Thu, Feb 04, 2016 at 03:52:10PM +0000, Joao Pinto wrote: >> This patch adds a new driver that will be the reference platform driver >> for all PCI RC IP Protoyping Kits based on ARC SDP. >> >> Signed-off-by: Joao

[PATCH v8 0/2] adding PCI support to AXS10x

2016-02-04 Thread Joao Pinto
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-dw-pltfm.txt | 36 +++ MAINTAINERS

[PATCH v8 2/2] add new platform driver for PCI RC

2016-02-04 Thread Joao Pinto
This patch adds a new driver that will be the reference platform driver for all PCI RC IP Protoyping Kits based on ARC SDP. Signed-off-by: Joao Pinto --- Change v7 -> v8 (Bjorn Helgaas and Arnd Bergmann): - driver name was changed from pcie-synopsys to pcie-dw-pltfm - mdelay() replaced

[PATCH v8 1/2] PCI support added to ARC

2016-02-04 Thread Joao Pinto
This patch adds PCI support to ARC and updates drivers/pci Makefile enabling the ARC arch to use the generic PCI setup functions. Signed-off-by: Joao Pinto --- Change v7 -> v8: - Nothing changed (just to keep up with patch set version). Change v6 -> v7 (Bjorn Helgaas): - Parenthesis remove

Re: [PATCH v7 2/2] add new platform driver for PCI RC

2016-02-04 Thread Joao Pinto
Hi Bjorn and Arnd, Removing the irq_handler causes the irq request to fail because in request_threaded_irq() both handler and thread_fn are NULL. What's the typical procedure for this? Joao On 2/4/2016 11:14 AM, Joao Pinto wrote: > Hi Bjorn, > > On 2/3/2016 6:38 PM, Bjorn Helgaa

Re: [PATCH v7 2/2] add new platform driver for PCI RC

2016-02-04 Thread Joao Pinto
Hi Bjorn, On 2/3/2016 6:38 PM, Bjorn Helgaas wrote: > On Wed, Feb 03, 2016 at 06:12:00PM +0000, Joao Pinto wrote: >> Hi Bjorn, >> >> Are these tasks enough? >> >> - replace mdelay() for msleep() >> - remove synopsys_pcie_irq_handler() > > Above

Re: [PATCH v7 2/2] add new platform driver for PCI RC

2016-02-04 Thread Joao Pinto
Hi Arnd and Bjorn, On 2/3/2016 9:01 PM, Arnd Bergmann wrote: > On Wednesday 03 February 2016 12:38:44 Bjorn Helgaas wrote: >> On Wed, Feb 03, 2016 at 06:12:00PM +0000, Joao Pinto wrote: >> >>> - replace "snps,pcie-synopsys" for "snps,pcie-synopsys-

Re: [PATCH v7 2/2] add new platform driver for PCI RC

2016-02-03 Thread Joao Pinto
o include the config space Joao On 2/3/2016 6:05 PM, Bjorn Helgaas wrote: > Hi Joao & Arnd, > > On Tue, Feb 02, 2016 at 09:25:25PM +0100, Arnd Bergmann wrote: >> On Monday 01 February 2016 18:07:45 Joao Pinto wrote: >>> This patch adds a new driver that will be the

Re: [PATCH v7 0/2] adding PCI support to AXS10x

2016-02-02 Thread Joao Pinto
Found it. Thanks. On 2/2/2016 5:17 PM, Joao Pinto wrote: > Hi Bjorn, > Thanks. Could you please send me the git URL for me to give it a try? > > Joao > > On 2/2/2016 5:14 PM, Bjorn Helgaas wrote: >> On Mon, Feb 01, 2016 at 06:07:43PM +, Joao Pinto wrote: >>&g

Re: [PATCH v7 0/2] adding PCI support to AXS10x

2016-02-02 Thread Joao Pinto
Hi Bjorn, Thanks. Could you please send me the git URL for me to give it a try? Joao On 2/2/2016 5:14 PM, Bjorn Helgaas wrote: > On Mon, Feb 01, 2016 at 06:07:43PM +0000, Joao Pinto wrote: >> This patch set has the goal to add suppport for DesignWare PCIe RC in ARC >> AXS10x.

[PATCH v7 2/2] add new platform driver for PCI RC

2016-02-01 Thread Joao Pinto
-New driver called pcie-synopsys Signed-off-by: Joao Pinto --- Change v6 -> v7 (Bjorn Helgaas): - driver name was changed from pcie-snpsdev to pcie-synopsys - driver internals (functions and certain variables) also changed name accordingly - devicetree bindings documentation also chan

[PATCH v7 1/2] PCI support added to ARC

2016-02-01 Thread Joao Pinto
This patch adds PCI support to ARC and updates drivers/pci Makefile enabling the ARC arch to use the generic PCI setup functions. Signed-off-by: Joao Pinto --- Change v6 -> v7 (Bjorn Helgaas): - Parenthesis removed from definitions Change v5 -> v6 (Vineet Gupta): - Removed EXPORT_

[PATCH v7 0/2] adding PCI support to AXS10x

2016-02-01 Thread Joao Pinto
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-synopsys.txt | 33 +++ MAINTAINERS

Re: [PATCH v6 1/2] PCI support added to ARC

2016-02-01 Thread Joao Pinto
tes to the other patch. > > On Thu, Jan 14, 2016 at 11:04:32AM +, Joao Pinto wrote: >> This patch adds PCI support to ARC and updates drivers/pci Makefile >> enabling the ARC arch to use the generic PCI setup functions. >> >> Signed-off-by: Joao Pinto >> --- >

Re: [PATCH v6 1/2] PCI support added to ARC

2016-01-28 Thread Joao Pinto
Hi Bjorn, Thanks for the info. Joao On 1/27/2016 9:59 PM, Bjorn Helgaas wrote: > Hi Joao, > > On Wed, Jan 27, 2016 at 02:29:21PM +0000, Joao Pinto wrote: >> Hi Bjorn, >> Could you please tell me what are the perspectives of pulling this patch set >> to >> m

Re: [PATCH v6 1/2] PCI support added to ARC

2016-01-27 Thread Joao Pinto
Hi Bjorn, Could you please tell me what are the perspectives of pulling this patch set to mainline? On 1/14/2016 11:11 AM, Vineet Gupta wrote: > On Thursday 14 January 2016 04:34 PM, Joao Pinto wrote: >> This patch adds PCI support to ARC and updates drivers/pci Makefile >> enabli

Re: [PATCH v6 1/2] PCI support added to ARC

2016-01-18 Thread Joao Pinto
Hi Bjorn, On 1/14/2016 11:11 AM, Vineet Gupta wrote: > On Thursday 14 January 2016 04:34 PM, Joao Pinto wrote: >> This patch adds PCI support to ARC and updates drivers/pci Makefile >> enabling the ARC arch to use the generic PCI setup functions. >> >> Signed-off-by

Re: [PATCH v5 1/2] PCI support added to ARC

2016-01-14 Thread Joao Pinto
Hi, On 1/14/2016 10:51 AM, Vineet Gupta wrote: > On Thursday 14 January 2016 04:12 PM, Joao Pinto wrote: >> Hi, >> >> On 1/14/2016 10:22 AM, Arnd Bergmann wrote: >>> On Thursday 14 January 2016 05:26:58 Vineet Gupta wrote: >>>>> +/* >>>>

Re: [PATCH v5 1/2] PCI support added to ARC

2016-01-14 Thread Joao Pinto
Hi, On 1/14/2016 10:22 AM, Arnd Bergmann wrote: > On Thursday 14 January 2016 05:26:58 Vineet Gupta wrote: >>> +/* >>> + * We don't have to worry about legacy ISA devices, so nothing to do here >>> + */ >>> +resource_size_t pcibios_align_resource(void *data, const struct resource >>> *res, >>> +

[PATCH v5 1/2] PCI support added to ARC

2016-01-12 Thread Joao Pinto
This patch adds PCI support to ARC and updates drivers/pci Makefile enabling the ARC arch to use the generic PCI setup functions. Signed-off-by: Joao Pinto --- Change v4 -> v5 (Vineet Gupta): - pcibios.c unused functions, variables and includes were removed - ioremap.c has no need for chan

[PATCH v5 2/2] add new platform driver for PCI RC

2016-01-12 Thread Joao Pinto
-MAINTAINERS file was updated to include the new driver -Documentation/devicetree/bindings/pci was updated to include the new driver documentation -New driver called pcie-snpsdev Signed-off-by: Joao Pinto --- Change v4 -> v5: - Nothing changed (just to keep up with patch set version). Changes

[PATCH v5 0/2] adding PCI support to AXS10x

2016-01-12 Thread Joao Pinto
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

Re: [PATCH v4 1/2] PCI support added to ARC

2016-01-12 Thread Joao Pinto
Hi Vineet, On 1/12/2016 6:05 AM, Vineet Gupta wrote: > On Monday 11 January 2016 10:54 PM, Joao Pinto wrote: >> This patch adds PCI support to ARC and updates drivers/pci Makefile enabling >> the ARC arch to use the generic PCI setup functions. >> >> Signed-off-by: Joao

[PATCH v4 0/2] adding PCI support to AXS10x

2016-01-11 Thread Joao Pinto
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

[PATCH v4 1/2] PCI support added to ARC

2016-01-11 Thread Joao Pinto
This patch adds PCI support to ARC and updates drivers/pci Makefile enabling the ARC arch to use the generic PCI setup functions. Signed-off-by: Joao Pinto --- Change v3 -> v4: - Nothing changed (just to keep up with patch set version). Change v2 -> v3 (Bjorn Helgaas): - arch/arc/

[PATCH v4 2/2] add new platform driver for PCI RC

2016-01-11 Thread Joao Pinto
-MAINTAINERS file was updated to include the new driver -Documentation/devicetree/bindings/pci was updated to include the new driver documentation -New driver called pcie-snpsdev Signed-off-by: Joao Pinto --- Changes v3 -> v4 (Bjorn Helgaas): - ARCH dependencies were added to the drivers/pci/h

Re: [PATCH v3 0/2] adding PCI support to AXS10x

2016-01-11 Thread Joao Pinto
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/2

Re: [PATCH v3 0/2] adding PCI support to AXS10x

2016-01-11 Thread Joao Pinto
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, n

Re: [PATCH v3 0/2] adding PCI support to AXS10x

2016-01-11 Thread Joao Pinto
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, n

[PATCH v3 2/2] add new platform driver for PCI RC

2015-12-21 Thread Joao Pinto
-MAINTAINERS file was updated to include the new driver -Documentation/devicetree/bindings/pci was updated to include the new driver documentation -New driver called pcie-snpsdev Signed-off-by: Joao Pinto --- Changes v2 -> v3: - link init stuff was moved to a snpsdev_pcie_establish_link() funct

[PATCH v3 1/2] PCI support added to ARC

2015-12-21 Thread Joao Pinto
This patch adds PCI support to ARC and updates drivers/pci Makefile enabling the ARC arch to use the generic PCI setup functions. Signed-off-by: Joao Pinto --- Change v2 -> v3 (Bjorn Helgaas): - arch/arc/kernel/pcibios.c unused functions were removed and also the arch/arc/include/asm/mach/pc

[PATCH v3 0/2] adding PCI support to AXS10x

2015-12-21 Thread Joao Pinto
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