diff options
author | Jiaxun Yang <[email protected]> | 2024-06-03 15:45:53 +0800 |
---|---|---|
committer | Huacai Chen <[email protected]> | 2024-06-03 15:45:53 +0800 |
commit | 1098efd299ffe9c8af818425338c7f6c4f930a98 (patch) | |
tree | 5901db76359509d8e5be41e7124cd3dd70d1af7b /lib/debugobjects.c | |
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: [email protected]
Signed-off-by: Jiaxun Yang <[email protected]>
Signed-off-by: Huacai Chen <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions