diff options
| author | 2018-03-26 11:35:00 -0500 | |
|---|---|---|
| committer | 2018-04-18 19:32:50 -0400 | |
| commit | f81face7256339c584ee9baba3240ddac74a0293 (patch) | |
| tree | 48e843b81cb84b32a72ea1b6ff617b396710ce6a /kernel/sysctl_binary.c | |
| parent | scsi: cxlflash: Update synchronous interrupt status bits (diff) | |
scsi: cxlflash: Introduce OCXL context state machine
In order to protect the OCXL hardware contexts from getting clobbered, a
simple state machine is added to indicate when a context is in open, close or
start state. The expected states are validated throughout the code to prevent
illegal operations on a context. A mutex is added to protect writes to the
context state field.
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>
Diffstat (limited to 'kernel/sysctl_binary.c')
0 files changed, 0 insertions, 0 deletions
