diff options
author | Bibo Mao <maobibo@loongson.cn> | 2025-06-27 18:27:44 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-07-06 11:04:12 +0200 |
commit | a48dd6c3761d3f1f5180d9f2c32b8065417df889 (patch) | |
tree | 8197e2588c8b71edf8f507fbe5f31151078fc27d /tools/perf/scripts/python/mem-phys-addr.py | |
parent | 660e5d83bc3856351a1185d23ccee015b80abee2 (diff) |
LoongArch: KVM: Fix interrupt route update with EIOINTC
commit c34bbc2c990700ba07b271fc7c8113b0bc3e4093 upstream.
With function eiointc_update_sw_coremap(), there is forced assignment
like val = *(u64 *)pvalue. Parameter pvalue may be pointer to char type
or others, there is problem with forced assignment with u64 type.
Here the detailed value is passed rather address pointer.
Cc: stable@vger.kernel.org
Fixes: 3956a52bc05b ("LoongArch: KVM: Add EIOINTC read and write functions")
Signed-off-by: Bibo Mao <maobibo@loongson.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions