Re: [PATCH v4 12/19] cpufreq: cpufreq-cpu0: remove device tree parsing for cpu nodes

2013-09-09 Thread Sudeep KarkadaNagesha
On 06/09/13 14:44, Guennadi Liakhovetski wrote: > Hi > > On Tue, 20 Aug 2013, Sudeep KarkadaNagesha wrote: > >> From: Sudeep KarkadaNagesha >> >> Now that the cpu device registration initialises the of_node(if available) >> appropriately for all the cpus, parsing here is redundant. >> >> This pa

Re: [RFC PATCH v3 04/12] Validate r1 value before going to host kernel in virtual mode.

2013-09-09 Thread Benjamin Herrenschmidt
On Mon, 2013-09-09 at 15:29 +1000, Paul Mackerras wrote: > Are we guaranteed that Sapphire will keep the stack pointer positive > at all times? (More a question for Ben H than you.) Good point, we *might* eventually set the top bit.. Ben. ___ Linuxpp

Re: Please pull 'next' branch of 5xxx tree

2013-09-09 Thread Anatolij Gustschin
On Thu, 05 Sep 2013 16:50:48 +1000 Benjamin Herrenschmidt wrote: ... > Thanks. BTW. Next time, any chance you can base this off the same point > in Linus tree where my next branch is based ? Or base of my next > branch :-) Okay, I will base of your next branch. Thanks, Anatolij ___

[PATCH V3] powerpc: Add I2C bus multiplexer node for B4 and T4240QDS

2013-09-09 Thread Jia Hongtao
In both B4 and T4240QDS platform PCA9547 I2C bus multiplexer is used. The sub-nodes are also reorganized according to right I2C topology. Signed-off-by: Jia Hongtao --- V3 change log: * Change "channel" to "i2c" based on i2c-mux binding. * Update vendor from philips to nxp. V2 change log: * Reor

Re: [PATCH] powerpc: OE=1 Form Instructions Not Decoded Correctly

2013-09-09 Thread Benjamin Herrenschmidt
On Mon, 2013-09-09 at 08:35 +1000, Paul Mackerras wrote: > On Fri, Sep 06, 2013 at 10:13:00AM -0500, Tom Musta wrote: > > To: linuxppc-dev@lists.ozlabs.org > > Subject: [PATCH] powerpc: OE=1 Form Instructions Not Decoded Correctly > > From: Tom Musta > > > > PowerISA uses instruction bit 21 to in

Re: [PATCH] powerpc: OE=1 Form Instructions Not Decoded Correctly

2013-09-09 Thread Benjamin Herrenschmidt
On Mon, 2013-09-09 at 08:35 +1000, Paul Mackerras wrote: > > Also, you need to indent your code correctly according to > Documentation/CodingStyle. Looks like the patch has been mangled by the mailer ... it's in HTML to begin with :-) Tom, you need to find a mailer setup that works for sending p

Re: [PATCH v4 12/19] cpufreq: cpufreq-cpu0: remove device tree parsing for cpu nodes

2013-09-09 Thread Shawn Guo
Hi Sudeep, On Mon, Sep 09, 2013 at 10:24:39AM +0100, Sudeep KarkadaNagesha wrote: > Hi Shawn, > > Can you please clarify ? The fix would be as below but I would like to > know if setting cpu_dev to get_cpu_device(0) instead of &pdev->dev has > any impact on other parts of code using cpu_dev ? I'

Re: [PATCH v4 12/19] cpufreq: cpufreq-cpu0: remove device tree parsing for cpu nodes

2013-09-09 Thread Sudeep KarkadaNagesha
On 09/09/13 15:32, Shawn Guo wrote: > Hi Sudeep, > > On Mon, Sep 09, 2013 at 10:24:39AM +0100, Sudeep KarkadaNagesha wrote: >> Hi Shawn, >> >> Can you please clarify ? The fix would be as below but I would like to >> know if setting cpu_dev to get_cpu_device(0) instead of &pdev->dev has >> any imp

big latency while under HV

2013-09-09 Thread Ivan Krivonos
Hi, i`m working on the embedded hypervisor targeting QorIQ platforms (p3041/p4080). I have working prototype starting custom RTOS on just single core in the guest space. What I see is the big latency (up to 3 times more) in RTOS running atop of HV comparing to RTOS running bare-metal. I`m using lm

Re: [PATCH] powerpc: OE=1 Form Instructions Not Decoded Correctly

2013-09-09 Thread Tom Musta
> Looks like the patch has been mangled by the mailer ... it's in HTML to > begin with :-) Frustrating. I did use a plain text option on the mail client and did a test send to a few accounts before posting to the mailing list. The patch was verified by checkpatch.pl before it got mangled. I w

