Re: [RESEND-PATCH] cxl: Avoid double free_irq() for psl, slice interrupts

2017-06-02 Thread Vaibhav Jain
Frederic Barrat writes: >> +irq_find_mapping(NULL, afu->native->psl_virq)) > > ^^^ > Shouldn't it be psl_hwirq? > Thanks for catching this Fred. I have sent a v2 patch fixing this. -- Vaibhav Jain

Re: [RESEND-PATCH] cxl: Avoid double free_irq() for psl,slice interrupts

2017-06-02 Thread Frederic Barrat
Le 02/06/2017 à 11:35, Vaibhav Jain a écrit : During an eeh call to cxl_remove can result in double free_irq of psl,slice interrupts. This can happen if perst_reloads_same_image == 1 and call to cxl_configure_adapter() fails during slot_reset callback. In such a case we see a kernel oops with

[RESEND-PATCH] cxl: Avoid double free_irq() for psl,slice interrupts

2017-06-02 Thread Vaibhav Jain
During an eeh call to cxl_remove can result in double free_irq of psl,slice interrupts. This can happen if perst_reloads_same_image == 1 and call to cxl_configure_adapter() fails during slot_reset callback. In such a case we see a kernel oops with following back-trace: Oops: Kernel access of bad