summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorAvri Altman <avri.altman@wdc.com>2024-09-10 07:45:43 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2024-10-04 04:30:54 +0300
commitd5130c5a093257aa4542aaded8034ef116a7624a (patch)
treeec99708524c8db78b94cb47d9ccf38b43d806dd3 /tools/perf/scripts/python/flamegraph.py
parent9852d85ec9d492ebef56dc5f229416c925758edc (diff)
downloadlinux-d5130c5a093257aa4542aaded8034ef116a7624a.tar.xz
scsi: ufs: Use pre-calculated offsets in ufshcd_init_lrb()
Replace manual offset calculations for response_upiu and prd_table in ufshcd_init_lrb() with pre-calculated offsets already stored in the utp_transfer_req_desc structure. The pre-calculated offsets are set differently in ufshcd_host_memory_configure() based on the UFSHCD_QUIRK_PRDT_BYTE_GRAN quirk, ensuring correct alignment and access. Fixes: 26f968d7de82 ("scsi: ufs: Introduce UFSHCD_QUIRK_PRDT_BYTE_GRAN quirk") Cc: stable@vger.kernel.org Signed-off-by: Avri Altman <avri.altman@wdc.com> Link: https://lore.kernel.org/r/20240910044543.3812642-1-avri.altman@wdc.com Acked-by: Bart Van Assche <bvanassche@acm.org> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions