]> git.baikalelectronics.ru Git - kernel.git/commit
cxl: Add kernel APIs to get & set the max irqs per context
authorIan Munsie <imunsie@au1.ibm.com>
Wed, 13 Jul 2016 21:17:08 +0000 (07:17 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 14 Jul 2016 10:26:57 +0000 (20:26 +1000)
commit87f90f5bb141168000149dfd69cc5c41e0290e2a
tree02d0c6eba0afa7755a9d8f24fb78d55137634ea4
parent17efddf563144117b910511a0a026e4a2290c0d9
cxl: Add kernel APIs to get & set the max irqs per context

These APIs will be used by the Mellanox CX4 support. While they function
standalone to configure existing behaviour, their primary purpose is to
allow the Mellanox driver to inform the cxl driver of a hardware
limitation, which will be used in a future patch.

Signed-off-by: Ian Munsie <imunsie@au1.ibm.com>
Reviewed-by: Frederic Barrat <fbarrat@linux.vnet.ibm.com>
Reviewed-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
drivers/misc/cxl/api.c
include/misc/cxl.h