OpenCloudOS-Kernel/drivers/misc/cxl
Frederic Barrat 73d55c3b59 cxl: IRQ allocation for guests
The PSL interrupt cannot be multiplexed in a guest, as it is not
supported by the hypervisor. So an interrupt will be allocated
for it for each context. It will still be the first interrupt found in
the first interrupt range, but is treated almost like any other AFU
interrupt when creating/deleting the context. Only the handler is
different. Rework the code so that the range 0 is treated like the
other ranges.

Co-authored-by: Christophe Lombard <clombard@linux.vnet.ibm.com>
Signed-off-by: Frederic Barrat <fbarrat@linux.vnet.ibm.com>
Signed-off-by: Christophe Lombard <clombard@linux.vnet.ibm.com>
Reviewed-by: Manoj Kumar <manoj@linux.vnet.ibm.com>
Acked-by: Ian Munsie <imunsie@au1.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2016-03-09 13:05:50 +11:00
..
Kconfig cxl: Add CONFIG_CXL_EEH symbol 2015-08-17 13:56:29 +10:00
Makefile cxl: use -Werror only with CONFIG_PPC_WERROR 2016-01-11 20:30:53 +11:00
api.c cxl: Introduce implementation-specific API 2016-03-09 13:05:43 +11:00
base.c cxl: Move include file cxl.h -> cxl-base.h 2015-06-03 13:27:19 +10:00
context.c cxl: Isolate a few bare-metal-specific calls 2016-03-09 13:05:47 +11:00
cxl.h cxl: Update cxl_irq() prototype 2016-03-09 13:05:49 +11:00
debugfs.c cxl: Isolate a few bare-metal-specific calls 2016-03-09 13:05:47 +11:00
fault.c cxl: Isolate a few bare-metal-specific calls 2016-03-09 13:05:47 +11:00
file.c cxl: Introduce implementation-specific API 2016-03-09 13:05:43 +11:00
irq.c cxl: IRQ allocation for guests 2016-03-09 13:05:50 +11:00
main.c cxl: Introduce implementation-specific API 2016-03-09 13:05:43 +11:00
native.c cxl: Rename some bare-metal specific functions 2016-03-09 13:05:46 +11:00
pci.c cxl: Rename some bare-metal specific functions 2016-03-09 13:05:46 +11:00
sysfs.c cxl: Introduce implementation-specific API 2016-03-09 13:05:43 +11:00
trace.c cxl: Add tracepoints 2015-01-22 17:31:51 +11:00
trace.h cxl: use more common format specifier 2015-07-13 10:10:54 +10:00
vphb.c cxl: Introduce implementation-specific API 2016-03-09 13:05:43 +11:00