diff options
author | Can Guo <cang@codeaurora.org> | 2019-11-15 09:09:27 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2019-11-19 07:15:51 +0300 |
commit | cddaebaf3d81584180d647e9cbda4ecbf8e8e71c (patch) | |
tree | 981750ae1d435a54909daff6f9859789b4842780 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 71d848b8d97ec0f8e993d63cf9de6ac8b3f7c43d (diff) | |
download | linux-cddaebaf3d81584180d647e9cbda4ecbf8e8e71c.tar.xz |
scsi: ufs: Fix register dump caused sleep in atomic context
ufshcd_print_host_regs() can be called by interrupt handler, but it may
sleep due to ufshcd_dump_regs() allocates the dump buffer memory with flag
GFP_KERNEL. Fix it by changing GFP_KERNEL to GFP_ATMOIC.
Link: https://lore.kernel.org/r/1573798172-20534-5-git-send-email-cang@codeaurora.org
Reviewed-by: Bean Huo <beanhuo@micron.com>
Signed-off-by: Can Guo <cang@codeaurora.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions