Re: [PATCH 3/5] powerpc/boot: Remove support for Marvell mv64x60 i2c controller

2018-04-06 Thread Dale Farnsworth
Acked-by: Dale Farnsworth On Thu, Apr 5, 2018 at 6:17 PM, Mark Greer wrote: > There are no longer any platforms that use Marvell's mv64x60's i2c > controller so remove its driver. > > Signed-off-by: Mark Greer > --- > arch/powerpc/boot/Makefile |

Re: [PATCH] kexec-tools, ppc64: fix build error on ppc64

2010-05-04 Thread Dale Farnsworth
In article <15110.1273024...@neuling.org> Michael Neuling wrote: > 6adc05c6e3fdbc8b9f5d915af78ca05d0a09cb17 "some kexec MIPS > improvements" broke pp64 as it turned on -Werror for all archs. > > This fixes the warning and hence ppc64 building. > > Signed-off-by: Michael Neuling > --- > I've post

Re: binutils 2.19 issue with kernel link

2009-07-09 Thread Dale Farnsworth
On Thu, Jul 09, 2009 at 01:14:28PM -0500, Kumar Gala wrote: > On Jul 9, 2009, at 11:39 AM, Dale Farnsworth wrote: >> We have found the following workaround to be useful. >> Thanks to Andrew Jenner at Code Sourcery. >> >> -Dale >> >> Dale Farnsworth >>

Re: binutils 2.19 issue with kernel link

2009-07-09 Thread Dale Farnsworth
end3 > c068 A _end4 > > Any ideas? We have found the following workaround to be useful. Thanks to Andrew Jenner at Code Sourcery. -Dale Dale Farnsworth MontaVista Software diff --git a/arch/powerpc/kernel/vmlinux.lds.S b/arch/powerpc/kernel/vmlinux.lds.S index acf237f..34b0181 1006

Re: [PATCH] Xilinx : Framebuffer Driver: Add PLB support (non-DCR)

2009-04-09 Thread Dale Farnsworth
> > -Original Message- > > From: Stephen Rothwell [mailto:s...@canb.auug.org.au] > > Sent: Wednesday, April 08, 2009 7:52 PM > > To: John Linn > > Cc: grant.lik...@secretlab.ca; jwbo...@linux.vnet.ibm.com; > > linuxppc-dev@ozlabs.org; > > linux-fbdev-de...@lists.sourceforge.net; > > ako

Re: [PATCH v3] sysdev,mv64x60: MV64x60 device bus

2008-04-29 Thread Dale Farnsworth
0 asynchronous devices controller. > > Signed-off-by: Remi Machet ([EMAIL PROTECTED]) Acked-by: Dale Farnsworth <[EMAIL PROTECTED]> ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

Re: [PATCH] sysdev,mv64x60: MV64x60 device bus

2008-04-28 Thread Dale Farnsworth
On Mon, Apr 28, 2008 at 12:22:36PM -0700, Remi Machet wrote: > On Mon, 2008-04-28 at 11:09 -0700, Dale Farnsworth wrote: > > On Mon, Apr 28, 2008 at 10:12:09AM -0700, Remi Machet wrote: > > > Follow up of my email of 4/16/2008 titled "MV64x60 device bus". > &g

Re: [PATCH] sysdev,mv64x60: MV64x60 device bus

2008-04-28 Thread Dale Farnsworth
On Mon, Apr 28, 2008 at 10:12:09AM -0700, Remi Machet wrote: > Follow up of my email of 4/16/2008 titled "MV64x60 device bus". > For each mv64360 entry in the OpenFirmware database, add the > registration of an of_bus to take care of devices connected to > the MV64x60 asynchronous devices controll

Re: [PATCH 00/10] powerpc: Add kexec/kdump support for ppc32

2008-04-24 Thread Dale Farnsworth
On Thu, Apr 24, 2008 at 07:50:52AM -0500, Kumar Gala wrote: > On Nov 22, 2007, at 9:42 AM, Dale Farnsworth wrote: >> This patch series adds kexec and kdump support for ppc32 in arch/ >> powerpc. >> It has been successfully tested on the mpc8548_cds and prpmc2800 >> p

Re: [PATCH] sysdev,mv64x60: early console fix

2008-04-21 Thread Dale Farnsworth
ty. > > Signed-off-by: Remi Machet ([EMAIL PROTECTED]) Acked-by: Dale Farnsworth <[EMAIL PROTECTED]> ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

Re: [PATCH 2/2 v3] sysdev,mv64x60: initialization of mv64x60 ethernet, serial and I2C

2008-04-21 Thread Dale Farnsworth
([EMAIL PROTECTED]) Acked by: Dale Farnsworth <[EMAIL PROTECTED]> ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

Re: [PATCH 2/2 v2] sysdev,mv64x60: initialization of mv64x60 ethernet, serial and I2C

2008-04-21 Thread Dale Farnsworth
On Mon, Apr 21, 2008 at 10:37:14AM -0700, Remi Machet wrote: > If one of the devices of the mv64x60 init fails, the remaining > devices are not initialized => This patch change the code to > display an error and continue the initialization. > > Signed-off-by: Remi Machet ([EMAIL PROTECTED]) > --

Re: [PATCH 1/2 v2] sysdev,mv64x60: I2C defaults

2008-04-21 Thread Dale Farnsworth
perties are not found. > > Signed-off-by: Remi Machet ([EMAIL PROTECTED]) Acked-by: Dale Farnsworth <[EMAIL PROTECTED]> ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

Re: [PATCH] sysdev,mv64x60: initialization of mv64x60 ethernet, serial and I2C

