linux-next: build failure after merge of the final tree (linus' tree related)

2013-03-21 Thread Stephen Rothwell
Hi all, After merging the final tree, today's linux-next build (powerpc64 allnoconfig) failed like this: In file included from arch/powerpc/include/asm/kvm_ppc.h:33:0, from arch/powerpc/kernel/setup_64.c:67: arch/powerpc/include/asm/kvm_book3s.h:65:20: error: field 'pte' has

Re: [PATCH] powerpc/uprobes: teach uprobes to ignore gdb breakpoints

2013-03-21 Thread Ananth N Mavinakayanahalli
On Wed, Mar 20, 2013 at 05:06:44PM +0100, Oleg Nesterov wrote: On 03/20, Ananth N Mavinakayanahalli wrote: On Wed, Mar 20, 2013 at 01:26:39PM +0100, Oleg Nesterov wrote: But, at the same time, is the new definition fine for verify_opcode()? IOW, powerpc has another is_trap()

Re: [PATCH] powerpc/uprobes: teach uprobes to ignore gdb breakpoints

2013-03-21 Thread Ananth N Mavinakayanahalli
On Wed, Mar 20, 2013 at 05:07:28PM +0100, Oleg Nesterov wrote: On 03/20, Ananth N Mavinakayanahalli wrote: On Wed, Mar 20, 2013 at 01:43:01PM +0100, Oleg Nesterov wrote: On 03/20, Oleg Nesterov wrote: But we did not install UPROBE_SWBP_INSN. Is it fine? I hope yes, just to

Re: [RFC PATCH -V2 00/21] THP support for PPC64

2013-03-21 Thread Simon Jeons
Hi Aneesh, On 02/22/2013 12:47 AM, Aneesh Kumar K.V wrote: Hi, This patchset adds transparent huge page support for PPC64. I am marking the series to linux-mm because the PPC64 implementation required few interface changes to core THP code. I still have considerable number of FIXME!! in the

Re: [PATCH] powerpc: add CONFIG(s) require for using flash controller

2013-03-21 Thread Kumar Gala
On Mar 18, 2013, at 3:31 AM, Prabhakar Kushwaha wrote: Add CONFIG(s) required for NAND and NOR flash controller usage. It defines MTD, Jffs2 and UBIFS file system required for controllers. It also enables IFC controller Signed-off-by: Prabhakar Kushwaha prabha...@freescale.com ---

MPC5121e, Linux, simple IO ports

2013-03-21 Thread CF Studelec
Hello, This is a simple board base on mpc5121e MCU. Gpio is detected: kernel is compiled with its support - i got gpiochip_find_base: found new base @224 in dmesg - on kernel 3.0.4. But i'm unable to access it through /sys/class/gpio. I can successfully export a pin (ie, if i type cat 224

Re: [PATCH 2/2] powerpc/fsl-booke: Update DCSR EPU device tree entries

2013-03-21 Thread Kumar Gala
On Mar 18, 2013, at 2:11 PM, Kumar Gala wrote: From: Stephen George stephen.geo...@freescale.com Identifies the epu as compatible with Chassis v1 Debug IP. Signed-off-by: Stephen George stephen.geo...@freescale.com Signed-off-by: Kumar Gala ga...@kernel.crashing.org ---

Re: [PATCH 1/2] powerpc/fsl-booke: Added device tree DCSR entries for

2013-03-21 Thread Kumar Gala
On Mar 18, 2013, at 2:11 PM, Kumar Gala wrote: From: Stephen George stephen.geo...@freescale.com Signed-off-by: Stephen George stephen.geo...@freescale.com Signed-off-by: Kumar Gala ga...@kernel.crashing.org --- arch/powerpc/boot/dts/fsl/t4240si-post.dtsi | 131

[PATCH] memblock: kill config MAX_ACTIVE_REGIONS

2013-03-21 Thread Paul Bolle
The Kconfig symbol MAX_ACTIVE_REGIONS is unused. Commit 0ee332c1451869963626bf9cac88f165a90990e1 (memblock: Kill early_node_map[]) removed the only place were it was actually used. But it did not remove its Kconfig entries (for powerpc and sh). Remove those two entries (and the entry for metag,

Re: [PATCH] memblock: kill config MAX_ACTIVE_REGIONS

2013-03-21 Thread Paul Mundt
On Thu, Mar 21, 2013 at 10:27:56AM +0100, Paul Bolle wrote: The Kconfig symbol MAX_ACTIVE_REGIONS is unused. Commit 0ee332c1451869963626bf9cac88f165a90990e1 (memblock: Kill early_node_map[]) removed the only place were it was actually used. But it did not remove its Kconfig entries (for

Re: [PATCH] memblock: kill config MAX_ACTIVE_REGIONS

2013-03-21 Thread James Hogan
On 21/03/13 09:34, Paul Mundt wrote: On Thu, Mar 21, 2013 at 10:27:56AM +0100, Paul Bolle wrote: The Kconfig symbol MAX_ACTIVE_REGIONS is unused. Commit 0ee332c1451869963626bf9cac88f165a90990e1 (memblock: Kill early_node_map[]) removed the only place were it was actually used. But it did not

[PATCH] powerpc/dts: Add qe support for 36bit

2013-03-21 Thread Zhicheng Fan
fixed the following errors: Error: arch/powerpc/boot/dts/p1025rdb.dtsi:326.2-3 label or path, 'qe', not found Error: arch/powerpc/boot/dts/fsl/p1021si-post.dtsi:242.2-3 label or path, 'qe', not found FATAL ERROR: Syntax error parsing input tree Signed-off-by: Zhicheng

Re: [PATCH] KVM: PPC: e500: Expose MMU registers via ONE_REG

2013-03-21 Thread Alexander Graf
On 19.03.2013, at 18:26, Scott Wood wrote: On 03/19/2013 12:17:11 PM, Mihai Caraman wrote: diff --git a/arch/powerpc/kvm/e500_mmu.c b/arch/powerpc/kvm/e500_mmu.c index 66b6e31..b77b855 100644 --- a/arch/powerpc/kvm/e500_mmu.c +++ b/arch/powerpc/kvm/e500_mmu.c @@ -596,6 +596,95 @@ int

Re: [PATCH] KVM: PPC: e500: Add separate functions for vcpu's MMU configuration

2013-03-21 Thread Alexander Graf
On 19.03.2013, at 18:16, Mihai Caraman wrote: Move vcpu's MMU default configuration and geometry update into their own functions. Mind to explain why? Alex Signed-off-by: Mihai Caraman mihai.cara...@freescale.com --- arch/powerpc/kvm/e500_mmu.c | 59

RE: [PATCH V2] powerpc/85xx: workaround for chips with MSI hardware errata

2013-03-21 Thread Jia Hongtao-B38951
-Original Message- From: Wood Scott-B07421 Sent: Wednesday, March 20, 2013 12:32 AM To: Jia Hongtao-B38951 Cc: Kumar Gala; linuxppc-dev@lists.ozlabs.org; Wood Scott-B07421; mich...@ellerman.id.au; Li Yang-R58472 Subject: Re: [PATCH V2] powerpc/85xx: workaround for chips with MSI

RE: [PATCH] KVM: PPC: e500: Expose MMU registers via ONE_REG

2013-03-21 Thread Caraman Mihai Claudiu-B02008
-Original Message- From: Alexander Graf [mailto:ag...@suse.de] Sent: Thursday, March 21, 2013 12:07 PM To: Wood Scott-B07421 Cc: Caraman Mihai Claudiu-B02008; kvm-...@vger.kernel.org; linuxppc- d...@lists.ozlabs.org; k...@vger.kernel.org Subject: Re: [PATCH] KVM: PPC: e500: Expose

Re: [PATCH] KVM: PPC: e500: Expose MMU registers via ONE_REG

2013-03-21 Thread Alexander Graf
On 21.03.2013, at 12:02, Caraman Mihai Claudiu-B02008 wrote: -Original Message- From: Alexander Graf [mailto:ag...@suse.de] Sent: Thursday, March 21, 2013 12:07 PM To: Wood Scott-B07421 Cc: Caraman Mihai Claudiu-B02008; kvm-...@vger.kernel.org; linuxppc- d...@lists.ozlabs.org;

[PATCH] powerpc: drop even more unused Kconfig symbols

2013-03-21 Thread Paul Bolle
When I submitted commit 6805ab6daa2b589fe3242d05ddc47a9dbb0c4eb1 (powerpc: drop unused Kconfig symbols) I apparently failed to notice that my patch also made PREP_RESIDUAL and PPC_A2_DD2 unused. Drop these now. Signed-off-by: Paul Bolle pebo...@tiscali.nl --- 0) Untested. 1) I investigated these

RE: [PATCH] KVM: PPC: e500: Add separate functions for vcpu's MMU configuration

2013-03-21 Thread Caraman Mihai Claudiu-B02008
-Original Message- From: kvm-ppc-ow...@vger.kernel.org [mailto:kvm-ppc- ow...@vger.kernel.org] On Behalf Of Alexander Graf Sent: Thursday, March 21, 2013 12:07 PM To: Caraman Mihai Claudiu-B02008 Cc: kvm-...@vger.kernel.org; k...@vger.kernel.org; linuxppc- d...@lists.ozlabs.org

RE: [PATCH] KVM: PPC: e500: Expose MMU registers via ONE_REG

2013-03-21 Thread Caraman Mihai Claudiu-B02008
-Original Message- From: Alexander Graf [mailto:ag...@suse.de] Sent: Thursday, March 21, 2013 1:07 PM To: Caraman Mihai Claudiu-B02008 Cc: Wood Scott-B07421; kvm-...@vger.kernel.org; linuxppc- d...@lists.ozlabs.org; k...@vger.kernel.org Subject: Re: [PATCH] KVM: PPC: e500: Expose

Re: [PATCH] KVM: PPC: e500: Add separate functions for vcpu's MMU configuration

2013-03-21 Thread Alexander Graf
On 21.03.2013, at 12:19, Caraman Mihai Claudiu-B02008 wrote: -Original Message- From: kvm-ppc-ow...@vger.kernel.org [mailto:kvm-ppc- ow...@vger.kernel.org] On Behalf Of Alexander Graf Sent: Thursday, March 21, 2013 12:07 PM To: Caraman Mihai Claudiu-B02008 Cc:

Re: [Suggestion] PowerPC: kernel: cross compiling issue with allmodconfig

2013-03-21 Thread Benjamin Herrenschmidt
On Thu, 2013-03-21 at 16:26 +0800, Chen Gang F T wrote: it seems: only move slb_miss_realmode to the end, can fix this issue without negative effect. Thanks. I'm currently on vacation, I'll have a closer look when I'm back unless Stephen or Paulus wants to shoot that to Linus while I'm

Re: [PATCH] [RFC] powerpc: Add VDSO version of time

2013-03-21 Thread Adhemerval Zanella
On 20-03-2013 02:00, Benjamin Herrenschmidt wrote: On Tue, 2013-03-19 at 16:55 -0300, Adhemerval Zanella wrote: I focused on 64 bit kernel, do I need to provide a scheme for 32 bits as well? You did provide both 32 and 64-bit VDSO implementations so 32-bit kernels should be covered. Indeed

Re: MPC5121e, Linux, simple IO ports

2013-03-21 Thread CF Studelec
Sorry to bump the post, i'm wondering if it was correctly sent. Le 21/03/2013 09:54, CF Studelec a écrit : Hello, This is a simple board base on mpc5121e MCU. Gpio is detected: kernel is compiled with its support - i got gpiochip_find_base: found new base @224 in dmesg - on kernel 3.0.4.

Re: [PATCH] powerpc/uprobes: teach uprobes to ignore gdb breakpoints

2013-03-21 Thread Oleg Nesterov
On 03/21, Ananth N Mavinakayanahalli wrote: On Wed, Mar 20, 2013 at 05:06:44PM +0100, Oleg Nesterov wrote: But we did not install UPROBE_SWBP_INSN. Is it fine? I hope yes, just to verify. If not, we need 2 definitions. is_uprobe_insn() should still check insns ==

Re: [PATCH] powerpc/uprobes: teach uprobes to ignore gdb breakpoints

2013-03-21 Thread Oleg Nesterov
On 03/21, Ananth N Mavinakayanahalli wrote: ? On Wed, Mar 20, 2013 at 05:07:28PM +0100, Oleg Nesterov wrote: On 03/20, Ananth N Mavinakayanahalli wrote: On Wed, Mar 20, 2013 at 01:43:01PM +0100, Oleg Nesterov wrote: On 03/20, Oleg Nesterov wrote: IOW, if I wasn't clear...

Re: [PATCH] powerpc/dts: Add qe support for 36bit

2013-03-21 Thread Timur Tabi
On Thu, Mar 21, 2013 at 4:26 AM, Zhicheng Fan b32...@freescale.com wrote: + qe: qe@fffe8 { + ranges = 0x0 0xf 0xffe8 0x4; Are you sure this works? The QE can't handle 36-bit addresses, and I think the MURAM is located inside the QE address space.

Re: [Suggestion] PowerPC: kernel: cross compiling issue with allmodconfig

2013-03-21 Thread Michael Neuling
Chen Gang gang.c...@asianux.com wrote: Hello All: summary: the root cause is no enough room in exception area (0x5500 -- 0x7000). it is caused by the patches for saving/restre PPR: they consumed much space of this area (0x5500 -- 0x7000). for pseries_defconfig and

Re: [Suggestion] PowerPC: kernel: cross compiling issue with allmodconfig

2013-03-21 Thread Michael Neuling
or can you send a fix? This is currently broken in linux-next (at least next-20130321). Mikey diff --git a/arch/powerpc/kernel/exceptions-64s.S b/arch/powerpc/kernel/exceptions-64s.S index 200afa5..56bd923 100644 --- a/arch/powerpc/kernel/exceptions-64s.S +++ b/arch/powerpc/kernel

[PATCH] kvm: (ppc) stub out more functions in order to permit kernel to build

2013-03-21 Thread Phil Carmody
Build failure mentioned by Stephen Rothwell here: http://www.mail-archive.com/linuxppc-dev@lists.ozlabs.org/msg65408.html Traced to: commit f445f11eb2cc -KVM: allow host header to be included even for !CONFIG_KVM This patch permits the build to progress by stubbing out the two functions that it

[PATCH] KVM: fix powerpc build error for !CONFIG_KVM

2013-03-21 Thread Stephen Rothwell
Fixes these build error when CONFIG_KVM is not defined: In file included from arch/powerpc/include/asm/kvm_ppc.h:33:0, from arch/powerpc/kernel/setup_64.c:67: arch/powerpc/include/asm/kvm_book3s.h:65:20: error: field 'pte' has incomplete type

Re: [PATCH 4/11] Add platform_has_feature()

2013-03-21 Thread Michael Ellerman
On Tue, Mar 19, 2013 at 01:15:02PM -0500, Nathan Fontenot wrote: On 03/14/2013 08:42 AM, Michael Ellerman wrote: On Fri, Mar 08, 2013 at 10:02:31PM -0600, Nathan Fontenot wrote: The firmware_has_feature() function makes it easy to check for supported features of the hardware. There is not

Re: [PATCH] powerpc: Add accounting for Doorbell interrupts

2013-03-21 Thread Michael Ellerman
On Wed, Mar 20, 2013 at 06:42:12PM +1100, Ian Munsie wrote: From: Ian Munsie imun...@au1.ibm.com This patch adds a new line to /proc/interrupts to account for the doorbell interrupts that each hardware thread has received. The total interrupt count in /proc/stat will now also include

Re: [PATCH] powerpc: drop even more unused Kconfig symbols

2013-03-21 Thread Michael Ellerman
On Thu, Mar 21, 2013 at 12:10:06PM +0100, Paul Bolle wrote: When I submitted commit 6805ab6daa2b589fe3242d05ddc47a9dbb0c4eb1 (powerpc: drop unused Kconfig symbols) I apparently failed to notice that my patch also made PREP_RESIDUAL and PPC_A2_DD2 unused. Drop these now. Signed-off-by: Paul

Re: [PATCH] powerpc/uprobes: teach uprobes to ignore gdb breakpoints

2013-03-21 Thread Ananth N Mavinakayanahalli
On Thu, Mar 21, 2013 at 05:00:02PM +0100, Oleg Nesterov wrote: On 03/21, Ananth N Mavinakayanahalli wrote: ? On Wed, Mar 20, 2013 at 05:07:28PM +0100, Oleg Nesterov wrote: On 03/20, Ananth N Mavinakayanahalli wrote: On Wed, Mar 20, 2013 at 01:43:01PM +0100, Oleg Nesterov wrote:

Re: [PATCH] powerpc/uprobes: teach uprobes to ignore gdb breakpoints

2013-03-21 Thread Ananth N Mavinakayanahalli
On Thu, Mar 21, 2013 at 04:58:09PM +0100, Oleg Nesterov wrote: On 03/21, Ananth N Mavinakayanahalli wrote: On Wed, Mar 20, 2013 at 05:06:44PM +0100, Oleg Nesterov wrote: But we did not install UPROBE_SWBP_INSN. Is it fine? I hope yes, just to verify. If not, we need 2

Re: [PATCH] powerpc: Add accounting for Doorbell interrupts

2013-03-21 Thread Ian Munsie
Excerpts from Michael Ellerman's message of 2013-03-22 15:18:03 +1100: On Wed, Mar 20, 2013 at 06:42:12PM +1100, Ian Munsie wrote: From: Ian Munsie imun...@au1.ibm.com This patch adds a new line to /proc/interrupts to account for the doorbell interrupts that each hardware thread has

[PATCH v2] powerpc: Add accounting for Doorbell interrupts

2013-03-21 Thread Ian Munsie
From: Ian Munsie imun...@au1.ibm.com This patch adds a new line to /proc/interrupts to account for the doorbell interrupts that each hardware thread has received. The total interrupt count in /proc/stat will now also include doorbells. # cat /proc/interrupts CPU0 CPU1