Re: [PATCH 0/3] Rework MPC5121 DIU support (for 2.6.34)

2010-02-27 Thread Grant Likely
Hi Anatolij, On Sat, Feb 27, 2010 at 2:58 PM, Anatolij Gustschin wrote: > This patch series rework DIU support patch submitted > previously with the patch series for updating MPC5121 > support in mainline. It doesn't add new panel timing data > to the framebuffer driver anymore. Instead we now al

Re: [PATCH 2/3] fbdev: fsl-diu-fb.c: allow setting panel video mode from DT

2010-02-27 Thread Grant Likely
On Sat, Feb 27, 2010 at 2:58 PM, Anatolij Gustschin wrote: > Add support for specifying display panel data in the device > tree. If no panel data is provided in the device tree, default > video mode will be used as usual. > > Signed-off-by: Anatolij Gustschin This one seems okay, but the binding

Re: [PATCH 3/3] powerpc/mpc5121: shared DIU framebuffer support

2010-02-27 Thread Grant Likely
On Sat, Feb 27, 2010 at 2:58 PM, Anatolij Gustschin wrote: > MPC5121 DIU configuration/setup as initialized by the boot > loader currently will get lost while booting Linux. As a > result displaying the boot splash is not possible through > the boot process. > > To prevent this we reserve configur

Re: [PATCH 1/3] video: add support for getting video mode from device tree

2010-02-27 Thread Grant Likely
Hi Anatolij, [added cc: to devicetree-disc...@lists.ozlabs.org] On Sat, Feb 27, 2010 at 2:58 PM, Anatolij Gustschin wrote: > Framebuffer drivers may want to get panel timing info > from the device tree. This patch adds appropriate support. > Subsequent patch for FSL DIU frame buffer driver makes

[PATCH 44/66] arch/powerpc/sysdev/cpm2_pic.h: Checkpatch cleanup

2010-02-27 Thread Andrea Gelmini
arch/powerpc/sysdev/cpm2_pic.h:6: ERROR: "(foo*)" should be "(foo *)" Signed-off-by: Andrea Gelmini --- arch/powerpc/sysdev/cpm2_pic.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/powerpc/sysdev/cpm2_pic.h b/arch/powerpc/sysdev/cpm2_pic.h index 30e5828..2c5f70c

Re: Proposal to move PCI out of arch/powerpc and into drivers/of

2010-02-27 Thread Benjamin Herrenschmidt
On Fri, 2010-02-26 at 15:44 -0800, Jesse Barnes wrote: > > Dave and Ben have been talking about this for awhile; seems like a > good > excuse to do it. IIRC they had even thought about just dumping the > code directly into drivers/pci so that API updates won't get > missed... Depends which part

Re: Proposal to move PCI out of arch/powerpc and into drivers/of

2010-02-27 Thread Benjamin Herrenschmidt
On Fri, 2010-02-26 at 16:07 -0700, John Linn wrote: > Hi all, > > We are in the process of putting PCI/PCIe into the microblaze > architecture. > > In order to not duplicate/fork the PCI code in Powerpc, we're proposing > to move the PCI code from arch/powerpc into drivers/of such that it > wou

PCIe switch driver in Linux 2.6.29

2010-02-27 Thread Hu, Bingquan (NSN - CN/Shanghai)
Hi, I am new to this mail list and this is my first post, I apologize if I break some rules. Description of the problem: We incorporated Freescale MPC8548E CPU, PLX PEX8648 PCIe switch and Altera FPGA into our solution. FPGA has one prefetchable 64-bit BAR 0 and 32-bit non-prefetchable Bar2.It

Re: [PATCH v3 09/11] powerpc/mpc5121: shared DIU framebuffer support

2010-02-27 Thread Anatolij Gustschin
On Tue, 16 Feb 2010 11:06:22 -0700 Grant Likely wrote: > [...] > > diff --git a/drivers/video/fsl-diu-fb.c b/drivers/video/fsl-diu-fb.c > > index 72d68b3..29c7f31 100644 > > --- a/drivers/video/fsl-diu-fb.c > > +++ b/drivers/video/fsl-diu-fb.c > > @@ -34,7 +34,7 @@ > >  #include > > > >  #includ

