Re: [PATCH v2 13/20] lpfc: Fix MRQ > 1 context list handling

2017-08-07 Thread Johannes Thumshirn
On Fri, Aug 04, 2017 at 05:47:24PM -0700, James Smart wrote: > + tgtp = (struct lpfc_nvmet_tgtport *) > + phba->targetport->private; Please don't case void pointers. [...] > + list_splice(&get_infop->nvmet_ctx_li

[PATCH v2 13/20] lpfc: Fix MRQ > 1 context list handling

2017-08-04 Thread James Smart
From: Dick Kennedy Various oops including cpu LOCKUPs were seen. For asynchronously received ius where the driver must assign exchange resources, the resources were on a single get (free) list and put list (finished, waiting to be put on get list). As all cpus are sharing the lists, an interrupt