Here is my attempt to make BAT allocations dynamic instead of hard coded.
The first patch changes setbat() to dynamically assign BATs instead of requiring
the caller to select a BAT on its own.
A primary user of setbat is mmu_mapin_ram() which used to hard code BATs
2 and 3 for mapping as much of
From: Grant Likely [EMAIL PROTECTED]
ioremap_bat() is useful for things like mapping SoC internally memory mapped
register and early text because it allows mappings to devices to be setup
early in the boot process where they are needed, and the mappings persist
after the MMU is configured.
From: Grant Likely [EMAIL PROTECTED]
of_lookup_stdout() is useful for figuring out what device to use as output
for early boot progress messages. It returns the node pointed to by the
linux,stdout-path property in the chosen node.
Signed-off-by: Grant Likely [EMAIL PROTECTED]
---
From: Grant Likely [EMAIL PROTECTED]
Signed-off-by: Grant Likely [EMAIL PROTECTED]
---
arch/powerpc/Kconfig.debug | 11 +++
arch/powerpc/kernel/udbg.c |2
arch/powerpc/platforms/52xx/lite5200.c |6 +
On Wed, 2008-08-06 at 00:02 -0600, Grant Likely wrote:
From: Grant Likely [EMAIL PROTECTED]
of_lookup_stdout() is useful for figuring out what device to use as output
for early boot progress messages. It returns the node pointed to by the
linux,stdout-path property in the chosen node.
From: Grant Likely [EMAIL PROTECTED]
Date: Wed, 06 Aug 2008 00:02:44 -0600
of_lookup_stdout() is useful for figuring out what device to use as output
for early boot progress messages. It returns the node pointed to by the
linux,stdout-path property in the chosen node.
Signed-off-by: Grant
On Wed, Aug 6, 2008 at 12:14 AM, Michael Ellerman
[EMAIL PROTECTED] wrote:
On Wed, 2008-08-06 at 00:02 -0600, Grant Likely wrote:
From: Grant Likely [EMAIL PROTECTED]
of_lookup_stdout() is useful for figuring out what device to use as output
for early boot progress messages. It returns the
On Wed, Aug 6, 2008 at 12:32 AM, David Miller [EMAIL PROTECTED] wrote:
From: Grant Likely [EMAIL PROTECTED]
Date: Wed, 06 Aug 2008 00:02:44 -0600
of_lookup_stdout() is useful for figuring out what device to use as output
for early boot progress messages. It returns the node pointed to by the
On Tue, 2008-08-05 at 17:16 +1000, Benjamin Herrenschmidt wrote:
On Tue, 2008-08-05 at 16:47 +1200, Paul Collins wrote:
It's about four years old. It was in storage for about six months and I
got it repaired a few weeks ago (display cable and inverter). The sort
of crazy crap I've been
Hello Kumar,
On Wed Jul 2 19:58:03 EST 2008 Heiko Schocher wrote:
On Wednesday 02 July 2008, Kumar Gala wrote:
Please point out any patches that have been posted but havent made it
into a git tree related to Freescale chips.
Here are 2 patches that I'd like to see in 2.6.27. They haven't made
Make the flash size 8M to be consistent with the module comes with board.
Add predefined partitions for the flash. Add ethernet port aliases.
Signed-off-by: Li Yang [EMAIL PROTECTED]
---
arch/powerpc/boot/dts/mpc8272ads.dts | 38 +
1 files changed, 33
Signed-off-by: Li Yang [EMAIL PROTECTED]
---
arch/powerpc/sysdev/cpm2.c |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/arch/powerpc/sysdev/cpm2.c b/arch/powerpc/sysdev/cpm2.c
index f1c3395..021480e 100644
--- a/arch/powerpc/sysdev/cpm2.c
+++ b/arch/powerpc/sysdev/cpm2.c
Signed-off-by: Li Yang [EMAIL PROTECTED]
---
arch/powerpc/include/asm/immap_cpm2.h |9 +++--
arch/powerpc/include/asm/immap_qe.h |9 +++--
2 files changed, 6 insertions(+), 12 deletions(-)
diff --git a/arch/powerpc/include/asm/immap_cpm2.h
Signed-off-by: Li Yang [EMAIL PROTECTED]
---
arch/powerpc/boot/dts/mpc8272ads.dts |8
arch/powerpc/platforms/82xx/mpc8272_ads.c | 25 +
arch/powerpc/platforms/82xx/pq2ads.h |3 +++
3 files changed, 36 insertions(+), 0 deletions(-)
diff --git
Signed-off-by: Li Yang [EMAIL PROTECTED]
---
arch/powerpc/boot/dts/mpc836x_mds.dts | 15 ++-
arch/powerpc/platforms/83xx/mpc836x_mds.c | 19 -
arch/powerpc/platforms/83xx/mpc83xx.h |1 +
arch/powerpc/platforms/83xx/usb.c | 67 +
4
Initialize base and size of SEC memory region and bus priority for SEC.
Signed-off-by: Li Yang [EMAIL PROTECTED]
---
arch/powerpc/include/asm/immap_cpm2.h |7 +--
arch/powerpc/platforms/82xx/mpc8272_ads.c |1 +
arch/powerpc/platforms/82xx/pq2.c | 19 +++
Currently when we do a packet flood to the Ethernet port, the console
reports error every time when a packet is dropped. This is too
redundant and cost performance. Remove message for this type of event.
Signed-off-by: Li Yang [EMAIL PROTECTED]
---
drivers/net/fs_enet/mac-fcc.c |2 +-
1
From: Grant Likely [EMAIL PROTECTED]
Date: Wed, 6 Aug 2008 00:35:24 -0600
On Wed, Aug 6, 2008 at 12:32 AM, David Miller [EMAIL PROTECTED] wrote:
From: Grant Likely [EMAIL PROTECTED]
Date: Wed, 06 Aug 2008 00:02:44 -0600
of_lookup_stdout() is useful for figuring out what device to use as
Hi Grant,
On Wed, 6 Aug 2008 00:34:04 -0600 Grant Likely [EMAIL PROTECTED] wrote:
On Wed, Aug 6, 2008 at 12:14 AM, Michael Ellerman
[EMAIL PROTECTED] wrote:
On Wed, 2008-08-06 at 00:02 -0600, Grant Likely wrote:
From: Grant Likely [EMAIL PROTECTED]
of_lookup_stdout() is useful for
From: Stephen Rothwell [EMAIL PROTECTED]
Date: Wed, 6 Aug 2008 17:42:33 +1000
Hi Grant,
On Wed, 6 Aug 2008 00:34:04 -0600 Grant Likely [EMAIL PROTECTED] wrote:
On Wed, Aug 6, 2008 at 12:14 AM, Michael Ellerman
[EMAIL PROTECTED] wrote:
On Wed, 2008-08-06 at 00:02 -0600, Grant Likely
Hi Li,
On Wed, 6 Aug 2008 15:04:43 +0800 Li Yang [EMAIL PROTECTED] wrote:
@@ -150,6 +169,12 @@ static void __init mpc8272_ads_setup_arch(void)
clrbits32(bcsr[3], BCSR3_FETHIEN2);
setbits32(bcsr[3], BCSR3_FETH2_RST);
+ /* Enabling USB support in BCSR */
+ np =
Hi Li,
On Wed, 6 Aug 2008 15:04:44 +0800 Li Yang [EMAIL PROTECTED] wrote:
@@ -93,6 +93,12 @@ static void __init mpc836x_mds_setup_arch(void)
for (np = NULL; (np = of_find_node_by_name(np, ucc)) != NULL;)
par_io_of_config(np);
+
+ np =
On Wed, 6 Aug 2008 17:42:33 +1000 Stephen Rothwell [EMAIL PROTECTED] wrote:
Could you also send an email to Dave Miller to see if he has any objections
to this function being generic (since the Sparc guys share this code).
So I should read ahead :-)
--
Cheers,
Stephen Rothwell
Kevin Diggs [EMAIL PROTECTED] writes:
Jeremy Kerr wrote:
Hi Kevin,
/*
* Turn r3 (range) into a rotate count for the selected
range. * 0 - 23, 1 - 31
*/
__asm__ __volatile__ ( slwi %0,%0,3\n
addi %0,%0,23\n
On (05/08/08 10:53), Dave Hansen didst pronounce:
On Tue, 2008-08-05 at 17:28 +0100, Mel Gorman wrote:
Ok sure, you could do direct inserts for MAP_PRIVATE as conceptually it
suits this patch. However, I don't see what you gain. By reusing hugetlbfs,
we get things like proper reservations
On Tue, 5 Aug 2008, John Linn wrote:
Thanks Josh, I just came to the conclusion it was busted somehow in the
mainline after repeating it there.
It was fixed in mainline by
commit 22127f246dc37ed5bea0915f7860002ba6d87da7
Author: Sam Ravnborg [EMAIL PROTECTED]
Date: Mon Aug 4 22:18:07 2008
David Miller writes:
On sparc platforms this is obtained differently. We obtain the 32-bit
instance value of /chosen/stdout and convert that into a prom device
node path using instance-to-path.
That's actually exactly what we do too, the linux,stdout-path property
is just a cache of the
From: Paul Mackerras [EMAIL PROTECTED]
Date: Wed, 6 Aug 2008 20:21:04 +1000
David Miller writes:
On sparc platforms this is obtained differently. We obtain the 32-bit
instance value of /chosen/stdout and convert that into a prom device
node path using instance-to-path.
That's
Hi Paul,
Please grab the tree below. It contains some fixes for the PIKA Warp
board, and some much needed defconfig updates for .27.
josh
The following changes since commit 2e1e9212ed8c532c6b324de77d3cafef5d2bc846:
Linus Torvalds (1):
Merge git://git.kernel.org/.../lethal/sh-2.6
are
Hello Li,
On Wed, Aug 06, 2008 at 03:04:44PM +0800, Li Yang wrote:
Signed-off-by: Li Yang [EMAIL PROTECTED]
---
arch/powerpc/boot/dts/mpc836x_mds.dts | 15 ++-
arch/powerpc/platforms/83xx/mpc836x_mds.c | 19 -
arch/powerpc/platforms/83xx/mpc83xx.h |1 +
Hi,
Tim Yamin wrote:
This patch adds MDMA/UDMA support (using BestComm for DMA) on the
MPC5200 platform.
Based heavily on previous work by Freescale (Bernard Kuhn, John
Rigby) and Domen Puncer.
Using a SanDisk Extreme IV CF card I get read speeds of approximately
26.70 MB/sec.
The
On Wed, Aug 6, 2008 at 12:58 PM, Daniel Schnell
[EMAIL PROTECTED] wrote:
Hi,
Sorry for testing this patch so late, but I get these if I apply your
patch to 2.6.24.7 and use it with my Sandisk Extreme IV 4GB card:
Hi,
What board are you using? DMA requires a few more signals to be routed
Sam,
please have a look at bug 11143.
http://bugzilla.kernel.org/show_bug.cgi?id=11143
arch/powerpc/lib/crtsavres.o is added inconditionally to the linker
flags, but there is no rule to actually create the object file.
This breaks building external modules on 32bit powerpc since 2.6.26.
So we asked about this a while ago and I haven't seen anything yet, but
is there going to be an update to the version of DTC that is in the
kernel tree? 1.2 is out now, would be a good idea to update soon.
josh
___
Linuxppc-dev mailing list
The iSeries driver calls into the n_tty ldisc code directly for some
bizarre reason. I previously tagged this with a query but this actually
does need fixing as n_tty methods when you have a different ldisc set are
not a good thing to call.
In n_tty mode this change should have no effect, the
Tim Yamin wrote:
On Wed, Aug 6, 2008 at 12:58 PM, Daniel Schnell
[EMAIL PROTECTED] wrote:
Hi,
Sorry for testing this patch so late, but I get these if I apply your
patch to 2.6.24.7 and use it with my Sandisk Extreme IV 4GB card:
Hi,
What board are you using? DMA requires a few more
On Aug 6, 2008, at 7:43 AM, Josh Boyer wrote:
So we asked about this a while ago and I haven't seen anything yet,
but
is there going to be an update to the version of DTC that is in the
kernel tree? 1.2 is out now, would be a good idea to update soon.
is there any reason to update to 1.2
Hi ,
here is V3 for the powerpc IRQ radix tree reverse mapping rework.
V2 - V3: from comments by Benjamin Herrenschmidt and Daniel Walker
- Move the initialization of the radix tree back into irq_late_init() and
insert pre-existing irqs into the tree at that time.
- One
irq_radix_revmap() currently serves 2 purposes, irq mapping lookup
and insertion which happen in interrupt and process context respectively.
Separate the function into its 2 components, one for lookup only and one
for insertion only.
Fix the only user of the revmap tree (XICS) to use the
The radix trees used by interrupt controllers for their irq reverse mapping
(currently only the XICS found on pSeries) have a complex locking scheme
dating back to before the advent of the lockless radix tree.
Take advantage of this and of the fact that the items of the tree are
pointers to a
On Wed, Aug 6, 2008 at 4:21 AM, Paul Mackerras [EMAIL PROTECTED] wrote:
David Miller writes:
On sparc platforms this is obtained differently. We obtain the 32-bit
instance value of /chosen/stdout and convert that into a prom device
node path using instance-to-path.
That's actually exactly
On Wed, 6 Aug 2008 08:29:30 -0500
Kumar Gala [EMAIL PROTECTED] wrote:
On Aug 6, 2008, at 7:43 AM, Josh Boyer wrote:
So we asked about this a while ago and I haven't seen anything yet,
but
is there going to be an update to the version of DTC that is in the
kernel tree? 1.2 is out
On Tue, Aug 05, 2008 at 08:21:31AM -0500, Kumar Gala wrote:
I'm trying to get the ppc6xx_defconfig booting on any 8641 (74xx/e600)
system. If I remove the 'simple-bus' compatible from the soc node in
the .dts it works. Otherwise it hangs at but and looks to be crashed in
the serial
On Aug 6, 2008, at 8:41 AM, Grant Likely wrote:
On Tue, Aug 05, 2008 at 08:21:31AM -0500, Kumar Gala wrote:
I'm trying to get the ppc6xx_defconfig booting on any 8641 (74xx/
e600)
system. If I remove the 'simple-bus' compatible from the soc node in
the .dts it works. Otherwise it hangs at
On Wed, Aug 06, 2008 at 08:47:29AM -0500, Kumar Gala wrote:
On Aug 6, 2008, at 8:41 AM, Grant Likely wrote:
On Tue, Aug 05, 2008 at 08:21:31AM -0500, Kumar Gala wrote:
I'm trying to get the ppc6xx_defconfig booting on any 8641 (74xx/
e600)
system. If I remove the 'simple-bus' compatible
Hi Alan,
On Wed, 6 Aug 2008 14:06:29 +0100 Alan Cox [EMAIL PROTECTED] wrote:
The iSeries driver calls into the n_tty ldisc code directly for some
bizarre reason. I previously tagged this with a query but this actually
does need fixing as n_tty methods when you have a different ldisc set are
On Aug 6, 2008, at 1:02 AM, Grant Likely wrote:
From: Grant Likely [EMAIL PROTECTED]
ioremap_bat() is useful for things like mapping SoC internally
memory mapped
register and early text because it allows mappings to devices to be
setup
early in the boot process where they are needed, and
Instead we now link the bootwrapper with -pie to get a position-
independent executable, and process the relocations in the dynamic
relocation section that the linker puts into the executable.
Hurray! Looks good, just a few nits...
+ bl .+4
+p_base:mflrr10
Hi,
Daniel Schnell wrote:
Tim Yamin wrote:
On Wed, Aug 6, 2008 at 12:58 PM, Daniel Schnell
[EMAIL PROTECTED] wrote:
Hi,
Sorry for testing this patch so late, but I get these if I apply
your patch to 2.6.24.7 and use it with my Sandisk Extreme IV 4GB
card:
Hi,
What board are you
unsigned int get_PLL_range(unsigned int range, unsigned int config)
{
range = range * 8 + 23;
return ((config range) | (config (32 - range))) 3;
}
The special pattern ((a n) | (a (32 - n))) is recognized by
gcc as
a rotate operation.
It's only valid for 1 = n = 31 though, so for
On Tuesday 05 August 2008, Sean MacLennan wrote:
Should include/asm be a link to arch/powerpc/include/asm?
The user space headers are provided by your distribution, not
by the kernel, so include/asm should be a directory, not a symlink.
If you are building your own distro, don't just copy the
On Wed, 6 Aug 2008 16:51:40 +0200
Arnd Bergmann [EMAIL PROTECTED] wrote:
The user space headers are provided by your distribution, not
by the kernel, so include/asm should be a directory, not a symlink.
If you are building your own distro, don't just copy the files
but rather use 'make
On Wed, Aug 06, 2008 at 03:04:41PM +0800, Li Yang wrote:
Signed-off-by: Li Yang [EMAIL PROTECTED]
---
arch/powerpc/sysdev/cpm2.c |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/arch/powerpc/sysdev/cpm2.c b/arch/powerpc/sysdev/cpm2.c
index f1c3395..021480e 100644
On Wed, Aug 6, 2008 at 2:16 AM, Li Yang [EMAIL PROTECTED] wrote:
+/*-
+ * Mask definitions for usb BD *
+ **/
+#define
It's not what we do with flattened device trees blobs though. In the
flattened tree we're not using a /chosen/stdout property, just the
linux,stdout-path one.
The question that remains is; should there be? Should the dt blobs
use /chosen/stdout also? (I'm not familiar enough with real OF to
test - ignore
___
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev
On Wed, Aug 6, 2008 at 1:02 AM, Grant Likely [EMAIL PROTECTED] wrote:
From: Grant Likely [EMAIL PROTECTED]
of_lookup_stdout() is useful for figuring out what device to use as output
for early boot progress messages. It returns the node pointed to by the
linux,stdout-path property in the
Add the fsl,playback-dma and fsl,capture-dma properties to the Freescale
MPC8610 HPCD device tree. These properties connect the SSI nodes to the
DMA nodes for the DMA channels that the SSI should use. Also update the
ssi.txt documentation.
These properties will be needed when the ASoC V2
On Thu, Aug 07, 2008 at 12:10:06AM +1000, Stephen Rothwell wrote:
Hi Alan,
On Wed, 6 Aug 2008 14:06:29 +0100 Alan Cox [EMAIL PROTECTED] wrote:
The iSeries driver calls into the n_tty ldisc code directly for some
bizarre reason. I previously tagged this with a query but this actually
Segher Boessenkool wrote:
It's not what we do with flattened device trees blobs though. In the
flattened tree we're not using a /chosen/stdout property, just the
linux,stdout-path one.
The question that remains is; should there be? Should the dt blobs
use /chosen/stdout also? (I'm not
On Wed, Aug 06, 2008 at 03:04:43PM +0800, Li Yang wrote:
Signed-off-by: Li Yang [EMAIL PROTECTED]
---
arch/powerpc/boot/dts/mpc8272ads.dts |8
arch/powerpc/platforms/82xx/mpc8272_ads.c | 25 +
arch/powerpc/platforms/82xx/pq2ads.h |3 +++
On Wed, Aug 06, 2008 at 03:04:45PM +0800, Li Yang wrote:
diff --git a/arch/powerpc/platforms/82xx/pq2.c
b/arch/powerpc/platforms/82xx/pq2.c
index 1b75902..bacb136 100644
--- a/arch/powerpc/platforms/82xx/pq2.c
+++ b/arch/powerpc/platforms/82xx/pq2.c
@@ -22,6 +22,8 @@
#include
On Wed, Aug 06, 2008 at 03:04:44PM +0800, Li Yang wrote:
[EMAIL PROTECTED] {
- compatible = qe_udc;
+ compatible = fsl,qe_udc;
[snip]
+
+ np = of_find_compatible_node(NULL, NULL, fsl,qe_udc);
+ if (np) {
+
On Wed, Aug 06, 2008 at 07:41:28AM -0600, Grant Likely wrote:
On Tue, Aug 05, 2008 at 08:21:31AM -0500, Kumar Gala wrote:
I'm trying to get the ppc6xx_defconfig booting on any 8641 (74xx/e600)
system. If I remove the 'simple-bus' compatible from the soc node in
the .dts it works.
The problem (in my case) is that the legacy-serial driver doesn't accept
all of the 16550 configurations accepted by the regular ns16550 driver.
The problem is not related to simple-bus, but only became visible when
simple-bus bindings are used because the legacy-serial driver
specifically looks
Hi,
Sean MacLennan wrote:
On Wed, 6 Aug 2008 16:51:40 +0200
Arnd Bergmann [EMAIL PROTECTED] wrote:
The user space headers are provided by your distribution, not
by the kernel, so include/asm should be a directory, not a symlink.
If you are building your own distro, don't just copy the
Hi,
Sean MacLennan wrote:
On Wed, 6 Aug 2008 16:51:40 +0200
Arnd Bergmann [EMAIL PROTECTED] wrote:
The user space headers are provided by your distribution, not
by the kernel, so include/asm should be a directory, not a symlink.
If you are building your own distro, don't just copy the
Do you know what the CONFIG_ option is called for the legacy driver.
- k
On Aug 6, 2008, at 1:02 PM, Stephen Neuendorffer wrote:
The problem (in my case) is that the legacy-serial driver doesn't
accept
all of the 16550 configurations accepted by the regular ns16550
driver.
The problem
I was thinking it's CONFIG_PPC_UDBG_16550.
-- John
-Original Message-
From: [EMAIL PROTECTED]
[mailto:linuxppc-dev-
[EMAIL PROTECTED] On Behalf Of Kumar Gala
Sent: Wednesday, August 06, 2008 12:39 PM
To: Stephen Neuendorffer
Cc: Scott Wood; ppc-dev list
Subject: Re: hang
Andrew Morton [EMAIL PROTECTED] writes:
Do we expect that this change will be replicated in other
memory-intensive apps? (I do).
The catch with 2MB pages on x86 is that x86 CPUs generally have
much less 2MB TLB entries than 4K entries. So if you're unlucky
and access a lot of mappings you
On Aug 6, 2008, at 12:44 PM, René Rebe wrote:
Heh, you might also consider using off the shelf build systems, such
as the T2 SDE:
http://t2-project.org
To avoid re-inventing the wheel again and again.
Yours,
Whee.. another rootfs build system. Why we can't converge some of
these
On Wed, 2008-08-06 at 10:02 +0100, Mel Gorman wrote:
That said, this particular patch doesn't appear *too* bound to hugetlb
itself. But, some of its limitations *do* come from the filesystem,
like its inability to handle VM_GROWS...
The lack of VM_GROWSX is an issue, but on its own it
On Wednesday 06 August 2008, Kevin Diggs wrote:
For the purpose of learning, there is no direct, correct way to yield
the cpu when in a timer fired routine, right?
No, in a timer, you interrupt a totally unrelated thread, so sleeping
would prevent that from running on, as well as preventing
Signed-off-by: Robert P. J. Day [EMAIL PROTECTED]
---
unless this is in someone's tree already.
diff --git a/Documentation/feature-removal-schedule.txt
b/Documentation/feature-removal-schedule.txt
index c239554..17cab3c 100644
--- a/Documentation/feature-removal-schedule.txt
+++
On Wed, Aug 6, 2008 at 8:07 AM, Kumar Gala [EMAIL PROTECTED] wrote:
On Aug 6, 2008, at 1:02 AM, Grant Likely wrote:
From: Grant Likely [EMAIL PROTECTED]
ioremap_bat() is useful for things like mapping SoC internally memory
mapped
register and early text because it allows mappings to
On Aug 6, 2008, at 4:54 PM, Grant Likely wrote:
On Wed, Aug 6, 2008 at 8:07 AM, Kumar Gala
[EMAIL PROTECTED] wrote:
On Aug 6, 2008, at 1:02 AM, Grant Likely wrote:
From: Grant Likely [EMAIL PROTECTED]
ioremap_bat() is useful for things like mapping SoC internally
memory
mapped
On Wed, 2008-08-06 at 00:02 -0600, Grant Likely wrote:
From: Grant Likely [EMAIL PROTECTED]
ioremap_bat() is useful for things like mapping SoC internally memory mapped
register and early text because it allows mappings to devices to be setup
early in the boot process where they are needed,
Kumar Gala wrote:
On Aug 6, 2008, at 4:54 PM, Grant Likely wrote:
I suppose we could; but the usecase is somewhat different and I
wanted to keep it simple. Using a separate API also helps
reenforce that the caller really needs to know what they are doing
because BATs are a limited resource.
there is a bunch of error checking and difference in semantics that
you need to fix. I think introduce a new API for this is silly,
especially since we expect there to only be one actual invocation of
the API for serial console access.
Not necessarily
There's another aspect to
On Wed, Aug 6, 2008 at 4:11 PM, Kumar Gala [EMAIL PROTECTED] wrote:
On Aug 6, 2008, at 4:54 PM, Grant Likely wrote:
On Wed, Aug 6, 2008 at 8:07 AM, Kumar Gala [EMAIL PROTECTED]
wrote:
On Aug 6, 2008, at 1:02 AM, Grant Likely wrote:
From: Grant Likely [EMAIL PROTECTED]
ioremap_bat() is
On Wed, Aug 6, 2008 at 4:26 PM, Benjamin Herrenschmidt
[EMAIL PROTECTED] wrote:
On Wed, 2008-08-06 at 00:02 -0600, Grant Likely wrote:
From: Grant Likely [EMAIL PROTECTED]
ioremap_bat() is useful for things like mapping SoC internally memory mapped
register and early text because it allows
On Wed, Aug 6, 2008 at 4:28 PM, Benjamin Herrenschmidt
[EMAIL PROTECTED] wrote:
there is a bunch of error checking and difference in semantics that
you need to fix. I think introduce a new API for this is silly,
especially since we expect there to only be one actual invocation of
the API for
Segher Boessenkool writes:
Hurray! Looks good, just a few nits...
Thanks for reviewing.
+ bl .+4
+p_base:mflrr10 /* r10 now points to runtime addr of
p_base */
bl p_base instead?
I went back and forth on that. I ended up with it that way to
emphasize
On Thu, Aug 07, 2008 at 08:28:29AM +1000, Benjamin Herrenschmidt wrote:
there is a bunch of error checking and difference in semantics that
you need to fix. I think introduce a new API for this is silly,
especially since we expect there to only be one actual invocation of
the API
Alan Cox writes:
--- a/drivers/char/viocons.c
+++ b/drivers/char/viocons.c
@@ -705,10 +705,6 @@ static int viotty_ioctl(struct tty_struct *tty, struct
file *file,
case KDSKBLED:
return 0;
}
- /* FIXME: WTF is this being called for ??? */
-
On Thu, 7 Aug 2008 09:43:28 +1000
Paul Mackerras [EMAIL PROTECTED] wrote:
Alan Cox writes:
--- a/drivers/char/viocons.c
+++ b/drivers/char/viocons.c
@@ -705,10 +705,6 @@ static int viotty_ioctl(struct tty_struct *tty, struct
file *file,
case KDSKBLED:
return 0;
Now that we have removed all inclusions of asm/of_platform.h, this
compatibility include can be removed.
Signed-off-by: Stephen Rothwell [EMAIL PROTECTED]
---
arch/powerpc/include/asm/of_platform.h |3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git
On Thu, 7 Aug 2008, Paul Mackerras wrote:
I think you want return -ENOIOCTLCMD rather than return ret since
ret is uninitialized with your patch applied.
Actually, nobody has apparently ever even tried compiling that function
even before.
Yes, 'ret' became uninitialized, but since it was
On Wed, Aug 06, 2008 at 06:25:48PM +0200, Segher Boessenkool wrote:
It's not what we do with flattened device trees blobs though. In the
flattened tree we're not using a /chosen/stdout property, just the
linux,stdout-path one.
The question that remains is; should there be? Should the dt
On Wed, Aug 6, 2008 at 11:35 AM, Scott Wood [EMAIL PROTECTED] wrote:
On Wed, Aug 06, 2008 at 07:41:28AM -0600, Grant Likely wrote:
On Tue, Aug 05, 2008 at 08:21:31AM -0500, Kumar Gala wrote:
I'm trying to get the ppc6xx_defconfig booting on any 8641 (74xx/e600)
system. If I remove the
+ bl .+4
+p_base:mflrr10 /* r10 now points to runtime addr of
p_base */
bl p_base instead?
I went back and forth on that. I ended up with it that way to
emphasize that the bl does need to branch to the *next* instruction
for the idiom to work.
Right, I
Hi,
I have the following problem, when i am trying to boot linux on
MPC8360E MDS board with the mpc836x_mds.dtb created using dtc and
mpc836x_mds.dts in from /arch/powerpc/boot/platforms/dts/ directory of
linux-2.6.22 version.
fdt_chosen: FDT_ERR_BADMAGIC
after this it is trying to re boot.
On Aug 6, 2008, at 5:28 PM, Benjamin Herrenschmidt wrote:
there is a bunch of error checking and difference in semantics that
you need to fix. I think introduce a new API for this is silly,
especially since we expect there to only be one actual invocation of
the API for serial console
why can't we just do this in ioremap itself?
I suppose we could; but the usecase is somewhat different and I
wanted
to keep it simple. Using a separate API also helps reenforce that
the
caller really needs to know what they are doing because BATs are a
limited resource.
there is a bunch
Segher Boessenkool writes:
... that is exactly what I meant: the code skips relocation only if
both are missing.
Doh! You're right, thanks. Serves me right for being so clever. :)
Paul.
___
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
On Wed, Aug 06, 2008 at 09:35:22AM -0400, Josh Boyer wrote:
On Wed, 6 Aug 2008 08:29:30 -0500
Kumar Gala [EMAIL PROTECTED] wrote:
On Aug 6, 2008, at 7:43 AM, Josh Boyer wrote:
So we asked about this a while ago and I haven't seen anything yet,
but
is there going to be an
- Original Message Follows -
From: Michael Ellerman [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: Paul Mackerras [EMAIL PROTECTED],
linuxppc-dev@ozlabs.org, Segher Boessenkool
[EMAIL PROTECTED]
Subject: Re: [PATCH] powerpc: EOI spurious irqs during boot
so they can be reenabled later
Date:
On Wed, 2008-08-06 at 12:29 -0500, Scott Wood wrote:
On Wed, Aug 06, 2008 at 03:04:44PM +0800, Li Yang wrote:
[EMAIL PROTECTED] {
- compatible = qe_udc;
+ compatible = fsl,qe_udc;
[snip]
+
+ np = of_find_compatible_node(NULL,
On Wed, 2008-08-06 at 12:19 -0500, Scott Wood wrote:
On Wed, Aug 06, 2008 at 03:04:43PM +0800, Li Yang wrote:
Signed-off-by: Li Yang [EMAIL PROTECTED]
---
arch/powerpc/boot/dts/mpc8272ads.dts |8
arch/powerpc/platforms/82xx/mpc8272_ads.c | 25 +
This driver was declared obsolete over 2 years ago, the alternative
console driver for legacy iSeries (hvc_iseries) was made the default
over 1 year ago and this driver has been build broken for over 3
months, so remove it.
Signed-off-by: Stephen Rothwell [EMAIL PROTECTED]
---
100 matches
Mail list logo