scsi: cxlflash: Introduce object handle fop
OCXL requires that AFUs use an opaque object handle to represent an AFU interrupt. The specification does not provide a common means to communicate the object handle to the AFU - each AFU must define this within the AFU specification. To support this model, the object handle must be passed back to the core driver as it manages the AFU specification (SISLite) for cxlflash. Note that for Power systems, the object handle is the effective address of the trigger page. Signed-off-by: Uma Krishnan <ukrishn@linux.vnet.ibm.com> Acked-by: Matthew R. Ochs <mrochs@linux.vnet.ibm.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:

کامیت شده توسط
Martin K. Petersen

والد
e117c3c731
کامیت
402a55ea47
@@ -23,6 +23,7 @@ struct cxlflash_backend_ops {
|
||||
int (*map_afu_irq)(void *ctx_cookie, int num, irq_handler_t handler,
|
||||
void *cookie, char *name);
|
||||
void (*unmap_afu_irq)(void *ctx_cookie, int num, void *cookie);
|
||||
u64 (*get_irq_objhndl)(void *ctx_cookie, int irq);
|
||||
int (*start_context)(void *ctx_cookie);
|
||||
int (*stop_context)(void *ctx_cookie);
|
||||
int (*afu_reset)(void *ctx_cookie);
|
||||
|
مرجع در شماره جدید
Block a user