Re: [PATCH v3 6/9] kbuild: consolidate Devicetree dtb build rules

2018-09-30 Thread Masahiro Yamada
Hi Rob, 2018年9月29日(土) 0:43 Rob Herring : > +# > --- > +# Devicetree files > + > +ifneq ($(wildcard $(srctree)/arch/$(SRCARCH)/boot/dts/),) > +dtstree := arch/$(SRCARCH)/boot/dts > +endif > + > +ifneq ($(dtstree),) > + >

Re: [PATCH 2/2] powerpc/64: Increase stack redzone for 64-bit kernel to 512 bytes

2018-09-30 Thread Nicholas Piggin
On Mon, 1 Oct 2018 09:11:04 +0800 Bin Meng wrote: > Hi Nick, > > On Mon, Oct 1, 2018 at 7:27 AM Nicholas Piggin wrote: > > > > On Sat, 29 Sep 2018 23:25:20 -0700 > > Bin Meng wrote: > > > > > commit 573ebfa6601f ("powerpc: Increase stack redzone for 64-bit > > > userspace to 512 bytes")

Re: [PATCH 2/2] powerpc/64: Increase stack redzone for 64-bit kernel to 512 bytes

2018-09-30 Thread Bin Meng
Hi Nick, On Mon, Oct 1, 2018 at 7:27 AM Nicholas Piggin wrote: > > On Sat, 29 Sep 2018 23:25:20 -0700 > Bin Meng wrote: > > > commit 573ebfa6601f ("powerpc: Increase stack redzone for 64-bit > > userspace to 512 bytes") only changes stack userspace redzone size. > > We need increase the kernel

Re: [PATCH] soc: Convert to using %pOFn instead of device_node.name

2018-09-30 Thread Andy Gross
On Mon, Aug 27, 2018 at 08:52:44PM -0500, Rob Herring wrote: > In preparation to remove the node name pointer from struct device_node, > convert printf users to use the %pOFn format specifier. > > Cc: Qiang Zhao > Cc: Li Yang > Cc: Andy Gross > Cc: David Brown > Cc: Heiko Stuebner > Cc:

[PATCH AUTOSEL 4.18 47/65] sched/topology: Set correct NUMA topology type

2018-09-30 Thread Sasha Levin
From: Srikar Dronamraju [ Upstream commit e5e96fafd9028b1478b165db78c52d981c14f471 ] With the following commit: 051f3ca02e46 ("sched/topology: Introduce NUMA identity node sched domain") the scheduler introduced a new NUMA level. However this leads to the NUMA topology on 2 node systems to

Re: [RFC PATCH 08/11] powerpc/tm: Do not reclaim on ptrace

2018-09-30 Thread Michael Neuling
On Sun, 2018-09-30 at 20:51 -0300, Breno Leitao wrote: > Hi Mikey, > > On 09/28/2018 02:36 AM, Michael Neuling wrote: > > > > > + WARN_ON(MSR_TM_SUSPENDED(mfmsr())); + + tm_enable(); + > > > > > tm_save_sprs(&(tsk->thread)); > > > > > > > > Do we need to check if TM was enabled in the task

Re: [RFC PATCH 08/11] powerpc/tm: Do not reclaim on ptrace

2018-09-30 Thread Breno Leitao
Hi Mikey, On 09/28/2018 02:36 AM, Michael Neuling wrote: + WARN_ON(MSR_TM_SUSPENDED(mfmsr())); + + tm_enable(); + tm_save_sprs(&(tsk->thread)); >>> >>> Do we need to check if TM was enabled in the task before saving the >>> TM SPRs? >>> >>> What happens if TM was lazily off and

Re: [PATCH 2/2] powerpc/64: Increase stack redzone for 64-bit kernel to 512 bytes

2018-09-30 Thread Nicholas Piggin
On Sat, 29 Sep 2018 23:25:20 -0700 Bin Meng wrote: > commit 573ebfa6601f ("powerpc: Increase stack redzone for 64-bit > userspace to 512 bytes") only changes stack userspace redzone size. > We need increase the kernel one to 512 bytes too per ABIv2 spec. You're right we need 512 to be

Re: Looking for architecture papers

2018-09-30 Thread Segher Boessenkool
On Sun, Sep 30, 2018 at 10:05:01AM +0300, Raz wrote: > First, thank you. > And another question, is there a development environment that > resembles Fixed Virtual Platform for ARM ( FVP ARM) ? I don't know FVP, but that seems similar to systemsim?

Re: Looking for architecture papers

2018-09-30 Thread Raz
First, thank you. And another question, is there a development environment that resembles Fixed Virtual Platform for ARM ( FVP ARM) ? On Sun, Sep 30, 2018 at 1:13 AM Segher Boessenkool wrote: > > Hi Raz, > > On Sun, Sep 30, 2018 at 12:24:35AM +0300, Raz wrote: > > I want to learn about

[PATCH 1/2] powerpc/64: Remove duplicated -mabi=elfv2 for little endian targets

2018-09-30 Thread Bin Meng
The -mabi=elfv2 is currently specified twice in the makefile. Remove the one that does not test compiler. Signed-off-by: Bin Meng --- arch/powerpc/Makefile | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/powerpc/Makefile b/arch/powerpc/Makefile index 11a1acb..16b0695 100644 ---

[PATCH 2/2] powerpc/64: Increase stack redzone for 64-bit kernel to 512 bytes

2018-09-30 Thread Bin Meng
commit 573ebfa6601f ("powerpc: Increase stack redzone for 64-bit userspace to 512 bytes") only changes stack userspace redzone size. We need increase the kernel one to 512 bytes too per ABIv2 spec. Signed-off-by: Bin Meng --- arch/powerpc/include/asm/ptrace.h | 8 ++-- 1 file changed, 2