diff options
author | Keith Busch <[email protected]> | 2022-09-22 08:13:47 -0700 |
---|---|---|
committer | Christoph Hellwig <[email protected]> | 2022-09-27 09:15:56 +0200 |
commit | 1e866afd4bcdd01a70a5eddb4371158d3035ce03 (patch) | |
tree | 4a5dc2c413d8d9d769ead144092d3aba5703dd77 /lib/debugobjects.c | |
parent | 23e085b2dead13b51fe86d27069895b740f749c0 (diff) |
nvme: ensure subsystem reset is single threaded
The subsystem reset writes to a register, so we have to ensure the
device state is capable of handling that otherwise the driver may access
unmapped registers. Use the state machine to ensure the subsystem reset
doesn't try to write registers on a device already undergoing this type
of reset.
Link: https://bugzilla.kernel.org/show_bug.cgi?id=214771
Signed-off-by: Keith Busch <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions