linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] ARC: Add PCIe support for ARC HSDK platform
@ 2018-06-21 14:06 Gustavo Pimentel
  2018-06-21 16:07 ` Vineet Gupta
  0 siblings, 1 reply; 5+ messages in thread
From: Gustavo Pimentel @ 2018-06-21 14:06 UTC (permalink / raw)
  To: Vineet.Gupta1, eugeniy.paltsev, Alexey.Brodkin, robh, bhelgaas,
	joao.pinto
  Cc: linux-snps-arc, linux-kernel, linux-pci, Gustavo Pimentel

Add PCI support to the ARC HSDK platform allowing to use the generic PCI
setup functions.

Signed-off-by: Gustavo Pimentel <gustavo.pimentel@synopsys.com>
Acked-by: Alexey Brodkin <abrodkin@synopsys.com>
---
 arch/arc/plat-hsdk/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arc/plat-hsdk/Kconfig b/arch/arc/plat-hsdk/Kconfig
index 19ab3cf..556bc5e 100644
--- a/arch/arc/plat-hsdk/Kconfig
+++ b/arch/arc/plat-hsdk/Kconfig
@@ -9,3 +9,4 @@ menuconfig ARC_SOC_HSDK
 	bool "ARC HS Development Kit SOC"
 	select CLK_HSDK
 	select RESET_HSDK
+	select MIGHT_HAVE_PCI
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH v2] ARC: Add PCIe support for ARC HSDK platform
  2018-06-21 14:06 [PATCH v2] ARC: Add PCIe support for ARC HSDK platform Gustavo Pimentel
@ 2018-06-21 16:07 ` Vineet Gupta
  2018-06-21 16:26   ` Gustavo Pimentel
  0 siblings, 1 reply; 5+ messages in thread
From: Vineet Gupta @ 2018-06-21 16:07 UTC (permalink / raw)
  To: Gustavo Pimentel, eugeniy.paltsev, Alexey Brodkin, robh,
	bhelgaas, joao.pinto
  Cc: linux-snps-arc, linux-kernel, linux-pci

On 06/21/2018 07:06 AM, Gustavo Pimentel wrote:
> Add PCI support to the ARC HSDK platform allowing to use the generic PCI
> setup functions.
>
> Signed-off-by: Gustavo Pimentel <gustavo.pimentel@synopsys.com>
> Acked-by: Alexey Brodkin <abrodkin@synopsys.com>

Queued to #for-curr after minor fixed up to commit msg subject "ARC: [plat-hsdk]"

Curious, how exactly are you going to use PCI on hsdk ? What is the use case.

> ---
>  arch/arc/plat-hsdk/Kconfig | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/arch/arc/plat-hsdk/Kconfig b/arch/arc/plat-hsdk/Kconfig
> index 19ab3cf..556bc5e 100644
> --- a/arch/arc/plat-hsdk/Kconfig
> +++ b/arch/arc/plat-hsdk/Kconfig
> @@ -9,3 +9,4 @@ menuconfig ARC_SOC_HSDK
>  	bool "ARC HS Development Kit SOC"
>  	select CLK_HSDK
>  	select RESET_HSDK
> +	select MIGHT_HAVE_PCI


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH v2] ARC: Add PCIe support for ARC HSDK platform
  2018-06-21 16:07 ` Vineet Gupta
