Re: [PATCH V2] powerpc/mm: Don't do debug print before we do feature fixup

2016-06-20 Thread Denis Kirjanov
On 6/19/16, Benjamin Herrenschmidt wrote: > On Sat, 2016-06-18 at 23:57 +0530, Aneesh Kumar K.V wrote: >> We use feature fixup in segment and page fault path and hence we should >> not call any function that can cause either of these before we finish >> feature fixup. >> >> Calling into early debu

Re: [PATCH V2] powerpc/mm: Don't do debug print before we do feature fixup

2016-06-18 Thread Benjamin Herrenschmidt
On Sat, 2016-06-18 at 23:57 +0530, Aneesh Kumar K.V wrote: > We use feature fixup in segment and page fault path and hence we should > not call any function that can cause either of these before we finish > feature fixup. > > Calling into early debug routine can result in segment fault as updated

[PATCH V2] powerpc/mm: Don't do debug print before we do feature fixup

2016-06-18 Thread Aneesh Kumar K.V
We use feature fixup in segment and page fault path and hence we should not call any function that can cause either of these before we finish feature fixup. Calling into early debug routine can result in segment fault as updated in https://lkml.kernel.org/r/CAOJe8K2L8D1M_yZPmyiZ11JvJ+HAS0aFHOnsqa