ocxl: Access interrupt trigger page from xive directly
authorFrederic Barrat <fbarrat@linux.ibm.com>
Fri, 3 Apr 2020 15:38:36 +0000 (17:38 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 24 Aug 2020 15:31:31 +0000 (01:31 +1000)
commitad857d47df6a1adc9798558701dd5426643b859f
tree33070fdb935afa36f0e08dd099cd7bca9a8d4a69
parent1e89da5ef9c28c673e86048c89ef9495618d987d
ocxl: Access interrupt trigger page from xive directly

We can access the trigger page through standard APIs so let's use it
and avoid saving it when allocating the interrupt. It will also allow
to simplify allocation in a later patch.

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-3-fbarrat@linux.ibm.com
drivers/misc/ocxl/afu_irq.c