ocxl: Don't return trigger page when allocating an interrupt
authorFrederic Barrat <fbarrat@linux.ibm.com>
Fri, 3 Apr 2020 15:38:37 +0000 (17:38 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 24 Aug 2020 15:31:31 +0000 (01:31 +1000)
commitdde6f18a8779dcd88d9fd5d6336032fee7e07fcd
treea6c929de09f956cb6ab7d2671ec48b24dc964987
parentad857d47df6a1adc9798558701dd5426643b859f
ocxl: Don't return trigger page when allocating an interrupt

Existing users of ocxl_link_irq_alloc() have been converted to obtain
the trigger page of an interrupt through xive directly, we therefore
have no need to return the trigger page when allocating an interrupt.

It also allows ocxl to use the xive native interface to allocate
interrupts, instead of its custom service.

Signed-off-by: Frederic Barrat <fbarrat@linux.ibm.com>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: Greg Kurz <groug@kaod.org>
Acked-by: Andrew Donnellan <ajd@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200403153838.29224-4-fbarrat@linux.ibm.com
drivers/misc/ocxl/Kconfig
drivers/misc/ocxl/afu_irq.c
drivers/misc/ocxl/link.c
drivers/scsi/cxlflash/ocxl_hw.c
include/misc/ocxl.h