Commit 0fd1d7dd authored by Zhao Yihan's avatar Zhao Yihan Committed by Zheng Zengkai
Browse files

sw64: remap PA with |= in early_ioremap

Sunway inclusion
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I56OLG



--------------------------------

BIOS passes logical address as physical address, which starts with
PAGE_OFFSET. It will overflow if add PAGE_OFFSET again.

Signed-off-by: default avatarZhao Yihan <zhaoyihan@wxiat.com>

Signed-off-by: default avatarGu Zitao <guzitao@wxiat.com>
Acked-by: default avatarXie XiuQi <xiexiuqi@huawei.com>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parent e0ef03be
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment