Hi All,
What follows is an updated version of copy_4K_page that has been tuned
for the Cell processor. With this new routine it was found that the
system time measured when compiling a 2.6.26 pseries_defconfig was
reduced by ~10s:
mainline (2.6.27-rc1-00632-g2e1e921):
real17m8.727s
user
/*
* Copyright (C) 2008 Mark Nelson, IBM Corp.
*
* 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
Add a new CPU feature, CPU_FTR_CP_USE_DCBTZ, to be added to the CPUs that
benefit
from having dcbt and dcbz instructions used in copy_4K_page(). So far Cell,
PPC970
and Power4 benefit.
This way all the other 64bit powerpc chips will have the whole prefetching loop
nop'ed out.
Signed-off-by:
* Benjamin Herrenschmidt | 2008-08-14 13:45:54 [+1000]:
The fix is to defer phy init until netdevice is registered / initialized.
I think it's better instead to take the dev_mc_add() statement
out of emac_configure().
I looked yesterday into that code and I saw that dev_mc_add() was called
by
I just mentioned this to Ben H. on IRC and promised I would report it
here. :-)
The first loop over lmb.memory in this function interprets the
memory_limit as a raw size limit, and that's fine so far.
But the second loop over lmb.reserved interprets this value
instead as an address limit.
I
Scott Wood wrote:
gfar_halt() was factored out into halting and disabling by commit
d87eb12785c14de1586e3bad86ca2c0991300339, as the suspend() method
only wants to do the former. However, the call to gfar_halt_nodisable()
from gfar_halt() apparently got lost during the patch respin process.
kdump kernel needs to use only those memory regions that it is allowed to use
(crashkernel, rtas, tce ..etc ). Each of these regions have their own sizes and
are currently added under 'linux,usable-memory' property under each memory@
node of the device tree. ibm,dynamic-memory property of
Add a new linux,drconf-usable-memory property to the device tree. This property
stores the usable memory regions for kexec/kdump kernel. The other changes to
kexec-tools which do not affect the kernel are not attached here. These are
the changes to kexec-tools. Patch 1/2 are the changes in
On Wednesday 13 August 2008, Sean MacLennan wrote:
Port of the ndfc driver to an of platform driver.
Look good overall, thanks for following up on this.
+struct ndfc_ctrl {
+ struct device *dev;
+ void __iomem *ndfcbase;
+ struct mtd_info mtd;
+ struct nand_chip chip;
+
On Wednesday 13 August 2008, Sean MacLennan wrote:
Changes to the warp platform with the ndfc as an of platform device.
The main changes are:
* moving the NAND information to the DTS
* removing warp-nand.c
* moving the NAND fixups to cuboot-warp.c
The device tree stuff looks good, but the
On Thu, 2008-08-14 at 16:18 +1000, Mark Nelson wrote:
Add a new CPU feature, CPU_FTR_CP_USE_DCBTZ, to be added to the CPUs that
benefit
from having dcbt and dcbz instructions used in copy_4K_page(). So far Cell,
PPC970
and Power4 benefit.
This way all the other 64bit powerpc chips will
On Thu, 2008-08-14 at 01:20 -0700, David Miller wrote:
I just mentioned this to Ben H. on IRC and promised I would report it
here. :-)
The first loop over lmb.memory in this function interprets the
memory_limit as a raw size limit, and that's fine so far.
But the second loop over
Hi Michael,
On Thu, 14 Aug 2008 08:51:35 pm Michael Ellerman wrote:
On Thu, 2008-08-14 at 16:18 +1000, Mark Nelson wrote:
Add a new CPU feature, CPU_FTR_CP_USE_DCBTZ, to be added to the CPUs that
benefit
from having dcbt and dcbz instructions used in copy_4K_page(). So far Cell,
PPC970
On Aug 13, 2008, at 11:15 PM, David Gibson wrote:
On Wed, Aug 13, 2008 at 10:52:26PM -0500, Kumar Gala wrote:
If the path doesn't start with '/' check to see if it matches some
alias
under /aliases and substitute the matching alias value in the path
and retry the lookup.
Kumar, this is
On Thu, 2008-08-14 at 21:48 +1000, Mark Nelson wrote:
Hi Michael,
On Thu, 14 Aug 2008 08:51:35 pm Michael Ellerman wrote:
On Thu, 2008-08-14 at 16:18 +1000, Mark Nelson wrote:
Add a new CPU feature, CPU_FTR_CP_USE_DCBTZ, to be added to the CPUs that
benefit
from having dcbt and
On Friday 08 August 2008, Anton Vorontsov wrote:
Hi all,
Most patches that were needed to support QE USB Host were merged during
2.6.27 merge window, and only three more patches left over. Here they
are.
David, could you bear with gpio_to_chip() exported function, just as
a stopgap for a
If the path doesn't start with '/' check to see if it matches some alias
under /aliases and substitute the matching alias value in the path
and retry the lookup.
Signed-off-by: Kumar Gala [EMAIL PROTECTED]
---
Fixed the bug pointed out by David Gibson and added tests.
- k
libfdt/fdt_ro.c
On Aug 12, 2008, at 10:03 PM, Grant Likely wrote:
+/**
+ * ioremap_early - Allow large persistant IO regions to be mapped
early.
+ * @addr: physical address of region
+ * @size: size of region
+ *
+ * This routine uses setbat() to set up IO ranges before the MMU is
+ * fully configured.
+ *
On Thu, Aug 14, 2008 at 07:51:47AM -0500, Kumar Gala wrote:
If the path doesn't start with '/' check to see if it matches some alias
under /aliases and substitute the matching alias value in the path
and retry the lookup.
Signed-off-by: Kumar Gala [EMAIL PROTECTED]
---
Fixed the bug
If the path doesn't start with '/' check to see if it matches some alias
under /aliases and substitute the matching alias value in the path
and retry the lookup.
Signed-off-by: Kumar Gala [EMAIL PROTECTED]
---
Simplify down the aliases.dts to only whats needed for the test.
- k
On Thu, Aug 14, 2008 at 08:28:19AM -0500, Kumar Gala wrote:
If the path doesn't start with '/' check to see if it matches some alias
under /aliases and substitute the matching alias value in the path
and retry the lookup.
Signed-off-by: Kumar Gala [EMAIL PROTECTED]
Acked-by: David Gibson
On Friday 08 August 2008, Anton Vorontsov wrote:
We'll need this function to write platform-specific hooks to deal
with pin's dedicated functions. Quite obviously this will work only
for the platforms with 1-to-1 GPIO to PIN mapping.
This is stopgap solution till we think out and implement a
On Thu, Aug 14, 2008 at 04:04:18PM +0200, Laurent Pinchart wrote:
On Friday 08 August 2008, Anton Vorontsov wrote:
We'll need this function to write platform-specific hooks to deal
with pin's dedicated functions. Quite obviously this will work only
for the platforms with 1-to-1 GPIO to PIN
On Thursday 14 August 2008, Anton Vorontsov wrote:
On Thu, Aug 14, 2008 at 04:04:18PM +0200, Laurent Pinchart wrote:
On Friday 08 August 2008, Anton Vorontsov wrote:
We'll need this function to write platform-specific hooks to deal
with pin's dedicated functions. Quite obviously this will
On Thu, Aug 14, 2008 at 7:00 AM, Kumar Gala [EMAIL PROTECTED] wrote:
On Aug 12, 2008, at 10:03 PM, Grant Likely wrote:
+/**
+ * ioremap_early - Allow large persistant IO regions to be mapped early.
+ * @addr: physical address of region
+ * @size: size of region
+ *
+ * This routine uses
If the path doesn't start with '/' check to see if it matches some alias
under /aliases and substitute the matching alias value in the path
and retry the lookup.
Signed-off-by: Kumar Gala [EMAIL PROTECTED]
Applied.
jdl
___
Linuxppc-dev mailing
On Thu, Aug 14, 2008 at 04:45:52PM +0200, Laurent Pinchart wrote:
On Thursday 14 August 2008, Anton Vorontsov wrote:
On Thu, Aug 14, 2008 at 04:04:18PM +0200, Laurent Pinchart wrote:
On Friday 08 August 2008, Anton Vorontsov wrote:
We'll need this function to write platform-specific
On Thu, 14 Aug 2008 11:53:07 +0200
Arnd Bergmann [EMAIL PROTECTED] wrote:
+ ndfc-ndfcbase = ioremap(reg[1], reg[2]);
This could be better expressed as of_iomap().
I tried of_iomap(), but it doesn't seem to like the 3 value reg. i.e.
It doesn't skip the chip select. And since I need to
what happens if we run out of bats?
Then it returns NULL and the caller must handle it. The board port
maintainer needs understand the board/CPU/SoC and not depend on more
BATs than are available. They also need to understand that there is a
tradeoff between BATs for IO and BATs for RAM. If
Arnd Bergmann wrote:
Did we ever come to a conclusion on how this could be done, e.g. with
preprocessed dts files or simpler dynamic patching of binary device
trees?
I am working on it.
jdl
___
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
On Thu, Aug 14, 2008 at 10:24 AM, Kumar Gala [EMAIL PROTECTED] wrote:
what happens if we run out of bats?
Then it returns NULL and the caller must handle it. The board port
maintainer needs understand the board/CPU/SoC and not depend on more
BATs than are available. They also need to
This patch adds the localbus node, moves the bcsr node into the
localbus node, and adds the flash node.
Also enable MTD support in the defconfig.
Signed-off-by: Anton Vorontsov [EMAIL PROTECTED]
---
arch/powerpc/boot/dts/mpc836x_mds.dts | 23 ++-
Second version of patch with cleanups. Note that this patch is slightly
different I diffed the last patch against my master git rather than
Linus' master git :( The difference is that my git already had the
ports to arch/powerpc.
Cheers,
Sean
Port of the ndfc driver to an of platform
On Thu, Aug 14, 2008 at 08:28:19AM -0500, Kumar Gala wrote:
- if (*path != '/')
- return -FDT_ERR_BADPATH;
+ /* see if we have an alias */
+ if (*path != '/') {
+ const char *q;
+ int aliasoffset = fdt_path_offset(fdt, /aliases);
+
+
I got this oops below, after several hours of swap-heavy kernel builds
in tmpfs, on 2.6.27-rc1-mm1 a couple of weeks ago. Tried to reproduce
it without success, then got a very similar trace (not saved) from
2.6.27-rc3 itself doing the same test yesterday: again oopsing in
proc_sys_compare on
On Aug 14, 2008, at 11:43 AM, Grant Likely wrote:
On Thu, Aug 14, 2008 at 10:24 AM, Kumar Gala [EMAIL PROTECTED]
wrote:
what happens if we run out of bats?
Then it returns NULL and the caller must handle it. The board port
maintainer needs understand the board/CPU/SoC and not depend on
Hi,
Something in a function signature called __attribute_used__ would
compile in 2.6.24. This does not compile in 2.6.26. Using the
store_##NAME template from arch/powerpc/kernel/sysfs.c as a guide,
this appears to have changed to __used. Anything work in both?
__used seems to have compiled
On Thu, Aug 14, 2008 at 1:59 PM, Kumar Gala [EMAIL PROTECTED] wrote:
On Aug 14, 2008, at 11:43 AM, Grant Likely wrote:
On Thu, Aug 14, 2008 at 10:24 AM, Kumar Gala [EMAIL PROTECTED]
wrote:
what happens if we run out of bats?
Then it returns NULL and the caller must handle it. The board
On Thu, 14 Aug 2008 22:16:45 +0200
Arnd Bergmann [EMAIL PROTECTED] wrote:
If of_iomap and of_address_to_resource don't work properly, there
is probably something wrong in your device tree, maybe an incorrect
#size-cells or #address-cells or ranges property in one of
the parents. You need to
Now that all in-kernel-tree DTS files are properly /dts-v1/,
remove direct support for the older, un-numbered DTS
source file format.
Convert existing tests to /dts-v1/ and remove support
for the conversion tests themselves.
For now, though, the conversion tool still exists.
Signed-off-by: Jon
On Thu, 2008-08-14 at 07:11 -0600, Rocky Craig wrote:
From: Rocky Craig [EMAIL PROTECTED]
The apparent intent of flush_tlbs is to invalidate TLB entries that
might match in the address range 0 to 0x0040. A loop counter is
set up at the high value and decremented by page size. However,
Now that all in-kernel-tree DTS files are properly /dts-v1/,
remove direct support for the older, un-numbered DTS
source file format.
Convert existing tests to /dts-v1/ and remove support
for the conversion tests themselves.
For now, though, the conversion tool still exists.
Signed-off-by: Jon
Port the ndfc driver to an OF platform driver.
Signed-off-by: Sean MacLennan [EMAIL PROTECTED]
---
diff --git a/drivers/mtd/nand/Kconfig b/drivers/mtd/nand/Kconfig
index 41f361c..ab0d77e 100644
--- a/drivers/mtd/nand/Kconfig
+++ b/drivers/mtd/nand/Kconfig
@@ -165,7 +165,7 @@ config
The only real change from the last version was the updating of the dts
to use the chip select and offset for the NAND address rather than the
chip select and address.
Cheers,
Sean
Changes to the warp platform with the ndfc as an of platform device.
The main changes are:
* moving the NAND
From bf050adbc092043c1ba6e43373563bb761bb2e40 Mon Sep 17 00:00:00 2001
From: Sinisa Denic [EMAIL PROTECTED]
Date: Wed, 13 Aug 2008 15:57:52 +0200
Subject: [PATCH] mpc52xx_uart RS485 support added
Hi Wolfgang and others,
below is patch for mpc52xx_usrt.c which add software rs485 support to
this
Hi,I have mpc52xx based board very similar to lite5200b.
There is Davicom DM9000 connected to Local Plus Bus CS0.
Does anybody have idea how should DTS part look like in order to add this
resource in system.
I've written something like this:
lpb {
device_type = network;
From: Rocky Craig [EMAIL PROTECTED]
The apparent intent of flush_tlbs is to invalidate TLB entries that
might match in the address range 0 to 0x0040. A loop counter is
set up at the high value and decremented by page size. However, the
loop is only done once as the sense of the
On Thu, Aug 14, 2008 at 06:02:43PM -0500, Jon Loeliger wrote:
Now that all in-kernel-tree DTS files are properly /dts-v1/,
remove direct support for the older, un-numbered DTS
source file format.
Um.. why? I just don't see a compelling reason to remove this
backwards compatibility. It costs
On Thu, Aug 14, 2008 at 12:43:48PM -0500, Scott Wood wrote:
On Thu, Aug 14, 2008 at 08:28:19AM -0500, Kumar Gala wrote:
- if (*path != '/')
- return -FDT_ERR_BADPATH;
+ /* see if we have an alias */
+ if (*path != '/') {
+ const char *q;
+ int
David Gibson wrote:
On Thu, Aug 14, 2008 at 12:43:48PM -0500, Scott Wood wrote:
On Thu, Aug 14, 2008 at 08:28:19AM -0500, Kumar Gala wrote:
- if (*path != '/')
- return -FDT_ERR_BADPATH;
+ /* see if we have an alias */
+ if (*path != '/') {
+
On Thu, Aug 14, 2008 at 07:31:06PM +0100, Hugh Dickins wrote:
I got this oops below, after several hours of swap-heavy kernel builds
in tmpfs, on 2.6.27-rc1-mm1 a couple of weeks ago. Tried to reproduce
it without success, then got a very similar trace (not saved) from
2.6.27-rc3 itself doing
Hopefully the last change. I decided to remove all the rev A fixups
from the cuboot-warp file. I am the only person using a rev A, and I
can use the command line to specify any needed partitions. There is
really only one partition needed to boot from nand since u-boot can be
used to flash the
52 matches
Mail list logo