Re: powerpc-linux-gnu-ld: warning: orphan section `.data.rel.ro' from `arch/powerpc/kernel/head_44x.o' being placed in section `.data.rel.ro'.

2017-11-11 Thread Nicholas Piggin
On Fri, 10 Nov 2017 23:41:49 +0800 kbuild test robot wrote: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > master > head: 1c9dbd4615fd751e5e0b99807a3c7c8612e28e20 > commit: cb87481ee89dbd6609e227afbf64900fb4e5c930 kbuild: linker script do not > match C names un

Re: [PATCH] powerpc/64s/slice: Use addr limit when computing slice mask

2017-11-11 Thread Nicholas Piggin
On Fri, 10 Nov 2017 22:59:57 +0530 "Aneesh Kumar K.V" wrote: > Michael Ellerman writes: > > > "Aneesh Kumar K.V" writes: > > > >> While computing slice mask for the free area we need make sure we only > >> search > >> in the addr limit applicable for this mmap. We update the slb_addr_limit

Re: POWER: Unexpected fault when writing to brk-allocated memory

2017-11-11 Thread Nicholas Piggin
On Fri, 10 Nov 2017 12:08:35 + David Laight wrote: > From: Matthew Wilcox > > Sent: 09 November 2017 19:44 > > > > On Fri, Nov 10, 2017 at 04:15:26AM +1100, Nicholas Piggin wrote: > > > So these semantics are what we're going with? Anything that does mmap() is > > > guaranteed of getting a

Re: [PATCH] powerpc/64s/slice: Use addr limit when computing slice mask

2017-11-11 Thread Aneesh Kumar K.V
Nicholas Piggin writes: > On Fri, 10 Nov 2017 22:59:57 +0530 > "Aneesh Kumar K.V" wrote: > >> Michael Ellerman writes: >> >> > "Aneesh Kumar K.V" writes: >> > >> >> While computing slice mask for the free area we need make sure we only >> >> search >> >> in the addr limit applicable for th