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.
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
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
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:
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
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
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
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 +
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
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
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
---
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
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
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
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 ++
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
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
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
---
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
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
---
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,
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
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
---
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
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
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
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
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
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
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
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
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
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]
---
- 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:
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
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
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
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 |
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]
---
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
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
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
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
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
---
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
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
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:
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)
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
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
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
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
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
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
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
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
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
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
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
-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
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
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
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
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
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
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
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
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]
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
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:
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
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
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
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]
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
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
76 matches
Mail list logo