[PATCH 1/6] powerpc: Fix virt_addr_valid() for 64-bit Book3E & 32-bit
Michael Ellerman
patch-notifications at ellerman.id.au
Sun Apr 10 22:27:09 AEST 2022
On Thu, 7 Apr 2022 00:57:57 +1000, Michael Ellerman wrote:
> From: Kefeng Wang <wangkefeng.wang at huawei.com>
>
> mpe: On 64-bit Book3E vmalloc space starts at 0x8000000000000000.
>
> Because of the way __pa() works we have:
> __pa(0x8000000000000000) == 0, and therefore
> virt_to_pfn(0x8000000000000000) == 0, and therefore
> virt_addr_valid(0x8000000000000000) == true
>
> [...]
Patches 1 & 2 applied to powerpc/fixes.
[1/6] powerpc: Fix virt_addr_valid() for 64-bit Book3E & 32-bit
https://git.kernel.org/powerpc/c/ffa0b64e3be58519ae472ea29a1a1ad681e32f48
[2/6] Revert "powerpc: Set max_mapnr correctly"
https://git.kernel.org/powerpc/c/1ff5c8e8c835e8a81c0868e3050c76563dd56a2c
cheers
More information about the Linuxppc-dev
mailing list