[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 --- 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

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 wrote: > On 20 May 2013 10:10, Viresh Kumar wrote: >> On 13 May 2013 11:34, Viresh Kumar wrote: >>> On 22 April 2013 12:19, Viresh Kumar wrote: On 9 April 2013 14:05, Viresh Kumar wrote: > On 5 April 2013 12:16, Viresh Kumar wrote: >> On 4 April

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- > d...@lists.oz

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

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; >

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 so

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 writes: > On 04/28/2013 02:37:30 PM, Aneesh Kumar K.V wrote: >> From: "Aneesh Kumar K.V" >> >> 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 b

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 > 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 still not

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_b

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:52P

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

2013-06-06 Thread Michael Neuling
Anshuman Khandual wrote: > On 06/06/2013 10:26 AM, Michael Neuling wrote: > > Anshuman Khandual 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

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" 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 we cannot allocate normal page

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

2013-06-06 Thread David Miller
From: Eric Dumazet Date: Thu, 06 Jun 2013 06:45:37 -0700 > On Thu, 2013-06-06 at 00:26 -0700, David Miller wrote: >> From: Andy Lutomirski >> Date: Wed, 5 Jun 2013 22:38:26 -0700 >> >> > I broke them in this commit: >> > >> > commit 1be374a0518a288147c6a7398792583200a67261 >> > Author

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 > > > http://

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 wrote: >> From: Gu Zheng >> >> Use the new pci_alloc_dev(bus) to replace the existing using of >> alloc_pci_dev(void). >> ... > >> diff --git a/drivers/pci/probe.c b/drivers/pci/probe.c >> index

[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 fix

[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 LR

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 > Date: Wed, 5 Jun 2013 22:38:26 -0700 > > > I broke them in this commit: > > > > commit 1be374a0518a288147c6a7398792583200a67261 > > Author: Andy Lutomirski > > Date: Wed May 22 14:07:44 2013 -0700 >

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: O

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:

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, > > >

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

2013-06-06 Thread David Miller
From: Andy Lutomirski Date: Wed, 5 Jun 2013 22:38:26 -0700 > I broke them in this commit: > > commit 1be374a0518a288147c6a7398792583200a67261 > Author: Andy Lutomirski > Date: Wed May 22 14:07:44 2013 -0700 > > net: Block MSG_CMSG_COMPAT in send(m)msg and recv(m)msg > >

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" wrote: > Andrew Morton writes: > > > On Thu, 06 Jun 2013 09:31:06 +1000 Benjamin Herrenschmidt > > wrote: > > > >> On Wed, 2013-06-05 at 20:58 +0530, Aneesh Kumar K.V wrote: > >> > > >> > This is the second patchset needed to support THP

[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 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 helpers that accept M