Re: [PATCH] powerpc: OE=1 Form Instructions Not Decoded Correctly

2013-09-09 Thread Tom Musta
> > Isn't that code occasionally used with uprobes too nowadays ? > > Yes. I believe so. I'm going to back-pedal a little. I reread code and can connect single step code to kprobes but not necessarily to uprobes. So I am not sure that this code is used with uprobes.

Re: powerpc allmodconfig build broken due to commit 15863ff3b (powerpc: Make chip-id information available to userspace)

2013-09-09 Thread Asai Thambi S P
On 09/08/2013 5:28 PM, Guenter Roeck wrote: Hi all, powerpc allmodconfig build on the latest upstream kernel results in: ERROR: ".cpu_to_chip_id" [drivers/block/mtip32xx/mtip32xx.ko] undefined! This is due to commit 15863ff3b (powerpc: Make chip-id information available to userspace). Not su

Re: [PATCH] powerpc: OE=1 Form Instructions Not Decoded Correctly

2013-09-09 Thread Stephen Rothwell
Hi Tom, On Mon, 9 Sep 2013 07:44:54 -0500 Tom Musta wrote: > > > Looks like the patch has been mangled by the mailer ... it's in HTML to > > begin with :-) > > Frustrating. I did use a plain text option on the mail client and did a > test send to a few accounts before posting to the mailing lis

Re: powerpc allmodconfig build broken due to commit 15863ff3b (powerpc: Make chip-id information available to userspace)

2013-09-09 Thread Guenter Roeck
On 09/09/2013 04:55 PM, Asai Thambi S P wrote: On 09/08/2013 5:28 PM, Guenter Roeck wrote: Hi all, powerpc allmodconfig build on the latest upstream kernel results in: ERROR: ".cpu_to_chip_id" [drivers/block/mtip32xx/mtip32xx.ko] undefined! This is due to commit 15863ff3b (powerpc: Make chip-

[PATCH] powerpc: Export cpu_to_chip_id() to fix build error

2013-09-09 Thread Guenter Roeck
powerpc allmodconfig build fails with: ERROR: ".cpu_to_chip_id" [drivers/block/mtip32xx/mtip32xx.ko] undefined! The problem was introduced with commit 15863ff3b (powerpc: Make chip-id information available to userspace). Export the missing symbol. Cc: Vasant Hegde Cc: Shivaprasad G Bhat Signe

Re: [PATCH V2 0/6] perf: New conditional branch filter

2013-09-09 Thread Michael Ellerman
On Fri, 2013-08-30 at 09:54 +0530, Anshuman Khandual wrote: > This patchset is the re-spin of the original branch stack sampling > patchset which introduced new PERF_SAMPLE_BRANCH_COND filter. This patchset > also enables SW based branch filtering support for PPC64 platforms which have > bran

Re: [PATCH v4 12/19] cpufreq: cpufreq-cpu0: remove device tree parsing for cpu nodes

2013-09-09 Thread Shawn Guo
On Mon, Sep 09, 2013 at 04:24:18PM +0100, Sudeep KarkadaNagesha wrote: > Hi Shawn, > > Ok. But I am bit suspicious about devm_clk_get(cpu_dev, NULL). > I don't understand completely as how the clock are registered(whether > with dev_id or with connection_id). As the connection_id of devm_clk_get(

Re: [PATCH V2 0/6] perf: New conditional branch filter

2013-09-09 Thread Anshuman Khandual
On 09/10/2013 07:36 AM, Michael Ellerman wrote: > On Fri, 2013-08-30 at 09:54 +0530, Anshuman Khandual wrote: >> This patchset is the re-spin of the original branch stack sampling >> patchset which introduced new PERF_SAMPLE_BRANCH_COND filter. This patchset >> also enables SW based branch fil

[PATCH] powerpc/p1010rdb:update phy node in dts

2013-09-09 Thread Zhao Qiang
Update phy node according to new P1010RDB-PB board. Signed-off-by: Shengzhou Liu Signed-off-by: Zhao Qiang --- arch/powerpc/boot/dts/p1010rdb.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/boot/dts/p1010rdb.dtsi b/arch/powerpc/boot/dts/p1010rdb.dtsi i

Re: [PATCH v9 2/3] DMA: Freescale: Add new 8-channel DMA engine device tree nodes

2013-09-09 Thread Hongbo Zhang
Mark? ping. On 09/03/2013 05:01 PM, Hongbo Zhang wrote: On 09/02/2013 11:58 PM, Mark Rutland wrote: Hi, On Fri, Aug 30, 2013 at 12:26:19PM +0100, hongbo.zh...@freescale.com wrote: From: Hongbo Zhang Freescale QorIQ T4 and B4 introduce new 8-channel DMA engines, this patch adds the device