diff options
author | Jiaxun Yang <jiaxun.yang@flygoat.com> | 2024-06-03 15:45:53 +0800 |
---|---|---|
committer | Huacai Chen <chenhuacai@loongson.cn> | 2024-06-03 15:45:53 +0800 |
commit | 1098efd299ffe9c8af818425338c7f6c4f930a98 (patch) | |
tree | 5901db76359509d8e5be41e7124cd3dd70d1af7b /.cocciconfig | |
parent | beb2800074c15362cf9f6c7301120910046d6556 (diff) |
LoongArch: Override higher address bits in JUMP_VIRT_ADDR
In JUMP_VIRT_ADDR we are performing an or calculation on address value
directly from pcaddi.
This will only work if we are currently running from direct 1:1 mapping
addresses or firmware's DMW is configured exactly same as kernel. Still,
we should not rely on such assumption.
Fix by overriding higher bits in address comes from pcaddi, so we can
get rid of or operator.
Cc: stable@vger.kernel.org
Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to '.cocciconfig')
0 files changed, 0 insertions, 0 deletions