Re: [PATCH V2] cpuidle/governors: Fix logic in selection of idle states

2014-01-22 Thread Daniel Lezcano
On 01/17/2014 05:33 AM, Preeti U Murthy wrote: The cpuidle governors today are not handling scenarios where no idle state can be chosen. Such scenarios coud arise if the user has disabled all the idle states at runtime or the latency requirement from the cpus is very strict. The menu governor

Re: [PATCH 0/4] powernv: kvm: numa fault improvement

2014-01-22 Thread Liu ping fan
On Wed, Jan 22, 2014 at 1:18 PM, Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com wrote: Paul Mackerras pau...@samba.org writes: On Mon, Jan 20, 2014 at 03:48:36PM +0100, Alexander Graf wrote: On 15.01.2014, at 07:36, Liu ping fan kernelf...@gmail.com wrote: On Thu, Jan 9, 2014 at 8:08 PM,

Re: [PATCH 0/8] Add support for PowerPC Hypervisor supplied performance counters

2014-01-22 Thread Anshuman Khandual
On 01/22/2014 07:02 AM, Michael Ellerman wrote: On Thu, 2014-01-16 at 15:53 -0800, Cody P Schafer wrote: These patches add basic pmus for 2 powerpc hypervisor interfaces to obtain performance counters: gpci (get performance counter info) and 24x7. The counters supplied by these interfaces are

[Bug 67811] PASEMI: Kernel 3.13.0 doesn't boot with a PA6T cpu

2014-01-22 Thread Christian Zigotzky
Hi All, Thanks a lot for your effort to solve the boot problems. Unfortunately, this patch doesn't work for the Nemo board. I need the patch created by Olof Johansson. diff -rupN linux-3.13/arch/powerpc/kernel/head_64.S linux-3.13-nemo/arch/powerpc/kernel/head_64.S ---

Re: [PATCH 8/8] powerpc: Fix endian issues in crash dump code

2014-01-22 Thread Anton Blanchard
Hi Michael, Not my favourite colour :D What about this instead? We could also add of_property_read_u32(), with an implied index of zero? I don't like the rc handling, but couldn't come up with anything I liked better. Thanks for pointing that out, I didn't realise we had so many

Re: [PATCH V5 6/8] time/cpuidle: Support in tick broadcast framework in the absence of external clock device

2014-01-22 Thread Thomas Gleixner
On Wed, 15 Jan 2014, Preeti U Murthy wrote: diff --git a/kernel/time/clockevents.c b/kernel/time/clockevents.c index 086ad60..d61404e 100644 --- a/kernel/time/clockevents.c +++ b/kernel/time/clockevents.c @@ -524,12 +524,13 @@ void clockevents_resume(void) #ifdef CONFIG_GENERIC_CLOCKEVENTS

Re: [PATCH RFC] powerpc/mpc85xx: add support for the kmp204x reference board

2014-01-22 Thread Valentin Longchamp
On 01/21/2014 06:01 PM, Scott Wood wrote: On Tue, 2014-01-21 at 17:34 +0100, Valentin Longchamp wrote: On 01/20/2014 11:37 PM, Scott Wood wrote: On Mon, 2014-01-20 at 17:38 +0100, Valentin Longchamp wrote: On 01/17/2014 10:48 PM, Scott Wood wrote: Why isn't the compatible keymile,kmcoge4,

[PATCH v2 1/3] powerpc/pseries: Device tree should only be updated once after suspend/migrate

2014-01-22 Thread Tyrel Datwyler
From: Haren Myneni hb...@us.ibm.com From: Haren Myneni hb...@us.ibm.com The current code makes rtas calls for update-nodes, activate-firmware and then update-nodes again. The FW provides the same data for both update-nodes calls. As a result a proc entry exists error is reported for the second

[PATCH v2 0/3] powerpc/pseries: fix issues in suspend/resume code

2014-01-22 Thread Tyrel Datwyler
This patchset fixes a couple of issues encountered in the suspend/resume code base. First when using the kernel device tree update code update-nodes is unnecessarily called more than once. Second the cpu cache lists are not updated after a suspend/resume which under certain conditions may cause a

[PATCH v2 2/3] powerpc/pseries: Update dynamic cache nodes for suspend/resume operation

2014-01-22 Thread Tyrel Datwyler
From: Haren Myneni hb...@us.ibm.com From: Haren Myneni hb...@us.ibm.com pHyp can change cache nodes for suspend/resume operation. The current code updates the device tree after all non boot CPUs are enabled. Hence, we do not modify the cache list based on the latest cache nodes. Also we do not

[PATCH v2 3/3] powerpc/pseries: Report in kernel device tree update to drmgr

2014-01-22 Thread Tyrel Datwyler
Traditionally it has been drmgr's responsibilty to update the device tree through the /proc/ppc64/ofdt interface after a suspend/resume operation. This patchset however has modified suspend/resume ops to preform that update entirely in the kernel during the resume. Therefore, a mechanism is

Re: [PATCH RFC] powerpc/mpc85xx: add support for the kmp204x reference board

2014-01-22 Thread Scott Wood
On Wed, 2014-01-22 at 17:38 +0100, Valentin Longchamp wrote: On 01/21/2014 06:01 PM, Scott Wood wrote: On Tue, 2014-01-21 at 17:34 +0100, Valentin Longchamp wrote: Can you please explicitly tell me how I should build this node ? What other comments ? Must I be more generic with the name ?

Re: [PATCH 3/3] powerpc/fsl: Use the new interface to save or restore registers

2014-01-22 Thread Scott Wood
On Sun, 2014-01-19 at 23:57 -0600, Wang Dongsheng-B40534 wrote: Use fsl_cpu_state_save/fsl_cpu_state_restore to save/restore registers. Use the functions to save/restore registers, so we don't need to maintain the code. Signed-off-by: Wang Dongsheng

Re: [PATCH 0/8] Add support for PowerPC Hypervisor supplied performance counters

2014-01-22 Thread Cody P Schafer
On 01/21/2014 05:32 PM, Michael Ellerman wrote: On Thu, 2014-01-16 at 15:53 -0800, Cody P Schafer wrote: These patches add basic pmus for 2 powerpc hypervisor interfaces to obtain performance counters: gpci (get performance counter info) and 24x7. The counters supplied by these interfaces are

Re: [PATCH RFC 00/73] tree-wide: clean up some no longer required #include linux/init.h

2014-01-22 Thread Paul Gortmaker
[Re: [PATCH RFC 00/73] tree-wide: clean up some no longer required #include linux/init.h] On 22/01/2014 (Wed 18:00) Stephen Rothwell wrote: Hi Paul, On Tue, 21 Jan 2014 16:22:03 -0500 Paul Gortmaker paul.gortma...@windriver.com wrote: Where: This work exists as a queue of patches that

Re: [PATCH] clk: corenet: Update the clock bindings

2014-01-22 Thread Scott Wood
On Tue, 2014-01-21 at 10:02 +0800, Tang Yuantian wrote: From: Tang Yuantian yuantian.t...@freescale.com Main changs include: - Clarified the clock nodes' version number - Fixed a issue in example Singed-off-by: Tang Yuantian yuantian.t...@freescale.com ---

Re: [PATCH 2/3] powerpc/85xx: Provide two functions to save/restore the core registers

2014-01-22 Thread Scott Wood
On Mon, 2014-01-20 at 20:43 -0600, Wang Dongsheng-B40534 wrote: -Original Message- From: Wood Scott-B07421 Sent: Tuesday, January 21, 2014 9:06 AM To: Wang Dongsheng-B40534 Cc: b...@kernel.crashing.org; Zhao Chenhui-B35336; an...@enomsg.org; linuxppc- d...@lists.ozlabs.org

Re: [PATCH] mtd: m25p80: Make the name of mtd_info fixed

2014-01-22 Thread Brian Norris
Hi Hou, On Mon, Jan 06, 2014 at 02:34:29PM +0800, Hou Zhiqiang wrote: To give spi flash layout using mtdparts=... in cmdline, we must give mtd_info a fixed name,because the cmdlinepart's parser will match the name given in cmdline with the mtd_info. Now, if use OF node, mtd_info's name will

RE: [PATCH] clk: corenet: Update the clock bindings

2014-01-22 Thread Yuantian Tang
-Original Message- From: Wood Scott-B07421 Sent: 2014年1月23日 星期四 8:44 To: Tang Yuantian-B29983 Cc: Wood Scott-B07421; ga...@kernel.crashing.org; linuxppc- d...@lists.ozlabs.org; devicet...@vger.kernel.org; Kushwaha Prabhakar- B32579 Subject: Re: [PATCH] clk: corenet: Update the

RE: [PATCH 2/3] powerpc/85xx: Provide two functions to save/restore the core registers

2014-01-22 Thread dongsheng.w...@freescale.com
The whole point of calling enable_kernel_fp() in C code before suspending is to ensure that the FP state gets saved. If FP is used after that point it is a bug. If you're worried about such bugs, then clear MSR[FP] after calling enable_kernel_fp(), rather than adding redundant

RE: [PATCH 3/3] powerpc/fsl: Use the new interface to save or restore registers

2014-01-22 Thread dongsheng.w...@freescale.com
Currently does not support. ok change the name first, if later support, and then again to modify the name of this function. How about 85xx_cpu_state_restore? Symbols can't begin with numbers. booke_cpu_state_restore would be better (it would still provide a place for 44x to be added

RE: [PATCH] mtd: m25p80: Make the name of mtd_info fixed

2014-01-22 Thread b48...@freescale.com
Hi Brian, Thanks for your comments! -Original Message- From: Brian Norris [mailto:computersforpe...@gmail.com] Sent: Thursday, January 23, 2014 10:12 AM To: Hou Zhiqiang-B48286 Cc: linux-...@lists.infradead.org; linuxppc-...@ozlabs.org; Wood Scott- B07421; Hu Mingkai-B21284;

Re: [PATCH V5 6/8] time/cpuidle: Support in tick broadcast framework in the absence of external clock device

2014-01-22 Thread Preeti U Murthy
Hi Thomas, Thank you very much for the review. On 01/22/2014 06:57 PM, Thomas Gleixner wrote: On Wed, 15 Jan 2014, Preeti U Murthy wrote: diff --git a/kernel/time/clockevents.c b/kernel/time/clockevents.c index 086ad60..d61404e 100644 --- a/kernel/time/clockevents.c +++

[PATCH 1/2] clocksource: Remove outdated comments

2014-01-22 Thread Yijing Wang
clocksource_register() and __clocksource_register_scale() always return 0, so the comment is just pointless, it's outdated, remove it. Signed-off-by: Yijing Wang wangyij...@huawei.com --- kernel/time/clocksource.c |3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git

[PATCH 2/2] clocksource: Make clocksource register functions void

2014-01-22 Thread Yijing Wang
Currently, clocksource_register() and __clocksource_register_scale() functions always return 0, it's pointless, make functions void. And remove the dead code that check the clocksource_register_hz() return value. Signed-off-by: Yijing Wang wangyij...@huawei.com --- arch/arm/mach-davinci/time.c

Re: [PATCH 2/2] clocksource: Make clocksource register functions void

2014-01-22 Thread Geert Uytterhoeven
On Thu, Jan 23, 2014 at 8:45 AM, Tony Prisk li...@prisktech.co.nz wrote: -static inline int clocksource_register_hz(struct clocksource *cs, u32 hz) +static inline void clocksource_register_hz(struct clocksource *cs, u32 hz) { return __clocksource_register_scale(cs, 1, hz); }