[PATCH 3/3] powerpc/mpc5121: shared DIU framebuffer support

2010-02-27 Thread Anatolij Gustschin
MPC5121 DIU configuration/setup as initialized by the boot loader currently will get lost while booting Linux. As a result displaying the boot splash is not possible through the boot process. To prevent this we reserve configured DIU frame buffer address range while booting and preserve AOI descri

[PATCH 2/3] fbdev: fsl-diu-fb.c: allow setting panel video mode from DT

2010-02-27 Thread Anatolij Gustschin
Add support for specifying display panel data in the device tree. If no panel data is provided in the device tree, default video mode will be used as usual. Signed-off-by: Anatolij Gustschin --- drivers/video/Kconfig |1 + drivers/video/fsl-diu-fb.c | 63 +-

[PATCH 1/3] video: add support for getting video mode from device tree

2010-02-27 Thread Anatolij Gustschin
Framebuffer drivers may want to get panel timing info from the device tree. This patch adds appropriate support. Subsequent patch for FSL DIU frame buffer driver makes use of this functionality. Signed-off-by: Anatolij Gustschin --- drivers/video/Kconfig |5 +++ drivers/video/Makefile |

[PATCH 0/3] Rework MPC5121 DIU support (for 2.6.34)

2010-02-27 Thread Anatolij Gustschin
This patch series rework DIU support patch submitted previously with the patch series for updating MPC5121 support in mainline. It doesn't add new panel timing data to the framebuffer driver anymore. Instead we now allow encoding this data in the device tree. First two patches add this support. Th

[PATCH] powerpc: Fix SMP build with disabled CPU hotplugging.

2010-02-27 Thread Adam Lackorzynski
Compiling 2.6.33 with SMP enabled and HOTPLUG_CPU disabled gives me the following link errors: LD init/built-in.o LD .tmp_vmlinux1 arch/powerpc/platforms/built-in.o: In function `.smp_xics_setup_cpu': smp.c:(.devinit.text+0x88): undefined reference to `.set_cpu_current_state' smp.c:(

Re: [PATCH 1/4] 8xx: Optimze TLB Miss handlers

2010-02-27 Thread Joakim Tjernlund
Kumar Gala wrote on 2010/02/26 21:10:31: > > > On Feb 26, 2010, at 2:29 AM, Joakim Tjernlund wrote: > > >li r11, 0x00f0 > > - rlwimi r10, r11, 0, 24, 28 /* Set 24-27, clear 28 */ > > + rlwimi r10, r11, 0, 0x07f8 /* Set 24-27, clear 21-23,28 */ > >DO_8xx_CPU6(0x2d80, r3) > >

Re: [PATCH 1/4] 8xx: Optimze TLB Miss handlers

2010-02-27 Thread Joakim Tjernlund
Scott Wood wrote on 2010/02/26 20:50:18: > > On Fri, Feb 26, 2010 at 09:29:40AM +0100, Joakim Tjernlund wrote: > > This removes a couple of insn's from the TLB Miss > > handlers whithout changing functionality. > > --- > > Did a quick test of the patchset, seems to work OK (without CONFIG_SWAP or

Re: [net-next-2.6 PATCH v3 0/3] Support for MPC512x FEC

2010-02-27 Thread David Miller
From: Anatolij Gustschin Date: Fri, 26 Feb 2010 23:00:46 +0100 > These patches attempt to provide support for the Freescale MPC512x > FEC in the fs_enet driver. The first cleanup patch replaces printk > by dev_xxx. The second and third attemt to support MPC5121 FEC > in the FEC driver. Applied,

Re: [PATCHv4 2/2] powerpc: implement arch_scale_smt_power for Power7

2010-02-27 Thread Michael Neuling
In message <11927.1267010...@neuling.org> you wrote: > > > If there's less the group will normally be balanced and we fall out and > > > end up in check_asym_packing(). > > > > > > So what I tried doing with that loop is detect if there's a hole in the > > > packing before busiest. Now that I thin