* [PATCH] NEW EMAC Fix RGMII build error: use of_device_is_compatible
From: Valentine Barshak @ 2007-10-12 13:04 UTC (permalink / raw)
To: linuxppc-dev; +Cc: netdev
Fix build RGMII error: use of_device_is_compatible()
insteadof now deprecated device_is_compatible() function.
Signed-off-by: Valentine Barshak <vbarshak@ru.mvista.com>
---
drivers/net/ibm_newemac/rgmii.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff -pruN linux-2.6.orig/drivers/net/ibm_newemac/rgmii.c linux-2.6/drivers/net/ibm_newemac/rgmii.c
--- linux-2.6.orig/drivers/net/ibm_newemac/rgmii.c 2007-10-12 16:02:41.000000000 +0400
+++ linux-2.6/drivers/net/ibm_newemac/rgmii.c 2007-10-12 16:49:07.000000000 +0400
@@ -251,7 +251,7 @@ static int __devinit rgmii_probe(struct
}
/* Check for RGMII type */
- if (device_is_compatible(ofdev->node, "ibm,rgmii-axon"))
+ if (of_device_is_compatible(ofdev->node, "ibm,rgmii-axon"))
dev->type = RGMII_AXON;
else
dev->type = RGMII_STANDARD;
^ permalink raw reply
* [PATCH] PowerPC: Add NEW EMAC driver support to 440EPx Sequoia board.
From: Valentine Barshak @ 2007-10-12 13:03 UTC (permalink / raw)
To: linuxppc-dev
This patch enables NEW EMAC support for PowerPC 440EPx Sequoia board
and adds BCM5248 and Marvell 88E1111 PHY support to NEW EMAC driver.
These PHY chips are used on PowerPC440EPx boards.
The PHY code is based on the previous work by Stefan Roese <sr@denx.de>
Signed-off-by: Stefan Roese <sr@denx.de>
Signed-off-by: Valentine Barshak <vbarshak@ru.mvista.com>
---
arch/powerpc/platforms/44x/Kconfig | 7 ++----
drivers/net/ibm_newemac/phy.c | 39 +++++++++++++++++++++++++++++++++++++
2 files changed, 42 insertions(+), 4 deletions(-)
--- linux.orig/arch/powerpc/platforms/44x/Kconfig 2007-07-30 15:05:50.000000000 +0400
+++ linux/arch/powerpc/platforms/44x/Kconfig 2007-07-30 17:59:05.000000000 +0400
@@ -48,10 +48,9 @@
config 440EPX
bool
select PPC_FPU
-# Disabled until the new EMAC Driver is merged.
-# select IBM_NEW_EMAC_EMAC4
-# select IBM_NEW_EMAC_RGMII
-# select IBM_NEW_EMAC_ZMII
+ select IBM_NEW_EMAC_EMAC4
+ select IBM_NEW_EMAC_RGMII
+ select IBM_NEW_EMAC_ZMII
config 440GP
bool
--- linux.orig/drivers/net/ibm_newemac/phy.c 2007-06-15 21:45:18.000000000 +0400
+++ linux/drivers/net/ibm_newemac/phy.c 2007-06-15 20:45:15.000000000 +0400
@@ -306,8 +306,47 @@
.ops = &cis8201_phy_ops
};
+static struct mii_phy_def bcm5248_phy_def = {
+
+ .phy_id = 0x0143bc00,
+ .phy_id_mask = 0x0ffffff0,
+ .name = "BCM5248 10/100 SMII Ethernet",
+ .ops = &generic_phy_ops
+};
+
+static int m88e1111_init(struct mii_phy *phy)
+{
+ printk("%s: Marvell 88E1111 Ethernet\n", __FUNCTION__);
+ phy_write(phy, 0x14, 0x0ce3);
+ phy_write(phy, 0x18, 0x4101);
+ phy_write(phy, 0x09, 0x0e00);
+ phy_write(phy, 0x04, 0x01e1);
+ phy_write(phy, 0x00, 0x9140);
+ phy_write(phy, 0x00, 0x1140);
+
+ return 0;
+}
+
+static struct mii_phy_ops m88e1111_phy_ops = {
+ .init = m88e1111_init,
+ .setup_aneg = genmii_setup_aneg,
+ .setup_forced = genmii_setup_forced,
+ .poll_link = genmii_poll_link,
+ .read_link = genmii_read_link
+};
+
+static struct mii_phy_def m88e1111_phy_def = {
+
+ .phy_id = 0x01410CC0,
+ .phy_id_mask = 0x0ffffff0,
+ .name = "Marvell 88E1111 Ethernet",
+ .ops = &m88e1111_phy_ops,
+};
+
static struct mii_phy_def *mii_phy_table[] = {
&cis8201_phy_def,
+ &bcm5248_phy_def,
+ &m88e1111_phy_def,
&genmii_phy_def,
NULL
};
^ permalink raw reply
* Re: [PATCH] [POWERPC] Use PAGE_OFFSET to tell if an address is user/kernel in SW TLB handlers
From: Josh Boyer @ 2007-10-12 11:56 UTC (permalink / raw)
To: David Gibson; +Cc: linuxppc-dev
In-Reply-To: <20071012033032.GH21056@localhost.localdomain>
On Fri, 2007-10-12 at 13:30 +1000, David Gibson wrote:
> On Thu, Oct 11, 2007 at 01:42:30PM -0500, Kumar Gala wrote:
> > Move to using PAGE_OFFSET instead of TASK_SIZE or KERNELBASE value on
> > 6xx/40x/44x/fsl-booke to determine if the faulting address is a kernel or
> > user space address. This mimics how the macro is_kernel_addr()
> > works.
>
> Actually it's ambiguous whether TASK_SIZE or PAGE_OFFSET is correct in
> most of these cases (KERNELBASE is certainly wrong, though).
>
> TASK_SIZE is the top of the userspace mapped area, PAGE_OFFSET is the
> bottom of the linear mapping. So, strictly speaking there are 3 paths
> for the miss handlers: < TASK_SIZE => user mapping, >= PAGE_OFFSET =>
> kernel mapping, between the two => immediate fault.
>
> We get away with a two way comparison on 32-bit because, a) they have
> the same value and b) none of the pagetables, user or kernel, should
> have any entries in the in between region so we'll end up in
> do_page_fault in the end, anyway.
Kumar's other patch removes the gap. He changed the default
CONFIG_TASK_SIZE to 0xc0000000.
josh
^ permalink raw reply
* Re: [PATCH] PowerPC: Fix find_legacy_serial_ports on OPB.
From: Josh Boyer @ 2007-10-12 11:49 UTC (permalink / raw)
To: David Gibson; +Cc: linuxppc-dev, Arnd Bergmann
In-Reply-To: <20071012023149.GA21056@localhost.localdomain>
On Fri, 2007-10-12 at 12:31 +1000, David Gibson wrote:
> On Thu, Oct 11, 2007 at 01:31:53PM -0500, Josh Boyer wrote:
> > On Thu, 2007-10-11 at 21:26 +0400, Valentine Barshak wrote:
> > > Josh Boyer wrote:
> > > > On Thu, 2007-10-11 at 17:50 +0200, Arnd Bergmann wrote:
> > > >> On Thursday 11 October 2007, Valentine Barshak wrote:
> > > >>> Currently find_legacy_serial_ports() can find no serial ports on the OPB.
> > > >>> Thus no legacy boot console can be initialized. Just the early udbg console
> > > >>> works, which is initialized with udbg_init_44x_as1() on the UART's physical
> > > >>> address specified in kernel config. This happens because we look for ns16750
> > > >>> and higher serial devices only and expect opb node to have a device type
> > > >>> property. This patch makes it look for ns16550 compatible devices and use
> > > >>> of_device_is_compatible() for opb instead of checking device type.
> > > >>> Lack of legacy serial ports found causes problems for KGDB over serial.
> > > >>>
> > > >>> Signed-off-by: Valentine Barshak <vbarshak@ru.mvista.com>
> > > >> The patch would make sense if we were only dealing with flattened device
> > > >> tree systems at this point. Unfortunately, IBM is shipping hardware that
> > > >> encodes the serial port in exactly the way that find_legacy_serial_ports
> > > >> is looking for (parent->type == "opb", compatible = "ns16750" "ns16550"
> > > >> "ns16450" i8250").
> > > >>
> > > >> Changing the search for ns16750 to ns16550 should be fine, but unnecessary
> > > >> because AFAIK, all OPB serial imlpementations are actually ns16750 and
> > > >> should have that in the device tree as well.
> > > >>
> > > >> For the device type of the bus, please check for both compatible and
> > > >> type, so that it still works on machines that are missing the compatible
> > > >> property.
> > > >
> > > > Wait, no. We already had this discussion months ago when David was
> > > > working on the original Ebony port. It was declared that legacy_serial
> > > > is not how serial should be done on 4xx and the serial_of driver was
> > > > supposed to be used instead.
> > > >
> > > > Have we changed our stance on that? If not, then perhaps KGDB should be
> > > > fixed to work with serial_of.
> > >
> > > Actually I don't see any reason not to use legacy_serial stuff for early
> > > console. We could split the kernel configured very early debug output,
> > > which uses PPC_EARLY_DEBUG_44x_PHYSLOW/PHYSHIGH (since it's really
> > > dangerous) and early console things by using legacy serial. We could use
> > > early boot console without PPC_EARLY_DEBUG_44x.
> >
> > That was exactly my thinking when this first came up. I'd like to hear
> > David's opinion on it.
>
> Yeah, I think I misinterpreted BenH way back when. This looks ok, and
> means serial will be initialized earlier than of_serial, which would
> be nice.
Great. It seems Paul pulled it into his tree already as well, which
suits me just fine.
josh
^ permalink raw reply
* RE: [PATCH 3/9 v2] add Freescale SerDes PHY support
From: Li Yang-r58472 @ 2007-10-12 11:39 UTC (permalink / raw)
To: Wood Scott-B07421; +Cc: linuxppc-dev, paulus
In-Reply-To: <20071011200938.GC4247@loki.buserror.net>
=20
> -----Original Message-----
> From: Wood Scott-B07421=20
> Sent: Friday, October 12, 2007 4:10 AM
> To: Li Yang-r58472
> Cc: galak@kernel.crashing.org; paulus@samba.org;=20
> linuxppc-dev@ozlabs.org
> Subject: Re: [PATCH 3/9 v2] add Freescale SerDes PHY support
>=20
> On Thu, Oct 11, 2007 at 05:53:45PM +0800, Li Yang wrote:
> > diff --git a/arch/powerpc/platforms/Kconfig=20
> > b/arch/powerpc/platforms/Kconfig index 19d4628..e89f803 100644
> > --- a/arch/powerpc/platforms/Kconfig
> > +++ b/arch/powerpc/platforms/Kconfig
> > @@ -291,4 +291,8 @@ config FSL_ULI1575
> > Freescale reference boards. The boards all use the=20
> ULI in pretty
> > much the same way.
> > =20
> > +config FSL_SERDES
> > + bool
> > + default n
>=20
> "default n" is the default -- no need to specify it explicitly.
>=20
> > + /* Configure SRDSCR1 */
> > + tmp =3D in_be32(regs + FSL_SRDSCR1_OFFS);
> > + tmp &=3D ~FSL_SRDSCR1_PLLBW;
> > + out_be32(regs + FSL_SRDSCR1_OFFS, tmp);
>=20
> clrbits32?
>=20
> > + /* Configure SRDSCR2 */
> > + tmp =3D in_be32(regs + FSL_SRDSCR2_OFFS);
> > + tmp &=3D ~FSL_SRDSCR2_SEIC_MASK;
> > + tmp |=3D FSL_SRDSCR2_SEIC_SATA;
> > + out_be32(regs + FSL_SRDSCR2_OFFS, tmp);
>=20
> clrsetbits_be32?
Ok, I will try the up-to-the-minute arsenal. :)
- Leo
^ permalink raw reply
* [PATCH/RFT] powerpc: 64-bit irqtrace support
From: Johannes Berg @ 2007-10-11 12:10 UTC (permalink / raw)
To: linuxppc-dev list; +Cc: Paul Mackerras, Christoph Hellwig
In-Reply-To: <1184159028.6669.10.camel@johannes.berg>
This adds irqtrace support to 64-bit powerpc to enable lockdep.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
---
Requires Christoph's stack trace patch to really enable lockdep.
This patch is updated against the current powerpc master branch, mostly
required because of the introduction of exception.h
I'd like see this tested on some other platforms (maybe iSeries, Cell)
to make sure it doesn't blow up there and also reviewed by someone more
familiar with the exception handling; maybe some of the calls don't need
to be wrapped this excessively.
I haven't succeeded in making it work on 32-bit yet, somebody else can
take that if they want to :)
arch/powerpc/Kconfig | 9 ++++
arch/powerpc/kernel/Makefile | 1
arch/powerpc/kernel/entry_64.S | 21 +++++++++
arch/powerpc/kernel/head_64.S | 37 +++++++++++++----
arch/powerpc/kernel/irq.c | 3 -
arch/powerpc/kernel/irqtrace.S | 87 ++++++++++++++++++++++++++++++++++++++++
arch/powerpc/kernel/ppc_ksyms.c | 4 -
arch/powerpc/kernel/setup_64.c | 6 ++
include/asm-powerpc/exception.h | 7 +--
include/asm-powerpc/hw_irq.h | 13 +++--
include/asm-powerpc/irqflags.h | 23 +++++-----
include/asm-powerpc/rwsem.h | 38 +++++++++++++----
include/asm-powerpc/spinlock.h | 1
13 files changed, 208 insertions(+), 42 deletions(-)
--- powerpc.orig/arch/powerpc/Kconfig 2007-10-11 13:35:59.034629802 +0200
+++ powerpc/arch/powerpc/Kconfig 2007-10-11 13:40:13.844629802 +0200
@@ -50,6 +50,15 @@ config STACKTRACE_SUPPORT
bool
default y
+config TRACE_IRQFLAGS_SUPPORT
+ bool
+ depends on PPC64
+ default y
+
+config LOCKDEP_SUPPORT
+ bool
+ default y
+
config RWSEM_GENERIC_SPINLOCK
bool
--- powerpc.orig/arch/powerpc/kernel/irq.c 2007-10-11 13:32:39.399629802 +0200
+++ powerpc/arch/powerpc/kernel/irq.c 2007-10-11 13:40:13.848629802 +0200
@@ -114,7 +114,7 @@ static inline void set_soft_enabled(unsi
: : "r" (enable), "i" (offsetof(struct paca_struct, soft_enabled)));
}
-void local_irq_restore(unsigned long en)
+void raw_local_irq_restore(unsigned long en)
{
/*
* get_paca()->soft_enabled = en;
@@ -175,6 +175,7 @@ void local_irq_restore(unsigned long en)
__hard_irq_enable();
}
+EXPORT_SYMBOL(raw_local_irq_restore);
#endif /* CONFIG_PPC64 */
int show_interrupts(struct seq_file *p, void *v)
--- powerpc.orig/arch/powerpc/kernel/ppc_ksyms.c 2007-10-11 13:32:39.422629802 +0200
+++ powerpc/arch/powerpc/kernel/ppc_ksyms.c 2007-10-11 13:40:13.850629802 +0200
@@ -49,10 +49,6 @@
#include <asm/commproc.h>
#endif
-#ifdef CONFIG_PPC64
-EXPORT_SYMBOL(local_irq_restore);
-#endif
-
#ifdef CONFIG_PPC32
extern void transfer_to_handler(void);
extern void do_IRQ(struct pt_regs *regs);
--- powerpc.orig/include/asm-powerpc/hw_irq.h 2007-10-11 13:28:06.923629802 +0200
+++ powerpc/include/asm-powerpc/hw_irq.h 2007-10-11 13:40:13.853629802 +0200
@@ -27,7 +27,7 @@ static inline unsigned long local_get_fl
return flags;
}
-static inline unsigned long local_irq_disable(void)
+static inline unsigned long raw_local_irq_disable(void)
{
unsigned long flags, zero;
@@ -39,14 +39,15 @@ static inline unsigned long local_irq_di
return flags;
}
-extern void local_irq_restore(unsigned long);
+extern void raw_local_irq_restore(unsigned long);
extern void iseries_handle_interrupts(void);
-#define local_irq_enable() local_irq_restore(1)
-#define local_save_flags(flags) ((flags) = local_get_flags())
-#define local_irq_save(flags) ((flags) = local_irq_disable())
+#define raw_local_irq_enable() raw_local_irq_restore(1)
+#define raw_local_save_flags(flags) ((flags) = local_get_flags())
+#define raw_local_irq_save(flags) ((flags) = raw_local_irq_disable())
-#define irqs_disabled() (local_get_flags() == 0)
+#define raw_irqs_disabled() (local_get_flags() == 0)
+#define raw_irqs_disabled_flags(flags) ((flags) == 0)
#define __hard_irq_enable() __mtmsrd(mfmsr() | MSR_EE, 1)
#define __hard_irq_disable() __mtmsrd(mfmsr() & ~MSR_EE, 1)
--- powerpc.orig/include/asm-powerpc/irqflags.h 2007-10-11 13:28:06.943629802 +0200
+++ powerpc/include/asm-powerpc/irqflags.h 2007-10-11 13:40:13.856629802 +0200
@@ -2,30 +2,29 @@
* include/asm-powerpc/irqflags.h
*
* IRQ flags handling
- *
- * This file gets included from lowlevel asm headers too, to provide
- * wrapped versions of the local_irq_*() APIs, based on the
- * raw_local_irq_*() macros from the lowlevel headers.
*/
#ifndef _ASM_IRQFLAGS_H
#define _ASM_IRQFLAGS_H
+#ifndef __ASSEMBLY__
/*
* Get definitions for raw_local_save_flags(x), etc.
*/
#include <asm-powerpc/hw_irq.h>
+#else
+#ifdef CONFIG_TRACE_IRQFLAGS
/*
- * Do the CPU's IRQ-state tracing from assembly code. We call a
- * C function, so save all the C-clobbered registers:
+ * Most of the CPU's IRQ-state tracing is done from assembly code; we
+ * have to call a C function so call a wrapper that saves all the
+ * C-clobbered registers.
*/
-#ifdef CONFIG_TRACE_IRQFLAGS
-
-#error No support on PowerPC yet for CONFIG_TRACE_IRQFLAGS
-
+#define TRACE_ENABLE_INTS_WRAPPED bl .powerpc_trace_hardirqs_on
+#define TRACE_DISABLE_INTS_WRAPPED bl .powerpc_trace_hardirqs_off
#else
-# define TRACE_IRQS_ON
-# define TRACE_IRQS_OFF
+#define TRACE_ENABLE_INTS_WRAPPED
+#define TRACE_DISABLE_INTS_WRAPPED
+#endif
#endif
#endif
--- powerpc.orig/include/asm-powerpc/rwsem.h 2007-10-11 13:34:16.677629802 +0200
+++ powerpc/include/asm-powerpc/rwsem.h 2007-10-11 13:40:13.859629802 +0200
@@ -5,6 +5,10 @@
#error "Please don't include <asm/rwsem.h> directly, use <linux/rwsem.h> instead."
#endif
+#ifndef _LINUX_RWSEM_H
+#error "please don't include asm/rwsem.h directly, use linux/rwsem.h instead"
+#endif
+
#ifdef __KERNEL__
/*
@@ -32,11 +36,21 @@ struct rw_semaphore {
#define RWSEM_ACTIVE_WRITE_BIAS (RWSEM_WAITING_BIAS + RWSEM_ACTIVE_BIAS)
spinlock_t wait_lock;
struct list_head wait_list;
+#ifdef CONFIG_DEBUG_LOCK_ALLOC
+ struct lockdep_map dep_map;
+#endif
};
+#ifdef CONFIG_DEBUG_LOCK_ALLOC
+# define __RWSEM_DEP_MAP_INIT(lockname) , .dep_map = { .name = #lockname }
+#else
+# define __RWSEM_DEP_MAP_INIT(lockname)
+#endif
+
#define __RWSEM_INITIALIZER(name) \
{ RWSEM_UNLOCKED_VALUE, SPIN_LOCK_UNLOCKED, \
- LIST_HEAD_INIT((name).wait_list) }
+ LIST_HEAD_INIT((name).wait_list) \
+ __RWSEM_DEP_MAP_INIT(name) }
#define DECLARE_RWSEM(name) \
struct rw_semaphore name = __RWSEM_INITIALIZER(name)
@@ -46,12 +60,15 @@ extern struct rw_semaphore *rwsem_down_w
extern struct rw_semaphore *rwsem_wake(struct rw_semaphore *sem);
extern struct rw_semaphore *rwsem_downgrade_wake(struct rw_semaphore *sem);
-static inline void init_rwsem(struct rw_semaphore *sem)
-{
- sem->count = RWSEM_UNLOCKED_VALUE;
- spin_lock_init(&sem->wait_lock);
- INIT_LIST_HEAD(&sem->wait_list);
-}
+extern void __init_rwsem(struct rw_semaphore *sem, const char *name,
+ struct lock_class_key *key);
+
+#define init_rwsem(sem) \
+ do { \
+ static struct lock_class_key __key; \
+ \
+ __init_rwsem((sem), #sem, &__key); \
+ } while (0)
/*
* lock for reading
@@ -78,7 +95,7 @@ static inline int __down_read_trylock(st
/*
* lock for writing
*/
-static inline void __down_write(struct rw_semaphore *sem)
+static inline void __down_write_nested(struct rw_semaphore *sem, int subclass)
{
int tmp;
@@ -88,6 +105,11 @@ static inline void __down_write(struct r
rwsem_down_write_failed(sem);
}
+static inline void __down_write(struct rw_semaphore *sem)
+{
+ __down_write_nested(sem, 0);
+}
+
static inline int __down_write_trylock(struct rw_semaphore *sem)
{
int tmp;
--- powerpc.orig/include/asm-powerpc/spinlock.h 2007-10-11 13:28:06.993629802 +0200
+++ powerpc/include/asm-powerpc/spinlock.h 2007-10-11 13:40:13.861629802 +0200
@@ -19,6 +19,7 @@
*
* (the type definitions are in asm/spinlock_types.h)
*/
+#include <linux/irqflags.h>
#ifdef CONFIG_PPC64
#include <asm/paca.h>
#include <asm/hvcall.h>
--- powerpc.orig/include/asm-powerpc/exception.h 2007-10-11 13:34:13.733629802 +0200
+++ powerpc/include/asm-powerpc/exception.h 2007-10-11 13:40:13.864629802 +0200
@@ -232,14 +232,15 @@ BEGIN_FW_FTR_SECTION; \
mfmsr r10; \
ori r10,r10,MSR_EE; \
mtmsrd r10,1; \
-END_FW_FTR_SECTION_IFSET(FW_FEATURE_ISERIES)
+END_FW_FTR_SECTION_IFSET(FW_FEATURE_ISERIES); \
+ TRACE_DISABLE_INTS_WRAPPED
#else
#define DISABLE_INTS \
li r11,0; \
stb r11,PACASOFTIRQEN(r13); \
- stb r11,PACAHARDIRQEN(r13)
-
+ stb r11,PACAHARDIRQEN(r13); \
+ TRACE_DISABLE_INTS_WRAPPED
#endif /* CONFIG_PPC_ISERIES */
#define ENABLE_INTS \
--- powerpc.orig/arch/powerpc/kernel/head_64.S 2007-10-11 13:32:39.357629802 +0200
+++ powerpc/arch/powerpc/kernel/head_64.S 2007-10-11 13:40:13.868629802 +0200
@@ -36,6 +36,7 @@
#include <asm/firmware.h>
#include <asm/page_64.h>
#include <asm/exception.h>
+#include <asm/irqflags.h>
#define DO_SOFT_DISABLE
@@ -450,24 +451,35 @@ bad_stack:
*/
fast_exc_return_irq: /* restores irq state too */
ld r3,SOFTE(r1)
- ld r12,_MSR(r1)
+#ifdef CONFIG_TRACE_IRQFLAGS
+ cmpdi r3,0
+ bne 1f
+ stb r3,PACASOFTIRQEN(r13) /* restore paca->soft_enabled */
+ bl .trace_hardirqs_off
+ b 2f
+1:
+ bl .trace_hardirqs_on
+ ld r3,SOFTE(r1)
+#endif
stb r3,PACASOFTIRQEN(r13) /* restore paca->soft_enabled */
+2:
+ ld r12,_MSR(r1)
rldicl r4,r12,49,63 /* get MSR_EE to LSB */
stb r4,PACAHARDIRQEN(r13) /* restore paca->hard_enabled */
- b 1f
+ b 3f
.globl fast_exception_return
fast_exception_return:
ld r12,_MSR(r1)
-1: ld r11,_NIP(r1)
+3: ld r11,_NIP(r1)
andi. r3,r12,MSR_RI /* check if RI is set */
beq- unrecov_fer
#ifdef CONFIG_VIRT_CPU_ACCOUNTING
andi. r3,r12,MSR_PR
- beq 2f
+ beq 4f
ACCOUNT_CPU_USER_EXIT(r3, r4)
-2:
+4:
#endif
ld r3,_CCR(r1)
@@ -874,11 +886,22 @@ END_FW_FTR_SECTION_IFCLR(FW_FEATURE_ISER
/*
* hash_page couldn't handle it, set soft interrupt enable back
- * to what it was before the trap. Note that .local_irq_restore
+ * to what it was before the trap. Note that .raw_local_irq_restore
* handles any interrupts pending at this point.
*/
ld r3,SOFTE(r1)
- bl .local_irq_restore
+#ifdef CONFIG_TRACE_IRQFLAGS
+ cmpdi r3,0
+ bne 14f
+ bl .raw_local_irq_restore
+ bl .trace_hardirqs_off
+ b 15f
+14:
+ bl .trace_hardirqs_on
+ li r3,1
+#endif
+ bl .raw_local_irq_restore
+15:
b 11f
/* Here we have a page fault that hash_page can't handle. */
--- powerpc.orig/arch/powerpc/kernel/setup_64.c 2007-10-11 13:32:39.482629802 +0200
+++ powerpc/arch/powerpc/kernel/setup_64.c 2007-10-11 13:40:13.871629802 +0200
@@ -33,6 +33,7 @@
#include <linux/serial_8250.h>
#include <linux/bootmem.h>
#include <linux/pci.h>
+#include <linux/lockdep.h>
#include <asm/io.h>
#include <asm/kdump.h>
#include <asm/prom.h>
@@ -359,6 +360,11 @@ void __init setup_system(void)
&__start___fw_ftr_fixup, &__stop___fw_ftr_fixup);
/*
+ * start lockdep
+ */
+ lockdep_init();
+
+ /*
* Unflatten the device-tree passed by prom_init or kexec
*/
unflatten_device_tree();
--- powerpc.orig/arch/powerpc/kernel/entry_64.S 2007-10-11 13:32:39.347629802 +0200
+++ powerpc/arch/powerpc/kernel/entry_64.S 2007-10-11 13:40:13.875629802 +0200
@@ -29,6 +29,7 @@
#include <asm/cputable.h>
#include <asm/firmware.h>
#include <asm/bug.h>
+#include <asm/irqflags.h>
/*
* System calls.
@@ -88,6 +89,13 @@ system_call_common:
addi r9,r1,STACK_FRAME_OVERHEAD
ld r11,exception_marker@toc(r2)
std r11,-16(r9) /* "regshere" marker */
+#ifdef CONFIG_TRACE_IRQFLAGS
+ bl .trace_hardirqs_on
+ REST_GPR(0,r1)
+ REST_4GPRS(3,r1)
+ REST_2GPRS(7,r1)
+ addi r9,r1,STACK_FRAME_OVERHEAD
+#endif
li r10,1
stb r10,PACASOFTIRQEN(r13)
stb r10,PACAHARDIRQEN(r13)
@@ -494,8 +502,18 @@ BEGIN_FW_FTR_SECTION
4:
END_FW_FTR_SECTION_IFSET(FW_FEATURE_ISERIES)
#endif
+#ifdef CONFIG_TRACE_IRQFLAGS
+ cmpdi r5,0
+ bne 5f
stb r5,PACASOFTIRQEN(r13)
-
+ bl .trace_hardirqs_off
+ b 6f
+5:
+ bl .trace_hardirqs_on
+ li r5,1
+#endif
+ stb r5,PACASOFTIRQEN(r13)
+6:
/* extract EE bit and use it to restore paca->hard_enabled */
ld r3,_MSR(r1)
rldicl r4,r3,49,63 /* r0 = (r3 >> 15) & 1 */
@@ -562,6 +580,7 @@ do_work:
bne restore
/* here we are preempting the current task */
1:
+ TRACE_ENABLE_INTS_WRAPPED
li r0,1
stb r0,PACASOFTIRQEN(r13)
stb r0,PACAHARDIRQEN(r13)
--- powerpc.orig/arch/powerpc/kernel/Makefile 2007-10-11 13:35:59.037629802 +0200
+++ powerpc/arch/powerpc/kernel/Makefile 2007-10-11 13:40:13.877629802 +0200
@@ -66,6 +66,7 @@ obj-$(CONFIG_SMP) += smp.o
obj-$(CONFIG_KPROBES) += kprobes.o
obj-$(CONFIG_PPC_UDBG_16550) += legacy_serial.o udbg_16550.o
obj-$(CONFIG_STACKTRACE) += stacktrace.o
+obj-$(CONFIG_TRACE_IRQFLAGS) += irqtrace.o
pci64-$(CONFIG_PPC64) += pci_dn.o isa-bridge.o
obj-$(CONFIG_PCI) += pci_$(CONFIG_WORD_SIZE).o $(pci64-y) \
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
+++ powerpc/arch/powerpc/kernel/irqtrace.S 2007-10-11 13:40:13.880629802 +0200
@@ -0,0 +1,87 @@
+/*
+ * helpers for irq-trace
+ *
+ * We invoke the hardirq trace functions from various inconvenient
+ * places; these helpers save all callee-saved registers.
+ *
+ * Copyright 2007 Johannes Berg <johannes@sipsolutions.net>
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version
+ * 2 of the License, or (at your option) any later version.
+ */
+
+#include <asm/ppc_asm.h>
+#include <asm/asm-offsets.h>
+
+#ifdef CONFIG_PPC64
+#define ST std
+#define STU stdu
+#define L ld
+#define WSZ 8
+#define FREE 32
+#else
+#error double-check please
+#define ST stw
+#define STU stwu
+#define L lwz
+#define WSZ 4
+#define FREE 16
+#endif
+
+#define STACKSPACE (FREE + 16*WSZ)
+#define SAVE(n) (FREE + n*WSZ)
+
+_GLOBAL(powerpc_trace_hardirqs_on)
+ ST r3, (SAVE(2)-STACKSPACE)(r1)
+ LOAD_REG_IMMEDIATE(r3, .trace_hardirqs_on)
+ b powerpc_trace_hardirqs
+
+_GLOBAL(powerpc_trace_hardirqs_off)
+ ST r3, (SAVE(2)-STACKSPACE)(r1)
+ LOAD_REG_IMMEDIATE(r3, .trace_hardirqs_off)
+
+powerpc_trace_hardirqs:
+ ST r0, (SAVE(0)-STACKSPACE)(r1)
+ mflr r0
+ ST r0, LRSAVE(r1)
+ STU r1, -STACKSPACE(r1)
+ mfctr r0
+ ST r0, SAVE(14)(r1)
+ mtctr r3
+ ST r2, SAVE(1)(r1)
+ ST r4, SAVE(3)(r1)
+ ST r5, SAVE(4)(r1)
+ ST r6, SAVE(5)(r1)
+ ST r7, SAVE(6)(r1)
+ ST r8, SAVE(7)(r1)
+ ST r9, SAVE(8)(r1)
+ ST r10, SAVE(9)(r1)
+ ST r11, SAVE(10)(r1)
+ ST r12, SAVE(11)(r1)
+ ST r13, SAVE(12)(r1)
+ mfcr r0
+ ST r0, SAVE(13)(r1)
+ bctrl
+ L r2, SAVE(1)(r1)
+ L r3, SAVE(2)(r1)
+ L r4, SAVE(3)(r1)
+ L r5, SAVE(4)(r1)
+ L r6, SAVE(5)(r1)
+ L r7, SAVE(6)(r1)
+ L r8, SAVE(7)(r1)
+ L r9, SAVE(8)(r1)
+ L r10, SAVE(9)(r1)
+ L r11, SAVE(10)(r1)
+ L r12, SAVE(11)(r1)
+ L r13, SAVE(12)(r1)
+ L r0, SAVE(13)(r1)
+ mtcr r0
+ L r0, SAVE(14)(r1)
+ mtctr r0
+ L r1, 0(r1)
+ L r0, LRSAVE(r1)
+ mtlr r0
+ L r0, (SAVE(0)-STACKSPACE)(r1)
+ blr
^ permalink raw reply
* Re: Set up device tree for PCI bus
From: Benjamin Herrenschmidt @ 2007-10-12 11:27 UTC (permalink / raw)
To: Hommel, Thomas (GE Indust, GE Fanuc); +Cc: linuxppc-dev
In-Reply-To: <62DDBB9E5E23CC4A929EE46F9427CEAF3682BB@BUDMLVEM04.e2k.ad.ge.com>
On Fri, 2007-10-12 at 12:48 +0200, Hommel, Thomas (GE Indust, GE Fanuc)
wrote:
> Hi all,
> I'm wondering how to set up a proper device tree for a PCI bus. The bus
> has a tree-like structure with several bridges and can be extended
> dynamically (by adding PMC/XMC modules).
.../...
> A problem is that the modules in the Expansion/PMC slot can contain more
> bridges and therefore the bus numbering isn't fixed. For example, if the
> PMC adds one more bus, #5 becomes #6 and #6 becomes #7.
> Can I assign fixed resources for all the bridge parts of the system?
ppc32 should cope with renumbering... though ppc64 will probably not.
What you can do perhaps is to assign wide bus ranges to your slots. For
example, slot 0 would provide bus 0x10...0x1f, slot 1 bus 0x20 to 0x2f
etc... You would thus only put the switch busses in the device-tree.
There is still a potential issue if you connect enough sub busses to
blow that range of 16 away but that's unlikely.
Such a solution would work for the time being. In the long run, I do
intend to make the kernel more flexible overall with bus renumbering vs.
OF tree.
^ permalink raw reply
* Set up device tree for PCI bus
From: Hommel, Thomas (GE Indust, GE Fanuc) @ 2007-10-12 10:48 UTC (permalink / raw)
To: linuxppc-dev
Hi all,
I'm wondering how to set up a proper device tree for a PCI bus. The bus
has a tree-like structure with several bridges and can be extended
dynamically (by adding PMC/XMC modules).
The structure looks like this:
----------------------
| MPC8641 |
| |
| BDF 0:0:0 |
----------------------
|
|Bus #1
|PCIe 8x
|
-----------------------------------------------
| PCIe switch | |
| ------------- |
| | BDF 1:0:0 | | =20
| ------------- |
| |Bus #2 |
| ----------------------------- |
| | | | |
| ----------- ------------ ----------- |
| |BDF 2:1:0| |BDF 2:2:0 | |BDF 2:3:0| |
| ----------- ------------ ----------- |
| |Bus #3 |Bus #5 |Bus #6 |
| |PCIe 4x |PCIe 2x |PCIe 2x |
-----------------------------------------------
| | |
----------- ------------ ----------- =20
|Bridge | |Expansion | |SATA | =20
|BDF 3:0:0| |Slot | |BDF 6:0:0| =20
----------- ------------ ----------- =20
|
|Bus #4
|PCI-X
----------------------
| |
------------ ------------=20
|VME Bridge| |PMC Slot | =20
|BDF 4:e:0 | |BDF 4:c:0 | =20
------------ ------------ =20
A problem is that the modules in the Expansion/PMC slot can contain more
bridges and therefore the bus numbering isn't fixed. For example, if the
PMC adds one more bus, #5 becomes #6 and #6 becomes #7.
Can I assign fixed resources for all the bridge parts of the system?
Thanks
Thomas
^ permalink raw reply
* linux-2.6.git: cannot build PS3 image
From: Geert Uytterhoeven @ 2007-10-12 9:56 UTC (permalink / raw)
To: Linux/PPC Development
[-- Attachment #1: Type: TEXT/PLAIN, Size: 1319 bytes --]
On current linux-2.6.git (782e3b3b3804c38d5130c7f21d7ec7bf6709023f), I get:
| WRAP arch/powerpc/boot/zImage.ps3
| DTC: dts->dtb on file "/usr/people/geert.nba/ps3/ps3-linux-2.6/arch/powerpc/boot/dts/ps3.dts"
| ln: accessing `arch/powerpc/boot/zImage.ps3': No such file or directory
`make V=1' gives:
| /bin/sh ps3-linux-2.6/arch/powerpc/boot/wrapper -c -o arch/powerpc/boot/zImage.ps3 -p ps3 -C "ppu-" -s ps3-linux-2.6/arch/powerpc/boot/dts/ps3.dts vmlinux
| DTC: dts->dtb on file "ps3-linux-2.6/arch/powerpc/boot/dts/ps3.dts"
| ln: accessing `arch/powerpc/boot/zImage.ps3': No such file or directory
I don't see a change to arch/powerpc/boot/Makefile that could explain this.
Anyone with a clue? Thx!
With kind regards,
Geert Uytterhoeven
Software Architect
Sony Network and Software Technology Center Europe
The Corporate Village · Da Vincilaan 7-D1 · B-1935 Zaventem · Belgium
Phone: +32 (0)2 700 8453
Fax: +32 (0)2 700 8622
E-mail: Geert.Uytterhoeven@sonycom.com
Internet: http://www.sony-europe.com/
Sony Network and Software Technology Center Europe
A division of Sony Service Centre (Europe) N.V.
Registered office: Technologielaan 7 · B-1840 Londerzeel · Belgium
VAT BE 0413.825.160 · RPR Brussels
Fortis Bank Zaventem · Swift GEBABEBB08A · IBAN BE39001382358619
^ permalink raw reply
* Re: nfs mounting problem
From: Abhijit Naik @ 2007-10-12 9:13 UTC (permalink / raw)
To: linuxppc-embedded
In-Reply-To: <OF08754E94.1194DC2D-ON6525726C.0043EADB-6525726C.0044D6F4@lntemsys.com>
Hello Manjunath,
You open the ports of portmaper and nfs from firewall. Refer
http://www.linuxquestions.org/questions/linux-security-4/firewall-blocking-nfs-even-though-ports-are-open-294069/.
Hope you get your problem solved.
All teh best
Manjunath AM wrote:
>
> Hi,
>
> We are using MPC8272 based target board, we are trying to mount montavista
> Linux version 2.6.10 kernel image (with NFS enabled) to our target board,
> we are setting following bootargs in bootloader
>
> "setenv bootargs root=/dev/nfs
> nfsroot=192.168.178.110:/opt/montavista/pro/devkit/ppc/82xx/target
> ip=192.168.178.234:192.168.178.110:192.168.178.47:255.255.255.0:cashel:eth1:off"
>
> when we boot the board, it is not able to mount nfs file system to board,
> but the same image and configuration works with MPC8272ADS board.
> please suggest me, what could be the problem.
>
> Booting image at 00200000 ...
> Image Name: Linux-2.6.10_mvl401-8272ads
> Image Type: PowerPC Linux Kernel Image (gzip compressed)
> Data Size: 948607 Bytes = 926.4 kB
> Load Address: 00000000
> Entry Point: 00000000
> Verifying Checksum ... OK
> Uncompressing Kernel Image ... OK
> Linux version 2.6.10_mvl401-8272ads (root@em178110) (gcc version 3.4.3
> (MontaVista 3.4.3-25.0.70.050
> 1961 2005-12-18)) #2 Tue Jan 23 16:54:50 IST 2007
> Motorola PQ2 ADS PowerPC port
> Built 1 zonelists
> Kernel command line: root=/dev/nfs
> nfsroot=192.168.178.110:/opt/montavista/pro/devkit/ppc/82xx/targe
> t
> ip=192.168.178.234:192.168.178.110:192.168.178.47:255.255.255.0:cashel:eth1:off
> PID hash table entries: 128 (order: 7, 2048 bytes)
> hr_time_init: arch_to_nsec = 83886080, nsec_to_arch = 107374182
> Warning: real time clock seems stuck!
> Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
> Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
> Memory: 13952k available (1684k kernel code, 468k data, 100k init, 0k
> highmem)
> Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
> spawn_desched_task(00000000)
> desched cpu_callback 3/00000000
> ksoftirqd started up.
> desched cpu_callback 2/00000000
> desched thread 0 started up.
> NET: Registered protocol family 16
> Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
> Initializing Cryptographic API
> Serial: CPM driver $Revision: 0.01 $
> ttyCPM0 at MMIO 0xf0011a00 (irq = 40) is a CPM UART
> ttyCPM1 at MMIO 0xf0011a60 (irq = 43) is a CPM UART
> io scheduler noop registered
> io scheduler anticipatory registered
> io scheduler deadline registered
> io scheduler cfq registered
> RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
> loop: loaded (max 8 devices)
> fs_enet.c:v1.0 (Aug 8, 2005)
> Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
> ide: Assuming 50MHz system bus speed for PIO modes; override with
> idebus=xx
> eth0: FCC ENET Version 0.3, 00:99:23:c4:ad:de
> eth1: FCC ENET Version 0.3, 00:99:23:44:ad:de
> eth2: FCC ENET Version 0.3, 00:99:23:64:ad:de
> NET: Registered protocol family 2
> IP: routing cache hash table of 512 buckets, 4Kbytes
> TCP: Hash tables configured (established 1024 bind 2048)
> NET: Registered protocol family 1
> NET: Registered protocol family 17
> IP-Config: Complete:
> device=eth1, addr=192.168.178.234, mask=255.255.255.0,
> gw=192.168.178.47,
> host=cashel, domain=, nis-domain=(none),
> bootserver=192.168.178.110, rootserver=192.168.178.110, rootpath=
> Looking up port of RPC 100003/2 on 192.168.178.110
> portmap: server 192.168.178.110 not responding, timed out
> Root-NFS: Unable to get nfsd port number from server, using default
> Looking up port of RPC 100005/1 on 192.168.178.110
> portmap: server 192.168.178.110 not responding, timed out
> Root-NFS: Unable to get mountd port number from server, using default
> mount: server 192.168.178.110 not responding, timed out
> Root-NFS: Server returned error -5 while mounting
> /opt/montavista/pro/devkit/ppc/82xx/target
> VFS: Unable to mount root fs via NFS, trying floppy.
> VFS: Cannot open root device "nfs" or unknown-block(2,0)
> Please append a correct "root=" boot option
> Kernel panic - not syncing: VFS: Unable to mount root fs on
> unknown-block(2,0)
> <0>Rebooting in 180 seconds..
>
> Thanks and awaiting for your valuable feedback
>
>
>
> Thanks & Regards
> MANJUNATH AM
>
> _______________________________________________
> Linuxppc-embedded mailing list
> Linuxppc-embedded@ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-embedded
>
:-)
--
View this message in context: http://www.nabble.com/nfs-mounting-problem-tf3063819.html#a13171747
Sent from the linuxppc-embedded mailing list archive at Nabble.com.
^ permalink raw reply
* Re: powerpc commits for 2.6.24
From: Stefan Roese @ 2007-10-12 8:41 UTC (permalink / raw)
To: linuxppc-dev; +Cc: Paul Mackerras
In-Reply-To: <1192140461.3061.11.camel@localhost.localdomain>
On Friday 12 October 2007, Josh Boyer wrote:
> I added Stefan's latest patch set to my tree as well. They look good.
Thanks Josh.
Best regards,
Stefan
^ permalink raw reply
* [PATCH] powerpc: Add 1TB workaround for PA6T
From: Olof Johansson @ 2007-10-12 6:49 UTC (permalink / raw)
To: paulus; +Cc: linuxppc-dev
PA6T has a bug where the slbie instruction does not honor the large
segment bit. As a result, we have to always use slbia when switching
context.
We don't have to worry about changing the slbie's during fault processing,
since they should never be replacing one VSID with another using the
same ESID. I.e. there's no risk for inserting duplicate entries due to a
failed slbie of the old entry. So as long as we clear it out on context
switch we should be fine.
Signed-off-by: Olof Johansson <olof@lixom.net>
diff --git a/arch/powerpc/mm/hash_utils_64.c b/arch/powerpc/mm/hash_utils_64.c
index 09da90b..c78dc91 100644
--- a/arch/powerpc/mm/hash_utils_64.c
+++ b/arch/powerpc/mm/hash_utils_64.c
@@ -212,6 +212,7 @@ static int __init htab_dt_scan_seg_sizes(unsigned long node,
return 1;
}
}
+ cur_cpu_spec->cpu_features &= ~CPU_FTR_NO_SLBIE_B;
return 0;
}
diff --git a/arch/powerpc/mm/slb.c b/arch/powerpc/mm/slb.c
index 6c164ce..bbd2c51 100644
--- a/arch/powerpc/mm/slb.c
+++ b/arch/powerpc/mm/slb.c
@@ -157,7 +157,8 @@ void switch_slb(struct task_struct *tsk, struct mm_struct *mm)
unsigned long stack = KSTK_ESP(tsk);
unsigned long unmapped_base;
- if (offset <= SLB_CACHE_ENTRIES) {
+ if (!cpu_has_feature(CPU_FTR_NO_SLBIE_B) &&
+ offset <= SLB_CACHE_ENTRIES) {
int i;
asm volatile("isync" : : : "memory");
for (i = 0; i < offset; i++) {
diff --git a/include/asm-powerpc/cputable.h b/include/asm-powerpc/cputable.h
index ae093ef..2ca0633 100644
--- a/include/asm-powerpc/cputable.h
+++ b/include/asm-powerpc/cputable.h
@@ -165,6 +165,7 @@ extern void do_feature_fixups(unsigned long value, void *fixup_start,
#define CPU_FTR_SPURR LONG_ASM_CONST(0x0001000000000000)
#define CPU_FTR_DSCR LONG_ASM_CONST(0x0002000000000000)
#define CPU_FTR_1T_SEGMENT LONG_ASM_CONST(0x0004000000000000)
+#define CPU_FTR_NO_SLBIE_B LONG_ASM_CONST(0x0008000000000000)
#ifndef __ASSEMBLY__
@@ -367,7 +368,7 @@ extern void do_feature_fixups(unsigned long value, void *fixup_start,
#define CPU_FTRS_PA6T (CPU_FTR_USE_TB | \
CPU_FTR_HPTE_TABLE | CPU_FTR_PPCAS_ARCH_V2 | \
CPU_FTR_ALTIVEC_COMP | CPU_FTR_CI_LARGE_PAGE | \
- CPU_FTR_PURR | CPU_FTR_REAL_LE)
+ CPU_FTR_PURR | CPU_FTR_REAL_LE | CPU_FTR_NO_SLBIE_B)
#define CPU_FTRS_COMPATIBLE (CPU_FTR_USE_TB | \
CPU_FTR_HPTE_TABLE | CPU_FTR_PPCAS_ARCH_V2)
@@ -375,7 +376,8 @@ extern void do_feature_fixups(unsigned long value, void *fixup_start,
#define CPU_FTRS_POSSIBLE \
(CPU_FTRS_POWER3 | CPU_FTRS_RS64 | CPU_FTRS_POWER4 | \
CPU_FTRS_PPC970 | CPU_FTRS_POWER5 | CPU_FTRS_POWER6 | \
- CPU_FTRS_CELL | CPU_FTRS_PA6T | CPU_FTR_1T_SEGMENT)
+ CPU_FTRS_CELL | CPU_FTRS_PA6T | CPU_FTR_1T_SEGMENT | \
+ CPU_FTR_NO_SLBIE_B)
#else
enum {
CPU_FTRS_POSSIBLE =
^ permalink raw reply related
* [PATCH] powerpc: Fix 1TB segment detection
From: Olof Johansson @ 2007-10-12 6:44 UTC (permalink / raw)
To: paulus; +Cc: linuxppc-dev
Buglet in the 1TB detection makes it return after checking the first
property word, even if it's not a match.
Signed-off-by: Olof Johansson <olof@lixom.net>
diff --git a/arch/powerpc/mm/hash_utils_64.c b/arch/powerpc/mm/hash_utils_64.c
index 611ad08..09da90b 100644
--- a/arch/powerpc/mm/hash_utils_64.c
+++ b/arch/powerpc/mm/hash_utils_64.c
@@ -209,8 +209,8 @@ static int __init htab_dt_scan_seg_sizes(unsigned long node,
if (prop[0] == 40) {
DBG("1T segment support detected\n");
cur_cpu_spec->cpu_features |= CPU_FTR_1T_SEGMENT;
+ return 1;
}
- return 1;
}
return 0;
}
^ permalink raw reply related
* RE: Plz can anyone provide me link for downloading the mpc82xxpackage to configure the BDI2000
From: Leonid @ 2007-10-12 6:35 UTC (permalink / raw)
To: Pothina Satya Narayana, TLS,Chennai; +Cc: linuxppc-embedded
In-Reply-To: <20071012063223.398162486E@gemini.denx.de>
If you need configuration file and registers' definitions, look on
www.ultsol.com.=20
-----Original Message-----
From: linuxppc-embedded-bounces+leonid=3Da-k-a.net@ozlabs.org
[mailto:linuxppc-embedded-bounces+leonid=3Da-k-a.net@ozlabs.org] On =
Behalf
Of Wolfgang Denk
Sent: Thursday, October 11, 2007 11:32 PM
To: Pothina Satya Narayana, TLS,Chennai
Cc: linuxppc-embedded@ozlabs.org
Subject: Re: Plz can anyone provide me link for downloading the
mpc82xxpackage to configure the BDI2000
In message
<CE54F2377C0FB8439A290BF5A88BF13D06D22C09@CHN-HCLT-EVS01.HCLT.CORP.HCL.I
N> you wrote:
>=20
> In my current project I'm using BDI2000 to program and debug the
target
> board contains MPC8247.
>=20
> I struck up at initial stage itself. I don't have MPC82xx suitable
> package ( loader file to BDI2000 ).
If you mean the BDI2000 firmware: you cannot download this for free.
You must buy a license from your BDI2000 distributor or Abatron.
Best regards,
Wolfgang Denk
--=20
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
The IQ of the group is the lowest IQ of a member of the group divided
by the number of people in the group.
_______________________________________________
Linuxppc-embedded mailing list
Linuxppc-embedded@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-embedded
^ permalink raw reply
* Re: Plz can anyone provide me link for downloading the mpc82xx package to configure the BDI2000
From: Wolfgang Denk @ 2007-10-12 6:32 UTC (permalink / raw)
To: Pothina Satya Narayana, TLS,Chennai; +Cc: linuxppc-embedded
In-Reply-To: <CE54F2377C0FB8439A290BF5A88BF13D06D22C09@CHN-HCLT-EVS01.HCLT.CORP.HCL.IN>
In message <CE54F2377C0FB8439A290BF5A88BF13D06D22C09@CHN-HCLT-EVS01.HCLT.CORP.HCL.IN> you wrote:
>
> In my current project I'm using BDI2000 to program and debug the target
> board contains MPC8247.
>
> I struck up at initial stage itself. I don't have MPC82xx suitable
> package ( loader file to BDI2000 ).
If you mean the BDI2000 firmware: you cannot download this for free.
You must buy a license from your BDI2000 distributor or Abatron.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
The IQ of the group is the lowest IQ of a member of the group divided
by the number of people in the group.
^ permalink raw reply
* [PATCH] [POWERPC] Fix iSeries_hpte_insert prototype
From: Stephen Rothwell @ 2007-10-12 6:05 UTC (permalink / raw)
To: paulus; +Cc: ppc-dev
Commit 1189be6508d45183013ddb82b18f4934193de274 ([POWERPC] Use 1TB
segments) added an argument to hpte_insert.
Also make iSeries_hpte_insert static.
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
arch/powerpc/platforms/iseries/htab.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
diff --git a/arch/powerpc/platforms/iseries/htab.c b/arch/powerpc/platforms/iseries/htab.c
index 15a7097..f99c6c4 100644
--- a/arch/powerpc/platforms/iseries/htab.c
+++ b/arch/powerpc/platforms/iseries/htab.c
@@ -39,9 +39,9 @@ static inline void iSeries_hunlock(unsigned long slot)
spin_unlock(&iSeries_hlocks[(slot >> 4) & 0x3f]);
}
-long iSeries_hpte_insert(unsigned long hpte_group, unsigned long va,
+static long iSeries_hpte_insert(unsigned long hpte_group, unsigned long va,
unsigned long pa, unsigned long rflags,
- unsigned long vflags, int psize)
+ unsigned long vflags, int psize, int ssize)
{
long slot;
struct hash_pte lhpte;
--
1.5.3.4
^ permalink raw reply related
* [PATCH] [POWERPC] Fix axonram bio_io_error and bio_endio calls
From: Stephen Rothwell @ 2007-10-12 6:03 UTC (permalink / raw)
To: paulus; +Cc: Maxim Shchetynin, Bergmann, Neil Brown, Jens, Axboe, ppc-dev,
Arnd
Commit 6712ecf8f648118c3363c142196418f89a510b90 (Drop 'size' argument
from bio_endio and bi_end_io) dropped the second argument.
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
arch/powerpc/sysdev/axonram.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
I am not sure if this is all that is required, but it does build.
--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
diff --git a/arch/powerpc/sysdev/axonram.c b/arch/powerpc/sysdev/axonram.c
index 4d3ba63..5eaf3e3 100644
--- a/arch/powerpc/sysdev/axonram.c
+++ b/arch/powerpc/sysdev/axonram.c
@@ -117,7 +117,7 @@ axon_ram_make_request(struct request_queue *queue, struct bio *bio)
transfered = 0;
bio_for_each_segment(vec, bio, idx) {
if (unlikely(phys_mem + vec->bv_len > phys_end)) {
- bio_io_error(bio, bio->bi_size);
+ bio_io_error(bio);
rc = -ERANGE;
break;
}
@@ -131,7 +131,7 @@ axon_ram_make_request(struct request_queue *queue, struct bio *bio)
phys_mem += vec->bv_len;
transfered += vec->bv_len;
}
- bio_endio(bio, transfered, 0);
+ bio_endio(bio, 0);
return rc;
}
--
1.5.3.4
^ permalink raw reply related
* [PATCH 1/2] Lite5200 shouldn't mess with ROOT_DEV
From: Grant Likely @ 2007-10-12 6:01 UTC (permalink / raw)
To: paulus, linuxppc-dev
In-Reply-To: <20071012055826.9718.2510.stgit@trillian.cg.shawcable.net>
From: Grant Likely <grant.likely@secretlab.ca>
There is no good reason for board platform code to mess with the ROOT_DEV.
Remove it from all in-tree platforms except powermac
This is a follow on to commit 745e1027751acbc1f14f8bbef378b491242b9c83.
The original patch had this change to lite5200.c, but it got dropped in
the psycho madness that is the 2.6.24 merge window.
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
---
arch/powerpc/platforms/52xx/lite5200.c | 12 ------------
1 files changed, 0 insertions(+), 12 deletions(-)
diff --git a/arch/powerpc/platforms/52xx/lite5200.c b/arch/powerpc/platforms/52xx/lite5200.c
index 0caa3d9..a0b4934 100644
--- a/arch/powerpc/platforms/52xx/lite5200.c
+++ b/arch/powerpc/platforms/52xx/lite5200.c
@@ -156,18 +156,6 @@ static void __init lite5200_setup_arch(void)
of_node_put(np);
}
#endif
-
-#ifdef CONFIG_BLK_DEV_INITRD
- if (initrd_start)
- ROOT_DEV = Root_RAM0;
- else
-#endif
-#ifdef CONFIG_ROOT_NFS
- ROOT_DEV = Root_NFS;
-#else
- ROOT_DEV = Root_HDA1;
-#endif
-
}
/*
^ permalink raw reply related
* [PATCH 2/2] XilinxFB: typo bugfix
From: Grant Likely @ 2007-10-12 6:01 UTC (permalink / raw)
To: paulus, linuxppc-dev
In-Reply-To: <20071012055826.9718.2510.stgit@trillian.cg.shawcable.net>
From: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
---
drivers/video/xilinxfb.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/video/xilinxfb.c b/drivers/video/xilinxfb.c
index 6ef99b2..e38d3b7 100644
--- a/drivers/video/xilinxfb.c
+++ b/drivers/video/xilinxfb.c
@@ -84,7 +84,7 @@ static struct xilinxfb_platform_data xilinx_fb_default_pdata = {
.xres = 640,
.yres = 480,
.xvirt = 1024,
- .yvirt = 480;
+ .yvirt = 480,
};
/*
^ permalink raw reply related
* [PATCH 0/2] Fixups to powerpc tree.
From: Grant Likely @ 2007-10-12 6:01 UTC (permalink / raw)
To: paulus, linuxppc-dev
Hi Paulus,
Here are 2 fixups to the powerpc tree. The first is a change to
lite5200.c that somehow got dropped from the ROOT_DEV patch. The
second is a simple typo fix to the xilinxfb driver. (I had noticed
the typo after posting the patch, but had thought in the back of my
mind that I'd get to spin another version before they got merged)
Cheers,
g.
--
Grant Likely, B.Sc. P.Eng.
Secret Lab Technologies Ltd.
^ permalink raw reply
* [PATCH] missed bio_endio() in axonram
From: Al Viro @ 2007-10-12 6:00 UTC (permalink / raw)
To: Linus Torvalds; +Cc: axboe, linuxppc-dev, linux-kernel
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
---
diff --git a/arch/powerpc/sysdev/axonram.c b/arch/powerpc/sysdev/axonram.c
index ab037a3..46fd9c6 100644
--- a/arch/powerpc/sysdev/axonram.c
+++ b/arch/powerpc/sysdev/axonram.c
@@ -117,7 +117,7 @@ axon_ram_make_request(struct request_queue *queue, struct bio *bio)
transfered = 0;
bio_for_each_segment(vec, bio, idx) {
if (unlikely(phys_mem + vec->bv_len > phys_end)) {
- bio_io_error(bio, bio->bi_size);
+ bio_io_error(bio);
rc = -ERANGE;
break;
}
@@ -131,7 +131,7 @@ axon_ram_make_request(struct request_queue *queue, struct bio *bio)
phys_mem += vec->bv_len;
transfered += vec->bv_len;
}
- bio_endio(bio, transfered, 0);
+ bio_endio(bio, 0);
return rc;
}
^ permalink raw reply related
* Re: Please pull powerpc.git master branch
From: Linus Torvalds @ 2007-10-12 5:38 UTC (permalink / raw)
To: Paul Mackerras; +Cc: linuxppc-dev
In-Reply-To: <18190.63495.790381.701352@cargo.ozlabs.ibm.com>
On Fri, 12 Oct 2007, Paul Mackerras wrote:
>
> git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc.git master
I got a merge conflict on Documentation/powerpc/booting-without-of.txt,
which I tried to fix up. I may or may not have succeeded.
The issue was the interaction of David Gibson's device-tree-aware EMAC
driver which got merged with the net driver update through the networking
tree, and all the other new cases added in the PPC tree.
I think I merged it ok, but you guys should check and send me any fixes.
Linus
^ permalink raw reply
* [PATCH] [POWERPC] Fix copyright symbol
From: Stephen Rothwell @ 2007-10-12 5:37 UTC (permalink / raw)
To: paulus; +Cc: ppc-dev, jk
It seems to have been munged by patchwork.
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
arch/powerpc/platforms/iseries/vio.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
diff --git a/arch/powerpc/platforms/iseries/vio.c b/arch/powerpc/platforms/iseries/vio.c
index 910b00b..d6435b0 100644
--- a/arch/powerpc/platforms/iseries/vio.c
+++ b/arch/powerpc/platforms/iseries/vio.c
@@ -2,7 +2,7 @@
* Legacy iSeries specific vio initialisation
* that needs to be built in (not a module).
*
- * © Copyright 2007 IBM Corporation
+ * © Copyright 2007 IBM Corporation
* Author: Stephen Rothwell
* Some parts collected from various other files
*
--
1.5.3.4
^ permalink raw reply related
* Please pull powerpc.git master branch
From: Paul Mackerras @ 2007-10-12 4:28 UTC (permalink / raw)
To: torvalds; +Cc: linuxppc-dev
Linus,
Please do
git pull \
git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc.git master
to get a powerpc update for 2.6.24, as listed below.
Thanks,
Paul.
Documentation/powerpc/booting-without-of.txt | 335 ++++
MAINTAINERS | 29
arch/powerpc/Kconfig | 50 +
arch/powerpc/Kconfig.debug | 31
arch/powerpc/Makefile | 56 -
arch/powerpc/boot/.gitignore | 9
arch/powerpc/boot/44x.c | 85 -
arch/powerpc/boot/44x.h | 5
arch/powerpc/boot/4xx.c | 300 ++++
arch/powerpc/boot/4xx.h | 22
arch/powerpc/boot/Makefile | 25
arch/powerpc/boot/bamboo.c | 47 +
arch/powerpc/boot/cpm-serial.c | 269 ++++
arch/powerpc/boot/cuboot-52xx.c | 59 +
arch/powerpc/boot/cuboot-83xx.c | 1
arch/powerpc/boot/cuboot-85xx.c | 1
arch/powerpc/boot/cuboot-8xx.c | 47 +
arch/powerpc/boot/cuboot-bamboo.c | 30
arch/powerpc/boot/cuboot-hpc2.c | 48 +
arch/powerpc/boot/cuboot-pq2.c | 261 +++
arch/powerpc/boot/cuboot-sequoia.c | 56 +
arch/powerpc/boot/cuboot.c | 3
arch/powerpc/boot/dcr.h | 18
arch/powerpc/boot/devtree.c | 99 +
arch/powerpc/boot/dts/bamboo.dts | 244 +++
arch/powerpc/boot/dts/ebony.dts | 35
arch/powerpc/boot/dts/ep88xc.dts | 214 +++
arch/powerpc/boot/dts/holly.dts | 5
arch/powerpc/boot/dts/kilauea.dts | 252 +++
arch/powerpc/boot/dts/kuroboxHD.dts | 9
arch/powerpc/boot/dts/kuroboxHG.dts | 9
arch/powerpc/boot/dts/lite5200.dts | 59 -
arch/powerpc/boot/dts/lite5200b.dts | 119 +-
arch/powerpc/boot/dts/mpc7448hpc2.dts | 9
arch/powerpc/boot/dts/mpc8272ads.dts | 431 +++---
arch/powerpc/boot/dts/mpc8313erdb.dts | 67 -
arch/powerpc/boot/dts/mpc832x_mds.dts | 122 +-
arch/powerpc/boot/dts/mpc832x_rdb.dts | 72 -
arch/powerpc/boot/dts/mpc8349emitx.dts | 104 +
arch/powerpc/boot/dts/mpc8349emitxgp.dts | 52 -
arch/powerpc/boot/dts/mpc834x_mds.dts | 249 ++-
arch/powerpc/boot/dts/mpc836x_mds.dts | 123 +-
arch/powerpc/boot/dts/mpc8540ads.dts | 175 +-
arch/powerpc/boot/dts/mpc8541cds.dts | 228 ++-
arch/powerpc/boot/dts/mpc8544ds.dts | 377 +++--
arch/powerpc/boot/dts/mpc8548cds.dts | 404 +++--
arch/powerpc/boot/dts/mpc8555cds.dts | 228 ++-
arch/powerpc/boot/dts/mpc8560ads.dts | 267 ++--
arch/powerpc/boot/dts/mpc8568mds.dts | 160 +-
arch/powerpc/boot/dts/mpc8572ds.dts | 404 +++++
arch/powerpc/boot/dts/mpc8610_hpcd.dts | 191 +++
arch/powerpc/boot/dts/mpc8641_hpcn.dts | 289 ++--
arch/powerpc/boot/dts/mpc866ads.dts | 5
arch/powerpc/boot/dts/mpc885ads.dts | 211 ++-
arch/powerpc/boot/dts/pq2fads.dts | 240 +++
arch/powerpc/boot/dts/prpmc2800.dts | 5
arch/powerpc/boot/dts/sequoia.dts | 302 ++++
arch/powerpc/boot/dts/walnut.dts | 190 +++
arch/powerpc/boot/ebony.c | 45 +
arch/powerpc/boot/ep88xc.c | 54 +
arch/powerpc/boot/fixed-head.S | 4
arch/powerpc/boot/flatdevtree.c | 100 +
arch/powerpc/boot/flatdevtree.h | 8
arch/powerpc/boot/flatdevtree_env.h | 20
arch/powerpc/boot/flatdevtree_misc.c | 8
arch/powerpc/boot/fsl-soc.c | 57 +
arch/powerpc/boot/fsl-soc.h | 8
arch/powerpc/boot/gunzip_util.c | 8
arch/powerpc/boot/holly.c | 5
arch/powerpc/boot/io.h | 49 +
arch/powerpc/boot/main.c | 10
arch/powerpc/boot/mpc52xx-psc.c | 69 +
arch/powerpc/boot/mpc8xx.c | 82 +
arch/powerpc/boot/mpc8xx.h | 11
arch/powerpc/boot/mpsc.c | 1
arch/powerpc/boot/mv64x60_i2c.c | 2
arch/powerpc/boot/of.c | 2
arch/powerpc/boot/ops.h | 36
arch/powerpc/boot/planetcore.c | 166 ++
arch/powerpc/boot/planetcore.h | 49 +
arch/powerpc/boot/ppcboot.h | 7
arch/powerpc/boot/pq2.c | 102 +
arch/powerpc/boot/pq2.h | 11
arch/powerpc/boot/prpmc2800.c | 6
arch/powerpc/boot/ps3.c | 4
arch/powerpc/boot/serial.c | 23
arch/powerpc/boot/stdlib.c | 45 +
arch/powerpc/boot/stdlib.h | 6
arch/powerpc/boot/string.S | 37
arch/powerpc/boot/string.h | 3
arch/powerpc/boot/treeboot-bamboo.c | 43 +
arch/powerpc/boot/treeboot-ebony.c | 2
arch/powerpc/boot/treeboot-walnut.c | 131 ++
arch/powerpc/boot/uartlite.c | 79 +
arch/powerpc/boot/wrapper | 20
arch/powerpc/configs/bamboo_defconfig | 775 ++++++++++
arch/powerpc/configs/ebony_defconfig | 85 +
arch/powerpc/configs/ep88xc_defconfig | 751 ++++++++++
arch/powerpc/configs/kilauea_defconfig | 768 ++++++++++
arch/powerpc/configs/mpc8272_ads_defconfig | 248 ++-
arch/powerpc/configs/mpc8544_ds_defconfig | 2
arch/powerpc/configs/mpc8560_ads_defconfig | 23
arch/powerpc/configs/mpc8572_ds_defconfig | 1496 ++++++++++++++++++++
arch/powerpc/configs/mpc8610_hpcd_defconfig | 1023 ++++++++++++++
arch/powerpc/configs/mpc885_ads_defconfig | 297 ++--
arch/powerpc/configs/pq2fads_defconfig | 1003 +++++++++++++
arch/powerpc/configs/sequoia_defconfig | 861 ++++++++++++
arch/powerpc/configs/walnut_defconfig | 773 ++++++++++
arch/powerpc/kernel/Makefile | 43 -
arch/powerpc/kernel/align.c | 307 ++++
arch/powerpc/kernel/asm-offsets.c | 12
arch/powerpc/kernel/btext.c | 1
arch/powerpc/kernel/clock.c | 82 +
arch/powerpc/kernel/cpu_setup_44x.S | 56 +
arch/powerpc/kernel/cputable.c | 119 +-
arch/powerpc/kernel/crash.c | 1
arch/powerpc/kernel/crash_dump.c | 4
arch/powerpc/kernel/entry_32.S | 4
arch/powerpc/kernel/entry_64.S | 24
arch/powerpc/kernel/head_32.S | 71 +
arch/powerpc/kernel/head_40x.S | 28
arch/powerpc/kernel/head_44x.S | 30
arch/powerpc/kernel/head_64.S | 604 --------
arch/powerpc/kernel/head_8xx.S | 27
arch/powerpc/kernel/head_fsl_booke.S | 99 +
arch/powerpc/kernel/ibmebus.c | 7
arch/powerpc/kernel/idle.c | 3
arch/powerpc/kernel/iomap.c | 4
arch/powerpc/kernel/iommu.c | 1
arch/powerpc/kernel/irq.c | 97 +
arch/powerpc/kernel/legacy_serial.c | 5
arch/powerpc/kernel/lparcfg.c | 2
arch/powerpc/kernel/lparmap.c | 32
arch/powerpc/kernel/nvram_64.c | 23
arch/powerpc/kernel/of_platform.c | 17
arch/powerpc/kernel/pci-common.c | 7
arch/powerpc/kernel/pci_32.c | 4
arch/powerpc/kernel/pci_64.c | 2
arch/powerpc/kernel/pci_dn.c | 7
arch/powerpc/kernel/ppc_ksyms.c | 8
arch/powerpc/kernel/process.c | 32
arch/powerpc/kernel/prom.c | 24
arch/powerpc/kernel/prom_init.c | 23
arch/powerpc/kernel/ptrace.c | 10
arch/powerpc/kernel/ptrace32.c | 8
arch/powerpc/kernel/rtas_pci.c | 4
arch/powerpc/kernel/setup-common.c | 2
arch/powerpc/kernel/setup_32.c | 10
arch/powerpc/kernel/setup_64.c | 9
arch/powerpc/kernel/signal.c | 6
arch/powerpc/kernel/signal_32.c | 38 +
arch/powerpc/kernel/signal_64.c | 15
arch/powerpc/kernel/smp.c | 29
arch/powerpc/kernel/softemu8xx.c | 202 +++
arch/powerpc/kernel/sysfs.c | 64 +
arch/powerpc/kernel/systbl.S | 2
arch/powerpc/kernel/time.c | 503 +++----
arch/powerpc/kernel/traps.c | 97 +
arch/powerpc/kernel/udbg.c | 2
arch/powerpc/kernel/udbg_16550.c | 11
arch/powerpc/kernel/vdso.c | 2
arch/powerpc/kernel/vdso32/.gitignore | 1
arch/powerpc/kernel/vdso32/Makefile | 20
arch/powerpc/kernel/vdso64/.gitignore | 1
arch/powerpc/kernel/vdso64/Makefile | 19
arch/powerpc/kernel/vio.c | 104 -
arch/powerpc/kernel/vmlinux.lds.S | 2
arch/powerpc/lib/Makefile | 7
arch/powerpc/lib/alloc.c | 29
arch/powerpc/mm/40x_mmu.c | 4
arch/powerpc/mm/Makefile | 15
arch/powerpc/mm/fsl_booke_mmu.c | 2
arch/powerpc/mm/hash_low_64.S | 73 +
arch/powerpc/mm/hash_native_64.c | 92 +
arch/powerpc/mm/hash_utils_64.c | 121 +-
arch/powerpc/mm/hugetlbpage.c | 16
arch/powerpc/mm/init_32.c | 41 +
arch/powerpc/mm/init_64.c | 2
arch/powerpc/mm/mem.c | 1
arch/powerpc/mm/mmu_context_64.c | 11
arch/powerpc/mm/pgtable_64.c | 6
arch/powerpc/mm/slb.c | 73 +
arch/powerpc/mm/slb_low.S | 37
arch/powerpc/mm/slice.c | 1
arch/powerpc/mm/stab.c | 6
arch/powerpc/mm/tlb_64.c | 20
arch/powerpc/oprofile/cell/pr_util.h | 3
arch/powerpc/oprofile/op_model_cell.c | 2
arch/powerpc/platforms/40x/Kconfig | 134 +-
arch/powerpc/platforms/40x/Makefile | 3
arch/powerpc/platforms/40x/kilauea.c | 58 +
arch/powerpc/platforms/40x/virtex.c | 45 +
arch/powerpc/platforms/40x/walnut.c | 63 +
arch/powerpc/platforms/44x/Kconfig | 32
arch/powerpc/platforms/44x/Makefile | 2
arch/powerpc/platforms/44x/bamboo.c | 61 +
arch/powerpc/platforms/44x/ebony.c | 5
arch/powerpc/platforms/44x/sequoia.c | 61 +
arch/powerpc/platforms/4xx/Makefile | 1
arch/powerpc/platforms/52xx/Kconfig | 2
arch/powerpc/platforms/52xx/Makefile | 3
arch/powerpc/platforms/52xx/efika.c | 32
arch/powerpc/platforms/52xx/lite5200.c | 121 +-
arch/powerpc/platforms/52xx/lite5200_pm.c | 213 +++
arch/powerpc/platforms/52xx/lite5200_sleep.S | 412 ++++++
arch/powerpc/platforms/52xx/mpc52xx_common.c | 38 -
arch/powerpc/platforms/52xx/mpc52xx_pic.c | 22
arch/powerpc/platforms/82xx/Kconfig | 24
arch/powerpc/platforms/82xx/Makefile | 6
arch/powerpc/platforms/82xx/m82xx_pci.h | 2
arch/powerpc/platforms/82xx/mpc8272_ads.c | 196 +++
arch/powerpc/platforms/82xx/mpc82xx.c | 110 -
arch/powerpc/platforms/82xx/mpc82xx_ads.c | 641 ---------
arch/powerpc/platforms/82xx/pq2.c | 82 +
arch/powerpc/platforms/82xx/pq2.h | 20
arch/powerpc/platforms/82xx/pq2ads-pci-pic.c | 195 +++
arch/powerpc/platforms/82xx/pq2ads.h | 9
arch/powerpc/platforms/82xx/pq2fads.c | 198 +++
arch/powerpc/platforms/83xx/mpc8313_rdb.c | 4
arch/powerpc/platforms/83xx/mpc832x_mds.c | 6
arch/powerpc/platforms/83xx/mpc832x_rdb.c | 52 +
arch/powerpc/platforms/83xx/mpc834x_itx.c | 5
arch/powerpc/platforms/83xx/mpc834x_mds.c | 5
arch/powerpc/platforms/83xx/mpc836x_mds.c | 6
arch/powerpc/platforms/83xx/mpc83xx.h | 2
arch/powerpc/platforms/83xx/pci.c | 7
arch/powerpc/platforms/85xx/Kconfig | 11
arch/powerpc/platforms/85xx/Makefile | 3
arch/powerpc/platforms/85xx/misc.c | 55 -
arch/powerpc/platforms/85xx/mpc8540_ads.h | 35
arch/powerpc/platforms/85xx/mpc85xx.h | 17
arch/powerpc/platforms/85xx/mpc85xx_ads.c | 187 +--
arch/powerpc/platforms/85xx/mpc85xx_ads.h | 60 -
arch/powerpc/platforms/85xx/mpc85xx_cds.c | 47 -
arch/powerpc/platforms/85xx/mpc85xx_cds.h | 43 -
arch/powerpc/platforms/85xx/mpc85xx_ds.c | 87 +
arch/powerpc/platforms/85xx/mpc85xx_mds.c | 55 -
arch/powerpc/platforms/86xx/Kconfig | 13
arch/powerpc/platforms/86xx/Makefile | 1
arch/powerpc/platforms/86xx/mpc8610_hpcd.c | 216 +++
arch/powerpc/platforms/86xx/mpc8641_hpcn.h | 21
arch/powerpc/platforms/86xx/mpc86xx_hpcn.c | 37
arch/powerpc/platforms/8xx/Kconfig | 28
arch/powerpc/platforms/8xx/Makefile | 1
arch/powerpc/platforms/8xx/ep88xc.c | 176 ++
arch/powerpc/platforms/8xx/m8xx_setup.c | 154 +-
arch/powerpc/platforms/8xx/mpc86xads.h | 4
arch/powerpc/platforms/8xx/mpc86xads_setup.c | 25
arch/powerpc/platforms/8xx/mpc885ads.h | 42 -
arch/powerpc/platforms/8xx/mpc885ads_setup.c | 472 ++----
arch/powerpc/platforms/Kconfig | 32
arch/powerpc/platforms/Kconfig.cputype | 14
arch/powerpc/platforms/Makefile | 2
arch/powerpc/platforms/cell/Makefile | 4
arch/powerpc/platforms/cell/axon_msi.c | 35
arch/powerpc/platforms/cell/cbe_cpufreq.c | 2
.../powerpc/platforms/cell/cbe_cpufreq_pervasive.c | 2
arch/powerpc/platforms/cell/cbe_cpufreq_pmi.c | 2
arch/powerpc/platforms/cell/cbe_regs.c | 3
arch/powerpc/platforms/cell/cbe_thermal.c | 2
arch/powerpc/platforms/cell/interrupt.c | 4
arch/powerpc/platforms/cell/iommu.c | 2
arch/powerpc/platforms/cell/pervasive.c | 2
arch/powerpc/platforms/cell/pmu.c | 2
arch/powerpc/platforms/cell/ras.c | 2
arch/powerpc/platforms/cell/setup.c | 17
arch/powerpc/platforms/cell/spider-pic.c | 22
arch/powerpc/platforms/cell/spu_base.c | 8
arch/powerpc/platforms/cell/spu_callbacks.c | 4
arch/powerpc/platforms/cell/spu_coredump.c | 79 -
arch/powerpc/platforms/cell/spu_manage.c | 4
arch/powerpc/platforms/cell/spu_syscalls.c | 142 +-
arch/powerpc/platforms/cell/spufs/coredump.c | 236 ++-
arch/powerpc/platforms/cell/spufs/file.c | 251 +--
arch/powerpc/platforms/cell/spufs/inode.c | 15
arch/powerpc/platforms/cell/spufs/run.c | 4
arch/powerpc/platforms/cell/spufs/sched.c | 49 -
arch/powerpc/platforms/cell/spufs/spufs.h | 7
arch/powerpc/platforms/cell/spufs/switch.c | 31
arch/powerpc/platforms/cell/spufs/syscalls.c | 48 -
arch/powerpc/platforms/celleb/Kconfig | 1
arch/powerpc/platforms/celleb/Makefile | 5
arch/powerpc/platforms/celleb/beat.c | 106 +
arch/powerpc/platforms/celleb/beat.h | 2
arch/powerpc/platforms/celleb/beat_syscall.h | 4
arch/powerpc/platforms/celleb/beat_wrapper.h | 68 +
arch/powerpc/platforms/celleb/htab.c | 152 ++
arch/powerpc/platforms/celleb/interrupt.c | 9
arch/powerpc/platforms/celleb/io-workarounds.c | 279 ++++
arch/powerpc/platforms/celleb/pci.c | 98 +
arch/powerpc/platforms/celleb/pci.h | 9
arch/powerpc/platforms/celleb/scc.h | 2
arch/powerpc/platforms/celleb/scc_epci.c | 88 +
arch/powerpc/platforms/celleb/scc_sio.c | 56 -
arch/powerpc/platforms/celleb/setup.c | 27
arch/powerpc/platforms/chrp/gg2.h | 61 +
arch/powerpc/platforms/chrp/pci.c | 39 -
arch/powerpc/platforms/chrp/setup.c | 13
arch/powerpc/platforms/chrp/smp.c | 2
arch/powerpc/platforms/embedded6xx/Kconfig | 12
arch/powerpc/platforms/embedded6xx/holly.c | 14
arch/powerpc/platforms/embedded6xx/linkstation.c | 8
arch/powerpc/platforms/embedded6xx/ls_uart.c | 18
arch/powerpc/platforms/embedded6xx/mpc10x.h | 180 ++
arch/powerpc/platforms/embedded6xx/mpc7448_hpc2.c | 5
arch/powerpc/platforms/embedded6xx/mpc7448_hpc2.h | 21
arch/powerpc/platforms/embedded6xx/prpmc2800.c | 8
arch/powerpc/platforms/iseries/Makefile | 3
arch/powerpc/platforms/iseries/dt.c | 17
arch/powerpc/platforms/iseries/exception.S | 251 +++
arch/powerpc/platforms/iseries/exception.h | 58 +
arch/powerpc/platforms/iseries/htab.c | 13
arch/powerpc/platforms/iseries/iommu.c | 52 +
arch/powerpc/platforms/iseries/irq.c | 10
arch/powerpc/platforms/iseries/it_lp_naca.h | 2
arch/powerpc/platforms/iseries/mf.c | 23
arch/powerpc/platforms/iseries/setup.c | 7
arch/powerpc/platforms/iseries/vio.c | 553 +++++++
arch/powerpc/platforms/iseries/viopath.c | 8
arch/powerpc/platforms/maple/pci.c | 21
arch/powerpc/platforms/pasemi/Kconfig | 1
arch/powerpc/platforms/pasemi/gpio_mdio.c | 4
arch/powerpc/platforms/pasemi/idle.c | 8
arch/powerpc/platforms/pasemi/iommu.c | 4
arch/powerpc/platforms/pasemi/pasemi.h | 4
arch/powerpc/platforms/pasemi/pci.c | 74 +
arch/powerpc/platforms/pasemi/setup.c | 134 ++
arch/powerpc/platforms/powermac/bootx_init.c | 1
arch/powerpc/platforms/powermac/low_i2c.c | 1
arch/powerpc/platforms/powermac/pci.c | 25
arch/powerpc/platforms/powermac/pic.c | 2
arch/powerpc/platforms/powermac/pmac.h | 4
arch/powerpc/platforms/powermac/setup.c | 77 -
arch/powerpc/platforms/powermac/udbg_adb.c | 5
arch/powerpc/platforms/ps3/device-init.c | 24
arch/powerpc/platforms/ps3/htab.c | 14
arch/powerpc/platforms/ps3/interrupt.c | 9
arch/powerpc/platforms/ps3/os-area.c | 646 ++++++++-
arch/powerpc/platforms/ps3/platform.h | 10
arch/powerpc/platforms/ps3/setup.c | 3
arch/powerpc/platforms/ps3/time.c | 14
arch/powerpc/platforms/pseries/eeh.c | 54 -
arch/powerpc/platforms/pseries/eeh_cache.c | 9
arch/powerpc/platforms/pseries/hotplug-cpu.c | 14
arch/powerpc/platforms/pseries/lpar.c | 90 +
arch/powerpc/platforms/pseries/msi.c | 35
arch/powerpc/platforms/pseries/rtasd.c | 99 +
arch/powerpc/platforms/pseries/setup.c | 5
arch/powerpc/platforms/pseries/xics.c | 2
arch/powerpc/sysdev/Makefile | 12
arch/powerpc/sysdev/axonram.c | 8
arch/powerpc/sysdev/commproc.c | 299 +++-
arch/powerpc/sysdev/commproc.h | 12
arch/powerpc/sysdev/cpm2_common.c | 178 ++
arch/powerpc/sysdev/cpm2_pic.c | 13
arch/powerpc/sysdev/cpm_common.c | 205 +++
arch/powerpc/sysdev/dart_iommu.c | 4
arch/powerpc/sysdev/dcr.c | 6
arch/powerpc/sysdev/fsl_pci.c | 7
arch/powerpc/sysdev/fsl_soc.c | 187 ++-
arch/powerpc/sysdev/fsl_soc.h | 8
arch/powerpc/sysdev/i8259.c | 8
arch/powerpc/sysdev/indirect_pci.c | 10
arch/powerpc/sysdev/ipic.c | 7
arch/powerpc/sysdev/ipic.h | 3
arch/powerpc/sysdev/mpc8xx_pic.c | 30
arch/powerpc/sysdev/mpic.c | 53 -
arch/powerpc/sysdev/mpic.h | 1
arch/powerpc/sysdev/mpic_msi.c | 13
arch/powerpc/sysdev/mpic_u3msi.c | 36
arch/powerpc/sysdev/mv64x60.h | 1
arch/powerpc/sysdev/mv64x60_pic.c | 12
arch/powerpc/sysdev/mv64x60_udbg.c | 152 ++
arch/powerpc/sysdev/pmi.c | 6
arch/powerpc/sysdev/qe_lib/qe.c | 36
arch/powerpc/sysdev/qe_lib/qe_ic.c | 38 -
arch/powerpc/sysdev/qe_lib/qe_ic.h | 3
arch/powerpc/sysdev/qe_lib/qe_io.c | 38 -
arch/powerpc/sysdev/qe_lib/ucc.c | 270 ++--
arch/powerpc/sysdev/qe_lib/ucc_fast.c | 127 +-
arch/powerpc/sysdev/qe_lib/ucc_slow.c | 48 -
arch/powerpc/sysdev/timer.c | 81 -
arch/powerpc/sysdev/tsi108_pci.c | 16
arch/powerpc/sysdev/uic.c | 75 +
arch/powerpc/sysdev/xilinx_intc.c | 151 ++
arch/ppc/.gitignore | 2
arch/ppc/8xx_io/enet.c | 1
arch/ppc/Kconfig | 154 --
arch/ppc/Makefile | 1
arch/ppc/amiga/Makefile | 8
arch/ppc/amiga/amiga_ksyms.c | 1
arch/ppc/amiga/amiints.c | 322 ----
arch/ppc/amiga/amisound.c | 1
arch/ppc/amiga/bootinfo.c | 78 -
arch/ppc/amiga/chipram.c | 1
arch/ppc/amiga/cia.c | 176 --
arch/ppc/amiga/config.c | 953 -------------
arch/ppc/amiga/ints.c | 158 --
arch/ppc/amiga/pcmcia.c | 1
arch/ppc/amiga/time.c | 57 -
arch/ppc/boot/simple/embed_config.c | 8
arch/ppc/boot/simple/misc-embedded.c | 4
arch/ppc/boot/simple/uartlite_tty.c | 8
arch/ppc/configs/apus_defconfig | 920 ------------
arch/ppc/kernel/head.S | 117 --
arch/ppc/kernel/head_44x.S | 10
arch/ppc/kernel/ppc_ksyms.c | 3
arch/ppc/kernel/setup.c | 1
arch/ppc/kernel/vmlinux.lds.S | 2
arch/ppc/mm/pgtable.c | 38 -
arch/ppc/platforms/Makefile | 4
arch/ppc/platforms/apus_pci.c | 207 ---
arch/ppc/platforms/apus_pci.h | 34
arch/ppc/platforms/apus_setup.c | 798 -----------
arch/ppc/platforms/ev64360.c | 3
arch/ppc/platforms/katana.c | 3
arch/ppc/syslib/ocp.c | 2
arch/ppc/syslib/virtex_devices.h | 8
drivers/block/viodasd.c | 77 -
drivers/cdrom/viocd.c | 128 --
drivers/char/hvc_beat.c | 4
drivers/char/ipmi/ipmi_si_intf.c | 6
drivers/char/viotape.c | 125 --
drivers/macintosh/adb-iop.c | 1
drivers/macintosh/adbhid.c | 21
drivers/macintosh/ans-lcd.c | 3
drivers/macintosh/ans-lcd.h | 0
drivers/macintosh/therm_adt746x.c | 5
drivers/macintosh/via-pmu.c | 2
drivers/macintosh/windfarm_smu_sat.c | 2
drivers/misc/hdpuftrs/hdpu_cpustate.c | 107 +
drivers/misc/hdpuftrs/hdpu_nexus.c | 88 +
drivers/mtd/maps/Kconfig | 2
drivers/mtd/maps/physmap_of.c | 349 +++--
drivers/net/ucc_geth.c | 2
drivers/net/ucc_geth.h | 1
drivers/net/ucc_geth_mii.c | 1
drivers/serial/Kconfig | 25
drivers/serial/cpm_uart/cpm_uart.h | 48 -
drivers/serial/cpm_uart/cpm_uart_core.c | 539 +++++--
drivers/serial/cpm_uart/cpm_uart_cpm1.c | 18
drivers/serial/cpm_uart/cpm_uart_cpm1.h | 16
drivers/serial/cpm_uart/cpm_uart_cpm2.c | 24
drivers/serial/cpm_uart/cpm_uart_cpm2.h | 16
drivers/serial/mpc52xx_uart.c | 2
drivers/serial/pmac_zilog.c | 22
drivers/serial/uartlite.c | 286 +++-
drivers/video/platinumfb.c | 48 -
drivers/video/xilinxfb.c | 353 +++--
fs/binfmt_elf.c | 14
include/asm-powerpc/8xx_immap.h | 564 ++++++++
include/asm-powerpc/atomic.h | 34
include/asm-powerpc/cell-regs.h | 48 +
include/asm-powerpc/clk_interface.h | 20
include/asm-powerpc/commproc.h | 755 ++++++++++
include/asm-powerpc/cpm.h | 14
include/asm-powerpc/cpm2.h | 1274 +++++++++++++++++
include/asm-powerpc/cputable.h | 40 -
include/asm-powerpc/dcr-mmio.h | 6
include/asm-powerpc/dcr-native.h | 6
include/asm-powerpc/dma-mapping.h | 24
include/asm-powerpc/elf.h | 9
include/asm-powerpc/exception.h | 311 ++++
include/asm-powerpc/fs_pd.h | 40 -
include/asm-powerpc/highmem.h | 135 ++
include/asm-powerpc/hydra.h | 102 +
include/asm-powerpc/ide.h | 2
include/asm-powerpc/immap_86xx.h | 219 ++-
include/asm-powerpc/immap_cpm2.h | 650 +++++++++
include/asm-powerpc/immap_qe.h | 35
include/asm-powerpc/io.h | 28
include/asm-powerpc/irq.h | 8
include/asm-powerpc/iseries/hv_call_event.h | 10
include/asm-powerpc/iseries/iommu.h | 4
include/asm-powerpc/iseries/lpar_map.h | 3
include/asm-powerpc/iseries/vio.h | 116 +-
include/asm-powerpc/kgdb.h | 57 +
include/asm-powerpc/lmb.h | 6
include/asm-powerpc/machdep.h | 10
include/asm-powerpc/mmu-40x.h | 65 +
include/asm-powerpc/mmu-hash64.h | 141 +-
include/asm-powerpc/mmu.h | 3
include/asm-powerpc/mpc52xx.h | 12
include/asm-powerpc/mpc52xx_psc.h | 191 +++
include/asm-powerpc/mpc85xx.h | 45 -
include/asm-powerpc/mpic.h | 13
include/asm-powerpc/nvram.h | 6
include/asm-powerpc/paca.h | 11
include/asm-powerpc/page_64.h | 17
include/asm-powerpc/pci-bridge.h | 3
include/asm-powerpc/percpu.h | 2
include/asm-powerpc/pgtable-4k.h | 2
include/asm-powerpc/pgtable-64k.h | 2
include/asm-powerpc/ppc_asm.h | 18
include/asm-powerpc/processor.h | 4
include/asm-powerpc/prom.h | 3
include/asm-powerpc/ps3.h | 9
include/asm-powerpc/qe.h | 246 ++-
include/asm-powerpc/qe_ic.h | 68 +
include/asm-powerpc/reg.h | 52 -
include/asm-powerpc/rwsem.h | 4
include/asm-powerpc/smp.h | 2
include/asm-powerpc/spu.h | 28
include/asm-powerpc/system.h | 3
include/asm-powerpc/time.h | 3
include/asm-powerpc/tlb.h | 2
include/asm-powerpc/tlbflush.h | 3
include/asm-powerpc/types.h | 2
include/asm-powerpc/ucc.h | 40 -
include/asm-powerpc/ucc_slow.h | 9
include/asm-powerpc/udbg.h | 1
include/asm-powerpc/vio.h | 6
include/asm-powerpc/xilinx_intc.h | 20
include/asm-ppc/amigahw.h | 16
include/asm-ppc/amigaints.h | 133 --
include/asm-ppc/amigappc.h | 85 -
include/asm-ppc/bootinfo.h | 5
include/asm-ppc/io.h | 51 -
include/asm-ppc/machdep.h | 4
include/asm-ppc/ocp.h | 2
include/asm-ppc/page.h | 44 -
include/asm-ppc/pgtable.h | 8
include/asm-ppc/prom.h | 1
include/linux/elf.h | 14
include/linux/of.h | 1
include/linux/pci_ids.h | 3
include/linux/xilinxfb.h | 30
kernel/sysctl.c | 2
lib/Kconfig.debug | 2
529 files changed, 31125 insertions(+), 13475 deletions(-)
delete mode 100644 arch/powerpc/boot/44x.c
create mode 100644 arch/powerpc/boot/4xx.c
create mode 100644 arch/powerpc/boot/4xx.h
create mode 100644 arch/powerpc/boot/bamboo.c
create mode 100644 arch/powerpc/boot/cpm-serial.c
create mode 100644 arch/powerpc/boot/cuboot-52xx.c
create mode 100644 arch/powerpc/boot/cuboot-8xx.c
create mode 100644 arch/powerpc/boot/cuboot-bamboo.c
create mode 100644 arch/powerpc/boot/cuboot-hpc2.c
create mode 100644 arch/powerpc/boot/cuboot-pq2.c
create mode 100644 arch/powerpc/boot/cuboot-sequoia.c
create mode 100644 arch/powerpc/boot/dts/bamboo.dts
create mode 100644 arch/powerpc/boot/dts/ep88xc.dts
create mode 100644 arch/powerpc/boot/dts/kilauea.dts
create mode 100644 arch/powerpc/boot/dts/mpc8572ds.dts
create mode 100644 arch/powerpc/boot/dts/mpc8610_hpcd.dts
create mode 100644 arch/powerpc/boot/dts/pq2fads.dts
create mode 100644 arch/powerpc/boot/dts/sequoia.dts
create mode 100644 arch/powerpc/boot/dts/walnut.dts
create mode 100644 arch/powerpc/boot/ep88xc.c
create mode 100644 arch/powerpc/boot/fixed-head.S
create mode 100644 arch/powerpc/boot/fsl-soc.c
create mode 100644 arch/powerpc/boot/fsl-soc.h
create mode 100644 arch/powerpc/boot/mpc52xx-psc.c
create mode 100644 arch/powerpc/boot/mpc8xx.c
create mode 100644 arch/powerpc/boot/mpc8xx.h
create mode 100644 arch/powerpc/boot/planetcore.c
create mode 100644 arch/powerpc/boot/planetcore.h
create mode 100644 arch/powerpc/boot/pq2.c
create mode 100644 arch/powerpc/boot/pq2.h
create mode 100644 arch/powerpc/boot/stdlib.c
create mode 100644 arch/powerpc/boot/stdlib.h
create mode 100644 arch/powerpc/boot/treeboot-bamboo.c
create mode 100644 arch/powerpc/boot/treeboot-walnut.c
create mode 100644 arch/powerpc/boot/uartlite.c
create mode 100644 arch/powerpc/configs/bamboo_defconfig
create mode 100644 arch/powerpc/configs/ep88xc_defconfig
create mode 100644 arch/powerpc/configs/kilauea_defconfig
create mode 100644 arch/powerpc/configs/mpc8572_ds_defconfig
create mode 100644 arch/powerpc/configs/mpc8610_hpcd_defconfig
create mode 100644 arch/powerpc/configs/pq2fads_defconfig
create mode 100644 arch/powerpc/configs/sequoia_defconfig
create mode 100644 arch/powerpc/configs/walnut_defconfig
create mode 100644 arch/powerpc/kernel/clock.c
create mode 100644 arch/powerpc/kernel/cpu_setup_44x.S
rename arch/powerpc/kernel/{head_4xx.S => head_40x.S} (98%)
delete mode 100644 arch/powerpc/kernel/lparmap.c
create mode 100644 arch/powerpc/kernel/softemu8xx.c
create mode 100644 arch/powerpc/lib/alloc.c
rename arch/powerpc/mm/{4xx_mmu.c => 40x_mmu.c} (96%)
rename arch/powerpc/platforms/{4xx/Kconfig => 40x/Kconfig} (58%)
create mode 100644 arch/powerpc/platforms/40x/Makefile
create mode 100644 arch/powerpc/platforms/40x/kilauea.c
create mode 100644 arch/powerpc/platforms/40x/virtex.c
create mode 100644 arch/powerpc/platforms/40x/walnut.c
create mode 100644 arch/powerpc/platforms/44x/bamboo.c
create mode 100644 arch/powerpc/platforms/44x/sequoia.c
delete mode 100644 arch/powerpc/platforms/4xx/Makefile
create mode 100644 arch/powerpc/platforms/52xx/lite5200_pm.c
create mode 100644 arch/powerpc/platforms/52xx/lite5200_sleep.S
create mode 100644 arch/powerpc/platforms/82xx/mpc8272_ads.c
delete mode 100644 arch/powerpc/platforms/82xx/mpc82xx.c
delete mode 100644 arch/powerpc/platforms/82xx/mpc82xx_ads.c
create mode 100644 arch/powerpc/platforms/82xx/pq2.c
create mode 100644 arch/powerpc/platforms/82xx/pq2.h
create mode 100644 arch/powerpc/platforms/82xx/pq2ads-pci-pic.c
create mode 100644 arch/powerpc/platforms/82xx/pq2fads.c
delete mode 100644 arch/powerpc/platforms/85xx/misc.c
delete mode 100644 arch/powerpc/platforms/85xx/mpc8540_ads.h
delete mode 100644 arch/powerpc/platforms/85xx/mpc85xx.h
delete mode 100644 arch/powerpc/platforms/85xx/mpc85xx_ads.h
delete mode 100644 arch/powerpc/platforms/85xx/mpc85xx_cds.h
rename arch/powerpc/platforms/85xx/{mpc8544_ds.c => mpc85xx_ds.c} (66%)
create mode 100644 arch/powerpc/platforms/86xx/mpc8610_hpcd.c
delete mode 100644 arch/powerpc/platforms/86xx/mpc8641_hpcn.h
create mode 100644 arch/powerpc/platforms/8xx/ep88xc.c
delete mode 100644 arch/powerpc/platforms/cell/spu_coredump.c
create mode 100644 arch/powerpc/platforms/celleb/io-workarounds.c
create mode 100644 arch/powerpc/platforms/chrp/gg2.h
create mode 100644 arch/powerpc/platforms/embedded6xx/mpc10x.h
delete mode 100644 arch/powerpc/platforms/embedded6xx/mpc7448_hpc2.h
create mode 100644 arch/powerpc/platforms/iseries/exception.S
create mode 100644 arch/powerpc/platforms/iseries/exception.h
create mode 100644 arch/powerpc/platforms/iseries/vio.c
create mode 100644 arch/powerpc/sysdev/commproc.h
create mode 100644 arch/powerpc/sysdev/cpm_common.c
create mode 100644 arch/powerpc/sysdev/mv64x60_udbg.c
delete mode 100644 arch/powerpc/sysdev/timer.c
create mode 100644 arch/powerpc/sysdev/xilinx_intc.c
delete mode 100644 arch/ppc/amiga/Makefile
delete mode 100644 arch/ppc/amiga/amiga_ksyms.c
delete mode 100644 arch/ppc/amiga/amiints.c
delete mode 100644 arch/ppc/amiga/amisound.c
delete mode 100644 arch/ppc/amiga/bootinfo.c
delete mode 100644 arch/ppc/amiga/chipram.c
delete mode 100644 arch/ppc/amiga/cia.c
delete mode 100644 arch/ppc/amiga/config.c
delete mode 100644 arch/ppc/amiga/ints.c
delete mode 100644 arch/ppc/amiga/pcmcia.c
delete mode 100644 arch/ppc/amiga/time.c
delete mode 100644 arch/ppc/configs/apus_defconfig
delete mode 100644 arch/ppc/platforms/apus_pci.c
delete mode 100644 arch/ppc/platforms/apus_pci.h
delete mode 100644 arch/ppc/platforms/apus_setup.c
rename include/asm-ppc/ans-lcd.h => drivers/macintosh/ans-lcd.h (100%)
create mode 100644 include/asm-powerpc/8xx_immap.h
rename arch/powerpc/platforms/cell/cbe_regs.h => include/asm-powerpc/cell-regs.h (76%)
create mode 100644 include/asm-powerpc/clk_interface.h
create mode 100644 include/asm-powerpc/commproc.h
create mode 100644 include/asm-powerpc/cpm.h
create mode 100644 include/asm-powerpc/cpm2.h
create mode 100644 include/asm-powerpc/exception.h
create mode 100644 include/asm-powerpc/highmem.h
create mode 100644 include/asm-powerpc/hydra.h
create mode 100644 include/asm-powerpc/immap_cpm2.h
create mode 100644 include/asm-powerpc/kgdb.h
create mode 100644 include/asm-powerpc/mmu-40x.h
create mode 100644 include/asm-powerpc/mpc52xx_psc.h
delete mode 100644 include/asm-powerpc/mpc85xx.h
create mode 100644 include/asm-powerpc/xilinx_intc.h
delete mode 100644 include/asm-ppc/amigahw.h
delete mode 100644 include/asm-ppc/amigaints.h
delete mode 100644 include/asm-ppc/amigappc.h
create mode 100644 include/linux/xilinxfb.h
Adrian Bunk (2):
[POWERPC] Remove APUS support from arch/ppc
[POWERPC] Select proper defconfig for crosscompiles
Andre Detsch (1):
[POWERPC] spufs: Fix race condition on gang->aff_ref_spu
Anton Vorontsov (11):
[POWERPC] QE: extern par_io_config_pin and par_io_data_set funcs
[POWERPC] fsl_soc: add support for fsl_spi
[POWERPC] MPC832x_RDB: Update dts to use SPI1 in QE, register mmc_spi stub
[POWERPC] fsl_soc: fix uninitialized i2c_board_info structure
[POWERPC] MPC8568E-MDS: add support for ds1374 rtc
[POWERPC] mpc8568mds.dts: fix PCIe I/O address space location and size
[POWERPC] mpc85xx_mds: select QUICC_ENGINE
[POWERPC] QEIC: Implement pluggable handlers, fix MPIC cascading
[POWERPC] QE: pario - support for MPC85xx layout
[POWERPC] 85xx: mpc8568mds - update dts to be able to use UCCs
[POWERPC] 85xx: mpc85xx_mds - reset UCC ethernet properly
Aristeu Rozanski (1):
[POWERPC] adbhid: Enable KEY_FN key reporting
Arnd Bergmann (3):
[POWERPC] add Kconfig option for optimizing for cell
[POWERPC] Move embedded6xx into multiplatform
[POWERPC] Fix pci domain detection
Becky Bruce (1):
[POWERPC] Update lmb.h include protection to ASM_POWERPC
Benjamin Herrenschmidt (3):
[POWERPC] Fix platinumfb framebuffer
[POWERPC] cell: Move cbe_regs.h to include/asm-powerpc/cell-regs.h
[POWERPC] cell: Add Cell memory controller register defs and expose it
Cyrill Gorcunov (6):
[POWERPC] Sky Cpu and Nexus: code style improvement
[POWERPC] Sky Cpu and Nexus: include io.h
[POWERPC] Sky Cpu and Nexus: check for platform_get_resource retcode
[POWERPC] Sky Cpu and Nexus: check for create_proc_entry ret code
[POWERPC] Sky Cpu: use C99 style for struct init
[POWERPC] Sky Cpu and Nexus: use seq_file/single_open on proc interface
Dale Farnsworth (2):
[POWERPC] Add Marvell mv64x60 udbg putc/getc functions
[POWERPC] 85xx: Failure with odd memory sizes and CONFIG_HIGHMEM
David Gibson (8):
[POWERPC] Fixes to allow use of Ebony's flash chips through physmap_of
[POWERPC] Fix setting of irq trigger type in UIC driver
[POWERPC] Fix irq flow handler for 4xx UIC
[POWERPC] Improve robustness of the UIC cascade handler
[POWERPC] Move bootwrapper's strchr() and strncmp() from .h to string.S
[POWERPC] Document and implement an improved flash device binding for powerpc
[POWERPC] Cleanups for physmap_of.c (v2)
[POWERPC] Add memchr() to the bootwrapper
David Woodhouse (1):
[POWERPC] Optionally use new device number for pmac_zilog
Domen Puncer (2):
[POWERPC] MPC5200 low power mode
[POWERPC] clk.h interface for platforms
Ed Swarthout (1):
[POWERPC] Add memory regions to the kcore list for 32-bit machines
Emil Medve (2):
[POWERPC] Fix build errors when BLOCK=n
[POWERPC] QE: Added missing CEURNR register
Gabriel C (1):
[POWERPC] Typo fixes interrrupt -> interrupt
Geert Uytterhoeven (1):
[POWERPC] PS3: Add new LV1 error codes
Geoff Levand (7):
[POWERPC] PS3: Enhance storage probe debug output
[POWERPC] PS3: Cleanup of os-area.c
[POWERPC] PS3: Remove unused os-area params
[POWERPC] PS3: os-area workqueue processing
[POWERPC] PS3: Add os-area rtc_diff set/get routines
[POWERPC] PS3: Save os-area params to device tree
[POWERPC] PS3: Add os-area database routines
Grant Likely (43):
[POWERPC] Only ignore arch/ppc/include, not arch/ppc/boot/include
[POWERPC] mpc8349: Add linux,network-index to ethernet nodes in device tree
[POWERPC] mpc5200: Add cuimage support for mpc5200 boards
[POWERPC] Virtex: Add uartlite bootwrapper driver
[POWERPC] Virtex: Add Kconfig macros for Xilinx Virtex board support
[POWERPC] Virtex: add xilinx interrupt controller driver
[POWERPC] Virtex: Add generic Xilinx Virtex board support
[POWERPC] Add PowerPC Xilinx Virtex entry to maintainers
[POWERPC] Uartlite: Fix reg io to access documented register size
[POWERPC] Uartlite: change name of ports to ulite_ports
[POWERPC] Uartlite: Add macro for uartlite device name
[POWERPC] Uartlite: Separate the bus binding from the driver proper
[POWERPC] Uartlite: Comment block tidy
[POWERPC] Uartlite: Add of-platform-bus binding
[POWERPC] Uartlite: Let the console be initialized earlier
[POWERPC] Uartlite: Flush RX fifo in bootwrapper
[POWERPC] XilinxFB: Move xilinxfb_platform_data definition to a shared header file
[POWERPC] Setup default eth addr in embed_config for Xilinx Virtex platforms
[POWERPC] Uartlite: Add macros for register names
[POWERPC] Uartlite: Revert register io access changes
[POWERPC] Lite5200: Use comma delimiter format for lists in device tree
[POWERPC] Enable debug info on boot wrapper
[POWERPC] XilinxFB: add banner output to probe routine when DEBUG is defined
[POWERPC] XilinxFB: Replace calls to printk with dev_dbg, dev_err, etc.
[POWERPC] XilinxFB: rename failout labels to reflect failure
[POWERPC] XilinxFB: Split device setup from bus binding
[POWERPC] XilinxFB: cleanup platform_bus binding to use platform bus API.
[POWERPC] XilinxFB: add of_platform bus binding
[POWERPC] XilinxFB: Make missing pdata structure non-fatal
[POWERPC] XilinxFB: sparse fixes
[POWERPC] Virtex: Fix URL for Xilinx Virtex support in MAINTAINERS
[POWERPC] Don't build arch/powerpc/sysdev/dcr.c for ARCH=ppc kernels
[POWERPC] Uartlite: bootwrapper bug fix, getc loops forever
[POWERPC] MPC52xx: Drop show_cpuinfo platform hooks from Lite5200
[POWERPC] MPC52xx: Trim includes on mpc5200 platform support code
[POWERPC] MPC5200: Don't make firmware fixups into common code
[POWERPC] Add co-maintainer for PowerPC MPC52xx platform
[POWERPC] Only call ppc_md.setup_arch() if it is provided
[POWERPC] Remove empty ppc_md.setup_arch hooks
[POWERPC] Platforms shouldn't mess with ROOT_DEV
[POWERPC] XilinxFB: Use pdata to pass around framebuffer parameters
[POWERPC] XilinxFB: Add support for custom screen resolution
[POWERPC] XilinxFB: Allow fixed framebuffer base address
Guennadi Liakhovetski (2):
[POWERPC] Fix i2c device string format
[POWERPC] linkstation updates
Hollis Blanchard (1):
[POWERPC] 4xx: Implement udbg_getc() for 440
Hugh Dickins (1):
[POWERPC] ppc64: support CONFIG_DEBUG_PREEMPT
Ishizaki Kou (9):
[POWERPC] Fix celleb pci section warnings
[POWERPC] Fix celleb sio section warning
[POWERPC] Init markings for celleb
[POWERPC] Init markings for hvc_beat
[POWERPC] Celleb: Move pause, kexec_cpu_down to beat.c
[POWERPC] Celleb: Support for Power/Reset buttons
[POWERPC] Celleb: New HTAB Guest OS Interface on Beat
[POWERPC] Celleb: Serial I/O update
[POWERPC] Celleb: update for PCI
Jason Jin (1):
[POWERPC] Treat 8610 PCIe host bridge as transparent
Jeremy Kerr (8):
[POWERPC] PS3: Fix CONFIG_SMP=n, CONFIG_KEXEC=y build
[POWERPC] spufs: Remove asmlinkage from do_spu_create
[POWERPC] spufs: Remove spu_harvest
[POWERPC] cell: Unify spufs syscall path
[POWERPC] spufs: Remove asmlinkage from spufs_calls
[POWERPC] spufs: Fix restore_decr_wrapped() to match CBE Handbook
[POWERPC] cell: Remove DEBUG for SPU callbacks
[POWERPC] cell: Don't cast the result of of_get_property()
Jesper Juhl (2):
[POWERPC] Clean out a bunch of duplicate includes
[POWERPC] Don't cast kmalloc return value in ibmebus.c
Joachim Fenkes (1):
[POWERPC] ibmebus: More descriptive error return code in ibmebus_store_probe()
Jochen Friedrich (4):
[POWERPC] Fix copy'n'paste typo in commproc.c
[PPC] Fix cpm_dpram_addr returning phys mem instead of virt mem
[PPC] Compile fix for 8xx CPM Ehernet driver
[POWERPC] Fix cpm_uart driver
John Rigby (1):
[POWERPC] 52xx: Fix mpc52xx_uart_of_assign to use correct index
John Traill (1):
[POWERPC] 8xx: Set initial memory limit.
Jon Loeliger (5):
[POWERPC] 52xx: Remove unnecessary loops_per_jiffy initialization code
[POWERPC] 8xx: Remove unnecessary loops_per_jiffy initialization code
[POWERPC] embedded6xx: Remove unnecessary loops_per_jiffy initialization code
[POWERPC] 86xx: Remove unnecessary loops_per_jiffy initialization code.
[POWERPC] 85xx: Remove unnecessary loops_per_jiffy initialization code.
Josh Boyer (23):
[POWERPC] Rename 4xx paths to 40x
[POWERPC] 4xx Kconfig cleanup
[POWERPC] Rename 44x bootwrapper
[POWERPC] 4xx bootwrapper reworks
[POWERPC] 40x MMU
[POWERPC] 40x decrementer fixes
[POWERPC] Fix 40x build
[POWERPC] Bamboo DTS
[POWERPC] Bamboo board support
[POWERPC] Bamboo zImage wrapper
[POWERPC] Remove dtc build cruft from DTS files
[POWERPC] Fix bus probe on Bamboo board
[POWERPC] Walnut DTS
[POWERPC] Walnut defconfig
[POWERPC] Walnut board support
[POWERPC] Walnut zImage wrapper
[POWERPC] cuimage for Bamboo board
[POWERPC] Make partitions optional in physmap_of
[POWERPC] 4xx: Convert Walnut flash mappings to new binding
[POWERPC] 4xx: Convert Seqouia flash mappings to new binding
[POWERPC] Update PowerPC 4xx entry in MAINTAINERS
[POWERPC] 4xx: Fix Walnut wrapper compile errors
[POWERPC] Add treeImage to .gitignore
Kumar Gala (23):
[POWERPC] Remove old includes from arch/ppc
[POWERPC] Copy over headers from arch/ppc to arch/powerpc that we need
[POWERPC] Stop include asm-ppc when building ARCH=powerpc for ppc32
ucc_geth: kill unused include
[POWERPC] 85xx: Renamed mpc8544_ds.c to mpc85xx_ds.c
[POWERPC] 85xx: Clean up from 85xx_ds rename
[POWERPC] Handle alignment faults on SPE load/store instructions
[POWERPC] 85xx: Add basic Uniprocessor MPC8572 DS port
[POWERPC] DTS cleanup
[POWERPC] Move PCI nodes to be sibilings with SOC nodes
[POWERPC] 83xx: Removed PCI exclude of PHB
[POWERPC] Add cpu feature for SPE handling
[POWERPC] Fix modpost warnings from head*.S on ppc32
[POWERPC] Cleaned up whitespace in head_fsl_booke.S
[POWERPC] Fixup MPC8568 dts
[POWERPC] Update .gitignore for new vdso generated files
[POWERPC] FSL: Access PCIe LTSSM register with correct size
[POWERPC] Use for_each_ matching routinues for pci PHBs
[POWERPC] 85xx/86xx: refactor RSTCR reset code
[POWERPC] 85xx: Killed <asm/mpc85xx.h>
[POWERPC] 85xx: Enable FP emulation in MPC8560 ADS defconfig
[POWERPC] Use PAGE_OFFSET to tell if an address is user/kernel in SW TLB handlers
[POWERPC] Adjust TASK_SIZE on ppc32 systems to 3GB that are capable
Linas Vepstas (16):
[POWERPC] EEH: Tweak printk message
[POWERPC] EEH: Fix PCI bridge handling bug
[POWERPC] EEH: Dump PCI bridge status on event
[POWERPC] pseries: Avoid excess rtas_token calls
[POWERPC] pseries: Use rtas_token instead of hand-rolled code
[POWERPC] pseries: Simplify rtasd initialization
[POWERPC] Remove nvram forward declarations
[POWERPC] pseries: Fix jumbled no_logging flag
[POWERPC] pseries: Eliminate global error_log_cnt variable
[POWERPC] pseries: Remove dead EEH video code
[POWERPC] IOMMU virtual merge is no longer experimental
[POWERPC] prom_init whitespace cleanup, typo fix
[POWERPC] prom.c whitespace cleanup
[POWERPC] setup_64.c and prom.c comment cleanup
[POWERPC] pseries: device node status can be "ok" or "okay"
[POWERPC] Use alloc_maybe_bootmem() in pcibios_alloc_controller
Mariusz Kozlowski (1):
[POWERPC] drivers/macintosh/therm_adt746x.c: kmalloc + memset conversion to kzalloc
Mark A. Greer (1):
[POWERPC] MAINTAINERS shouldn't reference linuxppc-embedded
Mathieu Desnoyers (1):
[POWERPC] Include pagemap.h in asm/powerpc/tlb.h
Meelis Roos (1):
[POWERPC] Fix ppc kernels after build-id addition
Michael Buesch (1):
[POWERPC] via-pmu: Fix typo in printk
Michael Ellerman (28):
[POWERPC] Add an optional device_node pointer to the irq_host
[POWERPC] Invert null match behaviour for irq_hosts
[POWERPC] Provide a default irq_host match, which matches on an exact of_node
[POWERPC] Initialise hwirq for legacy irqs
[POWERPC] Export virq mapping via debugfs
[POWERPC] spufs: Extract the file descriptor search logic in SPU coredump code
[POWERPC] spufs: Remove ctx_info and ctx_info_list
[POWERPC] spufs: Call spu_acquire_saved() before calculating the SPU note sizes
[POWERPC] spufs: Use computed sizes/#defines rather than literals in SPU coredump code
[POWERPC] spufs: Write some SPU coredump values as ASCII
[POWERPC] spufs: Correctly calculate the size of the local-store to dump
[POWERPC] spufs: Don't return -ENOSYS as extra notes size if spufs is not loaded
[POWERPC] spufs: Get rid of spufs_coredump_num_notes, it's not needed if we NULL terminate
[POWERPC] spufs: Internal __spufs_get_foo() routines should take a spu_context *
[POWERPC] spufs: Add contents of npc file to SPU coredumps
[POWERPC] spufs: Combine spufs_coredump_calls with spufs_calls
[POWERPC] spufs: Cleanup ELF coredump extra notes logic
[POWERPC] spufs: Handle errors in SPU coredump code, and support coredump to a pipe
[POWERPC] spufs: Respect RLIMIT_CORE in spu coredump code
[POWERPC] spufs: Add DEFINE_SPUFS_ATTRIBUTE()
[POWERPC] Make sure to of_node_get() the result of pci_device_to_OF_node()
[POWERPC] Simplify error logic in u3msi_setup_msi_irqs()
[POWERPC] Simplify error logic in rtas_setup_msi_irqs()
[POWERPC] Simplify rtas_change_msi() error semantics
[POWERPC] Inline u3msi_compose_msi_msg()
[POWERPC] Store the base address in dcr_host_t
[POWERPC] Update mpic to use dcr_host_t.base
[POWERPC] Update axon_msi to use dcr_host_t.base
Michael Neuling (1):
[POWERPC] Remove barriers from the SLB shadow buffer update
Mike Frysinger (1):
[POWERPC] Use __attribute__ in asm-powerpc
Milton Miller (2):
[POWERPC] boot: Record header bytes in gunzip_start
[POWERPC] boot: Simplify gunzip_finish
Murali Iyer (1):
[POWERPC] Export DCR symbols for modules
Nathan Lynch (14):
[POWERPC] Remove gratuitous reads from maple PCI config space methods
[POWERPC] rtas_pci_ops: Use named structure member initializers
[POWERPC] celleb_fake_pci_ops: Use named structure member initializers
[POWERPC] celleb_epci_ops: Use named structure member initializers
[POWERPC] maple pci_ops: Use named structure member initializers
[POWERPC] pa_pxp_ops: Use named structure member initializers
[POWERPC] powermac pci_ops: Use named structure member initializers
[POWERPC] null_pci_ops: Use named structure member initializers
[POWERPC] efika rtas_pci_ops: Use named structure member initializers
[POWERPC] chrp pci_ops: Use named structure member initializers
[POWERPC] indirect_pci_ops: Use named structure member initializers
[POWERPC] tsi108_direct_pci_ops: Use named structure member initializers
[POWERPC] Remove gratuitous reads from pasemi pci config space methods
[POWERPC] Remove gratuitous reads from powermac pci config space methods
Olaf Hering (2):
[POWERPC] Advertise correct IDE mode on Pegasos2
[POWERPC] Fix pmac_zilog debug arg
Olof Johansson (15):
[POWERPC] Rework SMP timebase handoff for pasemi
[POWERPC] Export new __io{re,un}map_at() symbols
[POWERPC] pasemi: Add pasemi_pci_getcfgaddr()
[POWERPC] pasemi: Add workaround for erratum 5945
[POWERPC] pasemi: Export more SPRs to sysfs when CONFIG_DEBUG_KERNEL=y
[POWERPC] pasemi: Print more information at machine check
[POWERPC] pasemi: Move pasemi_idle_init() to late_initcall()
[POWERPC] Remove unused platform_machine_check()
[POWERPC] Move lowlevel runlatch calls under cpu feature control
[POWERPC] Remove warning in arch/powerpc/kernel/sysfs.c
[POWERPC] Add workaround for MPICs with broken register reads
[POWERPC] Support setting affinity for U3/U4 MSI sources
[POWERPC] Separate out legacy machine check exception parsers
[POWERPC] Don't enable cpu hotplug on pSeries machines with MPIC
[POWERPC] Implement logging of unhandled signals
Paul Mackerras (9):
[POWERPC] Handle alignment faults on new FP load/store instructions
[POWERPC] Disable power management for arch/ppc
[PPC] Use cpu setup routines from cpu_setup_44x.S for ARCH=ppc
[POWERPC] Use cache-inhibited large page bit from firmware
[POWERPC] Remove unused old code from powermac setup code
[POWERPC] Fix performance monitor on machines with logical PVR
[POWERPC] Prevent decrementer clockevents from firing early
[POWERPC] Make clockevents work on PPC601 processors
[POWERPC] Use 1TB segments
Peter Korsgaard (5):
[POWERPC] fsl_soc: Fix trivial printk typo.
[POWERPC] fsl_soc: rtc-ds1307 support
[POWERPC] spi: Use fsl_spi instead of mpc83xx_spi
[POWERPC] spi: mode should be "cpu-qe" instead of "qe"
[POWERPC] spi: Support non-QE processors
Robert P. J. Day (2):
[POWERPC] Prevent direct inclusion of <asm/rwsem.h>.
[POWERPC] Remove redundant reference to non-existent CONFIG_BOOTIMG
Roland McGrath (2):
[POWERPC] Add CHECK_FULL_REGS in several places in ptrace code
[POWERPC] powerpc vDSO: install unstripped copies on disk
Roy Zang (1):
[POWERPC] bootwrapper: adds cuboot for MPC7448HPC2 platform
Satyam Sharma (1):
[POWERPC] Avoid pointless WARN_ON(irqs_disabled()) from panic codepath
Scott Wood (55):
[POWERPC] Whitespace cleanup in arch/powerpc
[POWERPC] Add clrbits8 and setbits8
[POWERPC] Use strcasecmp() rather than strncasecmp() when determining device node compatibility
[POWERPC] bootwrapper: Update .gitignore
[POWERPC] bootwrapper: Set timebase_period_ns from dt_fixup_cpu_clocks
[POWERPC] bootwrapper: dt_xlate_range() bugfixes
[POWERPC] bootwrapper: Add dt_is_compatible()
[POWERPC] bootwrapper: Add 16-bit I/O, sync(), eieio(), and barrier()
[POWERPC] bootwrapper: Add TARGET_HAS_ETHn tests to ppcboot.h
[POWERPC] bootwrapper: serial_console_init() fixes
[POWERPC] bootwrapper: Declare udelay() in ops.h
[POWERPC] bootwrapper: Add CPM serial driver
[POWERPC] bootwrapper: Move linker symbols into ops.h
[POWERPC] bootwrapper: Add 8xx cuboot support
[POWERPC] bootwrapper: Add PowerQUICC II (82xx with CPM) cuboot support
[POWERPC] bootwrapper: flatdevtree fixes
[POWERPC] bootwrapper: Add strtoull()
[POWERPC] bootwrapper: Add get_path()
[POWERPC] bootwrapper: Only print MAC addresses when the node is actually present
[POWERPC] Check _PAGE_RW and _PAGE_PRESENT on kernel addresses
[POWERPC] fsl_soc.c cleanup
[PPC] Add clrbits8 and setbits8.
[POWERPC] bootwrapper: Factor out dt_set_mac_address()
[POWERPC] bootwrapper: Add PlanetCore firmware support
[POWERPC] Make instruction dumping work in real mode
[POWERPC] CPM: Change from fsl,brg-frequency to brg/clock-frequency
[POWERPC] Introduce new CPM device bindings.
[POWERPC] Add early debug console for CPM serial ports.
[POWERPC] bootwrapper: Support all-in-one PCI nodes in cuboot-pq2.
[POWERPC] bootwrapper: Add fsl_get_immr() and 8xx/pq2 clock functions.
[POWERPC] bootwrapper: Use fsl_get_immr() in cuboot-pq2.c.
[POWERPC] cpm_uart: Be an of_platform device when CONFIG_PPC_CPM_NEW_BINDING is set.
[POWERPC] cpm_uart: sparse fixes
[POWERPC] cpm_uart: Issue STOP_TX command before initializing console.
[POWERPC] 8xx: Fix CONFIG_PIN_TLB.
[POWERPC] 8xx: Infrastructure code cleanup.
[POWERPC] 8xx: Add pin and clock setting functions.
[POWERPC] 8xx: Work around CPU15 erratum.
[POWERPC] cpm2: Infrastructure code cleanup.
[POWERPC] cpm2: Add SCCs to cpm2_clk_setup(), and cpm2_smc_clk_setup().
[POWERPC] cpm2: Add cpm2_set_pin().
[POWERPC] mpc82xx: Define CPU_FTR_NEED_COHERENT
[POWERPC] mpc82xx: Remove a bunch of cruft that duplicates generic functionality.
[POWERPC] mpc82xx: Rename mpc82xx_ads to mpc8272_ads.
[POWERPC] mpc8272ads: Change references from 82xx_ADS to 8272_ADS.
[POWERPC] Document local bus nodes in the device tree, and update cuboot-pq2.
[POWERPC] 8xx: mpc885ads cleanup
[POWERPC] 8xx/wrapper: Embedded Planet EP88xC support
[POWERPC] mpc82xx: Update mpc8272ads, and factor out PCI and reset.
[POWERPC] mpc82xx: Add pq2fads board support.
[POWERPC] 8xx: Move softemu8xx.c from arch/ppc
[POWERPC] cpm: Describe multi-user ram in its own device node.
[POWERPC] mpc8272ads: Remove muram from the CPM reg property.
[POWERPC] 85xx: Convert mpc8560ads to the new CPM binding.
[POWERPC] 85xx: Add cpm nodes for 8541/8555 CDS
Sebastian Siewior (2):
[POWERPC] spufs: Make file-internal functions & variables static
[POWERPC] spufs: Make isolated loader properly aligned
Segher Boessenkool (2):
[POWERPC] Replace a few #defines with empty inline functions
[POWERPC] Implement atomic{, 64}_{read, write}() without volatile
Stefan Roese (4):
[POWERPC] 4xx: Add AMCC 405EX support to cputable.c
[POWERPC] 4xx: Add AMCC Kilauea eval board support to platforms/40x
[POWERPC] 4xx: Kilauea DTS
[POWERPC] 4xx: Kilauea defconfig file
Stephen Rothwell (37):
[POWERPC] Fix non HUGETLB_PAGE build warning
[POWERPC] Use of_get_property in ipmi code
[POWERPC] Remove get_property and device_is_compatible
[POWERPC] Tidy up CONFIG_PPC_MM_SLICES code
[POWERPC] Comment out a currently unused function
[POWERPC] Fix section mismatch in crash_dump.c
[POWERPC] Fix section mismatch in dart_iommu.c
[POWERPC] Fix section mismatches in udbg_adb.c
[POWERPC] Fix section mismatch in pasemi/iommu.c
[POWERPC] Remove some duplicate declarations from pmac.h
[POWERPC] iSeries: Clean up lparmap mess
[POWERPC] Move iSeries startup code out of head_64.S
[POWERPC] Move the exception macros into a header file
[POWERPC] Move the iSeries exception vectors
[POWERPC] Split out iSeries specific exception macros
[POWERPC] Exception numbers are not relevant to iSeries
[POWERPC] Fix section mismatch in PCI code
[POWERPC] Remove cmd_line from head*.S
[POWERPC] Size swapper_pg_dir correctly
[POWERPC] FWNMI is only used on pSeries
[POWERPC] Create and use CONFIG_WORD_SIZE
[POWERPC] Remove debug printk from vio_bus_init
[POWERPC] Simplify vio_bus_init a little for legacy iSeries
[POWERPC] Make vio_bus_type static
[POWERPC] Limit range of __init_ref_ok somewhat
[POWERPC] iSeries: Correct missing newline in printk
[POWERPC] Prepare to remove of_platform_driver name
[POWERPC] Remove some more section mismatch warnings
[POWERPC] Align the sys_call_table
[POWERPC] Clean up vio.h
[POWERPC] iSeries: Simplify viocd initialisation
[POWERPC] Remove iSeries_vio_dev
[POWERPC] Remove more iSeries-specific stuff from vio.c
[POWERPC] iSeries: Move detection of virtual cdroms
[POWERPC] iSeries: Move detection of virtual tapes
[POWERPC] iSeries: Move viodasd probing
[POWERPC] Move of_platform_driver initialisations: arch/powerpc
Timur Tabi (4):
[POWERPC] add clrsetbits macros
[POWERPC] 86xx: Fix definition of global-utilites structure
[POWERPC] qe: miscellaneous code improvements and fixes to the QE library
[POWERPC] 86xx: update immap_86xx.h for the 8610
Tony Breeds (6):
[POWERPC] Convert define_machine(mpc885_ads) to C99 initializer syntax
[POWERPC] Implement {read,update}_persistent_clock
[POWERPC] Implement generic time of day clocksource for powerpc
[POWERPC] Fix panic in RTAS code
[POWERPC] Implement clockevents driver for powerpc
[POWERPC] Enable tickless idle and high res timers for powerpc
Valentine Barshak (12):
[POWERPC] PowerPC 440EPx: Sequoia device tree
[POWERPC] PowerPC 440EPx: Sequoia defconfig
[POWERPC] PowerPC 440EPx: Sequoia board support
[POWERPC] PowerPC 440EPx: Sequoia bootwrapper
[POWERPC] Add 64-bit resources support to pci_iomap
[POWERPC] 4xx: Fix Bamboo MAL0 dts entry.
[POWERPC] 4xx: Fix Sequoia MAL0 and EMAC dts entries.
[POWERPC] 4xx: Introduce cpu_setup functionality to 44x platform
[POWERPC] 4xx: Move 440EP(x) FPU setup from head_44x to cpu_setup_4xx
[POWERPC] 4xx: 440EPx/GRx incorrect write to DDR SDRAM errata workaround
[POWERPC] PCI: Add 64-bit physical address support to setup_indirect_pci
[POWERPC] Add legacy serial support for OPB with flattened device tree
Wolfgang Denk (1):
[POWERPC] Disable vDSO support for ARCH=ppc where it's not implemented
Xianghua Xiao (2):
[POWERPC] Add initial MPC8610 HPCD Device Tree Source file.
[POWERPC] Add initial MPC8610 HPCD Platform files.
^ permalink raw reply
* Re: [PATCH] Device tree bindings for Xilinx devices
From: David Gibson @ 2007-10-12 3:14 UTC (permalink / raw)
To: Grant Likely; +Cc: linuxppc-dev
In-Reply-To: <fa686aa40710102227j474a4025p6f3aa7118adf03db@mail.gmail.com>
On Wed, Oct 10, 2007 at 11:27:14PM -0600, Grant Likely wrote:
> On 10/10/07, David Gibson <dwg@au1.ibm.com> wrote:
> > > My main concern is that I don't like the implicit numbering that
> > > occurs simply based on the order of devices in the device tree. If
> > > the probe algorithm ever changes to parse in reverse order or
> > > something reorders the tree, then the device numbers also change. :-(
> >
> > Way of the future, apparently, everything's supposed to use udev to
> > give things logical names. No, I'm not thrilled at the prospect
> > either.
>
> ...
>
> So in the OF aliases approach, would udev need to read the aliases
> node when assigning names to devices?
Well... maybe. Exactly how to sensibly propogate the information up
to userspace depends on the type of device and other factors. In most
cases I'd expect some kind of kernel intermediary between the device
tree and udev, but there might be instances where it would make sense
for udev to directly access /proc/device-tree/aliases via a helper
program.
In any case, if the kernel does provide some sort of name/number for
the device, you can use the aliases for that.
> > > I'd rather be explicit. In fact I've already been bitten by this
> > > where the mpc5200 has 6 PSC, each of which can be configured as a
> > > serial port. However, I've got access to 3 different boards; each of
> > > which has the logical port numbers 100% unrelated to the 'cell'
> > > number.
> >
> > In any case, this can't really belong in a *device* binding. Because
> > the numbering has to cross devices of the same basic type, but
> > different implementations. Where "basic type" is based on how device
> > names are allocated, and is thus inherently Linux specific.
>
> Okay, that makes sense.
>
> > > > Segher's suggestion of using OF-style aliases for this is a fairly
> > > > good one, actually. I just need to get to implementing it...
> > >
> > > /me needs to look up what that look like and how I would use it. My
> > > knowledge of OF is sadly lacking.
> >
> > Short version by example:
> > / {
> > /* ... */
> > aliases {
> > hd = "/pci@f0000000/sata@f4000000/....";
> > enet0 = "/soc/ethernet@c000";
> > enet1 = "/soc/ethernet@d000";
> > enet2 = "/pci@f0000000/isa/ethernet@i480"
> > ttya = "/soc/serial@e000";
> > ttyb = "/pci/isa/serail@3f8";
> > }
> > }
>
> Ah, my plan worked... I got you to teach me about OF aliases and I
> have to do any work myself. :-)
Well, be careful, and take that example with a grain of salt. I made
it up on the spot without checking a lot, so although it gives you the
general idea, I probably haven't followed conventions for the names of
the aliases and so forth.
> Hmm, yes that would provide the information nicely. As long as the
> data is in the tree, I'm pretty happy.
--
David Gibson | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_
| _way_ _around_!
http://www.ozlabs.org/~dgibson
^ permalink raw reply
page: next (older) | prev (newer) | latest
- recent:[subjects (threaded)|topics (new)|topics (active)]
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox