ocxl: Expose the thread_id needed for wait on POWER9
In order to successfully issue as_notify, an AFU needs to know the TID to notify, which in turn means that this information should be available in userspace so it can be communicated to the AFU. Signed-off-by: Alastair D'Silva <alastair@d-silva.org> Acked-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
This commit is contained in:

committed by
Michael Ellerman

parent
19df39581c
commit
e948e06fc6
@@ -77,6 +77,7 @@ struct ocxl_context {
|
||||
struct ocxl_xsl_error xsl_error;
|
||||
struct mutex irq_lock;
|
||||
struct idr irq_idr;
|
||||
u16 tidr; // Thread ID used for P9 wait implementation
|
||||
};
|
||||
|
||||
struct ocxl_process_element {
|
||||
|
Reference in New Issue
Block a user