Linux RDMA and InfiniBand development
 help / color / mirror / Atom feed
* [PATCH 0/1] Fix siw CQ processing for 32 bit archtecture support
@ 2019-08-05 14:17 Bernard Metzler
  2019-08-05 14:17 ` [PATCH 1/1] Make user mmapped CQ arming flags field 32 bit size to remove 64 bit architecture dependency of siw Bernard Metzler
  0 siblings, 1 reply; 17+ messages in thread
From: Bernard Metzler @ 2019-08-05 14:17 UTC (permalink / raw)
  To: linux-rdma; +Cc: jgg, Bernard Metzler

Change driver/user shared (mmapped) CQ notification flags field
to unaligned 32-bits size. This enables building siw on 32-bit
architectures.

The original idea to introduce test_and_clear_bit() for testing CQ
arming during CQE processing was abandoned, since it would
require architecture spcific siw-abi notation: test_and_clear_bit()
expects an unsigned long field, which has an architecture specific
size.

This patch applies to 5.3-rc3.

Bernard Metzler (1):
  Make user mmapped CQ arming flags field 32 bit size to remove 64 bit
    architecture dependency of siw.

 drivers/infiniband/sw/siw/Kconfig     |  2 +-
 drivers/infiniband/sw/siw/siw.h       |  2 +-
 drivers/infiniband/sw/siw/siw_qp.c    | 14 ++++++++++----
 drivers/infiniband/sw/siw/siw_verbs.c | 16 +++++++++++-----
 include/uapi/rdma/siw-abi.h           |  3 ++-
 5 files changed, 25 insertions(+), 12 deletions(-)

-- 
2.17.2


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

end of thread, other threads:[~2019-08-08 15:39 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-08-05 14:17 [PATCH 0/1] Fix siw CQ processing for 32 bit archtecture support Bernard Metzler
2019-08-05 14:17 ` [PATCH 1/1] Make user mmapped CQ arming flags field 32 bit size to remove 64 bit architecture dependency of siw Bernard Metzler
2019-08-05 17:09   ` Leon Romanovsky
2019-08-06 11:58     ` Bernard Metzler
2019-08-06 12:10   ` Jason Gunthorpe
2019-08-06 12:32     ` Doug Ledford
2019-08-06 13:09       ` Bernard Metzler
2019-08-06 14:53     ` Bernard Metzler
2019-08-06 15:31       ` Jason Gunthorpe
2019-08-06 16:36         ` Bernard Metzler
2019-08-06 16:39           ` Jason Gunthorpe
2019-08-06 17:01             ` Bernard Metzler
2019-08-06 17:35               ` Jason Gunthorpe
2019-08-07 17:49                 ` Bernard Metzler
2019-08-07 18:53                   ` Doug Ledford
2019-08-08 14:17                     ` Bernard Metzler
2019-08-08 15:39                       ` Jason Gunthorpe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox