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


Groups > linux.kernel > #1458866 > unrolled thread

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

Started byJoao Pinto <Joao.Pinto@synopsys.com>
First post2016-08-09 17:50 +0200
Last post2016-08-10 23:30 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] pci: adding support for PCI_MSI_IRQ_DOMAIN in ARC arch Joao Pinto <Joao.Pinto@synopsys.com> - 2016-08-09 17:50 +0200
    Re: [PATCH] pci: adding support for PCI_MSI_IRQ_DOMAIN in ARC arch Vineet Gupta <Vineet.Gupta1@synopsys.com> - 2016-08-10 23:30 +0200

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

FromJoao Pinto <Joao.Pinto@synopsys.com>
Date2016-08-09 17:50 +0200
Subject[PATCH] pci: adding support for PCI_MSI_IRQ_DOMAIN in ARC arch
Message-ID<s4hrX-134-23@gated-at.bofh.it>
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 <jpinto@synopsys.com>
---
 arch/arc/include/asm/Kbuild | 1 +
 drivers/pci/Kconfig         | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/arch/arc/include/asm/Kbuild b/arch/arc/include/asm/Kbuild
index 0b10ef2..c332604 100644
--- a/arch/arc/include/asm/Kbuild
+++ b/arch/arc/include/asm/Kbuild
@@ -25,6 +25,7 @@ generic-y += mcs_spinlock.h
 generic-y += mm-arch-hooks.h
 generic-y += mman.h
 generic-y += msgbuf.h
+generic-y += msi.h
 generic-y += param.h
 generic-y += parport.h
 generic-y += pci.h
diff --git a/drivers/pci/Kconfig b/drivers/pci/Kconfig
index 67f9916..6555eb7 100644
--- a/drivers/pci/Kconfig
+++ b/drivers/pci/Kconfig
@@ -25,7 +25,7 @@ config PCI_MSI
 	   If you don't know what to do here, say Y.
 
 config PCI_MSI_IRQ_DOMAIN
-	def_bool ARM || ARM64 || X86
+	def_bool ARC || ARM || ARM64 || X86
 	depends on PCI_MSI
 	select GENERIC_MSI_IRQ_DOMAIN
 
-- 
1.8.1.5

[toc] | [next] | [standalone]


#1459971

FromVineet Gupta <Vineet.Gupta1@synopsys.com>
Date2016-08-10 23:30 +0200
Message-ID<s4Jey-29X-3@gated-at.bofh.it>
In reply to#1458866
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 an ARC platform.
>
> 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 <jpinto@synopsys.com>

LGTM - Bjorn I presume you will pick this up ?

-Vineet
> ---
>  arch/arc/include/asm/Kbuild | 1 +
>  drivers/pci/Kconfig         | 2 +-
>  2 files changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/arch/arc/include/asm/Kbuild b/arch/arc/include/asm/Kbuild
> index 0b10ef2..c332604 100644
> --- a/arch/arc/include/asm/Kbuild
> +++ b/arch/arc/include/asm/Kbuild
> @@ -25,6 +25,7 @@ generic-y += mcs_spinlock.h
>  generic-y += mm-arch-hooks.h
>  generic-y += mman.h
>  generic-y += msgbuf.h
> +generic-y += msi.h
>  generic-y += param.h
>  generic-y += parport.h
>  generic-y += pci.h
> diff --git a/drivers/pci/Kconfig b/drivers/pci/Kconfig
> index 67f9916..6555eb7 100644
> --- a/drivers/pci/Kconfig
> +++ b/drivers/pci/Kconfig
> @@ -25,7 +25,7 @@ config PCI_MSI
>  	   If you don't know what to do here, say Y.
>  
>  config PCI_MSI_IRQ_DOMAIN
> -	def_bool ARM || ARM64 || X86
> +	def_bool ARC || ARM || ARM64 || X86
>  	depends on PCI_MSI
>  	select GENERIC_MSI_IRQ_DOMAIN
>  

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web