Re: Introduce support for little endian PowerPC

2010-10-01 Thread Kumar Gala
On Oct 1, 2010, at 7:14 AM, Benjamin Herrenschmidt wrote: > On Fri, 2010-10-01 at 07:30 -0400, Josh Boyer wrote: >> >>> From a community aspect is anyone actually going to use this? Is >> this going to be the equivalent of voyager on x86? I've got nothing >> against some of the endian clean up

Re: [PATCH 2/2] powerpc/85xx: add DIU support to the Freecale P1022DS reference board

2010-10-06 Thread Kumar Gala
On Sep 9, 2010, at 1:39 PM, Timur Tabi wrote: > +static void p1022ds_set_monitor_port(int monitor_port) > +{ > + struct device_node *pixis_node; > + u8 __iomem *brdcfg1; > + > + pixis_node = of_find_compatible_node(NULL, NULL, "fsl,fpga-pixis"); > + if (!pixis_node) { > +

Re: [RFC] arch/powerpc: Remove duplicate/redundant Altivec entries

2010-10-06 Thread Kumar Gala
On Sep 7, 2010, at 8:59 PM, Paul Mackerras wrote: > On Tue, Sep 07, 2010 at 01:56:55PM -0500, Matthew McClintock wrote: > >> In lieu of having multiple similiar lines, we can just have one >> generic cpu-as line for CONFIG_ALTIVEC >> >> --- >> Was hoping to get comments about this change and if

Re: [PATCH 1/2] powerpc/85xx: add ngPIXIS FPGA device tree node to the P1022DS board

2010-10-06 Thread Kumar Gala
On Sep 9, 2010, at 1:39 PM, Timur Tabi wrote: > The device tree for Freescale's P1022DS reference board is missing the node > for the ngPIXIS FPGA. > > Signed-off-by: Timur Tabi > --- > arch/powerpc/boot/dts/p1022ds.dts |9 + > 1 files changed, 9 insertions(+), 0 deletions(-) > > di

Re: [PATCH 1/2] [v2] powerpc: export ppc_proc_freq and ppc_tb_freq as GPL symbols

2010-10-06 Thread Kumar Gala
On Sep 20, 2010, at 11:23 AM, Timur Tabi wrote: > Export the global variable 'ppc_tb_freq', so that modules (like the Book-E > watchdog driver) can use it. To maintain consistency, ppc_proc_freq is > changed > to a GPL-only export. This is okay, because any module that needs this symbol > shou

Re: [PATCH 1/4] powerpc/kexec: make masking/disabling interrupts generic

2010-10-06 Thread Kumar Gala
On Sep 16, 2010, at 5:58 PM, Matthew McClintock wrote: > Right now just the kexec crash pathway turns turns off the > interrupts. Pull that out and make a generic version for > use elsewhere > > Signed-off-by: Matthew McClintock > --- > arch/powerpc/include/asm/kexec.h |1 + > arch/pow

Re: [PATCH 3/4] powerpc/85xx: Minor fixups for kexec on 85xx

2010-10-06 Thread Kumar Gala
On Sep 16, 2010, at 5:58 PM, Matthew McClintock wrote: > Make kexec_down_cpus atmoic since it will be incremented by all > cores as they are coming down > > Remove duplicate calls to mpc85xx_smp_kexec_down, now it's called > by the crash and normal kexec pathway only once > > Increase the timeo

Re: [PATCH][v3] mpc8308_p1m: support for MPC8308 P1M board

2010-10-06 Thread Kumar Gala
On Sep 8, 2010, at 6:55 PM, Ilya Yanok wrote: > This patch adds support for MPC8308 P1M board. > Supported devices: > DUART > Dual Ethernet > NOR flash > Both I2C controllers > USB in peripheral mode > PCI Express > > Signed-off-by: Ilya Yanok > --- > > Changed 'compatible' entry for 'cpld' no

Re: [PATCH] powerpc/fsl-pci: Fix MSI support on 83xx platforms

2010-10-06 Thread Kumar Gala
On Aug 5, 2010, at 3:02 AM, Kumar Gala wrote: > The following commit broke 83xx because it assumed the 83xx platforms > exposed the "IMMR" address in BAR0 like the 85xx/86xx/QoriQ devices do: > > commit 3da34aae03d498ee62f75aa7467de93cce3030fd > Author: Kumar Gala >

Re: [PATCH 2/4] powerpc/85xx: Remove call to mpic_teardown_this_cpu in kexec

2010-10-06 Thread Kumar Gala
On Sep 16, 2010, at 5:58 PM, Matthew McClintock wrote: > We no longer need to call this explicitly as a generic version is > called by default > > Signed-off-by: Matthew McClintock > --- > arch/powerpc/platforms/85xx/smp.c |2 -- > 1 files changed, 0 insertions(+), 2 deletions(-) applied to

Re: [PATCH 2/2] [v2] powerpc/watchdog: allow the e500 watchdog driver to be compiled as a module

2010-10-06 Thread Kumar Gala
On Sep 20, 2010, at 11:23 AM, Timur Tabi wrote: > Register the __init and __exit functions in the PowerPC e500 watchdog driver > as module entry/exit functions, and modify the Kconfig entry. > > Add a .release method for the PowerPC e500 watchdog driver, so that the > watchdog is disabled when t

Re: [PATCH] powerpc: Fix invalid page flags in create TLB CAM path for PTE_64BIT

2010-10-06 Thread Kumar Gala
On Sep 24, 2010, at 11:44 AM, Paul Gortmaker wrote: >> >> From d48ebb58b8214f9faec775a5e06902f638f165cf Mon Sep 17 00:00:00 2001 > From: Tiejun Chen > Date: Tue, 21 Sep 2010 19:31:31 +0800 > Subject: [PATCH] powerpc: Fix invalid page flags in create TLB CAM path for > PTE_64BIT > > There exis

Re: [PATCH 4/4] powerpc/85xx: flush dcache before resetting cores

2010-10-06 Thread Kumar Gala
On Sep 16, 2010, at 5:58 PM, Matthew McClintock wrote: > When we do an mpic_reset_core we need to make sure the dcache > is flushed > > Signed-off-by: Matthew McClintock > --- > arch/powerpc/platforms/85xx/smp.c | 50 + > 1 files changed, 50 insertions(+), 0

Re: [PATCH v2] powerpc/fsl_soc: Search all global-utilities nodes for rstccr

2010-10-06 Thread Kumar Gala
On Aug 31, 2010, at 5:44 PM, Matthew McClintock wrote: > The first global-utilities node might not contain the rstcr > property, so we should search all the nodes > > Signed-off-by: Matthew McClintock > --- > -Changed KERN_EMERG to KERN_ERR > -Break if we do not find rstcr mapped > -Restore of_

Re: [PATCH] edac: mpc85xx: Add support for new MPCxxx/Pxxxx EDAC controllers (fix)

2010-10-06 Thread Kumar Gala
On Aug 1, 2010, at 5:54 AM, Anton Vorontsov wrote: > On Wed, Jul 21, 2010 at 06:21:08PM -0500, Scott Wood wrote: > [...] > + { .compatible = "fsl,p4080-l2-cache-controller", }, L2 on the p4080 is quite different from those other chips. It's part of the core, controlled by SPR

Re: [PATCH 2/2] powerpc/fsl_booke: Add support to boot from core other than 0

2010-10-06 Thread Kumar Gala
On Aug 31, 2010, at 6:24 PM, Matthew McClintock wrote: > First we check to see if we are the first core booting up. This > is accomplished by comparing the boot_cpuid with -1, if it is we > assume this is the first core coming up. > > Secondly, we need to update the initial thread info structure

Re: [PATCH] powerpc/p1022: add probing for individual DMA channels, not just DMA controllers

2010-10-06 Thread Kumar Gala
On Aug 19, 2010, at 4:28 PM, Timur Tabi wrote: > Like the MPC8610 HPCD, the P1022DS ASoC DMA driver probes on individual DMA > channel nodes, so the DMA controller nodes' compatible string must be listed > in > p1022_ds_ids[] to work. > > Signed-off-by: Timur Tabi > --- > > This is for -next.

Re: [PATCH] edac: mpc85xx: Add support for new MPCxxx/Pxxxx EDAC controllers (fix)

2010-10-06 Thread Kumar Gala
> > It's already in Linus' tree. Yeah, the problem is what's merged in linus's tree has p4080 listed and it shouldn't > > Thanks, > > - - - - > commit cd1542c8197fc3c2eb3a8301505d5d9738fab1e4 > Author: Anton Vorontsov > Date: Tue Aug 10 18:03:21 2010 -0700 > >edac: mpc85xx: add suppor

Re: [PATCH] edac: mpc85xx: Add support for new MPCxxx/Pxxxx EDAC controllers (fix)

2010-10-07 Thread Kumar Gala
On Oct 7, 2010, at 1:37 AM, Kumar Gala wrote: >> @ -1125,7 +1128,10 @@ static struct of_device_id mpc85xx_mc_err_of_match[] = >> { >> { .compatible = "fsl,mpc8569-memory-controller", }, >> { .compatible = "fsl,mpc8572-memory-controller", },

Re: [PATCH] edac: mpc85xx: Add support for new MPCxxx/Pxxxx EDAC controllers (fix)

2010-10-07 Thread Kumar Gala
On Oct 7, 2010, at 2:12 AM, Anton Vorontsov wrote: > On Thu, Oct 07, 2010 at 02:00:50AM -0500, Kumar Gala wrote: >> >> On Oct 7, 2010, at 1:37 AM, Kumar Gala wrote: >> >>>> @ -1125,7 +1128,10 @@ static struct of_device_id mpc85xx_mc_err_of_match[] >>>

Re: Freescale P2020 / 85xx PCIe and Advance Error Reporting (AER) service problem

2010-10-07 Thread Kumar Gala
On Oct 7, 2010, at 7:30 AM, Eran Liberty wrote: > Dear Penguins, > > SHORT: > There is a BUG in the current code design / Freescale P2020/85xx PCIe design > that prevent it from registering to the PCIe AER... or that I have missed > something :) .. > > LESS SHORT: > I am in the process of a F

Re: [PATCH 2/2] powerpc/fsl_booke: Add support to boot from core other than 0

2010-10-07 Thread Kumar Gala
On Aug 31, 2010, at 6:24 PM, Matthew McClintock wrote: > First we check to see if we are the first core booting up. This > is accomplished by comparing the boot_cpuid with -1, if it is we > assume this is the first core coming up. > > Secondly, we need to update the initial thread info structure

Re: [PATCH v3 6/7] mtd: m25p80: add a read function to read page by page

2010-10-07 Thread Kumar Gala
On Oct 7, 2010, at 9:15 PM, Hu Mingkai-B21284 wrote: Yes, I agree with David on this. If large transfers don't work, then it is the SPI master driver that is buggy. >>> >>> By the way, does this fix your problem? >>> >>> https://patchwork.kernel.org/patch/184752/ >> >> It shouldn't.

[PATCH] powerpc/ppc64e: Fix link problem when building ppc64e_defconfig

2010-10-08 Thread Kumar Gala
ppc32. Signed-off-by: Kumar Gala --- arch/powerpc/platforms/85xx/smp.c |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/arch/powerpc/platforms/85xx/smp.c b/arch/powerpc/platforms/85xx/smp.c index a6b1065..bd38b6a 100644 --- a/arch/powerpc/platforms/85xx/smp.c +++ b

[git pull] Please pull powerpc.git merge branch

2010-10-08 Thread Kumar Gala
13:59:32 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/galak/powerpc.git merge Kumar Gala (1): powerpc/ppc64e: Fix link problem when building ppc64e_defconfig arch/powerpc/platforms/85xx/smp.c |7 +++ 1 files changed, 7 insertions(

[PATCH 01/11] powerpc/mpc8xxx_gpio: Add support for 'qoriq-gpio' controllers

2010-10-08 Thread Kumar Gala
Add 'fsl,qoriq-gpio' compatiable to the list we search for to bind against for mpc8xxx_gpio. This compatiable will be used on P1-P5xxx QorIQ devices like P4080. Signed-off-by: Kumar Gala --- arch/powerpc/sysdev/mpc8xxx_gpio.c |3 +++ 1 files changed, 3 insertions(+), 0 deletion

[PATCH 03/11] powerpc/fsl-booke: Add PCI device ids for P2040/P3041/P5010/P5020 QoirQ chips

2010-10-08 Thread Kumar Gala
Signed-off-by: Kumar Gala --- arch/powerpc/sysdev/fsl_pci.c |8 include/linux/pci_ids.h |8 2 files changed, 16 insertions(+), 0 deletions(-) diff --git a/arch/powerpc/sysdev/fsl_pci.c b/arch/powerpc/sysdev/fsl_pci.c index 32012a2..4d0b249 100644 --- a/arch

[PATCH 02/11] oprofile/fsl emb: Don't set MSR[PMM] until after clearing the interrupt.

2010-10-08 Thread Kumar Gala
[PMMP], before setting MSR[PMM]. The counters wil not actually run until PMGC0[FAC] is cleared in pmc_start_ctrs(), so this will not reduce the effectiveness of PMM. Signed-off-by: Scott Wood Signed-off-by: Kumar Gala --- arch/powerpc/oprofile/op_model_fsl_emb.c | 15 --- 1 files

[PATCH 04/11] powerpc/fsl-booke: Add p3041 DS board support

2010-10-08 Thread Kumar Gala
The P3041DS is in the same family of boards as the P4080DS and thus shares the corenet_ds code. Signed-off-by: Kumar Gala --- arch/powerpc/platforms/85xx/Kconfig| 12 ++ arch/powerpc/platforms/85xx/Makefile |1 + arch/powerpc/platforms/85xx/p3041_ds.c | 64

[PATCH 05/11] powerpc: Fix compile error with paca code on ppc64e

2010-10-08 Thread Kumar Gala
arch/powerpc/kernel/paca.c: In function 'allocate_lppacas': arch/powerpc/kernel/paca.c:111:1: error: parameter name omitted arch/powerpc/kernel/paca.c:111:1: error: parameter name omitted Signed-off-by: Kumar Gala --- arch/powerpc/kernel/paca.c |2 +- 1 files changed, 1 insert

[PATCH 06/11] powerpc/ppc64e: Fix link problem when building ppc64e_defconfig

2010-10-08 Thread Kumar Gala
ppc32. Signed-off-by: Kumar Gala --- arch/powerpc/platforms/85xx/smp.c |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/arch/powerpc/platforms/85xx/smp.c b/arch/powerpc/platforms/85xx/smp.c index c89a370..5c91a99 100644 --- a/arch/powerpc/platforms/85xx/smp.c +++ b

[PATCH 07/11] powerpc/fsl-booke: Add support for FSL 64-bit e5500 core

2010-10-08 Thread Kumar Gala
The new e5500 core is similar to the e500mc core but adds 64-bit support. We support running it in 32-bit mode as it is identical to the e500mc. Signed-off-by: Kumar Gala --- arch/powerpc/include/asm/cache.h |2 +- arch/powerpc/include/asm/reg_booke.h |3 ++- arch/powerpc

[PATCH 08/11] powerpc/fsl-booke: Add support for FSL Arch v1.0 MMU in setup_page_sizes

2010-10-08 Thread Kumar Gala
ce we are an FSL implementation that we have 2 TLB arrays and the second array contains the variable size pages. Signed-off-by: Kumar Gala --- arch/powerpc/include/asm/mmu-book3e.h | 15 +++ arch/powerpc/mm/tlb_nohash.c | 42 ++-- 2 files change

[PATCH 09/11] powerpc/fsl-booke64: Use TLB CAMs to cover linear mapping on FSL 64-bit chips

2010-10-08 Thread Kumar Gala
purpose. Additionally, we limit the amount of memory to what we can cover via bolted entries so we don't get secondary faults in the TLB miss handlers. We should fix this limitation in the future. Signed-off-by: Kumar Gala --- arch/powerpc/kernel/asm-offsets.c |4 ++-- arch/power

[PATCH 10/11] powerpc/fsl-booke: Add p5020 DS board support

2010-10-08 Thread Kumar Gala
The P5020DS is in the same family of boards as the P4080 DS and thus shares the corenet_ds code. Signed-off-by: Kumar Gala --- arch/powerpc/platforms/85xx/Kconfig| 12 ++ arch/powerpc/platforms/85xx/Makefile |1 + arch/powerpc/platforms/85xx/p5020_ds.c | 69

[PATCH 11/11] powerpc/fsl-booke: Add e55xx (64-bit) smp defconfig

2010-10-08 Thread Kumar Gala
The p5020 SoC from Freescale is the first 64-bit Book-E processor and utilizes the two e5500 cores. Adding a defconfig that enables basic kernel for e5500 based processors. Also added the p5020 / e5500 support to the ppc64e defconfig. Signed-off-by: Kumar Gala --- arch/powerpc/configs

Re: [PATCH 01/11] powerpc/mpc8xxx_gpio: Add support for 'qoriq-gpio' controllers

2010-10-08 Thread Kumar Gala
On Oct 8, 2010, at 2:06 PM, Kumar Gala wrote: > Add 'fsl,qoriq-gpio' compatiable to the list we search for to bind > against for mpc8xxx_gpio. This compatiable will be used on P1-P5xxx > QorIQ devices like P4080. > > Signed-off-by: Kumar Gala > --- > arch/power

Re: [PATCH 03/11] powerpc/fsl-booke: Add PCI device ids for P2040/P3041/P5010/P5020 QoirQ chips

2010-10-08 Thread Kumar Gala
On Oct 8, 2010, at 2:06 PM, Kumar Gala wrote: > Signed-off-by: Kumar Gala > --- > arch/powerpc/sysdev/fsl_pci.c |8 > include/linux/pci_ids.h |8 > 2 files changed, 16 insertions(+), 0 deletions(-) appli

Re: [PATCH 03/11] powerpc/fsl-booke: Add PCI device ids for P2040/P3041/P5010/P5020 QoirQ chips

2010-10-08 Thread Kumar Gala
On Oct 8, 2010, at 2:28 PM, Timur Tabi wrote: > On Fri, Oct 8, 2010 at 2:06 PM, Kumar Gala wrote: > >> diff --git a/arch/powerpc/sysdev/fsl_pci.c b/arch/powerpc/sysdev/fsl_pci.c >> index 32012a2..4d0b249 100644 >> --- a/arch/powerpc/sysdev/fsl_pci.c >> +++ b

Re: [PATCH] powerpc/fsl: 85xx: add cache-sram support

2010-10-12 Thread Kumar Gala
On Oct 12, 2010, at 5:25 AM, wrote: > > +static int __devinit mpc85xx_l2ctlr_of_probe(struct platform_device *dev, > + const struct of_device_id *match) > +{ > + long rval; > + unsigned int rem; > + unsigned char ways; > + const unsigned i

[PATCH v2] powerpc/fsl-booke: Add support for FSL 64-bit e5500 core

2010-10-12 Thread Kumar Gala
The new e5500 core is similar to the e500mc core but adds 64-bit support. We support running it in 32-bit mode as it is identical to the e500mc. Signed-off-by: Kumar Gala --- * Updated to remove CONFIG_PPC_E5500 and use E500MC arch/powerpc/include/asm/reg_booke.h |3 ++- arch/powerpc

[PATCH v2] powerpc/fsl-booke: Add p5020 DS board support

2010-10-12 Thread Kumar Gala
The P5020DS is in the same family of boards as the P4080 DS and thus shares the corenet_ds code. Signed-off-by: Kumar Gala --- * Updated based on removal of CONFIG_PPC_E5500 arch/powerpc/platforms/85xx/Kconfig| 12 ++ arch/powerpc/platforms/85xx/Makefile |1 + arch/powerpc

Re: [PATCH v2] powerpc/fsl-booke: Add support for FSL 64-bit e5500 core

2010-10-12 Thread Kumar Gala
On Oct 12, 2010, at 12:33 PM, Scott Wood wrote: > On Tue, 12 Oct 2010 10:50:52 -0500 > Kumar Gala wrote: > >> The new e5500 core is similar to the e500mc core but adds 64-bit >> support. We support running it in 32-bit mode as it is identical to the >> e500mc. >&

Re: [PATCH v2] powerpc/fsl-booke: Add support for FSL 64-bit e5500 core

2010-10-13 Thread Kumar Gala
On Oct 12, 2010, at 3:11 PM, Scott Wood wrote: > On Tue, 12 Oct 2010 14:55:42 -0500 > Kumar Gala wrote: > >> >> On Oct 12, 2010, at 12:33 PM, Scott Wood wrote: >> >>> On Tue, 12 Oct 2010 10:50:52 -0500 >>> Kumar Gala wrote: >>> >>

[PATCH v3] powerpc/fsl-booke: Add support for FSL 64-bit e5500 core

2010-10-13 Thread Kumar Gala
The new e5500 core is similar to the e500mc core but adds 64-bit support. We support running it in 32-bit mode as it is identical to the e500mc. Signed-off-by: Kumar Gala --- * clean up kconfig further to reduce use of E500MC arch/powerpc/include/asm/reg_booke.h |2 +- arch/powerpc

[PATCH v3] powerpc/fsl-booke: Add p5020 DS board support

2010-10-13 Thread Kumar Gala
The P5020DS is in the same family of boards as the P4080 DS and thus shares the corenet_ds code. Signed-off-by: Kumar Gala --- * Updated based on e5500 support patch arch/powerpc/platforms/85xx/Kconfig| 13 ++ arch/powerpc/platforms/85xx/Makefile |1 + arch/powerpc/platforms

Re: [PATCH] powerpc/fsl: 85xx: add cache-sram support

2010-10-13 Thread Kumar Gala
On Oct 12, 2010, at 12:19 PM, Hollis Blanchard wrote: > On Tue, Oct 12, 2010 at 10:02 AM, Rai Harninder-B01044 > wrote: >> Currently the design is that we divide the sram portion into 2 equal >> parts for AMP >> That was the part of initial requirement >> Do we want to remove that? > > Why woul

Re: [PATCH 1/2] [v2] powerpc/85xx: add ngPIXIS FPGA device tree node to the P1022DS board

2010-10-13 Thread Kumar Gala
On Oct 7, 2010, at 2:36 PM, Timur Tabi wrote: > The device tree for Freescale's P1022DS reference board is missing the node > for the ngPIXIS FPGA. > > Signed-off-by: Timur Tabi > --- > arch/powerpc/boot/dts/p1022ds.dts | 11 +++ > 1 files changed, 11 insertions(+), 0 deletions(-) app

Re: [PATCH 2/2] [v2] powerpc/85xx: add DIU support to the Freecale P1022DS reference board

2010-10-13 Thread Kumar Gala
On Oct 7, 2010, at 2:36 PM, Timur Tabi wrote: > The Freescale P1022DS has an on-chip video controller called the DIU, and a > driver for this device already exists. Update the platform file for the > P1022DS reference board to enable the driver, and update the defconfig for > Freescale MPC85xx b

Re: [PATCH][v2] powerpc/fsl: 85xx: add cache-sram support

2010-10-13 Thread Kumar Gala
On Oct 13, 2010, at 7:00 AM, wrote: > From: Harninder Rai > > It adds cache-sram support in P1/P2 QorIQ platforms as under: > >* A small abstraction over powerpc's remote heap allocator >* Exports mpc85xx_cache_sram_alloc()/free() APIs >* Supports only one contiguous SRAM window

Re: [PATCH v3] powerpc/fsl-booke: Add support for FSL 64-bit e5500 core

2010-10-13 Thread Kumar Gala
On Oct 13, 2010, at 10:58 AM, Scott Wood wrote: > On Wed, 13 Oct 2010 08:17:11 -0500 > Kumar Gala wrote: > >> The new e5500 core is similar to the e500mc core but adds 64-bit >> support. We support running it in 32-bit mode as it is identical to the >> e500mc. >&

[PATCH v4 4/5] powerpc/fsl-booke: Add p5020 DS board support

2010-10-13 Thread Kumar Gala
The P5020DS is in the same family of boards as the P4080 DS and thus shares the corenet_ds code. Signed-off-by: Kumar Gala --- * minor kconfig mods because of e5500 patch changes arch/powerpc/platforms/85xx/Kconfig| 12 ++ arch/powerpc/platforms/85xx/Makefile |1 + arch/powerpc

[PATCH v4 1/5] powerpc/fsl-booke: Add support for FSL 64-bit e5500 core

2010-10-13 Thread Kumar Gala
The new e5500 core is similar to the e500mc core but adds 64-bit support. We support running it in 32-bit mode as it is identical to the e500mc. Signed-off-by: Kumar Gala --- * Further kconfig cleanup arch/powerpc/kernel/Makefile |4 +++- arch/powerpc/kernel

Re: [PATCH v4 1/5] powerpc/fsl-booke: Add support for FSL 64-bit e5500 core

2010-10-13 Thread Kumar Gala
On Oct 13, 2010, at 5:02 PM, Kumar Gala wrote: > The new e5500 core is similar to the e500mc core but adds 64-bit > support. We support running it in 32-bit mode as it is identical to the > e500mc. > > Signed-off-by: Kumar Gala > --- > * Further kconfig cleanup >

Re: [PATCH 2/2] [v2] powerpc/85xx: add DIU support to the Freecale P1022DS reference board

2010-10-13 Thread Kumar Gala
On Oct 7, 2010, at 2:36 PM, Timur Tabi wrote: > The Freescale P1022DS has an on-chip video controller called the DIU, and a > driver for this device already exists. Update the platform file for the > P1022DS reference board to enable the driver, and update the defconfig for > Freescale MPC85xx b

[git pull] Please pull powerpc.git next branch

2010-10-13 Thread Kumar Gala
): powerpc/fsl: 85xx: add cache-sram support Ilya Yanok (1): powerpc/mpc83xx: Support for MPC8308 P1M board Kumar Gala (10): powerpc/fsl-pci: Fix MSI support on 83xx platforms powerpc/mpc8xxx_gpio: Add support for 'qoriq-gpio' controllers powerpc/fsl-booke: Add PCI devi

[PATCH v2] powerpc/fsl-pci: Fix MSI support on 83xx platforms

2010-10-13 Thread Kumar Gala
The following commit broke 83xx because it assumed the 83xx platforms exposed the "IMMR" address in BAR0 like the 85xx/86xx/QoriQ devices do: commit 3da34aae03d498ee62f75aa7467de93cce3030fd Author: Kumar Gala Date: Tue May 12 15:51:56 2009 -0500 powerpc/fsl: Support unique MSI

Re: [PATCH] powerpc: change the Book-E watchdog driver default timeout into a Kconfig option

2010-10-13 Thread Kumar Gala
On Oct 13, 2010, at 2:19 PM, Timur Tabi wrote: > The PowerPC Book-E watchdog driver (booke_wdt.c) defines a default timeout > value in the code based on whether it's a Freescale Book-E part of not. > Instead of having hard-coded values in the driver, make it a Kconfig option. > > As newer chips

Re: [PATCH 1/3] fsl_rio: Add comments for sRIO registers.

2010-10-13 Thread Kumar Gala
On Oct 13, 2010, at 9:04 PM, Shaohui Xie wrote: > Add some comments to make sRIO registers map better readable. > > Signed-off-by: Shaohui Xie > --- > arch/powerpc/sysdev/fsl_rio.c | 65 + > 1 files changed, 40 insertions(+), 25 deletions(-) applied to

Re: [PATCH 2/3] fsl_rio: fix non-standard HID1 register access

2010-10-13 Thread Kumar Gala
On Oct 13, 2010, at 9:04 PM, Shaohui Xie wrote: > From: Li Yang > > The access to HID1 register is only legitimate for e500 v1/v2 cores. > Also fixes magic number. > > Signed-off-by: Li Yang > Signed-off-by: Shaohui Xie > --- > arch/powerpc/sysdev/fsl_rio.c |9 ++--- > 1 files changed

Re: [PATCH 2/3] fsl_rio: fix non-standard HID1 register access

2010-10-13 Thread Kumar Gala
On Oct 14, 2010, at 1:14 AM, Kumar Gala wrote: > > On Oct 13, 2010, at 9:04 PM, Shaohui Xie wrote: > >> From: Li Yang >> >> The access to HID1 register is only legitimate for e500 v1/v2 cores. >> Also fixes magic number. >> >> Signed-o

Re: [git pull] Please pull powerpc.git next branch (updated)

2010-10-13 Thread Kumar Gala
/linux/kernel/git/galak/powerpc.git next Harninder Rai (1): powerpc/85xx: add cache-sram support Ilya Yanok (1): powerpc/mpc83xx: Support for MPC8308 P1M board Kumar Gala (10): powerpc/fsl-pci: Fix MSI support on 83xx platforms powerpc/mpc8xxx_gpio: Add support for '

Re: [PATCH 2/3] fsl_rio: fix non-standard HID1 register access

2010-10-14 Thread Kumar Gala
On Oct 14, 2010, at 2:10 AM, Li Yang-R58472 wrote: >> Subject: Re: [PATCH 2/3] fsl_rio: fix non-standard HID1 register access >> >> >> On Oct 13, 2010, at 9:04 PM, Shaohui Xie wrote: >> >>> From: Li Yang >>> >>> The access to HID1 register is only legitimate for e500 v1/v2 cores. >>> Also fi

[PATCH] powerpc/fsl-booke: Add e500mc smp defconfig

2010-10-14 Thread Kumar Gala
time. Signed-off-by: Kumar Gala --- arch/powerpc/configs/e500mc_smp_defconfig | 178 + 1 files changed, 178 insertions(+), 0 deletions(-) create mode 100644 arch/powerpc/configs/e500mc_smp_defconfig diff --git a/arch/powerpc/configs/e500mc_smp_defconfig b/arch

[PATCH] spi/fsl_spi: Fix compile errors when building on ppc64

2010-10-14 Thread Kumar Gala
function 'iounmap' drivers/spi/spi_fsl_espi.c: In function 'fsl_espi_probe': drivers/spi/spi_fsl_espi.c:602:2: error: implicit declaration of function 'ioremap' drivers/spi/spi_fsl_espi.c:602:24: warning: assignment makes pointer from integer without a cast Signed-

Re: [PATCH] spi/fsl_spi: Fix compile errors when building on ppc64

2010-10-14 Thread Kumar Gala
On Oct 14, 2010, at 9:12 AM, Grant Likely wrote: > On Thu, Oct 14, 2010 at 08:55:47AM -0500, Kumar Gala wrote: >> We get the following when building on ppc64 due to lack of include of >> : > > Is this an immediate problem (merge for .36), or is it a linux-next thing? >

Re: [PATCH 2/2] [v2] powerpc/85xx: add DIU support to the Freecale P1022DS reference board

2010-10-14 Thread Kumar Gala
On Oct 13, 2010, at 8:39 PM, Tabi Timur-B04825 wrote: > Kumar Gala wrote: >>>> arch/powerpc/configs/mpc85xx_defconfig |3 + >>>> arch/powerpc/configs/mpc85xx_smp_defconfig |3 + >>>> arch/powerpc/platforms/85xx/p1022_ds.c | 213 >>

Re: [PATCH RFC] PPC: /dev/mem: All RAM is cacheable, not just the kernel's.

2010-10-18 Thread Kumar Gala
On Oct 18, 2010, at 5:32 PM, Scott Wood wrote: > If mem= is used on the kernel command line to create reserved regions > for userspace to map using /dev/mem, let it be mapped cacheable as long > as it is within the memory region described in the device tree. > > Signed-off-by: Scott Wood > ---

Re: [PATCH 1/2] P4080/eLBC: Make Freescale elbc interrupt common to elbc devices

2010-10-19 Thread Kumar Gala
On Oct 18, 2010, at 2:22 AM, Roy Zang wrote: > Move Freescale elbc interrupt from nand dirver to elbc driver. > Then all elbc devices can use the interrupt instead of ONLY nand. > > For former nand driver, it had the two functions: > > 1. detecting nand flash partitions; > 2. registering elbc i

Re: [PATCH 1/2] P4080/eLBC: Make Freescale elbc interrupt common to elbc devices

2010-10-19 Thread Kumar Gala
On Oct 20, 2010, at 12:12 AM, Zang Roy-R61911 wrote: > > >> -Original Message----- >> From: Kumar Gala [mailto:ga...@kernel.crashing.org] >> Sent: Tuesday, October 19, 2010 21:19 PM >> To: Zang Roy-R61911 >> Cc: linux-...@lists.infradead.org; Wood Scot

Re: [PATCH v4 5/5] mtd: m25p80: add support to parse the partitions by OF node

2010-10-21 Thread Kumar Gala
On Oct 17, 2010, at 2:44 AM, Artem Bityutskiy wrote: > On Sat, 2010-10-16 at 19:05 -0600, Grant Likely wrote: >> On Sat, Oct 16, 2010 at 1:17 PM, Artem Bityutskiy >> wrote: >>> On Tue, 2010-10-12 at 18:18 +0800, Mingkai Hu wrote: Signed-off-by: Mingkai Hu Acked-by: Grant Likely

Re: [PATCH][v0] RTC driver(Linux) for PT7C4338 chip.

2010-10-26 Thread Kumar Gala
On Oct 25, 2010, at 3:08 AM, Priyanka Jain wrote: > PT7C4338 chip is manufactured by Pericom Technology Inc. > It is a serial real-time clock which provides: > 1)Low-power clock/calendar. > 2)Programmable square-wave output. > It has 56 bytes of nonvolatile RAM. > > Freescale P1010RDB uses PT7C4

[PATCH] powerpc/mm: Fix build error in setup_initial_memory_limit

2010-11-10 Thread Kumar Gala
longs Signed-off-by: Kumar Gala --- Ben, I think this is correct, but haven't really looked at all the code. - k arch/powerpc/mm/tlb_nohash.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/powerpc/mm/tlb_nohash.c b/arch/powerpc/mm/tlb_nohash.c index 36c0

Re: [PATCH] Add Freescale CodeWarrior debug support for kernel

2010-11-11 Thread Kumar Gala
rpc/kernel/head_fsl_booke.S > b/arch/powerpc/kernel/head_fsl_booke.S > index 529b817..9962d09 100644 > --- a/arch/powerpc/kernel/head_fsl_booke.S > +++ b/arch/powerpc/kernel/head_fsl_booke.S > @@ -21,7 +21,7 @@ > *debbie_...@mvista.com > *Copyright 2002-2004

Re: [PATCH v2] fsldma: add support to 36-bit physical address

2010-11-11 Thread Kumar Gala
On Nov 11, 2010, at 6:16 AM, Li Yang wrote: > Expand the dma_mask of fsldma device to 36-bit, indicating that the > DMA engine can deal with 36-bit physical address and does not need > the SWIOTLB to create bounce buffer for it when doing dma_map_*(). > > Signed-off-by: Li Yang > --- > Add more

Re: [PATCH 3/3] powerpc/85xx: Update of_platform_bus_probe list to include PCI controller

2010-11-11 Thread Kumar Gala
On Nov 5, 2010, at 12:28 AM, Lan Chunhe wrote: > We need to get the pci controller created as an of platform device to > allow the EDAC driver to bind to it on P4080DS. > > Signed-off-by: Kai.Jiang > Signed-off-by: Kumar Gala > Signed-off-by: Lan Chunhe > --- > arc

Re: [PATCH 3/3] powerpc/85xx: Update of_platform_bus_probe list to include PCI controller

2010-11-11 Thread Kumar Gala
On Nov 11, 2010, at 5:59 AM, Kumar Gala wrote: > > On Nov 5, 2010, at 12:28 AM, Lan Chunhe wrote: > >> We need to get the pci controller created as an of platform device to >> allow the EDAC driver to bind to it on P4080DS. >> >> Signed-off-by: Kai.Ji

Re: [PATCH 1/3] edac: Use ccsr_pci structure instead of hardcoded define

2010-11-11 Thread Kumar Gala
into one, it is easier to use ccsr_pci > structure than the hardcoded define. So remove the hardcoded define and > add pci/pcie error management register in ccsr_pci structure. > > Signed-off-by: Kai.Jiang > Signed-off-by: Kumar Gala > Signed-off-by: Lan Chunhe > --- &g

Re: [PATCH 1/4][v2] powerpc: add e500 HID1 bit definition

2010-11-11 Thread Kumar Gala
On Nov 3, 2010, at 4:35 AM, Shaohui Xie wrote: > From: Li Yang > > Also make 74xx HID1 definition conditional. > > Signed-off-by: Li Yang > Signed-off-by: Shaohui Xie > Cc: Li Yang > Cc: Kumar Gala > Cc: Roy Zang > Cc: Alexandre Bounine > --- > The

Re: [PATCH 3/4][v2] fsl_rio: move machine_check handler into machine_check_e500 & machine_check_e500mc

2010-11-11 Thread Kumar Gala
On Nov 11, 2010, at 4:19 AM, Xie Shaohui-B21989 wrote: > > > > Best Regards, > Shaohui Xie > > >> -Original Message- >> From: Bounine, Alexandre [mailto:alexandre.boun...@idt.com] >> Sent: Thursday, November 11, 2010 6:55 AM >> To: Xie Shaohui-B21989; a...@linux-foundation.org >> C

Re: [PATCH 3/4][v2] fsl_rio: move machine_check handler into machine_check_e500 & machine_check_e500mc

2010-11-11 Thread Kumar Gala
On Nov 3, 2010, at 4:36 AM, Shaohui Xie wrote: > Signed-off-by: Shaohui Xie > Cc: Li Yang > Cc: Kumar Gala > Cc: Roy Zang > Cc: Alexandre Bounine > --- > arch/powerpc/kernel/traps.c | 14 +- > arch/powerpc/sysdev/fsl_rio.c | 15 +++--

Re: [REPOST][PATCH] mpc8308: fix USB DR controller initialization

2010-11-11 Thread Kumar Gala
On Oct 26, 2010, at 7:02 PM, Ilya Yanok wrote: > MPC8308 has ULPI pin muxing settings in SICRH register, bits 17-18 > which is different from both MPC8313 and MPC8315. > Also MPC8308 doesn't have REFSEL, UTMI_PHY_EN and OTG_PORT fields > in the USB DR controller CONTROL register. > > Signed-off-

Re: [PATCH 2/4][v2] fsl_rio: fix non-standard HID1 register access

2010-11-11 Thread Kumar Gala
On Nov 3, 2010, at 4:36 AM, Shaohui Xie wrote: > Signed-off-by: Shaohui Xie > Cc: Li Yang > Cc: Kumar Gala > Cc: Roy Zang > Cc: Alexandre Bounine > --- > arch/powerpc/kernel/cpu_setup_fsl_booke.S |6 ++ > arch/powerpc/sysdev/fsl_rio.c |2

Re: [PATCH v2] fsldma: add support to 36-bit physical address

2010-11-15 Thread Kumar Gala
On Nov 13, 2010, at 4:43 PM, Timur Tabi wrote: > On Thu, Nov 11, 2010 at 5:56 AM, Kumar Gala wrote: > >> Is there any reason we shouldn't set DMA_BIT_MASK(64) since the DMA block >> programming model allows the address to be 64-bits? > > Can you explain that?

Re: [PATCH v2] fsldma: add support to 36-bit physical address

2010-11-15 Thread Kumar Gala
ng > --- > Add more detailed commit message > > drivers/dma/fsldma.c |4 +++- > 1 files changed, 3 insertions(+), 1 deletions(-) Acked-by: Kumar Gala - k ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

Re: [PATCH v2] fsldma: add support to 36-bit physical address

2010-11-15 Thread Kumar Gala
On Nov 15, 2010, at 10:13 AM, Timur Tabi wrote: > On Mon, Nov 15, 2010 at 9:16 AM, Kumar Gala wrote: > >> The programming model (if you look at the free-space in the registers and >> data structures) supports a 64-bit address. I'm trying to avoid changing >> t

Re: [PATCH] powerpc: Per process DSCR

2010-11-17 Thread Kumar Gala
On Nov 16, 2010, at 6:31 PM, Anton Blanchard wrote: > In order to add per process control of the DSCR, the following patch emulates > read/write of the DSCR from userspace and saves and restores it on context > switch. We add emulated stats to track how many times we do this. > > While writing t

Re: [PATCH] kgdb, ppc: Corrected the address using of current->thread.evr register

2010-11-17 Thread Kumar Gala
On Nov 16, 2010, at 4:02 PM, Jason Wessel wrote: > On 11/16/2010 06:58 AM, Dongdong Deng wrote: >> Passing the address of current->thread.evr register to memcpy function. >> >> > > It turns out that out of all of my test configs and targets I did not > have any that defined both CONFIG_FSL_BOO

[PATCH] powerpc/mm: Fix module instruction tlb fault handling on Book-E 64

2010-11-17 Thread Kumar Gala
the address that faulted was in vmalloc space. We need to look at the supervisor execute (_PAGE_BAP_SX) bit and not the user bit (_PAGE_BAP_UX/_PAGE_EXEC). Also removed a branch level since it did not appear to be used. Reported-by: Jeffrey Ladouceur Signed-off-by: Kumar Gala --- arch/powerpc/

Re: [PATCH] kgdb, ppc: Corrected the address using of current->thread.evr register

2010-11-17 Thread Kumar Gala
On Nov 17, 2010, at 11:21 AM, Jason Wessel wrote: > On 11/17/2010 11:16 AM, Kumar Gala wrote: > >>> Thanks, >>> Jason. >> >> Repost a version with the casts and I'll pick it up. >> >> - k > > I have the final version ready for a pull

Re: [PATCH] kgdb, ppc: Corrected the address using of current->thread.evr register

2010-11-17 Thread Kumar Gala
32 && regno < 64) { > /* FP registers 32 -> 63 */ > #if defined(CONFIG_FSL_BOOKE) && defined(CONFIG_SPE) > - memcpy(current->thread.evr[regno-32], mem, > + memcpy(¤t->thread.evr[regno-32], mem, >

Re: [PATCH 1/7] powerpc/85xx: re-enable timebase sync disabled by KEXEC patch

2010-12-03 Thread Kumar Gala
; > diff --git a/arch/powerpc/platforms/85xx/smp.c > b/arch/powerpc/platforms/85xx/smp.c > index 5c91a99..1e8aec8 100644 > --- a/arch/powerpc/platforms/85xx/smp.c > +++ b/arch/powerpc/platforms/85xx/smp.c > @@ -2,7 +2,7 @@ > * Author: Andy Fleming > * Kumar Gala

Re: [PATCH] USB: Fix USB Kconfig dependency problem on 85xx/QoirQ platforms

2011-01-10 Thread Kumar Gala
e USB IP on them. > > Signed-off-by: Xulei > Signed-off-by: Kumar Gala > --- > drivers/usb/Kconfig |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/drivers/usb/Kconfig b/drivers/usb/Kconfig > index 6a58cb1..d513d3a 100644 > --- a/drivers/usb/

[git pull] Please pull powerpc.git next branch

2011-01-12 Thread Kumar Gala
[ I know I'm way way way way late, but combo of holidays and getting sick. Please push as these are pretty minor changes ] The following changes since commit 0c21e3aaf6ae85bee804a325aa29c325209180fd: Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/hch/hfsplus (2011-0

Re: [PATCH] powerpc: fix warning when compiling immap_qe.h

2011-01-12 Thread Kumar Gala
On Oct 14, 2010, at 3:15 PM, Timur Tabi wrote: > Fix the warnings genereted by arch/powerpc/include/asm/immap_qe.h when > CONFIG_PHYS_ADDR_T_64BIT is defined: > > immap_qe.h: In function 'immrbar_virt_to_phys': > immap_qe.h:472:8: warning: cast from pointer to integer of different size > immap_q

Re: [PATCH] powerpc/85xx: fix compatible properties of the P1022DS DMA nodes used for audio

2011-01-12 Thread Kumar Gala
On Dec 3, 2010, at 10:52 AM, Timur Tabi wrote: > In order to prevent the fsl_dma driver from claiming the DMA channels that the > P1022DS audio driver needs, the compatible properties for those nodes must say > "fsl,ssi-dma-channel" instead of "fsl,eloplus-dma-channel". > > Signed-off-by: Timur

Re: [PATCH] ATA: Add FSL sata v2 controller support

2011-01-17 Thread Kumar Gala
On Jan 17, 2011, at 5:58 AM, Aggrwal Poonam-B10812 wrote: > > >> -Original Message- >> From: linuxppc-dev-bounces+poonam.aggrwal=freescale@lists.ozlabs.org >> [mailto:linuxppc-dev- >> bounces+poonam.aggrwal=freescale@lists.ozlabs.org] On Behalf Of >> Sergei Shtylyov >> Sent: Mon

Re: [PATCH] ATA: Add FSL sata v2 controller support

2011-01-18 Thread Kumar Gala
On Jan 18, 2011, at 7:10 PM, Jeff Garzik wrote: > On 01/17/2011 06:47 AM, Sergei Shtylyov wrote: >> Hello. >> >> On 17-01-2011 10:10, Xulei wrote: >> >>> In FSL sata v2 block, the snoop bit of PRDT Word3 description >>> information is at bit28 instead of bit22. >> >>> This patch adds FSL sata

Re: [PATCH] e500: Erratum cpu a005 workaround

2011-01-24 Thread Kumar Gala
On Jan 25, 2011, at 12:02 AM, Liu Yu wrote: > This errata can occur if a single-precision floating-point, double-precision > floating-point or vector floating-point instruction on a mispredicted branch > path signals one of the floating-point data interrupts which are enabled by > the > SPEFSCR

Re: [PATCH V2 3/6] powerpc/47x: allow kernel to be loaded in higher physical memory

2011-02-01 Thread Kumar Gala
On Feb 1, 2011, at 12:48 PM, Dave Kleikamp wrote: > Signed-off-by: Dave Kleikamp > Cc: Benjamin Herrenschmidt > Cc: Josh Boyer > Cc: linuxppc-dev@lists.ozlabs.org > --- > arch/powerpc/Kconfig |2 +- > arch/powerpc/configs/44x/iss476-smp_defconfig |6 ++-- > arch/

<    5   6   7   8   9   10   11   12   13   14   >