linux/drivers/infiniband/hw/ehca
Hoang-Nam Nguyen f2d9136133 IB/ehca: Use proper GFP_ flags for get_zeroed_page()
Here is a patch for ehca to use proper flag, ie. GFP_ATOMIC
resp. GFP_KERNEL, when calling get_zeroed_page() to prevent "Bug:
scheduling while atomic...". This error does not cause a kernel panic
but makes ipoib un-usable afterwards.  It is reproducible on
2.6.20-rc4 if one does ifconfig down during a flood ping test.  I have
not observed this error in earlier releases incl. 2.6.20-rc1.

This error occurs when a qp event/irq is received and ehca event
handler allocates a control block/page to obtain HCA error data block.
Use of GFP_ATOMIC when in interrupt context prevents this issue.

Signed-off-by Hoang-Nam Nguyen <hnguyen@de.ibm.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
2007-01-09 14:14:24 -08:00
..
ehca_av.c [PATCH] slab: remove SLAB_KERNEL 2006-12-07 08:39:24 -08:00
ehca_classes.h IB/ehca: Add driver for IBM eHCA InfiniBand adapters 2006-09-22 15:22:22 -07:00
ehca_classes_pSeries.h IB/ehca: Add driver for IBM eHCA InfiniBand adapters 2006-09-22 15:22:22 -07:00
ehca_cq.c [PATCH] slab: remove SLAB_KERNEL 2006-12-07 08:39:24 -08:00
ehca_eq.c IB/ehca: Add driver for IBM eHCA InfiniBand adapters 2006-09-22 15:22:22 -07:00
ehca_hca.c IB/ehca: Use proper GFP_ flags for get_zeroed_page() 2007-01-09 14:14:24 -08:00
ehca_irq.c IB/ehca: Use proper GFP_ flags for get_zeroed_page() 2007-01-09 14:14:24 -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: Use proper GFP_ flags for get_zeroed_page() 2007-01-09 14:14:24 -08:00
ehca_main.c IB/ehca: Use proper GFP_ flags for get_zeroed_page() 2007-01-09 14:14:24 -08:00
ehca_mcast.c IB/ehca: Add driver for IBM eHCA InfiniBand adapters 2006-09-22 15:22:22 -07:00
ehca_mrmw.c IB/ehca: Use proper GFP_ flags for get_zeroed_page() 2007-01-09 14:14:24 -08:00
ehca_mrmw.h IB/ehca: Add driver for IBM eHCA InfiniBand adapters 2006-09-22 15:22:22 -07:00
ehca_pd.c [PATCH] slab: remove SLAB_KERNEL 2006-12-07 08:39:24 -08:00
ehca_qes.h IB/ehca: Add driver for IBM eHCA InfiniBand adapters 2006-09-22 15:22:22 -07:00
ehca_qp.c IB/ehca: Use proper GFP_ flags for get_zeroed_page() 2007-01-09 14:14:24 -08:00
ehca_reqs.c IB/ehca: Add driver for IBM eHCA InfiniBand adapters 2006-09-22 15:22:22 -07:00
ehca_sqp.c IB/ehca: Add driver for IBM eHCA InfiniBand adapters 2006-09-22 15:22:22 -07:00
ehca_tools.h IB/ehca: Fix eHCA driver compilation for uniprocessor 2006-10-30 20:52:51 -08:00
ehca_uverbs.c IB/ehca: Add driver for IBM eHCA InfiniBand adapters 2006-09-22 15:22:22 -07:00
hcp_if.c IB/ehca: Add driver for IBM eHCA InfiniBand adapters 2006-09-22 15:22:22 -07:00
hcp_if.h IB/ehca: Add driver for IBM eHCA InfiniBand adapters 2006-09-22 15:22:22 -07:00
hcp_phyp.c IB/ehca: Add driver for IBM eHCA InfiniBand adapters 2006-09-22 15:22:22 -07:00
hcp_phyp.h IB/ehca: Add driver for IBM eHCA InfiniBand adapters 2006-09-22 15:22:22 -07:00
hipz_fns.h IB/ehca: Add driver for IBM eHCA InfiniBand adapters 2006-09-22 15:22:22 -07:00
hipz_fns_core.h IB/ehca: Add driver for IBM eHCA InfiniBand adapters 2006-09-22 15:22:22 -07:00
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 IB/ehca: Add driver for IBM eHCA InfiniBand adapters 2006-09-22 15:22:22 -07:00