On Nov 2, 2011, at 4:39 AM, Xie Shaohui-B21989 wrote:
>> -Original Message-
>> From: David Laight [mailto:david.lai...@aculab.com]
>> Sent: Wednesday, November 02, 2011 5:07 PM
>> To: Xie Shaohui-B21989; linuxppc-dev@lists.ozlabs.org
>> Cc: linux-...@vger.kernel.org
>> Subject: RE: [PATCH
On Nov 15, 2011, at 9:02 PM, Tabi Timur-B04825 wrote:
> On Mon, Nov 14, 2011 at 2:55 AM, Kokoris, Ioannis
> wrote:
>> Ready register is needed for ROM-less devices such as P1021, MPC859, MPC8306
>> etc.
>> For ROM-based devices such as MCP8323 the Ready register does not exist.
>> Is there a gl
On Nov 9, 2011, at 2:10 PM, Andy Fleming wrote:
>> Fix this by moving the of_mdiobus_register() call earlier.
>>
>> Cc: Andy Fleming
>> Signed-off-by: Baruch Siach
>> ---
>> drivers/net/ethernet/freescale/fsl_pq_mdio.c | 14 +++---
>> 1 files changed, 7 insertions(+), 7 deletions(-)
> Subject: Re: [PATCH 3/3] mtd/nand : workaround for Freescale FCM to support
> large-page Nand chip
>
> On Thu, 2011-11-24 at 08:41 +0800, b35...@freescale.com wrote:
> > + /*
> > +* Freescale FCM controller has a 2K size limitation of
> > buffer
> > +
On Oct 27, 2011, at 9:18 AM, Rusev wrote:
> patch is vs. 2.6.39, yet it applied to 3.1
>
>
>
> Fix of UPM driver for Freescale PowerPC processors
>
> If Freescale LBC driver fails to initialise itself from device tree,
> then internal structure is freed only but not NULL-fied.
> As result fun
On Aug 23, 2011, at 7:30 AM, Joakim Tjernlund wrote:
> QE_General4 should only round up the divisor iff divisor is > 3.
> Rounding up lower divisors makes the error too big, causing USB
> on MPC832x to fail.
>
> Signed-off-by: Joakim Tjernlund
> ---
> arch/powerpc/sysdev/qe_lib/qe.c |2 +-
On Thu, 2011-11-24 at 08:41 +0800, b35...@freescale.com wrote:
> + /*
> +* Freescale FCM controller has a 2K size limitation of buffer
> +* RAM, so elbc_fcm_ctrl->buffer have to be used if writesize
> +* of chip is greater than 2048.
> +
> Subject: [PATCH 3/3] mtd/nand : workaround for Freescale FCM to support
> large-page Nand chip
>
> From: Liu Shuo
>
> Freescale FCM controller has a 2K size limitation of buffer RAM. In order
> to support the Nand flash chip whose page size is larger than 2K bytes,
> we read/write 2k data repe
On Nov 23, 2011, at 11:03 PM, Kumar Gala wrote:
> Ben,
>
> A few minor fixes for FSL PPC SoCs to send up to Linus.
>
> - k
>
> The following changes since commit caca6a03d365883564885f2c1da3e88dcf65d139:
>
> Linux 3.2-rc3 (2011-11-23 20:20:28 -0800)
>
> are available in the git repository a
On Aug 23, 2011, at 3:49 AM, Jiri Slaby wrote:
> On 08/23/2011 09:59 AM, Jiri Slaby wrote:
>> When spi_fsl_espi is chosen to be built as a module, there is a build
>> error because we test only CONFIG_SPI_FSL_ESPI in declaration of
>> struct mpc8xxx_spi in drivers/spi/spi_fsl_lib.h.
>>
>> We nee
On Aug 8, 2011, at 6:18 AM, Julia Lawall wrote:
> From: Julia Lawall
>
> At this point, ehv_pic has been allocated but not stored anywhere, so it
> should be freed before leaving the function.
>
> A simplified version of the semantic match that finds this problem is as
> follows: (http://cocci
On Nov 17, 2011, at 11:56 AM, Dmitry Eremin-Solenikov wrote:
> 85xx board files have a lot of duplication in *_publish_devices()/
> *_declare_of_platform_devices() functions. Merge that into a single
> function common to most of the boards.
>
> Signed-off-by: Dmitry Eremin-Solenikov
> ---
> arc
On Nov 17, 2011, at 11:56 AM, Dmitry Eremin-Solenikov wrote:
> Separate handling of CPM2 PIC initialization to mpc85xx_cpm2_pic_init()
> function.
>
> Signed-off-by: Dmitry Eremin-Solenikov
> ---
> arch/powerpc/platforms/85xx/Makefile |2 +
> arch/powerpc/platforms/85xx/ksi8560.c
On Nov 3, 2011, at 2:38 PM, Timur Tabi wrote:
> Kconfig option PHYS_64BIT sets the size of phys_addr_t to 64 bits, which
> allows support for a 36-bit physical address space. With this option, the
> kernel can support more than 2GB of RAM, but the larger address size
> impacts performance slight
The file name is already scoped by the directory its in.
Signed-off-by: Kumar Gala
---
arch/powerpc/platforms/85xx/Makefile |2 +-
.../platforms/85xx/{mpc85xx_common.c => common.c} |0
2 files changed, 1 insertions(+), 1 deletions(-)
rename arch/powerpc/platforms/85xx/{mp
P1010RDB & P1023RDS can use the new mpc85xx_common_publish_devices().
Also move 'fsl,srio' into the list of standard buses.
Signed-off-by: Kumar Gala
---
arch/powerpc/platforms/85xx/mpc85xx_common.c |1 +
arch/powerpc/platforms/85xx/mpc85xx_mds.c|1 -
arch/powerpc/platforms/85xx/p101
On Nov 17, 2011, at 8:48 AM, Dmitry Eremin-Solenikov wrote:
> Traditionally mpc830x_rdb board file searched for mpc8308-pcie devices.
> However both in-kernel dts from the beginning declared those pcie units
> as compatible with mpc8314-pci, which is handled by mpc83xx_setup_pci().
>
> Drop spec
On Nov 17, 2011, at 8:48 AM, Dmitry Eremin-Solenikov wrote:
> Nearly all mpc83xx-based boards have a common piece of code - one that
> loops over all pci/pcie bridges and registers them. Merge that code into
> a special function common to all boards.
>
> Signed-off-by: Dmitry Eremin-Solenikov
>
On Nov 17, 2011, at 8:48 AM, Dmitry Eremin-Solenikov wrote:
> 83xx board files have a lot of duplication in
> *_declare_of_platform_devices() functions. Merge that into a single
> function common to most of the boards.
>
> The only leftover is mpc834x_itx.c board file which explicitly asks for
>
On Jul 22, 2011, at 2:55 PM, Dmitry Eremin-Solenikov wrote:
> On mpc83xx platform nearly all _init_IRQ functions look alike. They either
> just setup ipic, or setup ipic and QE PIC. Separate this to special functions
> to be either referenced from ppc_md, or called from board file.
>
> Signed-of
On Nov 24, 2011, at 12:07 AM, Anton Blanchard wrote:
> We can use clockevents_calc_mult_shift instead of doing all
> the work ourselves.
>
> Signed-off-by: Anton Blanchard
> ---
>
> Index: linux-build/arch/powerpc/kernel/time.c
>
Hello,
Thanks for the comments. Please see inline.
Regards,
Tanmay
On Wed, Nov 23, 2011 at 3:53 PM, Paul Bolle wrote:
> Tanmay,
>
> (Some minor Kconfig related comments follow.)
>
> On Wed, 2011-11-23 at 15:14 +0530, Tanmay Inamdar wrote:
> > The AppliedMicro APM8018X embedded processor target
decrementer_check_overflow is called from arch_local_irq_restore so
we want to make it as light weight as possible. As such, turn
decrementer_check_overflow into an inline function.
To avoid a circular mess of includes, separate out the two components
of struct decrementer_clock and keep the struc
Fix some formatting issues and use the DECREMENTER_MAX
define instead of 0x7fff.
Signed-off-by: Anton Blanchard
---
Index: linux-build/arch/powerpc/kernel/time.c
===
--- linux-build.orig/arch/powerpc/kernel/time.c 2011-11-24 16:
The clockevents code uses max_delta_ns to avoid calling a
clockevent with too large a value.
Remove the redundant version of this in the timer_interrupt
code.
Signed-off-by: Anton Blanchard
---
Index: linux-build/arch/powerpc/kernel/time.c
===
Use clocksource_register_hz which calculates the shift/mult
factors for us. Also remove the shift = 22 assumption in
vsyscall_update - thanks to Paul Mackerras and John Stultz for
catching that.
Signed-off-by: Anton Blanchard
---
Index: linux-build/arch/powerpc/kernel/time.c
We can use clockevents_calc_mult_shift instead of doing all
the work ourselves.
Signed-off-by: Anton Blanchard
---
Index: linux-build/arch/powerpc/kernel/time.c
===
--- linux-build.orig/arch/powerpc/kernel/time.c 2011-11-17 10:11:49
When re-enabling interrupts we have code to handle edge sensitive
decrementers by resetting the decrementer to 1 whenever it is negative.
If interrupts were disabled long enough that the decrementer wrapped to
positive we do nothing. This means interrupts can be delayed for a long
time until it fin
Here is a roll up of various time fixes I have pending.
Anton
___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev
On Nov 18, 2011, at 11:50 AM, Timur Tabi wrote:
> The Freescale P1022 has a unique pin muxing "feature" where the DIU video
> controller's video signals are muxed with 24 of the local bus address signals.
> When the DIU is enabled, the bulk of the local bus is disabled, preventing
> access to mem
On Nov 18, 2011, at 11:49 AM, Timur Tabi wrote:
> The Freescale P1022 has a unique pin muxing "feature" where the DIU video
> controller's video signals are muxed with 24 of the local bus address signals.
> When the DIU is enabled, the bulk of the local bus is disabled, preventing
> access to mem
On Nov 21, 2011, at 12:29 AM, Jia Hongtao wrote:
> Power supply for LBC registers is off when system go to deep-sleep state.
> We save the values of registers before suspend and restore to registers
> after resume.
>
> We removed the last two reservation arrays from struct fsl_lbc_regs for
> all
On Oct 28, 2011, at 3:08 AM, Jia Hongtao wrote:
> From: Jason Jin
>
> Current pci/pcie init code will hide the pci/pcie host resource.
> But did not judge it is host/RC or agent/EP. If configured as
> agent/EP, we should avoid hiding its resource in the host side.
>
> In PCI system, the Progra
Ben,
A few minor fixes for FSL PPC SoCs to send up to Linus.
- k
The following changes since commit caca6a03d365883564885f2c1da3e88dcf65d139:
Linux 3.2-rc3 (2011-11-23 20:20:28 -0800)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/galak/powerpc.git me
* set_dabr/do_dabr are no longer used when CNFIG_PPC_ADV_DEBUG_REGS is set
refactor code a bit such that we only build the dabr code for
!CONFIG_PPC_ADV_DEBUG_REGS and removed some CONFIG_PPC_ADV_DEBUG_REGS
code in set_dabr that would never get built.
* Move do_send_t
On Nov 22, 2011, at 12:20 AM, Jia Hongtao-B38951 wrote:
> Hi Kumar,
> We want more comments on this series of patches ([1/2] & [2/2]) to speed up
> the pushing-to-kernel progress.
> Thanks.
I think the code is fine, but you need to update it for all the boards include
the 86xx ones.
- k
>
>
From: Liu Shuo
When we do a non-full-page write, the length be set to FBCR should
not be 'elbc_fcm_ctrl->index', it should be 'elbc_fcm_ctrl->index -
elbc_fcm_ctrl->column'.
Signed-off-by: Liu Shuo
Signed-off-by: Li Yang
---
drivers/mtd/nand/fsl_elbc_nand.c |3 ++-
1 files changed, 2 inse
From: Liu Shuo
Freescale FCM controller has a 2K size limitation of buffer RAM. In order
to support the Nand flash chip whose page size is larger than 2K bytes,
we read/write 2k data repeatedly by issuing FIR_OP_RB/FIR_OP_WB and save
them to a large buffer.
Signed-off-by: Liu Shuo
Signed-off-by
From: Liu Shuo
On both of large-page chip and small-page chip, we always should use
'elbc_fcm_ctrl->oob' to set the FPAR_LP_MS/FPAR_SP_MS bit of FPAR, don't
use a overflowed 'column' to set it.
Signed-off-by: Liu Shuo
Signed-off-by: Li Yang
---
drivers/mtd/nand/fsl_elbc_nand.c | 18
On Wed, Nov 23, 2011 at 08:12:56PM +0800, Li Yang wrote:
> The original implementation of dequeuing a request in progress
> is not correct. Change to use a correct process and also clean
> up the related functions a little bit.
>
> Signed-off-by: Li Yang
> Cc: Peter Chen
> ---
> drivers/usb/ga
On Sat, Nov 19, 2011 at 08:54:24AM +1100, Paul Mackerras wrote:
> On Fri, Nov 18, 2011 at 02:57:11PM +0100, Alexander Graf wrote:
> >
> > This touches areas that I'm sure non-PPC people would want to see as
> > well. Could you please CC kvm@vger too next time?
> >
> > Avi, Marcelo, mind to review
On Thu, Nov 17, 2011 at 10:55:49AM +1100, Paul Mackerras wrote:
> >From dfd5bcfac841f8a36593edf60d9fb15e0d633287 Mon Sep 17 00:00:00 2001
> From: Paul Mackerras
> Date: Mon, 14 Nov 2011 13:30:38 +1100
> Subject:
>
> Currently, kvmppc_h_enter takes a spinlock that is global to the guest,
> kvm->m
On Mon, Nov 14, 2011 at 12:41 AM, Suzuki K. Poulose wrote:
> The current implementation of CONFIG_RELOCATABLE in BookE is based
> on mapping the page aligned kernel load address to KERNELBASE. This
> approach however is not enough for platforms, where the TLB page size
> is large (e.g, 256M on 44x
On Mon, Nov 14, 2011 at 12:41 AM, Suzuki K. Poulose wrote:
> Kexec is not supported on 47x. 47x is a variant of 44x with slightly
> different MMU and SMP support. There was a typo in the Kconfig
> dependency for KEXEC. This patch fixes the same.
>
> Signed-off-by: Suzuki K. Poulose
> Cc: Kuma
On Nov 23, 2011, at 3:44 AM, Tanmay Inamdar wrote:
> arch/powerpc/kernel/udbg_16550.c| 22 +
Would be probably good to split this change into its own patch.
- k
___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozl
On Wednesday 23 November 2011, Tanmay Inamdar wrote:
> The AppliedMicro APM8018X embedded processor targets embedded applications
> that
> require low power and a small footprint. It features a PowerPC 405 processor
> core built in a 65nm low-power CMOS process with a five-stage pipeline
> execut
On Wed, Nov 23, 2011 at 4:44 AM, Tanmay Inamdar wrote:
>
> diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
> index b177caa..3f2cc36 100644
> --- a/arch/powerpc/Kconfig
> +++ b/arch/powerpc/Kconfig
> @@ -978,3 +978,9 @@ config PPC_LIB_RHEAP
> bool
>
> source "arch/powerpc/kvm/Kconf
On Wed, 2011-11-23 at 18:26 +0530, Amit Shah wrote:
> On (Wed) 23 Nov 2011 [16:08:52], Amit Shah wrote:
> > With this setup, with and without patches, I can spawn two consoles
> > via:
> >
> > /sbin/agetty /dev/hvc0 9600 vt100
> > /sbin/agetty /dev/hvc1 9600 vt100
> >
> > (Strange thing is, the s
On (Wed) 23 Nov 2011 [15:06:04], Sasha Levin wrote:
> On Wed, 2011-11-23 at 18:26 +0530, Amit Shah wrote:
> > On (Wed) 23 Nov 2011 [16:08:52], Amit Shah wrote:
> > > With this setup, with and without patches, I can spawn two consoles
> > > via:
> > >
> > > /sbin/agetty /dev/hvc0 9600 vt100
> > > /
On (Wed) 23 Nov 2011 [16:08:52], Amit Shah wrote:
> With this setup, with and without patches, I can spawn two consoles
> via:
>
> /sbin/agetty /dev/hvc0 9600 vt100
> /sbin/agetty /dev/hvc1 9600 vt100
>
> (Strange thing is, the second one gives a 'password incorrect' error
> on login attempts, wh
于 2011年11月23日 07:55, Scott Wood 写道:
On 11/15/2011 03:29 AM, b35...@freescale.com wrote:
From: Liu Shuo
Freescale FCM controller has a 2K size limitation of buffer RAM. In order
to support the Nand flash chip whose page size is larger than 2K bytes,
we read/write 2k data repeatedly by issuing FI
The original implementation of dequeuing a request in progress
is not correct. Change to use a correct process and also clean
up the related functions a little bit.
Signed-off-by: Li Yang
Cc: Peter Chen
---
drivers/usb/gadget/fsl_udc_core.c | 68 +---
drivers/
On (Thu) 17 Nov 2011 [10:57:37], Miche Baker-Harvey wrote:
> Rusty, Michael, Stephen, et al,
>
> Thanks for your comments on these patches.
>
> For what I'm trying to do, all three patches are necessary, but maybe
> I'm going about it the wrong way. Your input would be appreciated.
> I'm in no wa
Tanmay,
(Some minor Kconfig related comments follow.)
On Wed, 2011-11-23 at 15:14 +0530, Tanmay Inamdar wrote:
> The AppliedMicro APM8018X embedded processor targets embedded applications
> that
> require low power and a small footprint. It features a PowerPC 405 processor
> core built in a 65nm
>-Original Message-
>From: Peter Chen [mailto:hzpeterc...@gmail.com]
>Sent: Wednesday, November 23, 2011 11:02 AM
>To: Li Yang-R58472
>Cc: Chen Peter-B29397; ba...@ti.com; gre...@suse.de; linux-
>u...@vger.kernel.org; linuxppc-dev@lists.ozlabs.org
>Subject: Re: [PATCH] usb/fsl_udc: fix de
55 matches
Mail list logo