Commit dd684216 authored by Lu Feifei's avatar Lu Feifei Committed by Zheng Zengkai
Browse files

sw64: pci: align the address of mmio resource to PAGE_SIZE

Sunway inclusion
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I56WV8



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

Considering that when mmio of the passthrough device establishes a
page table mapping, it cannot be in the same page as the emulated
mmio address, so the page size is used as boundary when allocating
the mmio address resource.

Signed-off-by: default avatarLu Feifei <lufeifei@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 523c44e8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment