diff options
| author | 2025-11-09 16:02:00 +0800 | |
|---|---|---|
| committer | 2025-11-10 08:37:06 +0800 | |
| commit | 43a9e6a10bdde32445ad2725f568e08a94e51dc9 (patch) | |
| tree | 6a282086659c99a00dc91fbda6e9b9e4979b853c /include/linux/ceph/git:/ssh:/git@git.zx2c4.com | |
| parent | LoongArch: Use physical addresses for CSR_MERRENTRY/CSR_TLBRENTRY (diff) | |
| download | wireguard-linux-43a9e6a10bdde32445ad2725f568e08a94e51dc9.tar.xz wireguard-linux-43a9e6a10bdde32445ad2725f568e08a94e51dc9.zip | |
LoongArch: Consolidate early_ioremap()/ioremap_prot()
1. Use phys_addr_t instead of u64, which can work for both 32/64 bits.
2. Check whether the input physical address is above TO_PHYS_MASK (and
return NULL if yes) for the DMW version.
Note: In theory early_ioremap() also need the TO_PHYS_MASK checking, but
the UEFI BIOS pass some DMW virtual addresses.
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 'include/linux/ceph/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
