Re: [PATCH 8/8] pseries: phyp dump: config file

2008-03-11 Thread Paul Mackerras
Manish Ahuja writes: +config PHYP_DUMP + bool Hypervisor-assisted dump (EXPERIMENTAL) + depends on PPC_PSERIES EXPERIMENTAL + default y I think this should default to n for now (i.e. leave out the default line entirely). We can make it default to y later. Paul.

Re: [PATCH 6/8] pseries: phyp dump: Invalidate and print dump areas.

2008-03-11 Thread Paul Mackerras
Manish Ahuja writes: -static void -release_memory_range(unsigned long start_pfn, unsigned long nr_pages) +static +void release_memory_range(unsigned long start_pfn, unsigned long nr_pages) This change looks rather pointless. If you have to change it, I'd prefer: static void

Re: [PATCH 2/8] pseries: phyp dump: reserve-release proof-of-concept

2008-03-11 Thread Paul Mackerras
Manish Ahuja writes: +#else /* CONFIG_PHYP_DUMP */ +int early_init_dt_scan_phyp_dump(unsigned long node, + const char *uname, int depth, void *data) { return 0; } This shouldn't be in the header file. Either put it in prom.c (and make it return 1 so the of_scan_flat_dt call

Re: [PATCH 4/8] pseries: phyp dump: register dump area.

2008-03-11 Thread Paul Mackerras
Manish Ahuja writes: +#define NUM_DUMP_SECTIONS 3 +#define DUMP_HEADER_VERSION 0x1 +#define DUMP_REQUEST_FLAG 0x1 +#define DUMP_SOURCE_CPU 0x0001 +#define DUMP_SOURCE_HPTE 0x0002 +#define DUMP_SOURCE_RMO 0x0011 I think it would be clearer if you use a tab to line up the values, like this:

Re: [PATCH] pasemi_dma: Driver for PA Semi PWRficient on-chip DMA engine

2008-03-11 Thread Andrew Morton
On Thu, 6 Mar 2008 17:39:00 -0600 Olof Johansson [EMAIL PROTECTED] wrote: pasemi_dma: Driver for PA Semi PWRficient on-chip DMA engine First cut at a dma copy offload driver for PA Semi PWRficient. It uses the platform-specific functions to allocate channels, etc. Applied this on Paul's

RE: [PATCH 11/17] Add memory mapping driver to RapidIO.

2008-03-11 Thread Zhang Wei
Hi, Stephen, I've updated those patches with fixing up. Thanks! Wei. -Original Message- From: Stephen Rothwell [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 05, 2008 10:52 AM To: Zhang Wei Cc: linuxppc-dev@ozlabs.org; [EMAIL PROTECTED] Subject: Re: [PATCH 11/17] Add memory

[PATCH 11/17] Add memory mapping driver to RapidIO.

2008-03-11 Thread Zhang Wei
The memory mapping driver is used for mapping IO address and system memory address space to RapidIO address space. The driver support IO space allocation, RapidIO space inbound window and outbound window creation. The system can access other RapidIO device by outbound window and can be accessed by

[PATCH 12/17] Add RapidIO space allocation bitmap arithmetic.

2008-03-11 Thread Zhang Wei
The bitmap is the simplest RapidIO space allocation arithmetic. It uses the fixed size space for each RapidIO device in the inter-connection network. Signed-off-by: Zhang Wei [EMAIL PROTECTED] --- arch/powerpc/sysdev/fsl_rio.c | 11 + drivers/rapidio/Kconfig |2 +

[PATCH 03/17] Move include/asm-ppc/rio.h to include/asm-powerpc/rio.h

2008-03-11 Thread Zhang Wei
Signed-off-by: Zhang Wei [EMAIL PROTECTED] --- include/asm-powerpc/rio.h | 18 ++ include/asm-ppc/rio.h | 18 -- 2 files changed, 18 insertions(+), 18 deletions(-) create mode 100644 include/asm-powerpc/rio.h delete mode 100644 include/asm-ppc/rio.h diff

[PATCH 09/17] Add serial RapidIO controller support, which includes MPC8548, MPC8641.

2008-03-11 Thread Zhang Wei
Signed-off-by: Zhang Wei [EMAIL PROTECTED] --- arch/powerpc/sysdev/fsl_rio.c | 75 +++-- include/linux/rio.h |6 +++ 2 files changed, 70 insertions(+), 11 deletions(-) diff --git a/arch/powerpc/sysdev/fsl_rio.c b/arch/powerpc/sysdev/fsl_rio.c

[PATCH 02/17] Add RapidIO option to kernel configuration.

2008-03-11 Thread Zhang Wei
Signed-off-by: Zhang Wei [EMAIL PROTECTED] --- arch/powerpc/Kconfig| 13 + arch/powerpc/platforms/86xx/Kconfig |1 + 2 files changed, 14 insertions(+), 0 deletions(-) diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index 1189d8d..88f8b6c 100644 ---

[PATCH 06/17] Change the kernel configurated RapidIO system size to auto-probing.

2008-03-11 Thread Zhang Wei
The RapidIO system size will auto probe in RIO setup. The route table and rionet_active in rionet.c are changed to be allocated dynamically according the system size. Signed-off-by: Zhang Wei [EMAIL PROTECTED] --- arch/powerpc/sysdev/fsl_rio.c |6 drivers/net/rionet.c | 16

[PATCH 14/17] Add the RapidIO master port maintance and doorbell window to space resources.

2008-03-11 Thread Zhang Wei
Add the RapidIO master port maintance and doorbell IO windows to RIO space resources. Signed-off-by: Zhang Wei [EMAIL PROTECTED] --- arch/powerpc/sysdev/fsl_rio.c | 26 +- include/linux/rio.h |1 + 2 files changed, 22 insertions(+), 5 deletions(-) diff

[PATCH 04/17] Add RapidIO multi mport support.

2008-03-11 Thread Zhang Wei
The original RapidIO driver suppose there is only one mpc85xx RIO controller in system. So, some data structures are defined as mpc85xx_rio global, such as 'regs_win', 'dbell_ring', 'msg_tx_ring'. Now, I changed them to mport's private members. And you can define multi RIO OF-nodes in dts file for

[PATCH 17/17] Add the memory mapping support in rionet driver.

2008-03-11 Thread Zhang Wei
The user can select memory mapping mode or message mode in CONFIG. It is also an example to how-to use memory mapping driver for RapidIO. Signed-off-by: Zhang Wei [EMAIL PROTECTED] --- drivers/net/Kconfig | 10 ++ drivers/net/rionet.c | 324 ++

[PATCH 01/17] Change RIO function mpc85xx_ to fsl_ .

2008-03-11 Thread Zhang Wei
The driver is also fit for Freescale MPC8641 processor. Signed-off-by: Zhang Wei [EMAIL PROTECTED] --- arch/powerpc/sysdev/fsl_rio.c | 80 1 files changed, 40 insertions(+), 40 deletions(-) diff --git a/arch/powerpc/sysdev/fsl_rio.c

[PATCH 05/17] Add OF-tree support to RapidIO controller driver.

2008-03-11 Thread Zhang Wei
Signed-off-by: Zhang Wei [EMAIL PROTECTED] --- arch/powerpc/kernel/Makefile |1 - arch/powerpc/kernel/rio.c | 52 --- arch/powerpc/sysdev/fsl_rio.c | 110 ++--- arch/powerpc/sysdev/fsl_rio.h | 20 --- 4 files changed, 102

[PATCH 08/17] Add RapidIO node probing into MPC86xx_HPCN board id table.

2008-03-11 Thread Zhang Wei
Signed-off-by: Zhang Wei [EMAIL PROTECTED] --- arch/powerpc/platforms/86xx/mpc86xx_hpcn.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/powerpc/platforms/86xx/mpc86xx_hpcn.c b/arch/powerpc/platforms/86xx/mpc86xx_hpcn.c index cfbe8c5..4a3e421 100644 ---

[PATCH 16/17] Change RapidIO doorbell source and target ID field to 16-bit.

2008-03-11 Thread Zhang Wei
Change RapidIO doorbell source and target ID field to 16-bit for support large system size, which max rio devid is 65535. Signed-off-by: Zhang Wei [EMAIL PROTECTED] --- arch/powerpc/sysdev/fsl_rio.c |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git

[PATCH 10/17] Add RapidIO connection info print out and re-training for break connection.

2008-03-11 Thread Zhang Wei
Signed-off-by: Zhang Wei [EMAIL PROTECTED] --- arch/powerpc/sysdev/fsl_rio.c | 71 + 1 files changed, 71 insertions(+), 0 deletions(-) diff --git a/arch/powerpc/sysdev/fsl_rio.c b/arch/powerpc/sysdev/fsl_rio.c index 935822a..dca8eea 100644 ---

[PATCH 13/17] Add FSL RapidIO controller memory ops functions.

2008-03-11 Thread Zhang Wei
Add FSL RapidIO controller (MPC85xx, MPC86xx) memory operation functions, which include map inbound/outbound window and unmap incound/outbound window. Signed-off-by: Zhang Wei [EMAIL PROTECTED] --- arch/powerpc/sysdev/fsl_rio.c | 204 + 1 files changed,

[PATCH 15/17] Add RapidIO proc fs for memory mapping debugging.

2008-03-11 Thread Zhang Wei
Get RapidIO space resource by catting /proc/riores. Signed-off-by: Zhang Wei [EMAIL PROTECTED] --- drivers/rapidio/Kconfig |8 +++ drivers/rapidio/rio.c | 121 +++ 2 files changed, 129 insertions(+), 0 deletions(-) diff --git

[PATCH 07/17] Add RapidIO node into MPC8641HPCN dts file

2008-03-11 Thread Zhang Wei
Signed-off-by: Zhang Wei [EMAIL PROTECTED] --- arch/powerpc/boot/dts/mpc8641_hpcn.dts | 12 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/arch/powerpc/boot/dts/mpc8641_hpcn.dts b/arch/powerpc/boot/dts/mpc8641_hpcn.dts index 79385bc..4b296af 100644 ---

Re: OF compatible MTD platform RAM driver ?

2008-03-11 Thread Laurent Pinchart
On Tuesday 11 March 2008 01:45, David Gibson wrote: On Mon, Mar 10, 2008 at 12:00:22PM -0500, Rune Torgersen wrote: [EMAIL PROTECTED] wrote: Hi everybody, as part of a ARCH=ppc to ARCH=powerpc migration process, I'm looking for an OpenFirmware compatible way to handle a RAM-based

Interrupt handling documentation