2008-04-18 Thread Dale Farnsworth
On Thu, Apr 17, 2008 at 04:35:55PM -0700, Remi Machet wrote: > This patch affects only the mv64x60 driver. It fixes 2 problem: Hi Remi, Thanks for finding and addressing these issues. BTW, since you're fixing 2 problems, you might split this into 2 patches. > -If one of the devices of the mv64x6

Re: [PATCH 2/5] [POWERPC] QE: add support for QE USB clocks routing

2008-04-17 Thread Dale Farnsworth
On Thu, Apr 17, 2008 at 03:49:59PM -0500, Timur Tabi wrote: > Dale Farnsworth wrote: > > I find "is_brg" much more meaningful than "clk < QE_CLK1". > > > > Maybe the computer doesn't need it, but it's helpful to a > > reader of th

Re: [PATCH 2/5] [POWERPC] QE: add support for QE USB clocks routing

2008-04-17 Thread Dale Farnsworth
Timur Tabi wrote: > Anton Vorontsov wrote: > > > +int qe_usb_clock_set(enum qe_clock clk, int rate) > > +{ > > + struct qe_mux __iomem *mux = &qe_immr->qmx; > > + unsigned long flags; > > + const bool is_brg = clk < QE_CLK1; > > You don't really need "is_brg", since it's only used once. I

Re: Warp patches for 2.6.26

2008-04-17 Thread Dale Farnsworth
On Thu, Apr 17, 2008 at 01:26:23PM -0400, Sean MacLennan wrote: > On Thu, 17 Apr 2008 09:08:04 -0700 > "Dale Farnsworth" <[EMAIL PROTECTED]> wrote: > > > I didn't suggest splitting the patches or further modification of the > > patches themselves. What I

Re: Warp patches for 2.6.26

2008-04-17 Thread Dale Farnsworth
On Thu, Apr 17, 2008 at 11:50:45AM -0400, Sean MacLennan wrote: > On Sat, 12 Apr 2008 20:13:16 -0700 > "Dale Farnsworth" <[EMAIL PROTECTED]> wrote: > > > Each patch needs to be standalone. you need to add a header > > describing what the patch i

Re: Warp patches for 2.6.26

2008-04-12 Thread Dale Farnsworth
In article <[EMAIL PROTECTED]> you write: > > > A changelog of "updates a bunch of stuff" is pretty much irrelevant in > > all situations I can think of. > > Ok, I hope I got everything: > > Changes to match new FPGA/HW functionality. > * Switched from 64M NOR/64M NAND to 4M NOR/256M NAND. > *

Re: [PATCH 1/3] powerpc: Add support for Wind River SBC8641D board

2008-04-10 Thread Dale Farnsworth
On Thu, Apr 10, 2008 at 07:22:17PM -0400, Paul Gortmaker wrote: > This adds support for the Wind River SBC8641D board, based > largely on the mpc86xx_hpcn support. The biggest difference is > the lack of the Uli and the i8259 cascade, which simplifies things. Hi Paul, A couple issues. (These sh

[PATCH 8/8 v3] [POWERPC] prpmc2800 needs a dtbImage

2008-04-07 Thread Dale Farnsworth
From: Dale Farnsworth <[EMAIL PROTECTED]> The prpmc2800 platform requires a zImage formatted file with an embedded dtb file. Rename the requested boot image file to dtbImage.prpmc2800. Signed-off-by: Dale Farnsworth <[EMAIL PROTECTED]> Acked-by: Mark A. Greer <[EMAIL PROTECTED]&g

[PATCH 7/8 v3] [POWERPC] Document the mv64x60 device tree bindings

2008-04-07 Thread Dale Farnsworth
From: Dale Farnsworth <[EMAIL PROTECTED]> Add the device tree bindings for the Marvell mv64x60 series of system controller chips in booting-without-of.text. Signed-off-by: Dale Farnsworth <[EMAIL PROTECTED]> Acked-by: Mark A. Greer <[EMAIL PROTECTED]> --- Documentation/power

[PATCH 6/8 v3] [POWERPC] mv643xx_eth: prepare to support multiple silicon blocks

2008-04-07 Thread Dale Farnsworth
From: Dale Farnsworth <[EMAIL PROTECTED]> The mv643xx_eth driver is being modified to support multiple instances of the ethernet silicon block on the same platform. Each block contains a single register bank containing the registers for up to three ports interleaved within that bank. This

[PATCH 5/8 v3] [POWERPC] prpmc2800: clean up dts properties

2008-04-07 Thread Dale Farnsworth
er <[EMAIL PROTECTED]> Signed-off-by: Dale Farnsworth <[EMAIL PROTECTED]> --- arch/powerpc/boot/dts/prpmc2800.dts | 27 ++ arch/powerpc/boot/mpsc.c|2 - arch/powerpc/sysdev/mv64x60_dev.c | 18 ++--- 3 files changed, 11 inser

[PATCH 4/8 v3] [POWERPC] mv64x60: remove device tree absolute path references

2008-04-07 Thread Dale Farnsworth
From: Dale Farnsworth <[EMAIL PROTECTED]> Replace several device node absolute path lookups in the mv64x60 bootwrapper code with lookups by compatible or device_type properties. Signed-off-by: Dale Farnsworth <[EMAIL PROTECTED]> Acked-by: Mark A. Greer <[EMAIL PROTECTED]> ---

[PATCH 3/8 v3] [POWERPC] mv64x60: Fix FDT compatible names: mv64x60 => mv64360

2008-04-07 Thread Dale Farnsworth
From: Mark A. Greer <[EMAIL PROTECTED]> Compatible names should refer to a specific version of the hardware, without wildcards. Change each instance of mv64x60 to mv64360, which is the oldest version we currently support. Signed-off-by: Mark A. Greer <[EMAIL PROTECTED]> Signed-

[PATCH 2/8 v3] [POWERPC] prpmc2800: fix frequencies in prpmc2800.dts

2008-04-07 Thread Dale Farnsworth
From: Dale Farnsworth <[EMAIL PROTECTED]> After the conversion to dts v1 format, seeing the frequencies in decimal made it obvious that some of them had been incorrectly truncated. This fixes them. Note that the PCI frequency comes from a different source and is documented as 66MHz, so

[PATCH 1/8 v3] [POWERPC] prpmc2800: convert DTS to v1 and add labels

2008-04-07 Thread Dale Farnsworth
From: Mark A. Greer <[EMAIL PROTECTED]> Update the prpmc2800 DTS file to version 1 and add labels. I verified that there was no change in the resulting dtb file. Signed-off-by: Mark A. Greer <[EMAIL PROTECTED]> Signed-off-by: Dale Farnsworth <[EMAIL PROTECTED]> --- arc

[PATCH 0/8 v3] [POWERPC] mv64x60 and prpmc2800 DTS cleanups

2008-04-07 Thread Dale Farnsworth
This series of patches again attempts to clean up and document the Marvell MV64x60 device tree. It supersedes Mark Greer's series posted on 11 December 2007. See: http://ozlabs.org/pipermail/linuxppc-dev/2007-December/047986.html These apply on the powerpc-next branch, and I'd like to get them i

Re: [PATCH 1/9 v2] powerpc: change FDT compatible prefix to mrvl

2008-04-07 Thread Dale Farnsworth
On Mon, Apr 07, 2008 at 10:49:40PM +0200, Segher Boessenkool wrote: >> Follow the convention that compatible names are prefixed by the >> vendor's stock ticker symbol. For Marvell Technology Group Ltd., >> that's MRVL. > >> -compatible = "marvell,mv64x60"; >> +compatible =

[PATCH 9/9 v2] powerpc: prpmc2800 needs a dtbImage

2008-04-07 Thread Dale Farnsworth
From: Dale Farnsworth <[EMAIL PROTECTED]> The prpmc2800 platform requires a zImage formatted file with an embedded dtb file. Rename the requested boot image file to dtbImage.prpmc2800. Signed-off-by: Dale Farnsworth <[EMAIL PROTECTED]> Acked-by: Mark A. Greer <[EMAIL PROTECTED]&g

[PATCH 8/9 v2] powerpc: Document the mv64x60 device tree bindings

2008-04-07 Thread Dale Farnsworth
From: Dale Farnsworth <[EMAIL PROTECTED]> Add the device tree bindings for the Marvell mv64x60 series of system controller chips in booting-without-of.text. Signed-off-by: Dale Farnsworth <[EMAIL PROTECTED]> Acked-by: Mark A. Greer <[EMAIL PROTECTED]> --- Documentation/power

[PATCH 7/9 v2] powerpc: mv643xx_eth: prepare to support multiple silicon blocks

2008-04-07 Thread Dale Farnsworth
From: Dale Farnsworth <[EMAIL PROTECTED]> The mv643xx_eth driver is being modified to support multiple instances of the ethernet silicon block on the same platform. Each block contains a single register bank containing the registers for up to three ports interleaved within that bank. This

[PATCH 6/9 v2] powerpc: prpmc2800: clean up dts properties

2008-04-07 Thread Dale Farnsworth
er <[EMAIL PROTECTED]> Signed-off-by: Dale Farnsworth <[EMAIL PROTECTED]> --- arch/powerpc/boot/dts/prpmc2800.dts | 27 ++ arch/powerpc/boot/mpsc.c|2 - arch/powerpc/sysdev/mv64x60_dev.c | 18 ++--- 3 files changed, 11 inser

[PATCH 5/9 v2] powerpc: mv64x60: remove device tree absolute path references

2008-04-07 Thread Dale Farnsworth
From: Dale Farnsworth <[EMAIL PROTECTED]> Replace several device node absolute path lookups in the mv64x60 bootwrapper code with lookups by compatible or device_type properties. Signed-off-by: Dale Farnsworth <[EMAIL PROTECTED]> Acked-by: Mark A. Greer <[EMAIL PROTECTED]> ---

[PATCH 4/9 v2] powerpc: mv64x60: Fix FDT compatible names: mv64x60 => mv64360

2008-04-07 Thread Dale Farnsworth
From: Mark A. Greer <[EMAIL PROTECTED]> Compatible names should refer to a specific version of the hardware, without wildcards. Change each instance of mv64x60 to mv64360, which is the oldest version we currently support. Signed-off-by: Mark A. Greer <[EMAIL PROTECTED]> Signed-

[PATCH 3/9 v2] powerpc: fix frequencies in prpmc2800.dts

2008-04-07 Thread Dale Farnsworth
From: Dale Farnsworth <[EMAIL PROTECTED]> After the conversion to dts v1 format, seeing the frequencies in decimal made it obvious that some of them had been incorrectly truncated. This fixes them. Note that the PCI frequency comes from a different source and is documented as 66MHz, so

[PATCH 2/9 v2] powerpc: prpmc2800: convert DTS to v1 and add labels

2008-04-07 Thread Dale Farnsworth
From: Mark A. Greer <[EMAIL PROTECTED]> Update the prpmc2800 DTS file to version 1 and add labels. I verified that there was no change in the resulting dtb file. Signed-off-by: Mark A. Greer <[EMAIL PROTECTED]> Signed-off-by: Dale Farnsworth <[EMAIL PROTECTED]> --- arc

[PATCH 1/9 v2] powerpc: change FDT compatible prefix to mrvl

2008-04-07 Thread Dale Farnsworth
From: Dale Farnsworth <[EMAIL PROTECTED]> Follow the convention that compatible names are prefixed by the vendor's stock ticker symbol. For Marvell Technology Group Ltd., that's MRVL. Signed-off-by: Dale Farnsworth <[EMAIL PROTECTED]> Acked-by: Mark A. Greer <[EMAIL PR

[PATCH 0/9 v2] powerpc: mv64x60 and prpmc2800 DTS cleanups

2008-04-07 Thread Dale Farnsworth
This series of patches again attempts to clean up and document the Marvell MV64x60 device tree. It supersedes Mark Greer's series posted on 11 December 2007. See: http://ozlabs.org/pipermail/linuxppc-dev/2007-December/047986.html These apply on the powerpc-next branch, and I'd like to get them i

[PATCH v3] powerpc: Add irqtrace support for 32-bit powerpc

2008-04-07 Thread Dale Farnsworth
Add the low level irq tracing hooks for 32-bit powerpc needed to enable full lockdep functionality. Dale Farnsworth <[EMAIL PROTECTED]> --- This version fixes the clobbering of r12 by the call to trace_hardirqs_off() that was pointed out by BenH. Johannes, I'd appreciate your trying t

Re: [PATCH v2] powerpc: Add irqtrace support for 32-bit powerpc

2008-04-07 Thread Dale Farnsworth
On Mon, Apr 07, 2008 at 03:10:09PM +0200, Johannes Berg wrote: > > Note that I've been wondering wether we should attempt to trace all > > those IRQ state change internally to the exception code. I've looked at > > not doing it, which simplifies things a bit. > > > > Unfortunately, that will make

Re: [PATCH v2] powerpc: Add irqtrace support for 32-bit powerpc

2008-04-07 Thread Dale Farnsworth
On Mon, Apr 07, 2008 at 02:49:51PM +1000, Benjamin Herrenschmidt wrote: > I think I found one: > > .../... > > > - mr r6,r3 > > rlwinm r12,r1,0,0,(31-THREAD_SHIFT)/* current_thread_info() */ > > /* disable interrupts so current_thread_info()->flags can't change */ > > LOA

Re: [PATCH v2] powerpc: Add irqtrace support for 32-bit powerpc

2008-04-04 Thread Dale Farnsworth
On Sat, Apr 05, 2008 at 04:14:56PM +1100, Benjamin Herrenschmidt wrote: > > On Sat, 2008-04-05 at 01:31 +0200, Johannes Berg wrote: > > > This version takes care to save and restore *all* the volatile registers > > > around the call to trace_hardirqs_off in transfer_to_handler, and should > > > fi

Re: [PATCH v2] powerpc: Add irqtrace support for 32-bit powerpc

2008-04-04 Thread Dale Farnsworth
On Sat, Apr 05, 2008 at 09:07:31AM +1100, Benjamin Herrenschmidt wrote: > > diff --git a/arch/powerpc/kernel/entry_32.S b/arch/powerpc/kernel/entry_32.S > > index 69a91bd..bd3ce0f 100644 > > --- a/arch/powerpc/kernel/entry_32.S > > +++ b/arch/powerpc/kernel/entry_32.S > > @@ -144,6 +144,47 @@ trans

[PATCH v2] powerpc: Add irqtrace support for 32-bit powerpc

2008-04-04 Thread Dale Farnsworth
Add the low level irq tracing hooks for 32-bit powerpc needed to enable full lockdep functionality. Dale Farnsworth <[EMAIL PROTECTED]> --- This patch applies on top of Benjamin Herrenschmidt's lockdep patch for 64-bit powerpc. (http://patchwork.ozlabs.org/linuxppc/patch?id=17673) T

Re: [RFC/PATCH] powerpc: Add irqtrace support to 32-bit powerpc

2008-04-04 Thread Dale Farnsworth
On Fri, Apr 04, 2008 at 09:33:18PM +0200, Johannes Berg wrote: > On Wed, 2008-04-02 at 16:15 +0200, Johannes Berg wrote: > > On Fri, 2008-02-01 at 12:50 -0700, Dale Farnsworth wrote: > > > This adds the low level irq tracing hooks for 32-bit powerpc. > > > This patch

Re: [PATCH 1/9] [POWERPC] mv64x60: change FDT compatible prefix to mrvl

2008-03-31 Thread Dale Farnsworth
On Mon, Mar 31, 2008 at 10:44:20AM +1100, David Gibson wrote: > On Fri, Mar 28, 2008 at 05:47:25PM -0600, Grant Likely wrote: > > On Fri, Mar 28, 2008 at 5:42 PM, Dale Farnsworth <[EMAIL PROTECTED]> wrote: > > > From: Dale Farnsworth <[EMAIL PROTECTED]> > >

Re: [PATCH 6/9] [POWERPC] prpmc2800: clean up dts properties

2008-03-31 Thread Dale Farnsworth
On Sun, Mar 30, 2008 at 09:11:28PM +1100, David Gibson wrote: > On Sat, Mar 29, 2008 at 04:59:42PM -0500, Olof Johansson wrote: > > On Fri, Mar 28, 2008 at 04:49:00PM -0700, Dale Farnsworth wrote: > > > From: Mark A. Greer <[EMAIL PROTECTED]> > > > > > >

Re: [PATCH 4/9] [POWERPC] mv64x60: Fix FDT compatible names: mv64x60 => mv64360

2008-03-31 Thread Dale Farnsworth
On Sat, Mar 29, 2008 at 04:57:53PM -0500, Olof Johansson wrote: > On Fri, Mar 28, 2008 at 04:47:04PM -0700, Dale Farnsworth wrote: > > From: Mark A. Greer <[EMAIL PROTECTED]> > > > > Compatible names should refer to a specific version of the hardware, > > without

Re: [PATCH 1/9] [POWERPC] mv64x60: change FDT compatible prefix to mrvl

2008-03-28 Thread Dale Farnsworth
On Fri, Mar 28, 2008 at 05:47:25PM -0600, Grant Likely wrote: > On Fri, Mar 28, 2008 at 5:42 PM, Dale Farnsworth <[EMAIL PROTECTED]> wrote: > > From: Dale Farnsworth <[EMAIL PROTECTED]> > > > > Follow the convention that compatible names are prefixed by the > &

[PATCH 9/9] [POWERPC] prpmc2800 needs a dtbImage

2008-03-28 Thread Dale Farnsworth
From: Dale Farnsworth <[EMAIL PROTECTED]> The prpmc2800 platform requires a zImage formatted file with an embedded dtb file. Rename the requested boot image file to dtbImage.prpmc2800. Signed-off-by: Dale Farnsworth <[EMAIL PROTECTED]> Acked-by: Mark A. Greer <[EMAIL PROTECTE

[PATCH 8/9] [POWERPC] Document the mv64x60 device tree bindings

2008-03-28 Thread Dale Farnsworth
From: Dale Farnsworth <[EMAIL PROTECTED]> Add the device tree bindings for the Marvell mv64x60 series of system controller chips in booting-without-of.text. Signed-off-by: Dale Farnsworth <[EMAIL PROTECTED]> Acked-by: Mark A. Greer <[EMAIL PROTECTED]> Index: linux-2.6/Doc

[PATCH 7/9] [POWERPC] mv643xx_eth: prepare to support multiple silicon blocks

2008-03-28 Thread Dale Farnsworth
From: Dale Farnsworth <[EMAIL PROTECTED]> The mv643xx_eth driver is being modified to support multiple instances of the ethernet silicon block on the same platform. Each block contains a single register bank containing the registers for up to three ports interleaved within that bank. This

[PATCH 6/9] [POWERPC] prpmc2800: clean up dts properties

2008-03-28 Thread Dale Farnsworth
ndex" to conform to current practice. Signed-off-by: Mark A. Greer <[EMAIL PROTECTED]> Signed-off-by: Dale Farnsworth <[EMAIL PROTECTED]> Index: linux-2.6/arch/powerpc/boot/dts/prpmc2800.dts === --- linux-2.6.orig/arch/powe

[PATCH 5/9] [POWERPC] mv64x60: remove device tree absolute path references

2008-03-28 Thread Dale Farnsworth
From: Dale Farnsworth <[EMAIL PROTECTED]> Replace several device node absolute path lookups in the mv64x60 bootwrapper code with lookups by compatible or device_type properties. Signed-off-by: Dale Farnsworth <[EMAIL PROTECTED]> Acked-by: Mark A. Greer <[EMAIL PROTECTED]>

[PATCH 4/9] [POWERPC] mv64x60: Fix FDT compatible names: mv64x60 => mv64360

2008-03-28 Thread Dale Farnsworth
From: Mark A. Greer <[EMAIL PROTECTED]> Compatible names should refer to a specific version of the hardware, without wildcards. Change each instance of mv64x60 to mv64360, which is the oldest version we currently support. Signed-off-by: Mark A. Greer <[EMAIL PROTECTED]> Signed-

[PATCH 3/9] [POWERPC] prpmc2800: fix frequencies in prpmc2800.dts

2008-03-28 Thread Dale Farnsworth
From: Dale Farnsworth <[EMAIL PROTECTED]> After the conversion to dts v1 format, seeing the frequencies in decimal made it obvious that some of them had been incorrectly truncated. This fixes them. Note that the PCI frequency comes from a different source and is documented as 66MHz, so

[PATCH 2/9] [POWERPC] prpmc2800: convert DTS to v1 and add labels

2008-03-28 Thread Dale Farnsworth
From: Mark A. Greer <[EMAIL PROTECTED]> Update the prpmc2800 DTS file to version 1 and add labels. I verified that there was no change in the resulting dtb file. Signed-off-by: Mark A. Greer <[EMAIL PROTECTED]> Signed-off-by: Dale Farnsworth <[EMAIL PROTECTED]> Index: linu

Re: [PATCH 1/9] [POWERPC] mv64x60: change FDT compatible prefix to mrvl

2008-03-28 Thread Dale Farnsworth
From: Dale Farnsworth <[EMAIL PROTECTED]> Follow the convention that compatible names are prefixed by the vendor's stock ticker symbol. For Marvell Technology Group Ltd., that's MRVL. Signed-off-by: Dale Farnsworth <[EMAIL PROTECTED]> Acked-by: Mark A. Greer <[EMAIL

[PATCH 0/9] powerpc: mv64x60 and prpmc2800 DTS cleanups

2008-03-28 Thread Dale Farnsworth
This series of patches again attempts to clean up and document the Marvell MV64x60 device tree. It supersedes Mark Greer's series posted on 11 December 2007. See: http://ozlabs.org/pipermail/linuxppc-dev/2007-December/047986.html I think I've addressed all comments on that patch series, but I'm o

kexec-tools patches for 32-bit arch/powerpc kernels

2008-03-25 Thread Dale Farnsworth
A while back, I posted some kernel patches adding kexec support for 32-bit platforms in arch/powerpc. We had hoped to clean up the corresponding kexec-tools patches, but that hasn't happened yet. Someone (hi Matt) recently asked about those kexec-tools patches, so I've made them available via anon

Re: [PATCH 3/8] pseries: phyp dump: use sysfs to release reserved mem

2008-03-11 Thread Dale Farnsworth
Paul wrote: > Manish Ahuja writes: > > + dump_header = of_get_property(rtas, "ibm,kernel-dump", > > + &header_len); > > This is a somewhat weird-looking way of coping with too-long lines. Yes, but not too surprising, since it pre

[RFC/PATCH] powerpc: Add irqtrace support to 32-bit powerpc

2008-02-01 Thread Dale Farnsworth
oard with a ppc7447. Dale Farnsworth <[EMAIL PROTECTED]> --- arch/powerpc/Kconfig |1 - arch/powerpc/kernel/entry_32.S | 80 - arch/powerpc/kernel/setup_32.c |2 + include/asm-powerpc/hw_irq.h | 20 include/asm-powerpc/system.h |

[PATCH] [POWERPC] Remove dead code at KernelAltiVec

2008-01-31 Thread Dale Farnsworth
Signed-off-by: Dale Farnsworth <[EMAIL PROTECTED]> --- This code doesn't seem to be referenced anywhere. arch/powerpc/kernel/head_32.S | 17 - arch/ppc/kernel/head.S| 17 - 2 files changed, 0 insertions(+), 34 deletions(-) diff --git a/a

Re: [PATCH 05/10] powerpc: Add crash kernel support for 85xx

2008-01-18 Thread Dale Farnsworth
On Fri, Jan 18, 2008 at 04:29:23PM -0600, Kumar Gala wrote: > On Dec 14, 2007, at 11:23 AM, Dale Farnsworth wrote: >> On Fri, Dec 14, 2007 at 10:48:58AM -0600, Kumar Gala wrote: >>> On Nov 22, 2007, at 9:46 AM, Dale Farnsworth wrote: >>> >>>> Add the ability

Re: [PATCH] add modalias info to mv643xx_eth.ko

2008-01-18 Thread Dale Farnsworth
On Fri, Jan 18, 2008 at 10:38:05AM +0100, Olaf Hering wrote: > mv643xx_eth has an platform modalias file in sysfs. > But the module itself has no alias: line. Autoloading fails > without the alias info in the module. > > Signed-off-by: Olaf Hering <[EMAIL PROTECTED]> Acke

Re: [PATCH 1/5] PowerPC 74xx: Katana Qp device tree

2007-12-18 Thread Dale Farnsworth
On Sun, Dec 16, 2007 at 05:40:56PM +1100, David Gibson wrote: > On Mon, Dec 10, 2007 at 02:18:16PM -0700, Dale Farnsworth wrote: > > David Gibson wrote: > > > On Thu, Nov 29, 2007 at 06:28:36PM +0300, Andrei Dolnikov wrote: > > > > Device tree source file f

Re: [PATCH 07/10] powerpc: Implement kmap_atomic_pfn on powerpc

2007-12-18 Thread Dale Farnsworth
On Sat, Dec 15, 2007 at 05:17:41PM +1100, Benjamin Herrenschmidt wrote: > > On Thu, 2007-11-22 at 08:46 -0700, Dale Farnsworth wrote: > > This is needed for the ppc32 /dev/oldmem driver of crash dump. > > Kumar's working (well, last I heard he was) on a fixmap mechanism &

Re: [PATCH 03/10] powerpc: Add kexec support for PPC_85xx platforms

2007-12-18 Thread Dale Farnsworth
On Sat, Dec 15, 2007 at 05:16:25PM +1100, Benjamin Herrenschmidt wrote: > > index 8b642ab..db0e749 100644 > > --- a/arch/powerpc/kernel/misc_32.S > > +++ b/arch/powerpc/kernel/misc_32.S > > @@ -816,6 +816,75 @@ relocate_new_kernel: > > /* r4 = reboot_code_buffer */ > > /* r5 = start_address

Re: [PATCH 05/10] powerpc: Add crash kernel support for 85xx

2007-12-14 Thread Dale Farnsworth
On Fri, Dec 14, 2007 at 10:48:58AM -0600, Kumar Gala wrote: > On Nov 22, 2007, at 9:46 AM, Dale Farnsworth wrote: > > > Add the ability to build a ppc_85xx kernel to run at a physical > > address of 32MB. > > > > Signed-off-by: Dale Farnsworth <[EMAIL PROTECTED]&

Re: [PATCH 1/5] PowerPC 74xx: Katana Qp device tree

2007-12-10 Thread Dale Farnsworth
David Gibson wrote: > On Thu, Nov 29, 2007 at 06:28:36PM +0300, Andrei Dolnikov wrote: > > Device tree source file for the Emerson Katana Qp board [snip] > > + [EMAIL PROTECTED] { /* Marvell Discovery */ > > + #address-cells = <1>; > > + #size-cells = <1>; > > + mo

Re: [PATCH 1/5] PPC cleanup: sysdev - do use for_each macro

2007-11-29 Thread Dale Farnsworth
> From: Cyrill Gorcunov <[EMAIL PROTECTED]> > > Signed-off-by: Cyrill Gorcunov <[EMAIL PROTECTED]> > --- > > arch/powerpc/sysdev/fsl_soc.c |7 +++ > arch/powerpc/sysdev/mv64x60_dev.c | 24 ++-- > arch/powerpc/sysdev/mv64x60_pci.c |4 ++-- > arch/powerpc/s

Re: [PATCH 01/10] powerpc: Set up OF properties for ppc32 kexec

2007-11-22 Thread Dale Farnsworth
On Fri, Nov 23, 2007 at 09:17:27AM +1100, Stephen Rothwell wrote: > Hi Dale, > > Just a nit ... > > On Thu, 22 Nov 2007 08:45:17 -0700 Dale Farnsworth <[EMAIL PROTECTED]> wrote: > > +static struct property crashk_base_prop = { > > + .name = "linux,crash

[PATCH 10/10] powerpc: Make crashkernels ignore crashkernel reservations

2007-11-22 Thread Dale Farnsworth
If a user requests a crash kernel to reserve crashkernel memory, the kernel fails to boot. While the user shouldn't do that, it is easy to check for and makes it possible to use the same command line for crash kernels as for the initial kernel. Signed-off-by: Dale Farnsworth <[EMAIL P

[PATCH 09/10] powepc: Remove unnecessary of_get_flat_dt_prop casts

2007-11-22 Thread Dale Farnsworth
of_get_flat_dt_prop returns a void*. There is no need to cast its value when assigning to a pointer variable. This also avoids warnings on ppc32 where unsigned long is 32 bits. Signed-off-by: Dale Farnsworth <[EMAIL PROTECTED]> --- arch/powerpc/kernel/prom.c |4 ++-- 1 files chan

[PATCH 08/10] powerpc: Implement crash dump support on ppc32

2007-11-22 Thread Dale Farnsworth
Implement /dev/oldmem and /proc/vmcore support for ppc32. It is used to provide crash dumps of the previously running kernel. Signed-off-by: Dale Farnsworth <[EMAIL PROTECTED]> --- arch/powerpc/kernel/crash_dump.c | 67 ++ include/asm-powerpc/k

[PATCH 07/10] powerpc: Implement kmap_atomic_pfn on powerpc

2007-11-22 Thread Dale Farnsworth
This is needed for the ppc32 /dev/oldmem driver of crash dump. Signed-off-by: Dale Farnsworth <[EMAIL PROTECTED]> --- include/asm-powerpc/highmem.h | 18 ++ 1 files changed, 18 insertions(+), 0 deletions(-) diff --git a/include/asm-powerpc/highmem.h b/include/asm-p

[PATCH 06/10] powerpc: Fix bogus crash kernel messages

2007-11-22 Thread Dale Farnsworth
. Signed-off-by: Dale Farnsworth <[EMAIL PROTECTED]> --- arch/powerpc/kernel/machine_kexec.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/powerpc/kernel/machine_kexec.c b/arch/powerpc/kernel/machine_kexec.c index 691dba7..38c1c1a 100644 --- a/arch/powerpc/

[PATCH 05/10] powerpc: Add crash kernel support for 85xx

2007-11-22 Thread Dale Farnsworth
Add the ability to build a ppc_85xx kernel to run at a physical address of 32MB. Signed-off-by: Dale Farnsworth <[EMAIL PROTECTED]> --- arch/powerpc/Kconfig |2 +- arch/powerpc/kernel/head_fsl_booke.S | 23 ++- arch/powerpc/mm/fsl_booke_mmu.c

[PATCH 04/10] powerpc: Add crash kernel support for classic ppc

2007-11-22 Thread Dale Farnsworth
vectors at address 0 to vectors at address 32MB. Signed-off-by: Dale Farnsworth <[EMAIL PROTECTED]> --- arch/powerpc/Kconfig |2 +- arch/powerpc/kernel/crash_dump.c |1 + arch/powerpc/kernel/head_32.S | 11 ++- arch/powerpc/kernel/setup_32.c|2 ++

[PATCH 03/10] powerpc: Add kexec support for PPC_85xx platforms

2007-11-22 Thread Dale Farnsworth
Book E processors need some extra setup in relocate_new_kernel, because the MMU can't be turned off. Add the code to create the required one-to-one memory map. Signed-off-by: Dale Farnsworth <[EMAIL PROTECTED]> --- arch/powerpc/Kconfig |2 +- arch/powerpc/ker

[PATCH 02/10] powerpc: Cleanup CONFIG_KEXEC dependency

2007-11-22 Thread Dale Farnsworth
KEXEC's dependency on PPC_PRPMC2800 is redundant, since PPC_MULTIPLATFORM is now set for the prpmc2800 platform. Remove the dependency. Signed-off-by: Dale Farnsworth <[EMAIL PROTECTED]> --- arch/powerpc/Kconfig |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff -

[PATCH 01/10] powerpc: Set up OF properties for ppc32 kexec

2007-11-22 Thread Dale Farnsworth
Refactor the setting of kexec OF properties, moving the common code from machine_kexec_64.c to machine_kexec.c where it can be used on both ppc64 and ppc32. This is needed for kexec to work on ppc32 platforms. Signed-off-by: Dale Farnsworth <[EMAIL PROTECTED]> --- arch/powerpc/

[PATCH 00/10] powerpc: Add kexec/kdump support for ppc32

2007-11-22 Thread Dale Farnsworth
This patch series adds kexec and kdump support for ppc32 in arch/powerpc. It has been successfully tested on the mpc8548_cds and prpmc2800 platforms. Mark Greer and I are preparing patches to the kexec-tools package as well. These patches apply to current powerpc.git. Dale Farnsworth

Re: [linux-usb-devel] [PATCH 1/2] USB: Rework OHCI PPC OF for new bindings

2007-11-01 Thread Dale Farnsworth
Sylvain Munaut wrote: > > Valentine Barshak wrote: > >> Rework ohci-ppc-of driver to use big-endian property instead of > >> ohci-be/ohci-le compatible strings. Also remove unnecessary > >> user-selectable USB_OHCI_HCD_PPC_OF_LE/BE stuff, because > >> USB_OHCI_BIG_ENDIAN_DESC/MMIO should always be

Re: [PATCH 1/3] Add remove_memory() for ppc64

2007-10-31 Thread Dale Farnsworth
Badari Pulavarty wrote: > On Thu, 2007-11-01 at 01:26 -0500, Kumar Gala wrote: > > On Oct 31, 2007, at 11:49 AM, Badari Pulavarty wrote: > > > > > Supply arch specific remove_memory() for PPC64. There is nothing > > > ppc specific code here and its exactly same as ia64 version. > > > For now, lets

Re: [PATCH] pegasos_eth.c: Fix compile error over MV643XX_ defines

2007-10-30 Thread Dale Farnsworth
On Tue, Oct 30, 2007 at 10:36:06AM +0100, Sven Luther wrote: > On Tue, Oct 30, 2007 at 03:44:59AM -0400, Luis R. Rodriguez wrote: > > On 10/29/07, Dale Farnsworth <[EMAIL PROTECTED]> wrote: > > > On Mon, Oct 29, 2007 at 05:27:29PM -0400, Luis R. Rodriguez wrote: >

Re: RFC: replace device_type with new "class" property?

2007-10-29 Thread Dale Farnsworth
On Mon, Oct 29, 2007 at 12:34:40PM -0700, Yoder Stuart-B08248 wrote: > #4 use "compatible" > > [EMAIL PROTECTED] { > compatible = "fsl,ucc_geth","[official spec],network"; > model = "UCC"; > device-id = <3>; > reg = <2200 200>; > interrupts = <22>; >

Re: [PATCH] pegasos_eth.c: Fix compile error over MV643XX_ defines

2007-10-29 Thread Dale Farnsworth
L PROTECTED]> > Acked-by: Tzachi Perelstein <[EMAIL PROTECTED]> > Signed-off-by: Dale Farnsworth <[EMAIL PROTECTED]> > -- > > arch/powerpc/platforms/chrp/pegasos_eth.c made use of a 3 defines there. > > [EMAIL PROTECTED]:~/devel/wireless-2.6$ git-describ

Re: RFC: replace device_type with new "class" property?

2007-10-29 Thread Dale Farnsworth
Scott wrote: > Personally, I'm fine with just using name and compatible, but others such as > Stuart have expressed a desire for something to formally indicate compliance > with a standard binding. I don't think we should expand the use of > device_type in any case. I agree that the existing comp

Re: [PATCH v4.2] FEC - fast ethernet controller for mpc52xx

2007-10-26 Thread Dale Farnsworth
/* Here (and in rx routines) would be a good place for > + * dma_unmap_single(), but bcom doesn't return bcom_bd of the > + * finished transfer, and _unmap is empty on this platfrom. > + */ Oops, you forgot to remove the above comment. :) O

Re: [PATCH v4] FEC - fast ethernet controller for mpc52xx

2007-10-25 Thread Dale Farnsworth
On Thu, Oct 25, 2007 at 09:41:14PM +0200, Domen Puncer wrote: > On 25/10/07 11:57 -0700, Dale Farnsworth wrote: > > Domen wrote: > > > > use your platform's dma mapping functions, rather than virt_to_phys() > > > > > > > > it might be

Re: [PATCH v4] FEC - fast ethernet controller for mpc52xx

2007-10-25 Thread Dale Farnsworth
is no longer needed since we set rskb->dev on skb allocation. > + rskb->protocol = eth_type_trans(rskb, dev); > + > + netif_rx(rskb); > + dev->last_rx = jiffies; > + } else { > +

Re: [PATCH] PowerPC 440EPx Sequoia USB OHCI DTS entry

2007-10-24 Thread Dale Farnsworth
On Wed, Oct 24, 2007 at 05:44:51PM +0400, Valentine Barshak wrote: > Dale Farnsworth wrote: > >On Wed, Oct 24, 2007 at 03:19:14PM +0400, Valentine Barshak wrote: > >>Dale Farnsworth wrote: > >>>Valentine wrote: > >>>>Actually I also don't see

Re: [PATCH] PowerPC 440EPx Sequoia USB OHCI DTS entry

2007-10-24 Thread Dale Farnsworth
On Wed, Oct 24, 2007 at 03:19:14PM +0400, Valentine Barshak wrote: > Dale Farnsworth wrote: > >Valentine wrote: > >>Actually I also don't see much reason for the > >>USB_OHCI_HCD_PPC_OF_BE/USB_OHCI_HCD_PPC_OF_LE stuff. > >>Is this really needed? > >

Re: [PATCH] PowerPC 440EPx Sequoia USB OHCI DTS entry

2007-10-23 Thread Dale Farnsworth
Valentine wrote: > Actually I also don't see much reason for the > USB_OHCI_HCD_PPC_OF_BE/USB_OHCI_HCD_PPC_OF_LE stuff. > Is this really needed? I think so. The SOC host controllers are BE and the PCI host controllers are LE. Or, do you have an alternative method of handling both types? -Dale

[PATCH] [POWERPC] Fix mv643xx_pci sysfs .read and .write functions

2007-10-23 Thread Dale Farnsworth
incompatible pointer type /cache/git/linux-2.6/arch/powerpc/sysdev/mv64x60_pci.c:78: warning: initialization from incompatible pointer type Add the missing "struct bin_attribute *" parameter. Signed-off-by: Dale Farnsworth <[EMAIL PROTECTED]> --- arch/powerpc/sysdev/mv64

Re: [PATCH] [POWERPC] Fix fallout from sg_page changes

2007-10-23 Thread Dale Farnsworth
On Tue, Oct 23, 2007 at 08:44:48PM +0200, Jens Axboe wrote: > On Tue, Oct 23 2007, Dale Farnsworth wrote: > > > > Signed-off-by: Dale Farnsworth <[EMAIL PROTECTED]> > > --- > > include/asm-powerpc/dma-mapping.h | 10 +- > > 1 files changed, 5 in

[PATCH] [POWERPC] Fix fallout from sg_page changes

2007-10-23 Thread Dale Farnsworth
Signed-off-by: Dale Farnsworth <[EMAIL PROTECTED]> --- include/asm-powerpc/dma-mapping.h | 10 +- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/include/asm-powerpc/dma-mapping.h b/include/asm-powerpc/dma-mapping.h index 65be95d..43b4f3b 100644 --- a/inclu

  1   2   >