Re: [bug] stack protector panics on v4.10-rc1+

2017-01-25 Thread Benjamin Herrenschmidt
On Thu, 2017-01-26 at 18:05 +1100, Benjamin Herrenschmidt wrote: > On Wed, 2017-01-25 at 09:24 +0530, Balbir Singh wrote: > > That makes sense. We then wait for the right gcc version? I guess > > we > > also > > push for per-task gaurd value as opposed to a global one? > > I'm thinking per-cpu

Re: [bug] stack protector panics on v4.10-rc1+

2017-01-25 Thread Benjamin Herrenschmidt
On Wed, 2017-01-25 at 09:24 +0530, Balbir Singh wrote: > That makes sense. We then wait for the right gcc version? I guess we > also > push for per-task gaurd value as opposed to a global one? I'm thinking per-cpu will be easier as r13 is readily available as PACA. Cheers, Ben.

Re: [bug] stack protector panics on v4.10-rc1+

2017-01-24 Thread Segher Boessenkool
On Wed, Jan 25, 2017 at 09:24:53AM +0530, Balbir Singh wrote: > > So my inclination is to revert the powerpc stack protector code for > > 4.10, and we can try again for 4.11 or 12. > > That makes sense. We then wait for the right gcc version? I guess we also > push for per-task gaurd value as

Re: [bug] stack protector panics on v4.10-rc1+

2017-01-24 Thread Balbir Singh
On Tue, Jan 24, 2017 at 03:09:40PM +1100, Michael Ellerman wrote: > Michael Ellerman writes: > > > # zgrep STACKPROTECTOR /proc/config.gz > > CONFIG_HAVE_CC_STACKPROTECTOR=y > > CONFIG_CC_STACKPROTECTOR=y > > CONFIG_CC_STACKPROTECTOR_REGULAR=y > > > > I guess I'm just

Re: [bug] stack protector panics on v4.10-rc1+

2017-01-23 Thread Michael Ellerman
Michael Ellerman writes: > Segher Boessenkool writes: > >> On Mon, Jan 23, 2017 at 07:10:00PM -0500, Jan Stancek wrote: >>> I'm running into panics with stack protector enabled on ppc64le >> >>> I came across following gcc commit: >>> >>>

Re: [bug] stack protector panics on v4.10-rc1+

2017-01-23 Thread Michael Ellerman
Segher Boessenkool writes: > On Mon, Jan 23, 2017 at 07:10:00PM -0500, Jan Stancek wrote: >> I'm running into panics with stack protector enabled on ppc64le > >> I came across following gcc commit: >> >>

Re: [bug] stack protector panics on v4.10-rc1+

2017-01-23 Thread Segher Boessenkool
On Mon, Jan 23, 2017 at 07:10:00PM -0500, Jan Stancek wrote: > I'm running into panics with stack protector enabled on ppc64le > I came across following gcc commit: > > https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=0d55f4d0aeaeb16629a2c07c96a190695b83a7e6 > which mentions offset above: > "If

Re: [bug] stack protector panics on v4.10-rc1+

2017-01-23 Thread Tyrel Datwyler
On 01/23/2017 04:10 PM, Jan Stancek wrote: > Hi, > > I'm running into panics with stack protector enabled on ppc64le > lpar (IBM,8408-E8E), starting with: > > commit 6533b7c16ee5712041b4e324100550e02a9a5dda > Author: Christophe Leroy > Date: Tue Nov 22 11:49:30 2016