diff options
author | James Smart <jsmart2021@gmail.com> | 2019-10-18 14:18:27 -0700 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2019-10-24 21:02:05 -0400 |
commit | 95bfc6d8ad86a76c89f62bb466f740b0fc05a667 (patch) | |
tree | d0f02c781d6b336ce19e5ff89a364b3c7b306355 /drivers/scsi/lpfc/lpfc_init.c | |
parent | scsi: lpfc: Revise interrupt coalescing for missing scenarios (diff) | |
download | linux-dev-95bfc6d8ad86a76c89f62bb466f740b0fc05a667.tar.xz linux-dev-95bfc6d8ad86a76c89f62bb466f740b0fc05a667.zip |
scsi: lpfc: Make FW logging dynamically configurable
Currently, the FW logging facility is a load/boot time parameter which
requires the driver to be unloaded/reloaded or the system rebooted in order
to change its configuration.
Convert the logging facility to allow dynamic enablement and configuration.
Specifically:
- Convert the feature so that it can be enabled dynamically via an
attribute. Additionally, the size of the buffer can be configured
dynamically.
- Add locks around states that now may be changing.
- Tie the feature into debugfs so that the logs can be read at any time.
Link: https://lore.kernel.org/r/20191018211832.7917-12-jsmart2021@gmail.com
Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com>
Signed-off-by: James Smart <jsmart2021@gmail.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions