2018-06-21 14:07:36

by Gustavo Pimentel

[permalink] [raw]
Subject: [PATCH v2] ARC: Add PCIe support for ARC HSDK platform

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

Signed-off-by: Gustavo Pimentel <[email protected]>
Acked-by: Alexey Brodkin <[email protected]>
---
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




2018-06-21 16:09:05

by Vineet Gupta

[permalink] [raw]
Subject: Re: [PATCH v2] ARC: Add PCIe support for ARC HSDK platform

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 <[email protected]>
> Acked-by: Alexey Brodkin <[email protected]>

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


2018-06-21 16:29:08

by Gustavo Pimentel

[permalink] [raw]
Subject: Re: [PATCH v2] ARC: Add PCIe support for ARC HSDK platform

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 <[email protected]>
>> Acked-by: Alexey Brodkin <[email protected]>
>
> 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
>