diff options
| author | Eric Farman <[email protected]> | 2021-05-11 19:56:30 +0000 |
|---|---|---|
| committer | Cornelia Huck <[email protected]> | 2021-05-12 10:59:50 +0000 |
| commit | 6c02ac4c9211edabe17bda437ac97e578756f31b (patch) | |
| tree | 7dbd63dae5d93586082686b8474521f4ad056bb8 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
| parent | vfio-ccw: Check initialized flag in cp_init() (diff) | |
| download | kernel-6c02ac4c9211edabe17bda437ac97e578756f31b.tar.gz kernel-6c02ac4c9211edabe17bda437ac97e578756f31b.zip | |
vfio-ccw: Reset FSM state to IDLE inside FSM
When an I/O request is made, the fsm_io_request() routine
moves the FSM state from IDLE to CP_PROCESSING, and then
fsm_io_helper() moves it to CP_PENDING if the START SUBCHANNEL
received a cc0. Yet, the error case to go from CP_PROCESSING
back to IDLE is done after the FSM call returns.
Let's move this up into the FSM proper, to provide some
better symmetry when unwinding in this case.
Signed-off-by: Eric Farman <[email protected]>
Reviewed-by: Cornelia Huck <[email protected]>
Acked-by: Matthew Rosato <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Cornelia Huck <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions
