On Mon, 25 Jul 2016 18:36:09 +1000
Michael Ellerman wrote:
> "Aneesh Kumar K.V" 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
> > radi
"Aneesh Kumar K.V" 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
> same.
Although this is an OK solution to this problem
Nicholas Piggin writes:
> On Sat, 23 Jul 2016 14:42:36 +0530
> "Aneesh Kumar K.V" wrote:
>> @@ -102,7 +123,7 @@ int radix__map_kernel_page(unsigned long ea,
>> unsigned long pa, }
>>
>> set_the_pte:
>> -set_pte_at(&init_mm, ea, ptep, pfn_pte(pa >> PAGE_SHIFT,
>> flags));
>> +radix__se
On Sat, 23 Jul 2016 14:42:36 +0530
"Aneesh Kumar K.V" wrote:
> 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
> same.
>
> Signed-of
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
same.
Signed-off-by: Aneesh Kumar K.V
---
arch/powerpc/mm/pgtable-radix.c | 23 +