summaryrefslogtreecommitdiff
path: root/lib/interval_tree_test.c
diff options
context:
space:
mode:
authorFrederic Barrat <fbarrat@linux.vnet.ibm.com>2016-03-04 11:26:32 (GMT)
committerMichael Ellerman <mpe@ellerman.id.au>2016-03-09 02:05:50 (GMT)
commit73d55c3b59f7d9cadc1dbc07d75ccee6c81fdf5b (patch)
treec864325ff6a9979e0cb27f4248a5fb02340611fd /lib/interval_tree_test.c
parent6d625ed9a7b04c5905dcaab564ec560be586822f (diff)
downloadlinux-73d55c3b59f7d9cadc1dbc07d75ccee6c81fdf5b.tar.xz
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>
Diffstat (limited to 'lib/interval_tree_test.c')
0 files changed, 0 insertions, 0 deletions