[PATCH for-4.8 V2 03/10] powerpc/mm/radix: Add radix_set_pte to use in early init
mpe at ellerman.id.au
Mon Jul 25 18:36:09 AEST 2016
"Aneesh Kumar K.V" <aneesh.kumar at linux.vnet.ibm.com> writes:
> We want to use the static key based feature check in set_pte_at. Since
> we call radix__map_kernel_page early in boot before jump label is
> initialized we can't call set_pte_at there. Add radix__set_pte for the
Although this is an OK solution to this problem, I think it highlights a
bigger problem, which is that we're still doing the feature patching too
If we can move the feature patching prior to MMU init, then all (or more
of) these problems with pre vs post patching go away.
I'll see if I can come up with something tomorrow.
More information about the Linuxppc-dev