All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] IB/mlx5: Limit to 64-bit builds
@ 2019-05-30 11:35 Guenter Roeck
  2019-05-30 12:22 ` Leon Romanovsky
  0 siblings, 1 reply; 3+ messages in thread
From: Guenter Roeck @ 2019-05-30 11:35 UTC (permalink / raw)
  To: Leon Romanovsky
  Cc: Doug Ledford, Jason Gunthorpe, linux-rdma, linux-kernel,
	Guenter Roeck, Ariel Levkovich

32-bit builds fail with errors such as

ERROR: "__udivdi3" [drivers/infiniband/hw/mlx5/mlx5_ib.ko] undefined!

Fixes: 25c13324d03d ("IB/mlx5: Add steering SW ICM device memory type")
Cc: Ariel Levkovich <lariel@mellanox.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
---
 drivers/infiniband/hw/mlx5/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/infiniband/hw/mlx5/Kconfig b/drivers/infiniband/hw/mlx5/Kconfig
index ea248def4556..574b97da7a43 100644
--- a/drivers/infiniband/hw/mlx5/Kconfig
+++ b/drivers/infiniband/hw/mlx5/Kconfig
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0-only
 config MLX5_INFINIBAND
 	tristate "Mellanox 5th generation network adapters (ConnectX series) support"
-	depends on NETDEVICES && ETHERNET && PCI && MLX5_CORE
+	depends on NETDEVICES && ETHERNET && PCI && MLX5_CORE && 64BIT
 	---help---
 	  This driver provides low-level InfiniBand support for
 	  Mellanox Connect-IB PCI Express host channel adapters (HCAs).
-- 
2.7.4

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

* Re: [PATCH] IB/mlx5: Limit to 64-bit builds
  2019-05-30 11:35 [PATCH] IB/mlx5: Limit to 64-bit builds Guenter Roeck
@ 2019-05-30 12:22 ` Leon Romanovsky
  2019-05-30 12:37   ` Guenter Roeck
  0 siblings, 1 reply; 3+ messages in thread
From: Leon Romanovsky @ 2019-05-30 12:22 UTC (permalink / raw)
  To: Guenter Roeck
  Cc: Doug Ledford, Jason Gunthorpe, linux-rdma, linux-kernel, Ariel Levkovich

On Thu, May 30, 2019 at 04:35:44AM -0700, Guenter Roeck wrote:
> 32-bit builds fail with errors such as
>
> ERROR: "__udivdi3" [drivers/infiniband/hw/mlx5/mlx5_ib.ko] undefined!

It is fixed in rdma-rc.
https://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma.git/commit/?h=wip/jgg-for-rc&id=37eb86c4507abcb14fc346863e83aa8751aa4675

Thanks

>
> Fixes: 25c13324d03d ("IB/mlx5: Add steering SW ICM device memory type")
> Cc: Ariel Levkovich <lariel@mellanox.com>
> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
> ---
>  drivers/infiniband/hw/mlx5/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/infiniband/hw/mlx5/Kconfig b/drivers/infiniband/hw/mlx5/Kconfig
> index ea248def4556..574b97da7a43 100644
> --- a/drivers/infiniband/hw/mlx5/Kconfig
> +++ b/drivers/infiniband/hw/mlx5/Kconfig
> @@ -1,7 +1,7 @@
>  # SPDX-License-Identifier: GPL-2.0-only
>  config MLX5_INFINIBAND
>  	tristate "Mellanox 5th generation network adapters (ConnectX series) support"
> -	depends on NETDEVICES && ETHERNET && PCI && MLX5_CORE
> +	depends on NETDEVICES && ETHERNET && PCI && MLX5_CORE && 64BIT
>  	---help---
>  	  This driver provides low-level InfiniBand support for
>  	  Mellanox Connect-IB PCI Express host channel adapters (HCAs).
> --
> 2.7.4
>

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

* Re: [PATCH] IB/mlx5: Limit to 64-bit builds
  2019-05-30 12:22 ` Leon Romanovsky
@ 2019-05-30 12:37   ` Guenter Roeck
  0 siblings, 0 replies; 3+ messages in thread
From: Guenter Roeck @ 2019-05-30 12:37 UTC (permalink / raw)
  To: Leon Romanovsky
  Cc: Doug Ledford, Jason Gunthorpe, linux-rdma, linux-kernel, Ariel Levkovich

On 5/30/19 5:22 AM, Leon Romanovsky wrote:
> On Thu, May 30, 2019 at 04:35:44AM -0700, Guenter Roeck wrote:
>> 32-bit builds fail with errors such as
>>
>> ERROR: "__udivdi3" [drivers/infiniband/hw/mlx5/mlx5_ib.ko] undefined!
> 
> It is fixed in rdma-rc.
> https://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma.git/commit/?h=wip/jgg-for-rc&id=37eb86c4507abcb14fc346863e83aa8751aa4675
> 

Excellent, and sorry for the noise.

Guenter

> Thanks
> 
>>
>> Fixes: 25c13324d03d ("IB/mlx5: Add steering SW ICM device memory type")
>> Cc: Ariel Levkovich <lariel@mellanox.com>
>> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
>> ---
>>   drivers/infiniband/hw/mlx5/Kconfig | 2 +-
>>   1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/drivers/infiniband/hw/mlx5/Kconfig b/drivers/infiniband/hw/mlx5/Kconfig
>> index ea248def4556..574b97da7a43 100644
>> --- a/drivers/infiniband/hw/mlx5/Kconfig
>> +++ b/drivers/infiniband/hw/mlx5/Kconfig
>> @@ -1,7 +1,7 @@
>>   # SPDX-License-Identifier: GPL-2.0-only
>>   config MLX5_INFINIBAND
>>   	tristate "Mellanox 5th generation network adapters (ConnectX series) support"
>> -	depends on NETDEVICES && ETHERNET && PCI && MLX5_CORE
>> +	depends on NETDEVICES && ETHERNET && PCI && MLX5_CORE && 64BIT
>>   	---help---
>>   	  This driver provides low-level InfiniBand support for
>>   	  Mellanox Connect-IB PCI Express host channel adapters (HCAs).
>> --
>> 2.7.4
>>
> 

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

end of thread, other threads:[~2019-05-30 12:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-30 11:35 [PATCH] IB/mlx5: Limit to 64-bit builds Guenter Roeck
2019-05-30 12:22 ` Leon Romanovsky
2019-05-30 12:37   ` Guenter Roeck

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.