Re: [PATCH v2 08/30] cxlflash: Fix to avoid CXL services during EEH

2015-09-18 Thread Matthew R. Ochs
> On Sep 18, 2015, at 8:37 AM, Brian King wrote: > On 09/16/2015 04:27 PM, Matthew R. Ochs wrote: >> >> /** >> + * drain_ioctls() - wait until all currently executing ioctls have completed >> + * @cfg:Internal structure associated with the host. >> + * >> + * Obtain write access to read/write

Re: [PATCH v2 08/30] cxlflash: Fix to avoid CXL services during EEH

2015-09-18 Thread Brian King
On 09/16/2015 04:27 PM, Matthew R. Ochs wrote: > --- a/drivers/scsi/cxlflash/main.c > +++ b/drivers/scsi/cxlflash/main.c > @@ -2311,6 +2311,7 @@ static int cxlflash_probe(struct pci_dev *pdev, > cfg->lr_port = -1; > mutex_init(&cfg->ctx_tbl_list_mutex); > mutex_init(&cfg->ctx_reco

[PATCH v2 08/30] cxlflash: Fix to avoid CXL services during EEH

2015-09-16 Thread Matthew R. Ochs
During an EEH freeze event, certain CXL services should not be called until after the hardware reset has taken place. Doing so can result in unnecessary failures and possibly cause other ill effects by triggering hardware accesses. This translates to a requirement to quiesce all threads that may po

[PATCH v2 08/30] cxlflash: Fix to avoid CXL services during EEH

2015-09-16 Thread Matthew R. Ochs
During an EEH freeze event, certain CXL services should not be called until after the hardware reset has taken place. Doing so can result in unnecessary failures and possibly cause other ill effects by triggering hardware accesses. This translates to a requirement to quiesce all threads that may po