Linux/linux c536277drivers/infiniband/sw/siw siw_cm.c siw_qp_tx.c

RDMA/siw: Fix 64/32bit pointer inconsistency

Fixes improper casting between addresses and unsigned types.
Changes siw_pbl_get_buffer() function to return appropriate
dma_addr_t, and not u64.

Also fixes debug prints. Now any potentially kernel private
pointers are printed formatted as '%pK', to allow keeping that
information secret.

Fixes: d941bfe500be ("RDMA/siw: Change CQ flags from 64->32 bits")
Fixes: b0fff7317bb4 ("rdma/siw: completion queue methods")
Fixes: 8b6a361b8c48 ("rdma/siw: receive path")
Fixes: b9be6f18cf9e ("rdma/siw: transmit path")
Fixes: f29dd55b0236 ("rdma/siw: queue pair methods")
Fixes: 2251334dcac9 ("rdma/siw: application buffer management")
Fixes: 303ae1cdfdf7 ("rdma/siw: application interface")
Fixes: 6c52fdc244b5 ("rdma/siw: connection management")
Fixes: a531975279f3 ("rdma/siw: main include file")

Reported-by: Geert Uytterhoeven <geert at linux-m68k.org>
Reported-by: Jason Gunthorpe <jgg at ziepe.ca>
Reported-by: Leon Romanovsky <leon at kernel.org>
Signed-off-by: Bernard Metzler <bmt at zurich.ibm.com>
Link: https://lore.kernel.org/r/20190822173738.26817-1-bmt@zurich.ibm.com
Signed-off-by: Doug Ledford <dledford at redhat.com>
DeltaFile
+36-41drivers/infiniband/sw/siw/siw_cm.c
+22-21drivers/infiniband/sw/siw/siw_qp_tx.c
+20-20drivers/infiniband/sw/siw/siw_verbs.c
+14-12drivers/infiniband/sw/siw/siw_qp_rx.c
+7-7drivers/infiniband/sw/siw/siw_mem.c
+4-4drivers/infiniband/sw/siw/siw.h
+3-2drivers/infiniband/sw/siw/siw_cq.c
+1-1drivers/infiniband/sw/siw/siw_qp.c
+1-1drivers/infiniband/sw/siw/siw_mem.h
+108-1099 files

UnifiedSplitRaw