Re: [PATCH v2] powerpc: Fix warning reported by verify_cpu_node_mapping()

2014-08-27 Thread Li Zhong
On 三, 2014-08-27 at 09:41 +0800, Li Zhong wrote: > On 二, 2014-08-26 at 08:10 -0500, Nathan Fontenot wrote: > > On 08/25/2014 02:22 AM, Li Zhong wrote: > > > With commit 2fabf084b, during boottime, cpu_numa_callback() is called > > > earlier(before their online) for each cpu, and verify_cpu_node_map

[RFC PATCH v3 1/3] powerpc: Fix warning reported by verify_cpu_node_mapping()

2014-08-27 Thread Li Zhong
With commit 2fabf084b6ad ("powerpc: reorder per-cpu NUMA information's initialization"), during boottime, cpu_numa_callback() is called earlier(before their online) for each cpu, and verify_cpu_node_mapping() uses cpu_to_node() to check whether siblings are in the same node. It skips the checking

[RFC PATCH v3 2/3] powerpc: Only set numa node information for present cpus at boottime

2014-08-27 Thread Li Zhong
As Nish suggested, it makes more sense to init the numa node informatiion for present cpus at boottime, which could also avoid WARN_ON(1) in numa_setup_cpu(). With this change, we also need to change the smp_prepare_cpus() to set up numa information only on present cpus. For those possible, but n

[RFC PATCH v3 3/3] powerpc: some changes in numa_setup_cpu()

2014-08-27 Thread Li Zhong
this patches changes some error handling logics in numa_setup_cpu(), when cpu node is not found, so: if the cpu is possible, but not present, -1 is kept in numa_cpu_lookup_table, so later, if the cpu is added, we could set correct numa information for it. if the cpu is present, then we set the fi

Re: [PATCH v2 1/2] powerpc/booke: Restrict SPE exception handlers to e200/e500 cores

2014-08-27 Thread Alexander Graf
On 20.08.14 15:09, Mihai Caraman wrote: > SPE exception handlers are now defined for 32-bit e500mc cores even though > SPE unit is not present and CONFIG_SPE is undefined. > > Restrict SPE exception handlers to e200/e500 cores adding CONFIG_SPE_POSSIBLE > and consequently guard __stup_ivors and

Re: [PATCH 2/2] KVM: PPC: Book3S HV: Add register name when loading toc

2014-08-27 Thread Alexander Graf
On 19.08.14 06:59, Michael Neuling wrote: > Add 'r' to register name r2 in kvmppc_hv_enter. > > Also update comment at the top of kvmppc_hv_enter to indicate that R2/TOC is > non-volatile. > > Signed-off-by: Michael Neuling > Signed-off-by: Paul Mackerras Thanks, applied to kvm-ppc-queue.

Re: [PATCH v4 5/6] KVM: PPC: Booke: Add setter functions for IVPR, IVOR2 and IVOR8 emulation

2014-08-27 Thread Alexander Graf
On 20.08.14 15:36, Mihai Caraman wrote: > Add setter functions for IVPR, IVOR2 and IVOR8 emulation in preparation > for ONE_REG support. > > Signed-off-by: Mihai Caraman What about the other GIVORs? Also, I would prefer to have a common helper for IVOR setting that simply covers SPRN_GIVOR se

Re: [PATCH v4 0/6] KVM: PPC: Book3e: AltiVec support

2014-08-27 Thread Alexander Graf
On 20.08.14 15:36, Mihai Caraman wrote: > Add KVM Book3e AltiVec support. > > Changes: > > v4: > - use CONFIG_SPE_POSSIBLE and a new ifdef for CONFIG_ALTIVEC > - remove SPE handlers from bookehv > - split ONE_REG powerpc generic and ONE_REG AltiVec > - add setters for IVPR, IVOR2 and IVOR8

[PATCH] of: make sure of_alias is initialized before accessing it

2014-08-27 Thread Laurentiu Tudor
Simply swap of_alias and of_chosen initialization so that of_alias ends up read first. This must be done because it is accessed couple of lines below when trying to initialize the of_stdout using the alias based legacy method. [Fixes a752ee5 - tty: Update hypervisor tty drivers to

Re: [PATCH 1/2][v3] powerpc/fsl-booke: Add initial T1040/T1042 RDB board support

2014-08-27 Thread Emil Medve
Hello Priyanka, On 08/11/2014 02:18 AM, Priyanka Jain wrote: > T1040/T1042RDB is Freescale Reference Design Board. > The board can support both T1040/T1042 QorIQ Power Architecture™ processor. > > T1040/T1042RDB board Overview > --- > - SERDES Connections, 8 lanes supporting:

Re: [PATCH V3 2/3] powerpc, ptrace: Enable support for transactional memory register sets

2014-08-27 Thread Sukadev Bhattiprolu
Anshuman Khandual [khand...@linux.vnet.ibm.com] wrote: | This patch enables get and set of transactional memory related register | sets through PTRACE_GETREGSET/PTRACE_SETREGSET interface by implementing | four new powerpc specific register sets i.e REGSET_TM_SPR, REGSET_TM_CGPR, | REGSET_TM_CFPR,

Re: [PATCH V3 3/3] powerpc, ptrace: Enable support for miscellaneous registers

2014-08-27 Thread Sukadev Bhattiprolu
Anshuman Khandual [khand...@linux.vnet.ibm.com] wrote: | This patch enables get and set of miscellaneous registers through ptrace | PTRACE_GETREGSET/PTRACE_SETREGSET interface by implementing new powerpc | specific register set REGSET_MISC support corresponding to the new ELF | core note NT_PPC_MI

Re: [RESEND] clk: ppc-corenet: Add Freescale ARM-based platforms CLK_OF_DECLARE support

2014-08-27 Thread Scott Wood
On Tue, 2014-08-26 at 21:19 -0500, Lu Jingchang-B35083 wrote: > >-Original Message- > >From: Wood Scott-B07421 > >Sent: Wednesday, August 27, 2014 6:51 AM > >To: Lu Jingchang-B35083 > >Cc: mturque...@linaro.org; linuxppc-dev@lists.ozlabs.org; linux- > >ker...@vger.kernel.org; linux-arm-ker.

Re: [PATCH] Documentation: dts: fsl-usb: Document USB node compatible string for IP version

2014-08-27 Thread Scott Wood
On Wed, 2014-08-27 at 00:46 -0500, Mehresh Ramneek-B31383 wrote: > > > -Original Message- > > From: Wood Scott-B07421 > > Sent: Wednesday, August 27, 2014 4:23 AM > > To: Mehresh Ramneek-B31383 > > Cc: Badola Nikhil-B46172; linuxppc-dev@lists.ozlabs.org; > > devicet...@vger.kernel.org > >

Re: [PATCH V7 04/17] PCI: Take additional IOV BAR alignment in sizing and assigning

2014-08-27 Thread Wei Yang
Bjorn, Is my understanding correct? Could I send another version based on your comment, so that we can see it meets your requirement? On Wed, Aug 20, 2014 at 02:14:02PM +0800, Wei Yang wrote: >On Tue, Aug 19, 2014 at 09:08:41PM -0600, Bjorn Helgaas wrote: >>On Thu, Jul 24, 2014 at 02:22:14PM +08

[PATCH] powerpc: dts: t4240: Change T4240 USB controller version

2014-08-27 Thread Nikhil Badola
Change USB controller version to 2.5 in compatible string for T4240 Signed-off-by: Nikhil Badola --- arch/powerpc/boot/dts/fsl/t4240si-post.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/boot/dts/fsl/t4240si-post.dtsi b/arch/powerpc/boot/dts/fsl/t4240s