Re: [PATCH] cxl: Force context lock during EEH flow

2017-02-08 Thread Vaibhav Jain
Frederic Barrat writes: >> >> +/* forcibly take the context lock to prevent new context activation */ >> +cxl_adapter_context_force_lock(adapter); >> + > > I'm not a fan of the "force lock" call and I'm not convinced it's > needed. When an EEH is triggered, we'll force-detach all the con

Re: [PATCH] cxl: Force context lock during EEH flow

2017-02-06 Thread Frederic Barrat
Le 03/02/2017 à 07:57, Vaibhav Jain a écrit : During an eeh event when the cxl card is fenced and card sysfs attr perst_reloads_same_image is set following warning message is seen in the kernel logs: [ 60.622727] Adapter context unlocked with 0 active contexts [ 60.622762] [