OSDN Git Service

scsi: cxlflash: Access interrupt trigger page from xive directly
authorFrederic Barrat <fbarrat@linux.ibm.com>
Fri, 3 Apr 2020 15:38:35 +0000 (17:38 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 24 Aug 2020 15:31:31 +0000 (01:31 +1000)
commit1e89da5ef9c28c673e86048c89ef9495618d987d
tree0a4d976ccbd2eed60cc70e921a076c707f56fe58
parentd3e669f31ec35856f5e85df9224ede5bdbf1bc7b
scsi: cxlflash: Access interrupt trigger page from xive directly

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 <fbarrat@linux.ibm.com>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Acked-by: Matthew R. Ochs <mrochs@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200403153838.29224-2-fbarrat@linux.ibm.com
drivers/scsi/cxlflash/ocxl_hw.c
drivers/scsi/cxlflash/ocxl_hw.h