diff options
author | Jason Gunthorpe <jgg@mellanox.com> | 2019-07-12 11:12:06 -0400 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2019-07-12 11:12:06 -0400 |
commit | 0b043644c0ca601cb19943a81aa1f1455dbe9461 (patch) | |
tree | 61fc8caabd98dc834ca1117eb41a149ac64dff41 /drivers | |
parent | cea743f2ea814d3d54dfab667b68271d4f4e5fdf (diff) |
RMDA/siw: Require a 64 bit arch
The new siw driver fails to build on i386 with
drivers/infiniband/sw/siw/siw_qp.c:1025:3: error: invalid output size for constraint '+q'
smp_store_mb(*cq->notify, SIW_NOTIFY_NOT);
As it is using 64 bit values with the smp_store_mb.
Since the entire scheme here seems questionable, and we are in the merge
window, fix the compile failures by disabling 32 bit support on this
driver.
A proper fix will be reviewed post merge window.
Fixes: c0cf5bdde46c ("rdma/siw: addition to kernel build environment")
Reported-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/infiniband/sw/siw/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/sw/siw/Kconfig b/drivers/infiniband/sw/siw/Kconfig index b622fc62f2cd..dace276aea14 100644 --- a/drivers/infiniband/sw/siw/Kconfig +++ b/drivers/infiniband/sw/siw/Kconfig | |||
@@ -1,6 +1,6 @@ | |||
1 | config RDMA_SIW | 1 | config RDMA_SIW |
2 | tristate "Software RDMA over TCP/IP (iWARP) driver" | 2 | tristate "Software RDMA over TCP/IP (iWARP) driver" |
3 | depends on INET && INFINIBAND && LIBCRC32C | 3 | depends on INET && INFINIBAND && LIBCRC32C && 64BIT |
4 | select DMA_VIRT_OPS | 4 | select DMA_VIRT_OPS |
5 | help | 5 | help |
6 | This driver implements the iWARP RDMA transport over | 6 | This driver implements the iWARP RDMA transport over |