diff mbox series

[SRU,Bionic] net-next/hinic: add arm64 support

Message ID 20180508141349.GA30537@xps13.dannf
State New
Headers show
Series [SRU,Bionic] net-next/hinic: add arm64 support | expand

Commit Message

dann frazier May 8, 2018, 2:13 p.m. UTC
From: Zhao Chen <zhaochen6@huawei.com>

BugLink: https://bugs.launchpad.net/bugs/1769899

This patch enables arm64 platform support for the HINIC driver.

Signed-off-by: Zhao Chen <zhaochen6@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry picked from linux-next commit 292eba02dbb4c41da840e462e51ee97d80d873d1)
Signed-off-by: dann frazier <dann.frazier@canonical.com>
---
 drivers/net/ethernet/huawei/hinic/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Kleber Sacilotto de Souza May 11, 2018, 3:17 p.m. UTC | #1
On 05/08/18 16:13, dann frazier wrote:
> From: Zhao Chen <zhaochen6@huawei.com>
> 
> BugLink: https://bugs.launchpad.net/bugs/1769899
> 
> This patch enables arm64 platform support for the HINIC driver.
> 
> Signed-off-by: Zhao Chen <zhaochen6@huawei.com>
> Signed-off-by: David S. Miller <davem@davemloft.net>
> (cherry picked from linux-next commit 292eba02dbb4c41da840e462e51ee97d80d873d1)
> Signed-off-by: dann frazier <dann.frazier@canonical.com>

Acked-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>

> ---
>  drivers/net/ethernet/huawei/hinic/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/net/ethernet/huawei/hinic/Kconfig b/drivers/net/ethernet/huawei/hinic/Kconfig
> index 08db24954f7e..e4e8b24c1a5d 100644
> --- a/drivers/net/ethernet/huawei/hinic/Kconfig
> +++ b/drivers/net/ethernet/huawei/hinic/Kconfig
> @@ -4,7 +4,7 @@
>  
>  config HINIC
>  	tristate "Huawei Intelligent PCIE Network Interface Card"
> -	depends on (PCI_MSI && X86)
> +	depends on (PCI_MSI && (X86 || ARM64))
>  	---help---
>  	  This driver supports HiNIC PCIE Ethernet cards.
>  	  To compile this driver as part of the kernel, choose Y here.
>
Po-Hsu Lin May 16, 2018, 9:52 a.m. UTC | #2
Just adding support for ARM,
Acked-by: Po-Hsu Lin <po-hsu.lin@canonical.com>
Kleber Sacilotto de Souza May 17, 2018, 9:59 a.m. UTC | #3
On 05/08/18 16:13, dann frazier wrote:
> From: Zhao Chen <zhaochen6@huawei.com>
> 
> BugLink: https://bugs.launchpad.net/bugs/1769899
> 
> This patch enables arm64 platform support for the HINIC driver.
> 
> Signed-off-by: Zhao Chen <zhaochen6@huawei.com>
> Signed-off-by: David S. Miller <davem@davemloft.net>
> (cherry picked from linux-next commit 292eba02dbb4c41da840e462e51ee97d80d873d1)
> Signed-off-by: dann frazier <dann.frazier@canonical.com>
> ---
>  drivers/net/ethernet/huawei/hinic/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/net/ethernet/huawei/hinic/Kconfig b/drivers/net/ethernet/huawei/hinic/Kconfig
> index 08db24954f7e..e4e8b24c1a5d 100644
> --- a/drivers/net/ethernet/huawei/hinic/Kconfig
> +++ b/drivers/net/ethernet/huawei/hinic/Kconfig
> @@ -4,7 +4,7 @@
>  
>  config HINIC
>  	tristate "Huawei Intelligent PCIE Network Interface Card"
> -	depends on (PCI_MSI && X86)
> +	depends on (PCI_MSI && (X86 || ARM64))
>  	---help---
>  	  This driver supports HiNIC PCIE Ethernet cards.
>  	  To compile this driver as part of the kernel, choose Y here.
> 

Applied to bionic/master-next branch.

Thanks,
Kleber
Seth Forshee May 22, 2018, 1:59 p.m. UTC | #4
On Tue, May 08, 2018 at 08:13:49AM -0600, dann frazier wrote:
> From: Zhao Chen <zhaochen6@huawei.com>
> 
> BugLink: https://bugs.launchpad.net/bugs/1769899
> 
> This patch enables arm64 platform support for the HINIC driver.
> 
> Signed-off-by: Zhao Chen <zhaochen6@huawei.com>
> Signed-off-by: David S. Miller <davem@davemloft.net>
> (cherry picked from linux-next commit 292eba02dbb4c41da840e462e51ee97d80d873d1)
> Signed-off-by: dann frazier <dann.frazier@canonical.com>

Applied to unstable/master, thanks!
diff mbox series

Patch

diff --git a/drivers/net/ethernet/huawei/hinic/Kconfig b/drivers/net/ethernet/huawei/hinic/Kconfig
index 08db24954f7e..e4e8b24c1a5d 100644
--- a/drivers/net/ethernet/huawei/hinic/Kconfig
+++ b/drivers/net/ethernet/huawei/hinic/Kconfig
@@ -4,7 +4,7 @@ 
 
 config HINIC
 	tristate "Huawei Intelligent PCIE Network Interface Card"
-	depends on (PCI_MSI && X86)
+	depends on (PCI_MSI && (X86 || ARM64))
 	---help---
 	  This driver supports HiNIC PCIE Ethernet cards.
 	  To compile this driver as part of the kernel, choose Y here.