summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorChengchang Tang <tangchengchang@huawei.com>2024-09-06 12:34:42 +0300
committerLeon Romanovsky <leon@kernel.org>2024-09-10 16:06:39 +0300
commitce196f6297c7f3ab7780795e40efd6c521f60c8b (patch)
tree9eadffec329efa6331fd76405c29cac0eb3c5563 /tools/perf/scripts/python/export-to-postgresql.py
parent4321feefa5501a746ebf6a7d8b59e6b955ae1860 (diff)
downloadlinux-ce196f6297c7f3ab7780795e40efd6c521f60c8b.tar.xz
RDMA/hns: Fix 1bit-ECC recovery address in non-4K OS
The 1bit-ECC recovery address read from HW only contain bits 64:12, so it should be fixed left-shifted 12 bits when used. Currently, the driver will shift the address left by PAGE_SHIFT when used, which is wrong in non-4K OS. Fixes: 2de949abd6a5 ("RDMA/hns: Recover 1bit-ECC error of RAM on chip") Signed-off-by: Chengchang Tang <tangchengchang@huawei.com> Signed-off-by: Junxian Huang <huangjunxian6@hisilicon.com> Link: https://patch.msgid.link/20240906093444.3571619-8-huangjunxian6@hisilicon.com Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions