]> git.kernelconcepts.de Git - karo-tx-linux.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)
commit79384e4b71240abf50c375eea56060b0d79c242a
tree02d0c6eba0afa7755a9d8f24fb78d55137634ea4
parent317f5ef1b363417b6f1e93b90dfd2ffd6be6e867
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