@ 2018-06-21 16:26   ` Gustavo Pimentel
  0 siblings, 0 replies; 5+ messages in thread
From: Gustavo Pimentel @ 2018-06-21 16:26 UTC (permalink / raw)
  To: Vineet Gupta, Gustavo Pimentel, eugeniy.paltsev, Alexey Brodkin,
	robh, bhelgaas, joao.pinto
  Cc: linux-snps-arc, linux-kernel, linux-pci

On 21/06/2018 17:07, Vineet Gupta wrote:
> On 06/21/2018 07:06 AM, Gustavo Pimentel wrote:
>> Add PCI support to the ARC HSDK platform allowing to use the generic PCI
>> setup functions.
>>
>> Signed-off-by: Gustavo Pimentel <gustavo.pimentel@synopsys.com>
>> Acked-by: Alexey Brodkin <abrodkin@synopsys.com>
> 
> Queued to #for-curr after minor fixed up to commit msg subject "ARC: [plat-hsdk]"
> 
> Curious, how exactly are you going to use PCI on hsdk ? What is the use case.

The ARC HSDK board is mounted on top of a HAPS DX7 or HAPS-80 using the HT3
connectors. The HAPS DX7 or HAPS-80 provides the PCIe Root Complex using the
Synopsys DesignWare PCIe IP.

Basically I'm migrating the existing use case from ARC AXS101 to ARC HSDK.

> 
>> ---
>>  arch/arc/plat-hsdk/Kconfig | 1 +
>>  1 file changed, 1 insertion(+)
>>
>> diff --git a/arch/arc/plat-hsdk/Kconfig b/arch/arc/plat-hsdk/Kconfig
>> index 19ab3cf..556bc5e 100644
>> --- a/arch/arc/plat-hsdk/Kconfig
>> +++ b/arch/arc/plat-hsdk/Kconfig
>> @@ -9,3 +9,4 @@ menuconfig ARC_SOC_HSDK
>>  	bool "ARC HS Development Kit SOC"
>>  	select CLK_HSDK
>>  	select RESET_HSDK
>> +	select MIGHT_HAVE_PCI
> 


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH v2] ARC: Add PCIe support for ARC HSDK platform
  2018-06-20 16:36 Gustavo Pimentel
@ 2018-06-20 19:09 ` Alexey Brodkin
  0 siblings, 0 replies; 5+ messages in thread
From: Alexey Brodkin @ 2018-06-20 19:09 UTC (permalink / raw)
  To: gustavo.pimentel
  Cc: robh, linux-kernel, Eugeniy.Paltsev, linux-pci, Vineet Gupta,
	bhelgaas, linux-snps-arc

Hi Gustavo,

On Wed, 2018-06-20 at 17:36 +0100, Gustavo Pimentel wrote:
> Add PCI support to the ARC HSDK platform allowing to use the generic PCI
> setup functions.
> 
> Signed-off-by: Gustavo Pimentel <gustavo.pimentel@synopsys.com>
> ---
> Change v1->v2:
>  - Split initial patch, following Alexey Brodkin suggestion.
> 
>  arch/arc/plat-hsdk/Kconfig | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/arch/arc/plat-hsdk/Kconfig b/arch/arc/plat-hsdk/Kconfig
> index 19ab3cf..556bc5e 100644
> --- a/arch/arc/plat-hsdk/Kconfig
> +++ b/arch/arc/plat-hsdk/Kconfig
> @@ -9,3 +9,4 @@ menuconfig ARC_SOC_HSDK
>  	bool "ARC HS Development Kit SOC"
>  	select CLK_HSDK
>  	select RESET_HSDK
> +	select MIGHT_HAVE_PCI

Adding Bjorn and linux-pci mailing lists, otherwise...

Acked-by: Alexey Brodkin <abrodkin@synopsys.com>


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH v2] ARC: Add PCIe support for ARC HSDK platform
@ 2018-06-20 16:36 Gustavo Pimentel
  2018-06-20 19:09 ` Alexey Brodkin
  0 siblings, 1 reply; 5+ messages in thread
From: Gustavo Pimentel @ 2018-06-20 16:36 UTC (permalink / raw)
  To: Vineet.Gupta1, Eugeniy.Paltsev, Alexey.Brodkin, robh
  Cc: linux-snps-arc, linux-kernel, Gustavo Pimentel

Add PCI support to the ARC HSDK platform allowing to use the generic PCI
setup functions.

Signed-off-by: Gustavo Pimentel <gustavo.pimentel@synopsys.com>
---
Change v1->v2:
 - Split initial patch, following Alexey Brodkin suggestion.

 arch/arc/plat-hsdk/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arc/plat-hsdk/Kconfig b/arch/arc/plat-hsdk/Kconfig
index 19ab3cf..556bc5e 100644
--- a/arch/arc/plat-hsdk/Kconfig
+++ b/arch/arc/plat-hsdk/Kconfig
@@ -9,3 +9,4 @@ menuconfig ARC_SOC_HSDK
 	bool "ARC HS Development Kit SOC"
 	select CLK_HSDK
 	select RESET_HSDK
+	select MIGHT_HAVE_PCI
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-06-21 16:28 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-21 14:06 [PATCH v2] ARC: Add PCIe support for ARC HSDK platform Gustavo Pimentel
2018-06-21 16:07 ` Vineet Gupta
2018-06-21 16:26   ` Gustavo Pimentel
  -- strict thread matches above, loose matches on Subject: below --
2018-06-20 16:36 Gustavo Pimentel
2018-06-20 19:09 ` Alexey Brodkin

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).