diff options
| author | Huacai Chen <chenhuacai@loongson.cn> | 2025-11-09 16:02:00 +0800 |
|---|---|---|
| committer | Huacai Chen <chenhuacai@loongson.cn> | 2025-11-10 08:37:06 +0800 |
| commit | 43a9e6a10bdde32445ad2725f568e08a94e51dc9 (patch) | |
| tree | 6a282086659c99a00dc91fbda6e9b9e4979b853c /tools/lib/python/feat/parse_features.py | |
| parent | 4e67526840fc55917581b90f6a4b65849a616dd8 (diff) | |
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 'tools/lib/python/feat/parse_features.py')
0 files changed, 0 insertions, 0 deletions
