Re: [PATCH v2 1/4] scsi: cxlflash: Access interrupt trigger page from xive directly

2020-04-03 Thread Cédric Le Goater
On 4/3/20 5:38 PM, Frederic Barrat wrote: > xive is already mapping the trigger page in kernel space and it can be > accessed through standard APIs, so let's reuse it and simplify the code. > > Signed-off-by: Frederic Barrat Reviewed-by: Cédric Le Goater Thanks, C. > --- > Changelog: >

Re: [PATCH v2 1/4] scsi: cxlflash: Access interrupt trigger page from xive directly

2020-04-03 Thread Matthew R. Ochs
On Fri, Apr 03, 2020 at 05:38:35PM +0200, Frederic Barrat wrote: > xive is already mapping the trigger page in kernel space and it can be > accessed through standard APIs, so let's reuse it and simplify the code. > > Signed-off-by: Frederic Barrat Looks good! Acked-by: Matthew R. Ochs > ---

[PATCH v2 1/4] scsi: cxlflash: Access interrupt trigger page from xive directly

2020-04-03 Thread Frederic Barrat
xive is already mapping the trigger page in kernel space and it can be accessed through standard APIs, so let's reuse it and simplify the code. Signed-off-by: Frederic Barrat --- Changelog: v2: Define rc = -ENXIO on the error path (Matt) drivers/scsi/cxlflash/ocxl_hw.c | 18