alistair23-linux/drivers/scsi/bfa
Alexey Khoroshilov dc6d2a0f97 bfa: allocate memory with GFP_ATOMIC in spinlock context
bfa_fcb_pbc_vport_create() is called only from bfa_fcs_pbc_vport_init(),
that is called only from bfad_drv_start() with bfad_lock spinlock held.
So the patch replaces GFP_KERNEL with GFP_ATOMIC to avoid
sleeping in atomic spinlock context.

Found by Linux Driver Verification project (linuxtesting.org).

Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Acked-by: Anil Gurumurthy <anil.gurumurthy@qlogic.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
2014-05-19 19:12:22 +02:00
..
bfa.h
bfa_core.c [SCSI] bfa: Fix for bcu or hcm faa query hang 2013-12-19 07:39:05 -08:00
bfa_cs.h
bfa_defs.h [SCSI] bfa: Firmware patch simplification 2013-12-19 07:39:04 -08:00
bfa_defs_fcs.h
bfa_defs_svc.h
bfa_fc.h [SCSI] bfa: change FC_ELS_TOV to 20sec 2013-12-19 07:39:05 -08:00
bfa_fcbuild.c
bfa_fcbuild.h
bfa_fcpim.c
bfa_fcpim.h
bfa_fcs.c
bfa_fcs.h [SCSI] bfa: Fix crash when symb name set for offline vport 2013-12-03 06:56:49 -08:00
bfa_fcs_fcpim.c
bfa_fcs_lport.c [SCSI] bfa: LUN discovery issue in direct attach mode 2013-12-19 07:39:05 -08:00
bfa_fcs_rport.c
bfa_hw_cb.c
bfa_hw_ct.c
bfa_ioc.c [SCSI] bfa: Replace large udelay() with mdelay() 2014-03-19 15:04:47 -07:00
bfa_ioc.h [SCSI] bfa: Firmware patch simplification 2013-12-19 07:39:04 -08:00
bfa_ioc_cb.c [SCSI] bfa: Firmware patch simplification 2013-12-19 07:39:04 -08:00
bfa_ioc_ct.c
bfa_modules.h
bfa_plog.h
bfa_port.c
bfa_port.h
bfa_svc.c [SCSI] bfa: Observed auto D-port mode instead of manual 2013-12-19 07:39:05 -08:00
bfa_svc.h
bfad.c bfa: allocate memory with GFP_ATOMIC in spinlock context 2014-05-19 19:12:22 +02:00
bfad_attr.c [SCSI] bfa: Fix crash when symb name set for offline vport 2013-12-03 06:56:49 -08:00
bfad_bsg.c [SCSI] bfa: fix missing unlock on error in bfad_iocmd_cfg_trunk() 2014-03-15 10:19:00 -07:00
bfad_bsg.h [SCSI] bfa: Firmware patch simplification 2013-12-19 07:39:04 -08:00
bfad_debugfs.c
bfad_drv.h [SCSI] bfa: Driver version upgrade to 3.2.23.0 2013-12-19 07:39:06 -08:00
bfad_im.c [SCSI] bfa: set correct command return code 2014-03-15 10:19:17 -07:00
bfad_im.h
bfi.h [SCSI] bfa: Observed auto D-port mode instead of manual 2013-12-19 07:39:05 -08:00
bfi_ms.h
bfi_reg.h
Makefile