]> git.baikalelectronics.ru Git - kernel.git/commit
vfio/ccw: Update trace data for not operational event
authorEric Farman <farman@linux.ibm.com>
Thu, 7 Jul 2022 13:57:33 +0000 (15:57 +0200)
committerAlex Williamson <alex.williamson@redhat.com>
Thu, 7 Jul 2022 20:06:12 +0000 (14:06 -0600)
commit559d15862e1e708abfea7582fb14c65bee277525
treed22aff24915b833b00257be81e3a4b384fa477dc
parent3ea135f7368d2a8ef60b8b11447db00fbf67360a
vfio/ccw: Update trace data for not operational event

We currently cut a very basic trace whenever the FSM directs
control to the not operational routine.

Convert this to a message, so it's alongside the other configuration
related traces (create, remove, etc.), and record both the event
that brought us here and the current state of the device.
This will provide some better footprints if things go bad.

Suggested-by: Matthew Rosato <mjrosato@linux.ibm.com>
Signed-off-by: Eric Farman <farman@linux.ibm.com>
Reviewed-by: Matthew Rosato <mjrosato@linux.ibm.com>
Link: https://lore.kernel.org/r/20220707135737.720765-8-farman@linux.ibm.com
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
drivers/s390/cio/vfio_ccw_fsm.c