RE: [RFC/RFT PATCH] scsi: pm8001: Expose HW queues for pm80xx hw

2021-02-15 Thread Viswas.G
Hi John, We could test this patch and it works fine. Regarding the usage of request->tag, We have some challenges there. Pm80xx driver need tag for internal command as well. Tag is controller wide and we need to assign unique tag for internal command as well. If we use request->tag, how can we

RE: [RFC/RFT PATCH] scsi: pm8001: Expose HW queues for pm80xx hw

2021-02-01 Thread Viswas.G
Thanks John. We are planning to use request->tag for ccb tag. We will submit a patch for that soon. Regards, Viswas G > -Original Message- > From: John Garry > Sent: Monday, February 1, 2021 10:46 PM > To: Viswas G - I30667 ; j...@linux.ibm.com; > martin.peter...@oracle.com; akshat...@g

RE: [RFC/RFT PATCH] scsi: pm8001: Expose HW queues for pm80xx hw

2021-02-01 Thread Viswas.G
Hi John, AFAIK, there is no such restrictions. Any queue can be used for internal/external commands. Regards, Viswas G > -Original Message- > From: John Garry > Sent: Monday, February 1, 2021 4:53 PM > To: Viswas G - I30667 ; j...@linux.ibm.com; > martin.peter...@oracle.com; akshat...

RE: [RFC/RFT PATCH] scsi: pm8001: Expose HW queues for pm80xx hw

2021-01-30 Thread Viswas.G
Thanks Johns. We could see a kernel crash while testing this patch. [ 246.724632] scsi host10: pm80xx [ 248.005258] sas: Enter sas_scsi_recover_host busy: 0 failed: 0 [ 248.168973] BUG: kernel NULL pointer dereference, address: 0110 [ 248.175926] #PF: supervisor read access in ke