From: Paul Mackerras <[EMAIL PROTECTED]>
Date: Sat, 21 Jun 2008 14:30:02 +1000
> Is this application really transferring bulk data and using buffers
> that aren't a multiple of the page size? Do you know whether the
> copies ended up being misaligned?
We used to cache align the sub-buffers carve
Hi John,
On Fri, 20 Jun 2008 10:58:35 -0600 John Rigby <[EMAIL PROTECTED]> wrote:
>
> +struct module;
Since you include linux/module.h, you don't need this.
> +static unsigned long devtree_getfreq(char *nodetype, char *clockname)
> +{
> + struct device_node *node;
> + const unsigned int
Arnd Bergmann writes:
> On Friday 20 June 2008, Paul Mackerras wrote:
>
> > Transferring data over loopback is possibly an exception to that.
> > However, it's very rare to transfer large amounts of data over
> > loopback, unless you're running a benchmark like iperf or netperf. :-/
>
> Well, it
On Friday 20 June 2008, Paul Mackerras wrote:
> Transferring data over loopback is possibly an exception to that.
> However, it's very rare to transfer large amounts of data over
> loopback, unless you're running a benchmark like iperf or netperf. :-/
Well, it is the exact case that came up in a
On Fri, 20 Jun 2008 09:49:29 am Mark Nelson wrote:
> On Thu, 19 Jun 2008 09:53:16 pm Arnd Bergmann wrote:
> > On Thursday 19 June 2008, Mark Nelson wrote:
> > > The plan is to use Michael Ellerman's code patching work so that at
> > > runtime
> > > if we're running on a Cell machine the new routin
--- On Fri, 6/20/08, Benjamin Herrenschmidt <[EMAIL PROTECTED]> wrote:
> I though OS X had a trick with a CR bit that would disable
> the dcbz optimization on the first alignment fault ? Or did they
> totally remove it ?
Ah, it's coming back to me. :)
Apple added 'dcbz', removed it, and then t
On Fri, 2008-06-20 at 11:36 -0500, Kumar Gala wrote:
> This is a work in progress towards make lwsync fixed up at runtime. The
> patch is based (requires) the module refactoring patch. Some of this code
> should be reworked based on the code patching work from Michael. Also,
> ppc64 and vdso sup
On Fri, 2008-06-20 at 10:46 -0700, Sanjay Patel wrote:
> --- On Fri, 6/20/08, Gunnar von Boehn <[EMAIL PROTECTED]> wrote:
> > How important is best performance for the unaligned copy
> > to/from uncacheable memory?
> > The challenge of the CELL chip is that X-form of the shift
> > instructions are
Hello.
Nathan Fontenot wrote:
Allow the drc index passed to the /proc/ppc64/ofdt file to be specified
in formats other than decimal. This allows us to easily specify drc
indexes
in hex that would otherwise appears as negative integers.
Signed-off-by: Nathan Fontenot <[EMAIL PROTECTED]>
---
On Thu, 2008-05-22 at 13:51 +1000, Paul Mackerras wrote:
> Luis Machado writes:
>
> > This is a patch that has been sitting idle for quite some time. I
> > decided to move it further because it is something useful. It was
> > originally written by Michel Darneille, based off of 2.6.16.
> >
> > T
Kumar Gala wrote:
diff --git a/arch/powerpc/platforms/512x/pci.c
b/arch/powerpc/platforms/512x/pci.c
new file mode 100644
index 000..7ed9b34
--- /dev/null
+++ b/arch/powerpc/platforms/512x/pci.c
@@ -0,0 +1,84 @@
+/*
+ * Copyright (C) 2008 Freescale Semiconductor, Inc. All rights reserved.
+
On Jun 20, 2008, at 11:58 AM, John Rigby wrote:
Copied from 83xx minus support for two busses.
Signed-off-by: John Rigby <[EMAIL PROTECTED]>
---
arch/powerpc/Kconfig |2 +-
arch/powerpc/platforms/512x/Kconfig |1 +
arch/powerpc/platforms/512x/Makefile |
Update the association of a memory section with a numa node that occurs during
hotplug add of a memory section. This adds a check for the
ibm,dyamic-reconfiguration-memory node in the device tree and calls the new
hot_add_drconf_scn_to_nid that can properly parse the device tree and make
the prop
This patch pulls several pieces of exisitng code for parsing memory under
the ibm,dynamic-reconfiguration-memory node of the device tree into helper
routines. This is in preparation for the next patch that will also use these
same helper routines. There are no functional changes in this patch.
Memory dlpar updates to correctly update the device tree when an lmb is
added/removed. The main difference for memory under the
ibm,dynamic-reconfiguration-memory node is that dlpar adding or removing an
lmb only requires an update to the ibm,dynamic-memory property. Previously,
entire nodes wer
Use the base address of the lmb to get the starting page frame number
instead of trying to extract it from the drc index of the lmb.
In the previous representations of memory in the device tree, the drc index
of a lmb would match up with the base address of the lmb. For example a
lmb woulf have
Allow the drc index passed to the /proc/ppc64/ofdt file to be specified
in formats other than decimal. This allows us to easily specify drc indexes
in hex that would otherwise appears as negative integers.
Signed-off-by: Nathan Fontenot <[EMAIL PROTECTED]>
---
Index: linux-2.6.git/arch/powerpc/
The following patchset corrects a couple of issues with memory dlpar and
adds support for the new memory layout in the device tree on the latest Power
hardware and kernels.
On newer hardware and kernels, the device tree has changed so that all
memory appears under the node ibm,dynamic-reconfigura
John Rigby wrote:
+ select PPC_CPM_NEW_BINDING if PPC_MPC512x
Don't bother with this. It's always selected on arch/powerpc -- and now
that arch/ppc is gone, there are patches floating around to remove the
ifdefs.
-Scott
___
Linuxppc-dev ma
Add support for MPC512x to fs_enet driver
MPC5121 has an FEC core that is nearly identical to the FEC
in 8xx. The only problem is that the registers locations have
been shuffled. Because of this shuffling of registers, one needs
a different structure to describe the 5121 FEC. This is not a huge
On Fri, 20 Jun 2008, Laurent Pinchart wrote:
> On Friday 20 June 2008 05:01, Bill Fink wrote:
> > On Wed, 18 Jun 2008, Laurent Pinchart wrote:
> >
> > > The restart() function is called when the link state changes and resets
> > > multicast and promiscous settings. This patch restores those setti
--- On Fri, 6/20/08, Gunnar von Boehn <[EMAIL PROTECTED]> wrote:
> How important is best performance for the unaligned copy
> to/from uncacheable memory?
> The challenge of the CELL chip is that X-form of the shift
> instructions are microcoded.
> The shifts are needed to implement a copy that rea
thanks, applied.
___
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev
Copied from 83xx minus support for two busses.
Signed-off-by: John Rigby <[EMAIL PROTECTED]>
---
arch/powerpc/Kconfig |2 +-
arch/powerpc/platforms/512x/Kconfig |1 +
arch/powerpc/platforms/512x/Makefile |1 +
arch/powerpc/platforms/512x/mpc5121_ads.c |
Implements the api defined in include/clk.h
Current only getting frequencies is supported
not setting.
Signed-off-by: John Rigby <[EMAIL PROTECTED]>
---
arch/powerpc/platforms/512x/Makefile |1 +
arch/powerpc/platforms/512x/clock.c | 729 ++
2 files changed,
The class of the MPC5121 pci host bridge is PCI_CLASS_BRIDGE_OTHER
while other freescale host bridges have class set to
PCI_CLASS_PROCESSOR_POWERPC.
This patch makes fixup_hide_host_resource_fsl match
PCI_CLASS_BRIDGE_OTHER in addition to PCI_CLASS_PROCESSOR_POWERPC.
Signed-off-by: John Rigby <[E
Add a interrupt host for the interrupt
controller in the mpc5121ads cpld.
PCI interrupts are 0-7 the rest are 8-15
Touchscreen pendown irq is hardwired to irq1
All other irqs are chainged to irq0
Signed-off-by: John Rigby <[EMAIL PROTECTED]>
---
arch/powerpc/platforms/512x/Kconfig|
Move shared code from mpc5121_ads.c to mpc512x_shared.c.
Add new generic board setup mpc5121_generic.c
Signed-off-by: John Rigby <[EMAIL PROTECTED]>
---
arch/powerpc/platforms/512x/Kconfig | 15 -
arch/powerpc/platforms/512x/Makefile |3 +-
arch/powerpc/platforms/512x
The following patches contain updates for MPC5121
1/6
Updates the device tree.
2/6
Adds a clock driver.
3/6
Adds support for generic boards. This is nearly identical to
David Jander's patch but does not delete the ADS board option.
ADS is not a candidate for generic since it h
Hi Paul,
Of course, I can only speak for the test result that I got on our
platforms.
We did test on PS3, QS21 single/dual, QS22 single/dual, and JS21
The performance of the old Linux routine and the new routine is about the
same for copies of less than 128 Bytes.
At 512 byte the new routine is a
This is a work in progress towards make lwsync fixed up at runtime. The
patch is based (requires) the module refactoring patch. Some of this code
should be reworked based on the code patching work from Michael. Also,
ppc64 and vdso support needs a bit of cleaning up.
Some questions:
* How do we
Refactor common code between ppc32 and ppc64 module handling into a
shared filed.
Signed-off-by: Kumar Gala <[EMAIL PROTECTED]>
---
arch/powerpc/kernel/Makefile|2 +-
arch/powerpc/kernel/module.c| 110 +++
arch/powerpc/kernel/module_32.c | 72 ---
Hello Esben,
On Fri, Jun 20, 2008 at 11:09:48AM +0200, Esben Haabendal wrote:
> Here is an i2c driver for Freescale processors with CPM2. It is based on
> previous work by Angelos Manousaridis which again were based on a driver
> from Heiko Schocher.
Just recently a similar driver was added to th
Hi Paul,
I wrote a small benchmark tool that compares various memcpy routines under
a number of conditions.
The benchmark test a number of different block sizes from a few Bytes to 16
MB.
Each test is repeated in a loop several times.
Three main types of copies are benchmarked.
a) Copies that are
On Fri, Jun 13, 2008 at 02:23:04PM +1000, David Gibson wrote:
> > a project I am working on consists of different hardware modules, which
> > can be combined in a lot of variations (not at runtime, though). As each
> > module shall contain an I2C-eeprom, the idea is now to put a fragment of
> > a
Hi
Here is an i2c driver for Freescale processors with CPM2. It is based on
previous work by Angelos Manousaridis which again were based on a driver
from Heiko Schocher.
I am using it on an in-house MPC8270 target, and don't have access to
any other boards with CPM2. So if anybody is able to tes
Kumar Gala wrote on Thursday, June 19, 2008 10:15 PM
> To: Sulibhavi, Madhvesh
> > No!!, this code cannot be removed. My tests fail
> > while doing the probe test for do_gettimeofday and __kmalloc.
> > I get Oops and Segfault. I think i had got similar results
> > in my initial port using 2.6.26.39
To support Cooperative Memory Overcommitment (CMO), we need to check
for failure from some of the tce hcalls.
These changes for the pseries platform affect the powerpc architecture;
patches for the other affected platforms are included in this patch.
pSeries platform IOMMU code changes:
* platfo
* Olof Johansson ([EMAIL PROTECTED]) wrote:
> Hi,
>
> Some comments and questions below.
>
>
> -Olof
>
> On Thu, Jun 12, 2008 at 05:19:36PM -0500, Robert Jennings wrote:
> > Index: b/arch/powerpc/kernel/iommu.c
> > ===
> > --- a/ar
I have a set of patches that I will be submitting later today that
adds the generic board support without removing ADS. So I would
prefer for you to just submit a device tree file for your board.
On Fri, Jun 20, 2008 at 3:01 AM, David Jander <[EMAIL PROTECTED]> wrote:
>
> Hi John,
>
> On Wednesda
This patch exploits the new notifier callbacks of the hvc_console. We can
use the virtio callbacks instead of the polling code.
I also added a small Kconfig change that allows the user to specify the
virtio console in menuconfig.
Signed-off-by: Christian Borntraeger <[EMAIL PROTECTED]>
---
dr
This patch enables virtio_console as the default console on kvm for
s390. We currently use the same notify hack as lguest for early
console output. I will try to address this for lguest and s390 later.
Signed-off-by: Christian Borntraeger <[EMAIL PROTECTED]>
---
arch/s390/Kconfig |
This patch tries to change hvc_console to not use request_irq/free_irq if
the backend does not use irqs. This allows virtio_console to use hvc_console
without having a linker reference to request_irq/free_irq.
In addition, together with patch 2/3 it improves the performance for virtio
console inpu
On Jun 20, 2008, at 4:38 AM, Chen Gong wrote:
Signed-off-by: Chen Gong <[EMAIL PROTECTED]>
---
drivers/spi/spi_mpc83xx.c | 29 -
1 files changed, 16 insertions(+), 13 deletions(-)
Please CC the SPI devel list.
- k
___
On Fri, Jun 20, 2008 at 05:38:17PM +0800, Chen Gong wrote:
> Signed-off-by: Chen Gong <[EMAIL PROTECTED]>
The patch lacks any description. E.g. at which frequencies the current
math breaks, and why?
> ---
> drivers/spi/spi_mpc83xx.c | 29 -
> 1 files changed, 16 ins
Hi Sanjay,
> I suppose it would still function correctly via the handler, but horribly
slowly.
How important is best performance for the unaligned copy to/from
uncacheable memory?
The challenge of the CELL chip is that X-form of the shift instructions are
microcoded.
The shifts are needed to impl
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]
> On Behalf Of Chen Gong
> Sent: Friday, June 20, 2008 5:38 PM
> To: linuxppc-dev@ozlabs.org
> Cc: Chen Gong
> Subject: [PATCH] fix mpc83xx spi prescale modulus calculate
>
> Signed-off-by: Chen Gong <[EMAIL PROTE
Signed-off-by: Chen Gong <[EMAIL PROTECTED]>
---
drivers/spi/spi_mpc83xx.c | 29 -
1 files changed, 16 insertions(+), 13 deletions(-)
diff --git a/drivers/spi/spi_mpc83xx.c b/drivers/spi/spi_mpc83xx.c
index 6832da6..070c621 100644
--- a/drivers/spi/spi_mpc83xx.c
+++
Hi John,
On Wednesday 18 June 2008 17:33:48 John Rigby wrote:
> Hi David,
>
> Looks like your device tree is based on the beta ltib bsp. There were
> some changes in release 1 that you may want to incorporate:
>
> First as a convention I changed all the interrupt numbers in the
> tuples to be de
>> > diff --git a/drivers/net/fs_enet/mac-fcc.c b/drivers/net/fs_enet/mac-fcc.c
>> > index ce40cf9..1a95cf1 100644
>> > --- a/drivers/net/fs_enet/mac-fcc.c
>> > +++ b/drivers/net/fs_enet/mac-fcc.c
>> > @@ -464,6 +464,9 @@ static void restart(struct net_device *dev)
>> > C32(fccp, fcc_fp
On Friday 20 June 2008 05:01, Bill Fink wrote:
> On Wed, 18 Jun 2008, Laurent Pinchart wrote:
>
> > The restart() function is called when the link state changes and resets
> > multicast and promiscous settings. This patch restores those settings at
the
> > end of restart().
> >
> > Signed-off-by
In message <[EMAIL PROTECTED]> you wrote
:
>
> On Jun 19, 2008, at 11:13 PM, Michael Neuling wrote:
>
> > The following set of patches adds Vector Scalar Extentions (VSX)
> > support for POWER7. Includes context switch, ptrace and signals
> > support.
> >
> > Signed-off-by: Michael Neuling <
52 matches
Mail list logo