android_kernel_xiaomi_sm8350/drivers/infiniband/hw/ehca
Hoang-Nam Nguyen 2771e9ed47 IB/ehca: Use WQE offset instead of WQE addr for pending work reqs
This is a patch for ehca to fix a bug in prepare_sqe_to_rts(), which
used WQE address to iterate pending work requests.  This might cause
an access violation since the queue pages can not be assumed to follow
each other consecutively.  Thus, this patch introduces a few queue
functions to determine WQE offset based on its address and uses WQE
offset to iterate the pending work requests.

Signed-off-by: Hoang-Nam Nguyen <hnguyen@de.ibm.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
2006-11-29 15:33:08 -08:00
..
ehca_av.c IB/ehca: Use named constant for max mtu 2006-11-13 08:46:28 -08:00
ehca_classes_pSeries.h
ehca_classes.h
ehca_cq.c
ehca_eq.c
ehca_hca.c IB/ehca: Assure 4K alignment for firmware control blocks 2006-11-09 12:41:57 -08:00
ehca_irq.c IB/ehca: Assure 4K alignment for firmware control blocks 2006-11-09 12:41:57 -08:00
ehca_irq.h IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
ehca_iverbs.h IB/ehca: Assure 4K alignment for firmware control blocks 2006-11-09 12:41:57 -08:00
ehca_main.c IB/ehca: Use WQE offset instead of WQE addr for pending work reqs 2006-11-29 15:33:08 -08:00
ehca_mcast.c
ehca_mrmw.c IB/ehca: Assure 4K alignment for firmware control blocks 2006-11-09 12:41:57 -08:00
ehca_mrmw.h
ehca_pd.c
ehca_qes.h
ehca_qp.c IB/ehca: Use WQE offset instead of WQE addr for pending work reqs 2006-11-29 15:33:08 -08:00
ehca_reqs.c
ehca_sqp.c
ehca_tools.h IB/ehca: Fix eHCA driver compilation for uniprocessor 2006-10-30 20:52:51 -08:00
ehca_uverbs.c
hcp_if.c
hcp_if.h
hcp_phyp.c
hcp_phyp.h
hipz_fns_core.h
hipz_fns.h
hipz_hw.h IB/ehca: Use named constant for max mtu 2006-11-13 08:46:28 -08:00
ipz_pt_fn.c IB/ehca: Use WQE offset instead of WQE addr for pending work reqs 2006-11-29 15:33:08 -08:00
ipz_pt_fn.h IB/ehca: Use WQE offset instead of WQE addr for pending work reqs 2006-11-29 15:33:08 -08:00
Kconfig IB/ehca: Activate scaling code by default 2006-11-13 08:46:28 -08:00
Makefile