2008-03-11 Thread Laurent Pinchart
Hi everybody, is there any documentation describing interrupt handling for the powerpc architecture ? I'm writing a driver for a cascaded interrupt controller and the only source of information I found was the code. I'm particularly interested in information about irq hosts (allocation and

Re: ARCH=ppc - ARCH=powerpc : help needed for dts file

2008-03-11 Thread Philippe De Muyter
Hi David, On Tue, Mar 11, 2008 at 11:32:49AM +1100, David Gibson wrote: On Sun, Mar 09, 2008 at 11:31:09PM +0100, Philippe De Muyter wrote: Hi Ben, I now have a working linux on my mpc8540 based board, with support for the compactflash disk and the i2c rtc. The network tough, does

Interrupt routing ARCH=ppc

2008-03-11 Thread Suresh Chandra Mannava
Hi All, I am working on porting Linux 2.6.16.60 on PowerPC based board with Tsi109 system controller. Our platform support is defined in arch/ppc Here is our hardware interrupt routing Tsi109 PCI BUS (BUS 0) | | V VME controller (BUS 0 IDSEL 16) IRQ 36 PMC

Re: [PATCH] pasemi_dma: Driver for PA Semi PWRficient on-chip DMA engine

2008-03-11 Thread Olof Johansson
On Tue, Mar 11, 2008 at 12:06:19AM -0700, Andrew Morton wrote: On Thu, 6 Mar 2008 17:39:00 -0600 Olof Johansson [EMAIL PROTECTED] wrote: pasemi_dma: Driver for PA Semi PWRficient on-chip DMA engine First cut at a dma copy offload driver for PA Semi PWRficient. It uses the

Help needed to describe a custom bus in the device tree

2008-03-11 Thread Laurent Pinchart
Hi everybody, the migration process from ARCH=ppc to ARCH=powerpc is easier than I thought in some parts, but a few devices are still giving me headaches. This should hopefully be one of my last major requests for help (I'm sure most of you will be happy to see traffic on this list going down

RE: OF compatible MTD platform RAM driver ?

2008-03-11 Thread Rune Torgersen
David Gibson wrote: On Mon, Mar 10, 2008 at 12:00:22PM -0500, Rune Torgersen wrote: We ran ito the same issue. We did option 3, as it was efinetly the easiest, I think this is the best option in principle. here is the sram entry in our dts: Except that your implementation of it is not

of_serial vs legacy serial support with powerpc arch on 405

2008-03-11 Thread John Linn
I've searched and found some threads, but it's still not clear to me. I'm working on 405 with powerpc and trying to get UART550 working. I know that I need speed, freq, and reg-shift properties in the device tree and I have found patches for of_serial.c. I still don't understand when to

RE: Add some documentation for the dts formta

2008-03-11 Thread Yoder Stuart
Signed-off-by: Stuart Yoder [EMAIL PROTECTED] -Original Message- From: David Gibson [mailto:[EMAIL PROTECTED] Sent: Monday, March 10, 2008 6:47 PM To: Loeliger Jon Cc: Yoder Stuart; linuxppc-dev@ozlabs.org Subject: dtc: Add some documentation for the dts formta This patch adds

[PATCH 1/2] [POWERPC] fsl_soc: add support for fsl, soc compatible matching

2008-03-11 Thread Anton Vorontsov
As we've seen, fsl,immr isn't good name for the generic purposes, because some SOCs use ccsr term. So, for generic matching, fsl,soc is used, whereas fsl,immr and fsl,ccsr is used for more specific matching. Signed-off-by: Anton Vorontsov [EMAIL PROTECTED] ---

[PATCH 2/2] [POWERPC] UCC nodes cleanup

2008-03-11 Thread Anton Vorontsov
- get rid of `model = UCC' in the ucc nodes It isn't used anywhere, so remove it. If we'll ever need something like this, we'll use compatible property instead. - replace cell-index and device-id properties by fsl,ucc. Drivers are modified for backward compatibility's sake. Signed-off-by:

Re: [PATCH] pasemi_dma: Driver for PA Semi PWRficient on-chip DMAengine

2008-03-11 Thread Dan Williams
On Thu, 2008-03-06 at 16:39 -0700, Olof Johansson wrote: pasemi_dma: Driver for PA Semi PWRficient on-chip DMA engine First cut at a dma copy offload driver for PA Semi PWRficient. It uses the platform-specific functions to allocate channels, etc. Signed-off-by: Olof Johansson [EMAIL

[PATCH 0/8] A bit of new code and sparse cleanups along the way

2008-03-11 Thread Anton Vorontsov
Hi all, Please consider these patches for the 2.6.26. Thanks, -- Anton Vorontsov email: [EMAIL PROTECTED] irc://irc.freenode.net/bd2 ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

[PATCH 1/8] [POWERPC] fsl_elbc_nand: factor out localbus defines

2008-03-11 Thread Anton Vorontsov
This is needed to support other localbus peripherals, such as NAND on FSL UPM. Signed-off-by: Anton Vorontsov [EMAIL PROTECTED] --- Would be great if someone from the MTD community will ack this patch to go through powerpc trees. Thanks, drivers/mtd/nand/fsl_elbc_nand.c | 219

[PATCH 2/8] [POWERPC] fsl_lbc: implement few routines to manage FSL UPMs

2008-03-11 Thread Anton Vorontsov
These will be used by the FSL UPM NAND driver. Signed-off-by: Anton Vorontsov [EMAIL PROTECTED] --- arch/powerpc/Kconfig |5 ++ arch/powerpc/sysdev/Makefile |1 + arch/powerpc/sysdev/fsl_lbc.c | 99 + include/asm-powerpc/fsl_lbc.h |

[PATCH 3/8] [POWERPC] qe_lib: implement qe_muram_offset

2008-03-11 Thread Anton Vorontsov
qe_muram_offset is the reverse of the qe_muram_addr, will be used for the Freescale QE USB Host Controller driver. This patch also moves qe_muram_addr into the qe.h header, plus adds __iomem hints to use with sparse. Signed-off-by: Anton Vorontsov [EMAIL PROTECTED] ---

[PATCH 4/8] [POWERPC] immap_qe.h should include asm/io.h

2008-03-11 Thread Anton Vorontsov
Headers should include prototypes they use, otherwise build will break if we use it without explicitly including io.h: CC arch/powerpc/sysdev/qe_lib/gtm.o In file included from include/asm/qe.h:20, from arch/powerpc/sysdev/qe_lib/gtm.c:18: include/asm/immap_qe.h: In

[PATCH 5/8] [POWERPC] qe_lib: export qe_get_brg_clk()

2008-03-11 Thread Anton Vorontsov
qe_get_brg_clk() will be used by the fsl_gtm routines. Signed-off-by: Anton Vorontsov [EMAIL PROTECTED] --- arch/powerpc/sysdev/qe_lib/qe.c |5 +++-- include/asm-powerpc/qe.h|1 + 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/sysdev/qe_lib/qe.c

[PATCH 6/8] [POWERPC] sysdev,qe_lib: implement FSL GTM support

2008-03-11 Thread Anton Vorontsov
GTM stands for General-purpose Timers Module and able to generate timer{1,2,3,4} interrupts. There are several limitations in this support: 1. Cascaded (32 bit) timers unimplemented (1-2, 3-4). This is straightforward to implement when needed, two timers should be marked as requested and

[PATCH 7/8] [POWERPC] qe_lib: add support for QE USB

2008-03-11 Thread Anton Vorontsov
I believe QE USB clocks routing is qe_lib authority, so usb.c created. Also, now cmxgcr needs its own lock. This patch also fixes QE_USB_RESTART_TX command definition. Signed-off-by: Anton Vorontsov [EMAIL PROTECTED] --- arch/powerpc/sysdev/qe_lib/Kconfig |6

[PATCH 8/8] [POWERPC] qe_io: fix sparse warnings

2008-03-11 Thread Anton Vorontsov
Signed-off-by: Anton Vorontsov [EMAIL PROTECTED] --- arch/powerpc/sysdev/qe_lib/qe_io.c |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/sysdev/qe_lib/qe_io.c b/arch/powerpc/sysdev/qe_lib/qe_io.c index 736c1fc..93916a4 100644 ---

Re: [PATCH 3/8] pseries: phyp dump: use sysfs to release reserved mem

2008-03-11 Thread Dale Farnsworth
Paul wrote: Manish Ahuja writes: + dump_header = of_get_property(rtas, ibm,kernel-dump, + header_len); This is a somewhat weird-looking way of coping with too-long lines. Yes, but not too surprising, since it precisely

Re: [PATCH] pasemi_dma: Driver for PA Semi PWRficient on-chip DMA engine

2008-03-11 Thread Andrew Morton
On Tue, 11 Mar 2008 09:25:45 -0500 Olof Johansson [EMAIL PROTECTED] wrote: On Tue, Mar 11, 2008 at 12:06:19AM -0700, Andrew Morton wrote: On Thu, 6 Mar 2008 17:39:00 -0600 Olof Johansson [EMAIL PROTECTED] wrote: pasemi_dma: Driver for PA Semi PWRficient on-chip DMA engine

Re: [PATCH] pasemi_dma: Driver for PA Semi PWRficient on-chip DMA engine

2008-03-11 Thread Dan Williams
On Tue, 2008-03-11 at 10:53 -0700, Andrew Morton wrote: On Tue, 11 Mar 2008 09:25:45 -0500 Olof Johansson [EMAIL PROTECTED] wrote: On Tue, Mar 11, 2008 at 12:06:19AM -0700, Andrew Morton wrote: On Thu, 6 Mar 2008 17:39:00 -0600 Olof Johansson [EMAIL PROTECTED] wrote:

Re: [PATCH] pasemi_dma: Driver for PA Semi PWRficient on-chip DMA engine

2008-03-11 Thread Kumar Gala
Also this driver from git-md-accel is pretty sick: drivers/dma/fsldma.c:439: warning: comparison of distinct pointer types lacks a cast drivers/dma/fsldma.c: In function `fsl_chan_xfer_ld_queue': drivers/dma/fsldma.c:584: warning: long long unsigned int format, dma_addr_t arg (arg 4)

Re: [PATCH 5/8] [POWERPC] qe_lib: export qe_get_brg_clk()

2008-03-11 Thread Kumar Gala
On Mar 11, 2008, at 12:24 PM, Anton Vorontsov wrote: qe_get_brg_clk() will be used by the fsl_gtm routines. What is the GTM code going to be used for? - k ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org

[PATCH 0/4] GPIO LIB API support for OF and PowerPC

2008-03-11 Thread Anton Vorontsov
Hi all, Here are few patches needed to support GPIO LIB API on PowerPC. It would be great to see these applied for the 2.6.26... For now we use static gpio base allocation, later we'll switch to the dynamic bases. The patch below shows the idea of what needs to be done when dynamic gpio base

[PATCH 1/4] OF helpers for the GPIO API

2008-03-11 Thread Anton Vorontsov
This patch implements various helpers to support OF bindings for the GPIO LIB API. Previously this was PowerPC specific, but it seems this code isn't arch-dependent anyhow, so let's place it into of/. SPARC will not see this addition yet, real hardware seem to not use GPIOs at all. But this

[PATCH 2/4] [POWERPC] Implement support for the GPIO LIB API

2008-03-11 Thread Anton Vorontsov
This patch implements support for the GPIO LIB API. Two calls unimplemented though: irq_to_gpio and gpio_to_irq. Signed-off-by: Anton Vorontsov [EMAIL PROTECTED] --- Documentation/powerpc/booting-without-of.txt | 52 arch/powerpc/Kconfig |5

[PATCH 3/4] [POWERPC] QE: split par_io_config_pin()

2008-03-11 Thread Anton Vorontsov
This patch splits par_io_config_pin so we can use it with GPIO LIB API. Also add a comment regarding #ifdef CONFIG_PPC_85xx being legacy. Signed-off-by: Anton Vorontsov [EMAIL PROTECTED] --- arch/powerpc/sysdev/qe_lib/qe_io.c | 60 +++ 1 files changed, 39

[PATCH 4/4] [POWERPC] QE: implement support for the GPIO LIB API

2008-03-11 Thread Anton Vorontsov
Signed-off-by: Anton Vorontsov [EMAIL PROTECTED] --- Documentation/powerpc/booting-without-of.txt | 32 --- arch/powerpc/platforms/Kconfig |2 + arch/powerpc/sysdev/qe_lib/qe_io.c | 137 +- 3 files changed, 158 insertions(+), 13

Re: [PATCH 5/8] [POWERPC] qe_lib: export qe_get_brg_clk()

2008-03-11 Thread Anton Vorontsov
On Tue, Mar 11, 2008 at 01:36:16PM -0500, Kumar Gala wrote: On Mar 11, 2008, at 12:24 PM, Anton Vorontsov wrote: qe_get_brg_clk() will be used by the fsl_gtm routines. What is the GTM code going to be used for? Freescale QE USB Host Controller. I posted that driver already, but will

Re: [PATCH 2/2] Add local bus device nodes to MPC837xMDS device trees.

2008-03-11 Thread Segher Boessenkool
This isn't a problem with this device tree, but it's probably time we started establishing some conventional generic names for nand flash and board-control devices. So, to start the ball rolling, I've seen several names for nand flash nodes, I'd suggest we standardise on nand-flash. What's

Re: dtc: Add some documentation for the dts formta

2008-03-11 Thread Segher Boessenkool
This patch adds a dts-format.txt in the Documentation directory, with an introduction to the dtc source format. Looks good, some minor nits... +* A 64-bit value is represented with two 32-bit cells. + + e.g. clock-frequency = 0x0001 0x; Please add that this is big-endian

[PATCH] [NAND] FSL UPM NAND driver

2008-03-11 Thread Anton Vorontsov
This is very simple driver, NAND is connected through localbus, and User-Programmable Machine is doing various adjustments to speak NAND. No special efforts needed to do read and write cycles, though to control ALE and CLE phases, we ask UPM to generate exact pre-programmed signals on the localbus

Re: [PATCH] pasemi_dma: Driver for PA Semi PWRficient on-chip DMA engine

2008-03-11 Thread Dan Williams
On Tue, 2008-03-11 at 11:29 -0700, Kumar Gala wrote: My fault for not pushing out this cleanup to the old url while the git-md-accel changeover was pending. Any reason not to push Zhang's fixes for 2.6.25? I plan to push these fixes for 2.6.25. Olof had some valid comments about Fix

RE: [PATCH] Freescale QUICC Engine USB Host Controller

2008-03-11 Thread Joakim Tjernlund
-Original Message- From: [EMAIL PROTECTED] [mailto:linuxppc-dev- [EMAIL PROTECTED] On Behalf Of Anton Vorontsov Sent: den 11 mars 2008 20:18 To: [EMAIL PROTECTED]; linuxppc-dev@ozlabs.org Subject: [PATCH] Freescale QUICC Engine USB Host Controller This is patch adds support for

Re: of_serial vs legacy serial support with powerpc arch on 405

2008-03-11 Thread Josh Boyer
On Tue, 11 Mar 2008 09:04:27 -0600 John Linn [EMAIL PROTECTED] wrote: I've searched and found some threads, but it's still not clear to me. I'm working on 405 with powerpc and trying to get UART550 working. Walnut works. So do Halakeau and Kilauea. Is your serial port significantly different

RE: of_serial vs legacy serial support with powerpc arch on 405

2008-03-11 Thread Stephen Neuendorffer
Josh, Specifically, we're trying to get console on of_serial, but there doesn't seem to be any code to register a console, except in legacy_serial? But legacy_serial doesn't implement the offsets necessary for the Xilinx uart16550 cores. Does it seem reasonable to add code to of_serial.c to

RE: of_serial vs legacy serial support with powerpc arch on 405

2008-03-11 Thread John Linn
Thanks for the help Josh. I made some comments in-line. -Original Message- From: Josh Boyer [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 11, 2008 4:03 PM To: John Linn Cc: linuxppc-dev@ozlabs.org Subject: Re: of_serial vs legacy serial support with powerpc arch on 405 On Tue, 11 Mar

Re: OF compatible MTD platform RAM driver ?

2008-03-11 Thread David Gibson
On Tue, Mar 11, 2008 at 11:39:08AM +0100, Laurent Pinchart wrote: On Tuesday 11 March 2008 01:45, David Gibson wrote: On Mon, Mar 10, 2008 at 12:00:22PM -0500, Rune Torgersen wrote: [EMAIL PROTECTED] wrote: [snip] We ran ito the same issue. We did option 3, as it was efinetly the

Re: ARCH=ppc - ARCH=powerpc : help needed for dts file

2008-03-11 Thread David Gibson
On Tue, Mar 11, 2008 at 12:46:02PM +0100, Philippe De Muyter wrote: Hi David, On Tue, Mar 11, 2008 at 11:32:49AM +1100, David Gibson wrote: On Sun, Mar 09, 2008 at 11:31:09PM +0100, Philippe De Muyter wrote: Hi Ben, I now have a working linux on my mpc8540 based board, with support

Re: Help needed to describe a custom bus in the device tree

2008-03-11 Thread David Gibson
On Tue, Mar 11, 2008 at 03:27:26PM +0100, Laurent Pinchart wrote: Hi everybody, the migration process from ARCH=ppc to ARCH=powerpc is easier than I thought in some parts, but a few devices are still giving me headaches. This should hopefully be one of my last major requests for help (I'm

[PATCH 3/4] Fix drivers/macintosh/mediabay.c when !CONFIG_ADB_PMU.

2008-03-11 Thread Tony Breeds
When building drivers/macintosh/mediabay.c if CONFIG_ADB_PMU isn't defined we get: drivers/built-in.o: In function `media_bay_step': mediabay.c:(.text+0x92b84): undefined reference to `pmu_suspend' mediabay.c:(.text+0x92c08): undefined reference to `pmu_resume' Create empty place holders in that

[PATCH 2/4] Fix build of modular drivers/macintosh/apm_emu.c

2008-03-11 Thread Tony Breeds
apm_emu.c needs access to pmu_batteries[] and friends. If CONFIG_SUSPEND isn't defined these symbols aren't exported and the build fails with: Building modules, stage 2. ERROR: pmu_batteries [drivers/macintosh/apm_emu.ko] undefined! ERROR: pmu_battery_count [drivers/macintosh/apm_emu.ko]

[PATCH 1/4] Ensure that pmu_sys_suspended exists in appropriate configs.

2008-03-11 Thread Tony Breeds
pmu_sys_suspended is declared extern when: defined(CONFIG_PM_SLEEP) defined(CONFIG_PPC32) but only defined when: defined(CONFIG_SUSPEND) defined(CONFIG_PPC32) which is wrong. Lets fix that. Signed-off-by: Tony Breeds [EMAIL PROTECTED] --- include/linux/pmu.h |2 +- 1 files

[PATCH 4/4] Fix arch/powerpc/platforms/powermac/pic.c when !CONFIG_ADB_PMU.

2008-03-11 Thread Tony Breeds
When building arch/powerpc/platforms/powermac/pic.c when !CONFIG_ADB_PMU we get the following warnings: arch/powerpc/platforms/powermac/pic.c: In function 'pmacpic_find_viaint': arch/powerpc/platforms/powermac/pic.c:623: warning: label 'not_found' defined but not used Fix that. Signed-off-by:

Re: [PATCH 2/8] pseries: phyp dump: reserve-release proof-of-concept

2008-03-11 Thread Michael Ellerman
On Tue, 2008-03-11 at 17:12 +1100, Paul Mackerras wrote: Manish Ahuja writes: +#else /* CONFIG_PHYP_DUMP */ +int early_init_dt_scan_phyp_dump(unsigned long node, + const char *uname, int depth, void *data) { return 0; } This shouldn't be in the header file. Either put it in

Re: Interrupt handling documentation

2008-03-11 Thread Michael Ellerman
On Tue, 2008-03-11 at 11:58 +0100, Laurent Pinchart wrote: Hi everybody, is there any documentation describing interrupt handling for the powerpc architecture ? I'm writing a driver for a cascaded interrupt controller and the only source of information I found was the code. I don't think

Re: [PATCH 2/8] pseries: phyp dump: reserve-release proof-of-concept

2008-03-11 Thread Michael Ellerman
On Wed, 2008-03-12 at 11:13 +1100, Michael Ellerman wrote: On Tue, 2008-03-11 at 17:12 +1100, Paul Mackerras wrote: Manish Ahuja writes: +#else /* CONFIG_PHYP_DUMP */ +int early_init_dt_scan_phyp_dump(unsigned long node, + const char *uname, int depth, void *data) { return

[GIT PULL] Please pull spufs.git master branch

2008-03-11 Thread Jeremy Kerr
Hi Paul, Please do a: git pull \ git://git.kernel.org/pub/scm/linux/kernel/git/jk/spufs.git master I have a two more bugfixes for the SPU scheduler. Cheers, Jeremy --- 2 commits: [POWERPC] spufs: don't (ab)use SCHED_IDLE Jeremy Kerr [EMAIL PROTECTED]

[PATCH] ppc: Export empty_zero_page

2008-03-11 Thread Theodore Ts'o
Hi, Stephen Rothwell discovered this issue in the linux-next tree: Today's powerpc allmodconfig build of linux-next failed with: ERROR: empty_zero_page [fs/ext4/ext4dev.ko] undefined! This is because commit dde5f2130096f8469eb1aa1ad250cd2a39fee3f5 (ext4: ENOSPC error handling for writing to

Re: [PATCH] ppc: Export empty_zero_page

2008-03-11 Thread Tony Breeds
On Tue, Mar 11, 2008 at 10:44:06PM -0400, Theodore Ts'o wrote: Hi, Stephen Rothwell discovered this issue in the linux-next tree: Today's powerpc allmodconfig build of linux-next failed with: ERROR: empty_zero_page [fs/ext4/ext4dev.ko] undefined! This is because commit