]> git.baikalelectronics.ru Git - kernel.git/commit
ocxl: move event_fd handling to frontend
authorAlastair D'Silva <alastair@d-silva.org>
Wed, 27 Mar 2019 05:31:35 +0000 (16:31 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 2 May 2019 16:55:02 +0000 (02:55 +1000)
commitd2d4c97abd8dcdc786bbce75e94ca68a9160acc2
treefadce4dba8407fb471b947eb85223f3f000fb4de
parent2116aeb793bd6600bda382300dcf61c8510568a3
ocxl: move event_fd handling to frontend

Event_fd is only used in the driver frontend, so it does not
need to exist in the backend code. Relocate it to the frontend
and provide an opaque mechanism for consumers instead.

Signed-off-by: Alastair D'Silva <alastair@d-silva.org>
Acked-by: Frederic Barrat <fbarrat@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
drivers/misc/ocxl/afu_irq.c
drivers/misc/ocxl/file.c
drivers/misc/ocxl/ocxl_internal.h
include/misc/ocxl.h