Hang in inflate_dynamic for mpc8321

2009-09-16 Thread Kumar G
Hi All, Iam working on the new board bringup of linux ppc image on 2.6.24 using the powerpc mpc832x. I used the file system image (based on the initrd ram disk image), dtb file(generated by the dtc compiler for our mpc832x_rdb.dts) and the kernel powepc compiled. Iam facing a hang up in the

Re: [PATCH v3 0/3] cpu: pseries: Cpu offline states framework

2009-09-16 Thread Heiko Carstens
On Tue, Sep 15, 2009 at 08:28:34PM +0530, Balbir Singh wrote: * Peter Zijlstra a.p.zijls...@chello.nl [2009-09-15 14:11:41]: On Tue, 2009-09-15 at 17:36 +0530, Gautham R Shenoy wrote: This patchset contains the offline state driver implemented for pSeries. For pSeries, we define three

[PATCH 7/9] powerpc/book3e-64: remove duplicated #include

2009-09-16 Thread Huang Weiyi
Remove duplicated #include('s) in arch/powerpc/kernel/exceptions-64e.S Signed-off-by: Huang Weiyi weiyi.hu...@gmail.com --- arch/powerpc/kernel/exceptions-64e.S |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/arch/powerpc/kernel/exceptions-64e.S

[PATCH 8/9] powerpc/mm: remove duplicated #include

2009-09-16 Thread Huang Weiyi
Remove duplicated #include('s) in arch/powerpc/mm/tlb_low_64e.S Signed-off-by: Huang Weiyi weiyi.hu...@gmail.com --- arch/powerpc/mm/tlb_low_64e.S |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/arch/powerpc/mm/tlb_low_64e.S b/arch/powerpc/mm/tlb_low_64e.S index

Re: RFC: delete UART current-speed from 4xx DTS?

2009-09-16 Thread Josh Boyer
On Wed, Sep 16, 2009 at 07:44:07AM +1000, Benjamin Herrenschmidt wrote: On Tue, 2009-09-15 at 11:32 -0400, Josh Boyer wrote: On Tue, Sep 15, 2009 at 10:31:36AM -0400, Paul Gortmaker wrote: One of the guys here was getting a messed up console on a bamboo board (on linux boot), which he traced to

Re: [PATCH][v1] powerpc/85xx: Create dts for each core in CAMPmodefor P2020RDB

2009-09-16 Thread Kumar Gala
On Sep 11, 2009, at 6:47 AM, Aggrwal Poonam-B10812 wrote: Ok, I wrongly understood protected interrupts as reserved for one core. However, I still dislike two devices having the same name. Otherwise it may work if every interrupt is delivered to both cores although statistically only one

RE: [PATCH][v1] powerpc/85xx: Create dts for each core in CAMPmodeforP2020RDB

2009-09-16 Thread Aggrwal Poonam-B10812
-Original Message- From: linuxppc-dev-bounces+poonam.aggrwal=freescale@lists.ozlabs .org [mailto:linuxppc-dev-bounces+poonam.aggrwal=freescale@list s.ozlabs.org] On Behalf Of Kumar Gala Sent: Wednesday, September 16, 2009 7:10 PM To: Aggrwal Poonam-B10812 Cc:

[Question] Does this oops point to a hardware bug?

2009-09-16 Thread Steven A. Falco
We have built some custom hardware based on a PPC440EPx. I saw an oops that doesn't make much sense to me, so I'd like to ask folks if this smells more like a hardware problem than a software problem. The oops is a signal 4 in kernel mode (trap 700). If I'm interpreting this correctly, it is a

Re: RFC: delete UART current-speed from 4xx DTS?

2009-09-16 Thread Paul Gortmaker
[Re: RFC: delete UART current-speed from 4xx DTS?] On 16/09/2009 (Wed 09:19) Josh Boyer wrote: On Wed, Sep 16, 2009 at 07:44:07AM +1000, Benjamin Herrenschmidt wrote: On Tue, 2009-09-15 at 11:32 -0400, Josh Boyer wrote: When I did the bamboo port a while ago, I recall having issues with

Crash in the kernel panic linux mpc 832x

2009-09-16 Thread nanda
Hi, Iam getting the below crash on new board tested on MPC832x using linux-2.6.24, please let me what could be the problem on the same. Does it infer any information on the exception? # Oops: Exception in kernel mode, sig: 4 [#1] PREEMPT MPC832x RDB Modules linked in: NIP: c0048178 LR:

Re: [PATCH v3 0/3] cpu: pseries: Cpu offline states framework

2009-09-16 Thread Dipankar Sarma
On Tue, Sep 15, 2009 at 02:11:41PM +0200, Peter Zijlstra wrote: On Tue, 2009-09-15 at 17:36 +0530, Gautham R Shenoy wrote: This patchset contains the offline state driver implemented for pSeries. For pSeries, we define three available_hotplug_states. They are: online: The

Re: [PATCH v3 0/3] cpu: pseries: Cpu offline states framework

2009-09-16 Thread Peter Zijlstra
On Wed, 2009-09-16 at 20:58 +0530, Dipankar Sarma wrote: On Tue, Sep 15, 2009 at 02:11:41PM +0200, Peter Zijlstra wrote: On Tue, 2009-09-15 at 17:36 +0530, Gautham R Shenoy wrote: This patchset contains the offline state driver implemented for pSeries. For pSeries, we define three

Re: [PATCH v3 0/3] cpu: pseries: Cpu offline states framework

2009-09-16 Thread Dipankar Sarma
On Wed, Sep 16, 2009 at 05:32:51PM +0200, Peter Zijlstra wrote: On Wed, 2009-09-16 at 20:58 +0530, Dipankar Sarma wrote: On Tue, Sep 15, 2009 at 02:11:41PM +0200, Peter Zijlstra wrote: On Tue, 2009-09-15 at 17:36 +0530, Gautham R Shenoy wrote: This patchset contains the offline state

Re: [PATCH v3 0/3] cpu: pseries: Cpu offline states framework

2009-09-16 Thread Peter Zijlstra
On Wed, 2009-09-16 at 21:54 +0530, Dipankar Sarma wrote: No, for this specific case, latency isn't an issue. The issue is - how do we cede unused vcpus to hypervisor for better energy management ? Yes, it can be done by a hypervisor manager telling the kernel to offline and make a bunch of

Re: [PATCH v3 0/3] cpu: pseries: Cpu offline states framework

2009-09-16 Thread Vaidyanathan Srinivasan
* Peter Zijlstra a.p.zijls...@chello.nl [2009-09-16 18:35:16]: On Wed, 2009-09-16 at 21:54 +0530, Dipankar Sarma wrote: No, for this specific case, latency isn't an issue. The issue is - how do we cede unused vcpus to hypervisor for better energy management ? Yes, it can be done by a

Re: [PATCH v3 0/3] cpu: pseries: Cpu offline states framework

2009-09-16 Thread Peter Zijlstra
On Wed, 2009-09-16 at 22:33 +0530, Vaidyanathan Srinivasan wrote: * Peter Zijlstra a.p.zijls...@chello.nl [2009-09-16 18:35:16]: On Wed, 2009-09-16 at 21:54 +0530, Dipankar Sarma wrote: No, for this specific case, latency isn't an issue. The issue is - how do we cede unused vcpus to

Re: PPC PCI bus registers

2009-09-16 Thread Eddie Dawydiuk
Benjamin, Also, if you're going to access a PCI device directly, beware of other issues such as ordering. PPC is an out of order architecture, you need to ensure you add the appropriate memory barriers if you want to ensure you accesses are done in the order you write them in your program. For

Re: [PATCH v3 0/3] cpu: pseries: Cpu offline states framework

2009-09-16 Thread Dipankar Sarma
On Wed, Sep 16, 2009 at 07:22:35PM +0200, Peter Zijlstra wrote: On Wed, 2009-09-16 at 22:33 +0530, Vaidyanathan Srinivasan wrote: * Peter Zijlstra a.p.zijls...@chello.nl [2009-09-16 18:35:16]: Now if you were to try and online the cpus in the guest, it'd fail because the cpus aren't

Re: [spi-devel-general] [PATCH] mpc52xx_psc_spi: enlarge clock range

2009-09-16 Thread Wolfram Sang
Hi, adding powerpc-list and Grant to cc. On Wed, Sep 16, 2009 at 01:07:50PM +0200, Dragos Carp wrote: allow spi clock values bellow 78kbps down to ca. 300bps Looks like your patch converts the driver from mpc5200 to mpc5200b? If this is really all which is needed, it should support both

Re: RFC: delete UART current-speed from 4xx DTS?

2009-09-16 Thread Benjamin Herrenschmidt
Ok, so I think that is related to what I originally hit. I played around with removing the current-speed property on canyonlands today, and noticed that I would get no console output at all unless I specified a baudrate with console=ttyS0,115200. That was sort of contrary to what I found

Re: PPC PCI bus registers

2009-09-16 Thread Benjamin Herrenschmidt
On Wed, 2009-09-16 at 11:58 -0700, Eddie Dawydiuk wrote: I'm not sure I understand. To clarify I have an FPGA connected via the PCI bus which implements several peripherals, I've implemented device drivers for. Currently I am calling ioremap() to get a virtual address corresponding to the

Re: PPC PCI bus registers

2009-09-16 Thread Eddie Dawydiuk
Benjamin, Out of order execution != out of order storage. ioremap() will give you guarded space which means it cannot be speculatively accessed for example, and you do get -some- guarantees but not that your stores are going to hit the device in order, nor that your loads are going to be

Re: [PATCH] char/hvc: adding __init macro to char/hvc_vio.c

2009-09-16 Thread Peter Huewe
Am Thursday 20 August 2009 23:14:06 schrieb Peter Hüwe: From: Peter Huewe peterhu...@gmx.de Trivial patch which adds the __init/__exit macros to the module_init/ module_exit functions of char/hvc_vio.c Please have a look at the small patch and either pull it through your tree, or please

Re: PPC PCI bus registers

2009-09-16 Thread Benjamin Herrenschmidt
On Wed, 2009-09-16 at 15:11 -0700, Eddie Dawydiuk wrote: Benjamin, Out of order execution != out of order storage. ioremap() will give you guarded space which means it cannot be speculatively accessed for example, and you do get -some- guarantees but not that your stores are going to

Re: RFC: delete UART current-speed from 4xx DTS?

2009-09-16 Thread Josh Boyer
On Thu, Sep 17, 2009 at 07:31:06AM +1000, Benjamin Herrenschmidt wrote: Ok, so I think that is related to what I originally hit. I played around with removing the current-speed property on canyonlands today, and noticed that I would get no console output at all unless I specified a

FPGA access over PCI-E on MPC8536

2009-09-16 Thread Felix Radensky
Hi, On my custom MPC8536 based board running 2.6.31 kernel FPGA is connected via x2 PCI-E lane. FPGA is identified during PCI scan and is visible via lspci. :01:00.0 Class ff00: Altera Corporation Unknown device 0004 (rev 01) Subsystem: Altera Corporation Unknown device 0004