diff options
author | Igor Pylypiv <ipylypiv@google.com> | 2024-10-21 23:18:28 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2024-11-07 04:45:16 +0300 |
commit | 4501ea5f0a5ca1a3fe58ef7b48f1bd3829c6c7e5 (patch) | |
tree | 9641be97c750be57a0333f3a2ca90e89b9819330 /tools/perf/scripts/python/mem-phys-addr.py | |
parent | c8d81a438544a8c439b89bd88cfdc35117011658 (diff) | |
download | linux-4501ea5f0a5ca1a3fe58ef7b48f1bd3829c6c7e5.tar.xz |
scsi: pm8001: Initialize devices in pm8001_alloc_dev()
Devices can be allocated and freed at runtime. For example during a soft
reset all devices are freed and reallocated upon discovery.
Currently the driver fully initializes devices once in pm8001_alloc().
Allows initialization steps to happen during runtime, avoiding any
leftover states from the device being freed.
Signed-off-by: Igor Pylypiv <ipylypiv@google.com>
Signed-off-by: Terrence Adams <tadamsjr@google.com>
Link: https://lore.kernel.org/r/20241021201828.1378858-1-tadamsjr@google.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions