Messages in this thread | | | From | Michael Ellerman <> | Subject | Re: [PATCH v3] powerpc/64s/pgtable: fix an undefined behaviour | Date | Tue, 9 Jun 2020 15:28:34 +1000 (AEST) |
| |
On Thu, 5 Mar 2020 23:48:52 -0500, Qian Cai wrote: > Booting a power9 server with hash MMU could trigger an undefined > behaviour because pud_offset(p4d, 0) will do, > > 0 >> (PAGE_SHIFT:16 + PTE_INDEX_SIZE:8 + H_PMD_INDEX_SIZE:10) > > Fix it by converting pud_index() and friends to static inline > functions. > > [...]
Applied to powerpc/next.
[1/1] powerpc/64s/pgtable: fix an undefined behaviour https://git.kernel.org/powerpc/c/c2e929b18cea6cbf71364f22d742d9aad7f4677a
cheers
| |