Re: [PATCH v5 17/17] powerpc/32s: Enable CONFIG_VMAP_STACK

2020-02-07 Thread Christophe Leroy
On 02/07/2020 01:44 PM, Guenter Roeck wrote: On 2/7/20 5:29 AM, Christophe Leroy wrote: On 02/07/2020 01:08 PM, Guenter Roeck wrote: On 2/7/20 12:28 AM, Christophe Leroy wrote: On 02/07/2020 06:13 AM, Christophe Leroy wrote: Le 06/02/2020 à 21:31, Guenter Roeck a écrit : On Sat, Dec

Re: [PATCH v5 17/17] powerpc/32s: Enable CONFIG_VMAP_STACK

2020-02-07 Thread Guenter Roeck
On 2/7/20 5:29 AM, Christophe Leroy wrote: On 02/07/2020 01:08 PM, Guenter Roeck wrote: On 2/7/20 12:28 AM, Christophe Leroy wrote: On 02/07/2020 06:13 AM, Christophe Leroy wrote: Le 06/02/2020 à 21:31, Guenter Roeck a écrit : On Sat, Dec 21, 2019 at 08:32:38AM +, Christophe Leroy w

Re: [PATCH v5 17/17] powerpc/32s: Enable CONFIG_VMAP_STACK

2020-02-07 Thread Christophe Leroy
On 02/07/2020 01:08 PM, Guenter Roeck wrote: On 2/7/20 12:28 AM, Christophe Leroy wrote: On 02/07/2020 06:13 AM, Christophe Leroy wrote: Le 06/02/2020 à 21:31, Guenter Roeck a écrit : On Sat, Dec 21, 2019 at 08:32:38AM +, Christophe Leroy wrote: A few changes to retrieve DAR and DS

Re: [PATCH v5 17/17] powerpc/32s: Enable CONFIG_VMAP_STACK

2020-02-07 Thread Guenter Roeck
On 2/7/20 12:28 AM, Christophe Leroy wrote: On 02/07/2020 06:13 AM, Christophe Leroy wrote: Le 06/02/2020 à 21:31, Guenter Roeck a écrit : On Sat, Dec 21, 2019 at 08:32:38AM +, Christophe Leroy wrote: A few changes to retrieve DAR and DSISR from struct regs instead of retrieving them d

Re: [PATCH v5 17/17] powerpc/32s: Enable CONFIG_VMAP_STACK

2020-02-07 Thread Christophe Leroy
On 02/07/2020 06:13 AM, Christophe Leroy wrote: Le 06/02/2020 à 21:31, Guenter Roeck a écrit : On Sat, Dec 21, 2019 at 08:32:38AM +, Christophe Leroy wrote: A few changes to retrieve DAR and DSISR from struct regs instead of retrieving them directly, as they may have changed due to a T

Re: [PATCH v5 17/17] powerpc/32s: Enable CONFIG_VMAP_STACK

2020-02-06 Thread Christophe Leroy
Le 06/02/2020 à 21:31, Guenter Roeck a écrit : On Sat, Dec 21, 2019 at 08:32:38AM +, Christophe Leroy wrote: A few changes to retrieve DAR and DSISR from struct regs instead of retrieving them directly, as they may have changed due to a TLB miss. Also modifies hash_page() and friends to

Re: [PATCH v5 17/17] powerpc/32s: Enable CONFIG_VMAP_STACK

2020-02-06 Thread Guenter Roeck
On Sat, Dec 21, 2019 at 08:32:38AM +, Christophe Leroy wrote: > A few changes to retrieve DAR and DSISR from struct regs > instead of retrieving them directly, as they may have > changed due to a TLB miss. > > Also modifies hash_page() and friends to work with virtual > data addresses instead

Re: [PATCH v5 17/17] powerpc/32s: Enable CONFIG_VMAP_STACK

2020-01-18 Thread Michael Ellerman
Christophe Leroy writes: > diff --git a/arch/powerpc/kernel/head_32.S b/arch/powerpc/kernel/head_32.S > index 90ef355e958b..3be041166db4 100644 > --- a/arch/powerpc/kernel/head_32.S > +++ b/arch/powerpc/kernel/head_32.S > @@ -272,14 +272,20 @@ __secondary_hold_acknowledge: > */ > . = 0x200