Re: [PATCH V2 1/2] powerpc, perf: Ignore separate BHRB privilege state filter request

2013-06-06 Thread Anshuman Khandual
On 06/06/2013 10:26 AM, Michael Neuling wrote: Anshuman Khandual khand...@linux.vnet.ibm.com wrote: Completely ignore BHRB privilege state filter request as we are already configuring that with privilege state filtering attribute for the accompanying PMU event. This would help achieve

Re: [PATCH -V10 00/15] THP support for PPC64

2013-06-06 Thread Aneesh Kumar K.V
Andrew Morton a...@linux-foundation.org writes: On Thu, 06 Jun 2013 09:31:06 +1000 Benjamin Herrenschmidt b...@kernel.crashing.org wrote: On Wed, 2013-06-05 at 20:58 +0530, Aneesh Kumar K.V wrote: This is the second patchset needed to support THP on ppc64. Some of the changes

[PATCH] net: Unbreak compat_sys_{send,recv}msg

2013-06-06 Thread Andy Lutomirski
I broke them in this commit: commit 1be374a0518a288147c6a7398792583200a67261 Author: Andy Lutomirski l...@amacapital.net Date: Wed May 22 14:07:44 2013 -0700 net: Block MSG_CMSG_COMPAT in send(m)msg and recv(m)msg This patch adds __sys_sendmsg and __sys_sendmsg as common

Re: [PATCH -V10 00/15] THP support for PPC64

2013-06-06 Thread Andrew Morton
On Thu, 06 Jun 2013 11:35:47 +0530 Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com wrote: Andrew Morton a...@linux-foundation.org writes: On Thu, 06 Jun 2013 09:31:06 +1000 Benjamin Herrenschmidt b...@kernel.crashing.org wrote: On Wed, 2013-06-05 at 20:58 +0530, Aneesh Kumar K.V

Re: [PATCH] net: Unbreak compat_sys_{send,recv}msg

2013-06-06 Thread David Miller
From: Andy Lutomirski l...@amacapital.net Date: Wed, 5 Jun 2013 22:38:26 -0700 I broke them in this commit: commit 1be374a0518a288147c6a7398792583200a67261 Author: Andy Lutomirski l...@amacapital.net Date: Wed May 22 14:07:44 2013 -0700 net: Block MSG_CMSG_COMPAT

RE: [RFC PATCH 0/6] KVM: PPC: Book3E: AltiVec support

2013-06-06 Thread Caraman Mihai Claudiu-B02008
This looks like a bit much for 3.10 (certainly, subject lines like refactor and enhance and add support aren't going to make Linus happy given that we're past rc4) so I think we should apply http://patchwork.ozlabs.org/patch/242896/ for 3.10. Then for 3.11, revert it after

Re: IBM OpenPower 720 ipr driver woes

2013-06-06 Thread Brian King
On 06/05/2013 04:14 PM, Robert Knight wrote: On 6/3/2013 11:52 PM, Gavin Shan wrote: On Tue, Jun 04, 2013 at 01:16:52PM +1000, Tony Breeds wrote: On Mon, Jun 03, 2013 at 09:40:52PM -0400, Robert Knight wrote: On 6/3/2013 8:01 PM, Tony Breeds wrote: On Mon, Jun 03, 2013 at 05:20:12PM -0400,

Re: IBM OpenPower 720 ipr driver woes

2013-06-06 Thread Robert Knight
On 06/06/2013 07:32 AM, Brian King wrote: On 06/05/2013 04:14 PM, Robert Knight wrote: On 6/3/2013 11:52 PM, Gavin Shan wrote: On Tue, Jun 04, 2013 at 01:16:52PM +1000, Tony Breeds wrote: On Mon, Jun 03, 2013 at 09:40:52PM -0400, Robert Knight wrote: On 6/3/2013 8:01 PM, Tony Breeds wrote:

Re: [PATCH] net: Unbreak compat_sys_{send,recv}msg

2013-06-06 Thread Eric Dumazet
On Thu, 2013-06-06 at 00:26 -0700, David Miller wrote: From: Andy Lutomirski l...@amacapital.net Date: Wed, 5 Jun 2013 22:38:26 -0700 I broke them in this commit: commit 1be374a0518a288147c6a7398792583200a67261 Author: Andy Lutomirski l...@amacapital.net Date: Wed May

[PATCH 2/2] KVM: PPC: Book3E: Get vcpu's last instruction for emulation

2013-06-06 Thread Mihai Caraman
lwepx faults needs to be handled by KVM and this implies additional code in DO_KVM macro to identify the source of the exception originated in host context. This requires to check the Exception Syndrome Register (ESR[EPID]) and External PID Load Context Register (EPLC[EGS]) for DTB_MISS, DSI and

[PATCH 1/2] KVM: PPC: e500mc: Revert add load inst fixup

2013-06-06 Thread Mihai Caraman
lwepx faults needs to be handled by KVM. With the current solution the host kernel searches for the faulting address using its LPID context. If a host translation is found we return to the lwepx instr instead of the fixup ending up in an infinite loop. Revert the commit 1d628af7 add load inst

Re: [PATCH v3, part1 03/10] PCI: Convert alloc_pci_dev(void) to pci_alloc_dev(bus) instead

2013-06-06 Thread Jiang Liu
On Thu 06 Jun 2013 04:07:18 AM CST, Bjorn Helgaas wrote: On Sat, May 25, 2013 at 7:48 AM, Jiang Liu liu...@gmail.com wrote: From: Gu Zheng guz.f...@cn.fujitsu.com Use the new pci_alloc_dev(bus) to replace the existing using of alloc_pci_dev(void). ... diff --git a/drivers/pci/probe.c

Re: [RFC PATCH 0/6] KVM: PPC: Book3E: AltiVec support

2013-06-06 Thread Scott Wood
On 06/06/2013 04:42:44 AM, Caraman Mihai Claudiu-B02008 wrote: This looks like a bit much for 3.10 (certainly, subject lines like refactor and enhance and add support aren't going to make Linus happy given that we're past rc4) so I think we should apply

Re: [PATCH] net: Unbreak compat_sys_{send,recv}msg

2013-06-06 Thread David Miller
From: Eric Dumazet eric.duma...@gmail.com Date: Thu, 06 Jun 2013 06:45:37 -0700 On Thu, 2013-06-06 at 00:26 -0700, David Miller wrote: From: Andy Lutomirski l...@amacapital.net Date: Wed, 5 Jun 2013 22:38:26 -0700 I broke them in this commit: commit

Re: [PATCH -V7 09/18] powerpc: Switch 16GB and 16MB explicit hugepages to a different page table format

2013-06-06 Thread Scott Wood
On 04/28/2013 02:37:30 PM, Aneesh Kumar K.V wrote: From: Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com We will be switching PMD_SHIFT to 24 bits to facilitate THP impmenetation. With PMD_SHIFT set to 24, we now have 16MB huge pages allocated at PGD level. That means with 32 bit process

Re: [PATCH V2 1/2] powerpc, perf: Ignore separate BHRB privilege state filter request

2013-06-06 Thread Michael Neuling
Anshuman Khandual khand...@linux.vnet.ibm.com wrote: On 06/06/2013 10:26 AM, Michael Neuling wrote: Anshuman Khandual khand...@linux.vnet.ibm.com wrote: Completely ignore BHRB privilege state filter request as we are already configuring that with privilege state filtering attribute

Re: IBM OpenPower 720 ipr driver woes

2013-06-06 Thread Gavin Shan
On Thu, Jun 06, 2013 at 08:39:45AM -0400, Robert Knight wrote: On 06/06/2013 07:32 AM, Brian King wrote: On 06/05/2013 04:14 PM, Robert Knight wrote: On 6/3/2013 11:52 PM, Gavin Shan wrote: On Tue, Jun 04, 2013 at 01:16:52PM +1000, Tony Breeds wrote: On Mon, Jun 03, 2013 at 09:40:52PM -0400,

Re: [PATCH 1/3] powerpc/mpc85xx: remove the unneeded pci init functions for corenet ds board

2013-06-06 Thread Kevin Hao
On Mon, Jun 03, 2013 at 11:42:03AM -0500, Scott Wood wrote: On 06/01/2013 07:07:20 PM, Kevin Hao wrote: On Sat, Jun 01, 2013 at 09:47:16PM +1000, Benjamin Herrenschmidt wrote: On Sat, 2013-06-01 at 18:59 +0800, Kevin Hao wrote: The effect of this change is that the isa_io_base will be 0

Re: SATA FSL and upstreaming

2013-06-06 Thread Benjamin Herrenschmidt
On Thu, 2013-05-16 at 09:56 -0500, Timur Tabi wrote: On Thu, May 16, 2013 at 1:52 AM, Benjamin Herrenschmidt b...@kernel.crashing.org wrote: 3) run pix altbak command 4) check you are on bank4 It stays on bank 0 pix altbank So I got the rev2 chip today, put it in, and PCI-E is

Re: [PATCH -V7 09/18] powerpc: Switch 16GB and 16MB explicit hugepages to a different page table format

2013-06-06 Thread Aneesh Kumar K.V
Scott Wood scottw...@freescale.com writes: On 04/28/2013 02:37:30 PM, Aneesh Kumar K.V wrote: From: Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com We will be switching PMD_SHIFT to 24 bits to facilitate THP impmenetation. With PMD_SHIFT set to 24, we now have 16MB huge pages allocated

Re: SATA FSL and upstreaming

2013-06-06 Thread Benjamin Herrenschmidt
On Fri, 2013-06-07 at 13:52 +1000, Benjamin Herrenschmidt wrote: So I got the rev2 chip today, put it in, and PCI-E is still not getting a link. Since the LEDs of the e1000 aren't coming up at all, I *suspect* the slots are getting no power. Is there a power control somewhere ? Maybe some

RE: SATA FSL and upstreaming

2013-06-06 Thread Zang Roy-R61911
-Original Message- From: Linuxppc-dev [mailto:linuxppc-dev-bounces+tie- fei.zang=freescale@lists.ozlabs.org] On Behalf Of Benjamin Herrenschmidt Sent: Friday, June 07, 2013 12:40 PM To: Timur Tabi Cc: Xie Shaohui-B21989; Liu Qiang-B32616; Zang Roy-R61911; tiejun.chen; Fleming

Re: SATA FSL and upstreaming

2013-06-06 Thread Benjamin Herrenschmidt
On Fri, 2013-06-07 at 04:45 +, Zang Roy-R61911 wrote: Forget it, reset all the jumpers to the default setup (found the doc !) and they come up now in slot 4 and 7. It also looks like uBoot now has an e1000 driver so I don't have to use fman (for which I believe there is still no

RE: SATA FSL and upstreaming

2013-06-06 Thread Zang Roy-R61911
-Original Message- From: Benjamin Herrenschmidt [mailto:b...@kernel.crashing.org] Sent: Friday, June 07, 2013 12:47 PM To: Zang Roy-R61911 Cc: Timur Tabi; Xie Shaohui-B21989; Liu Qiang-B32616; tiejun.chen; Fleming Andy-AFLEMING; Bhushan Bharat-R65777; linuxppc-

Re: [PATCH 17/18] cpufreq: powerpc: move cpufreq driver to drivers/cpufreq

2013-06-06 Thread Viresh Kumar
On 31 May 2013 16:20, Viresh Kumar viresh.ku...@linaro.org wrote: On 20 May 2013 10:10, Viresh Kumar viresh.ku...@linaro.org wrote: On 13 May 2013 11:34, Viresh Kumar viresh.ku...@linaro.org wrote: On 22 April 2013 12:19, Viresh Kumar viresh.ku...@linaro.org wrote: On 9 April 2013 14:05,

[PATCH] powerpc: Print instruction when logging unhandled exceptions

2013-06-06 Thread Anton Blanchard
It is often useful to see the instruction that caused an unhandled exception. Signed-off-by: Anton Blanchard an...@samba.org --- We print all ones if the get_user fails, do we want to go to the added effort of printing like we do in the oops code? Index: b/arch/powerpc/kernel/traps.c