Re: powerpc/85xx: Move ePAPR paravirt initialization earlier

2013-06-26 Thread Tudor Laurentiu
On 06/26/2013 02:14 AM, Scott Wood wrote: On Tue, Mar 05, 2013 at 05:52:36PM +0200, Laurentiu TUDOR wrote: From: Tudor Laurentiu The ePAPR para-virtualization needs to happen very early otherwise the bytechannel based console will silently drop some of the early boot messages. Before this

Re: [PATCH][v2] powerpc/85xx: Move ePAPR paravirt initialization earlier

2013-07-03 Thread Tudor Laurentiu
On 07/02/2013 08:55 PM, Scott Wood wrote: On 07/02/2013 07:46:29 AM, Laurentiu Tudor wrote: diff --git a/arch/powerpc/kernel/epapr_paravirt.c b/arch/powerpc/kernel/epapr_paravirt.c index d44a571..d05f9da 100644 --- a/arch/powerpc/kernel/epapr_paravirt.c +++ b/arch/powerpc/kernel/epapr_paravirt.c

Re: [PATCH][v2] powerpc/85xx: Move ePAPR paravirt initialization earlier

2013-07-03 Thread Tudor Laurentiu
On 07/03/2013 05:52 PM, Scott Wood wrote: On 07/03/2013 07:29:43 AM, Tudor Laurentiu wrote: On 07/02/2013 08:55 PM, Scott Wood wrote: On 07/02/2013 07:46:29 AM, Laurentiu Tudor wrote: - insts = of_get_property(hyper_node, "hcall-instructions", &len); - if (!insts) - return

Re: [PATCH] powerpc: move epapr paravirt init of power_save to an initcall

2014-05-05 Thread Tudor Laurentiu
On 04/30/2014 11:09 PM, Alexander Graf wrote: On 30.04.14 22:03, Stuart Yoder wrote: -Original Message- From: Alexander Graf [mailto:ag...@suse.de] Sent: Wednesday, April 30, 2014 2:56 PM To: Yoder Stuart-B08248; b...@kernel.crashing.org; Wood Scott-B07421 Cc: linuxppc-dev@lists.ozlab

Re: [PATCH] powerpc: move epapr paravirt init of power_save to an initcall

2014-05-05 Thread Tudor Laurentiu
On 05/05/2014 03:21 PM, Alexander Graf wrote: On 05/05/2014 02:17 PM, Tudor Laurentiu wrote: On 04/30/2014 11:09 PM, Alexander Graf wrote: On 30.04.14 22:03, Stuart Yoder wrote: -Original Message- From: Alexander Graf [mailto:ag...@suse.de] Sent: Wednesday, April 30, 2014 2:56 PM

Re: [PATCH v2] powerpc/booke64: wrap tlb lock and search in htw miss with FTR_SMT

2014-06-02 Thread Tudor Laurentiu
On 05/31/2014 01:45 AM, Scott Wood wrote: From: Laurentiu Tudor Virtualized environments may expose a e6500 dual-threaded core as two single-threaded e6500 cores. Take advantage of this and get rid of the tlb lock and the trap-causing tlbsx in the htw miss handler by guarding with CPU_FTR_SMT,

Re: [PATCH v2] powerpc/85xx: Add T4240RDB board support

2014-06-03 Thread Tudor Laurentiu
Hi Chunhe Comment inline ... On 06/03/2014 12:10 PM, Chunhe Lan wrote: T4240RDB board Specification Memory subsystem: 6GB DDR3 128MB NOR flash 2GB NAND flash Ethernet: Eight 1G SGMII ports Four 10Gbps SFP+ ports PCIe: Two PCIe slo

Re: [PATCH v2] powerpc/booke64: wrap tlb lock and search in htw miss with FTR_SMT

2014-06-03 Thread Tudor Laurentiu
On 06/02/2014 07:45 PM, Scott Wood wrote: On Mon, 2014-06-02 at 15:48 +0300, Tudor Laurentiu wrote: On 05/31/2014 01:45 AM, Scott Wood wrote: From: Laurentiu Tudor - resent since the original didn't make it to the list archives or patchwork. The only thing i can think of is

Re: [PATCH] Add support for hardware threads on e6500.

2014-07-23 Thread Tudor Laurentiu
On 07/19/2014 12:40 AM, Scott Wood wrote: From: Andy Fleming The general idea is that each core will release all of its threads into the secondary thread startup code, which will eventually wait in the secondary core holding area, for the appropriate bit in the PACA to be set. The kick_cpu func

Re: [PATCH] powerpc/time: When starting the decrementer don't zero the other bits in TCR

2011-09-01 Thread Tudor Laurentiu
On 9/1/2011 9:27 AM, Kumar Gala wrote: On Aug 25, 2011, at 7:19 AM, Laurentiu Tudor wrote: Clearing the other TCR bits might break code that sets them (e.g. to setup the watchdog or fixed interval timer) before start_cpu_decrementer() gets called. Can you be more specific about the case you'

Re: [PATCH] powerpc/time: When starting the decrementer don't zero the other bits in TCR

2011-09-01 Thread Tudor Laurentiu
On 9/1/2011 4:56 PM, Kumar Gala wrote: On Sep 1, 2011, at 3:31 AM, Tudor Laurentiu wrote: On 9/1/2011 9:27 AM, Kumar Gala wrote: On Aug 25, 2011, at 7:19 AM, Laurentiu Tudor wrote: Clearing the other TCR bits might break code that sets them (e.g. to setup the watchdog or fixed interval

Re: [linuxppc-dev] powerpc/64e: External Proxy interrupt support

2011-10-07 Thread Tudor Laurentiu
Sorry about this. Please disregard. --- Best Regards, Laurentiu On 10/7/2011 5:15 PM, Laurentiu Tudor wrote: From: Scott Wood Adds support for External Proxy (a.k.a. CoreInt) interrupts on 64-bit kernels. External Proxy combines interrupt delivery and acknowledgement, so simply returning from

Re: [PATCH] powerpc/booke64: Configurable lazy interrupt disabling

2012-01-19 Thread Tudor Laurentiu
Hi Ben, On 01/18/2012 11:10 PM, Benjamin Herrenschmidt wrote: On Wed, 2012-01-18 at 16:35 +0200, Laurentiu Tudor wrote: This patch adds a menuconfig option that allows controlling the lazy interrupt disabling feature implemented by this commit: commit d04c56f73c30a5e593202ecfcf25ed43d42363a2 A

Re: [PATCH] powerpc/booke64: Configurable lazy interrupt disabling

2012-01-25 Thread Tudor Laurentiu
On 01/23/2012 10:50 PM, Benjamin Herrenschmidt wrote: On Mon, 2012-01-23 at 13:21 -0600, Scott Wood wrote: BTW, for non-booke, when is DEC checked when interrupts are hard-enabled as part of exception return? Likewise with the PS3 HV thing. I only see the iseries check in the exception path.

Re: [PATCH v2] powerpc: Rework lazy-interrupt handling

2012-02-09 Thread Tudor Laurentiu
Hi Ben, Small comment inline. On 02/09/2012 06:25 AM, Benjamin Herrenschmidt wrote: From 0ace17ba6960a8788b1bda3770df254cbbc6a244 Mon Sep 17 00:00:00 2001 From: Benjamin Herrenschmidt Date: Thu, 9 Feb 2012 15:25:04 +1100 Subject: [PATCH] powerpc: Rework lazy-interrupt handling The current imp