diff options
author | Frederic Barrat <fbarrat@linux.vnet.ibm.com> | 2018-01-23 14:31:43 +0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2018-01-24 03:42:59 +0300 |
commit | 280b983ce2b8759722d911ea4b5af66e95d84e09 (patch) | |
tree | d3f3ffe5ee5acd780749b690921e97c09aa76845 /drivers/misc/ioc4.c | |
parent | aeddad1760aeb206d912b27b230269407efd5b06 (diff) | |
download | linux-280b983ce2b8759722d911ea4b5af66e95d84e09.tar.xz |
ocxl: Add a kernel API for other opencapi drivers
Some of the functions done by the generic driver should also be needed
by other opencapi drivers: attaching a context to an adapter,
translation fault handling, AFU interrupt allocation...
So to avoid code duplication, the driver provides a kernel API that
other drivers can use, similar to calling a in-kernel library.
It is still a bit theoretical, for lack of real hardware, and will
likely need adjustements down the road. But we used the cxlflash
driver as a guinea pig.
Signed-off-by: Frederic Barrat <fbarrat@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'drivers/misc/ioc4.c')
0 files changed, 0 insertions, 0 deletions