Re: [PATCH 0/5] defconfigs: add MTD_SPI_NOR (dependency for M25P80)

2014-04-17 Thread Brian Norris
Hi, On Thu, Apr 17, 2014 at 12:53:03PM +0200, Thierry Reding wrote: > On Thu, Apr 17, 2014 at 12:21:44AM -0700, Brian Norris wrote: > > We are introducing a new SPI-NOR library/framework for MTD, to support > > various > > types of SPI-NOR flash controllers which require (or benefit from) intimat

Re: [PATCH v3 4/8] DMA: Freescale: add fsl_dma_free_descriptor() to reduce code duplication

2014-04-17 Thread Hongbo Zhang
On 04/14/2014 09:40 PM, Andy Shevchenko wrote: On Fri, 2014-04-11 at 16:14 +0800, Hongbo Zhang wrote: On 04/10/2014 07:29 PM, Andy Shevchenko wrote: On Thu, 2014-04-10 at 15:10 +0800, hongbo.zh...@freescale.com wrote: [] @@ -819,8 +826,7 @@ static void fsldma_cleanup_descriptor(struct fsldm

Re: [PATCH 0/3] of: dts: enable memory@0 quirk for PPC32 only

2014-04-17 Thread Rob Herring
On Thu, Apr 17, 2014 at 12:41 PM, Leif Lindholm wrote: > drivers/of/fdt.c contains a workaround for a missing memory type > entry on longtrail firmware. Make that quirk PPC32 only, and while > at it - fix up the .dts files in the tree currently working only > because of that quirk. But why do you

Re: [PATCH 0/5] defconfigs: add MTD_SPI_NOR (dependency for M25P80)

2014-04-17 Thread Marek Vasut
On Thursday, April 17, 2014 at 09:21:44 AM, Brian Norris wrote: > Hi all, > > We are introducing a new SPI-NOR library/framework for MTD, to support > various types of SPI-NOR flash controllers which require (or benefit from) > intimate knowledge of the flash interface, rather than just the relati

Re: [PATCH 0/5] defconfigs: add MTD_SPI_NOR (dependency for M25P80)

2014-04-17 Thread Thierry Reding
On Thu, Apr 17, 2014 at 12:21:44AM -0700, Brian Norris wrote: > Hi all, > > We are introducing a new SPI-NOR library/framework for MTD, to support various > types of SPI-NOR flash controllers which require (or benefit from) intimate > knowledge of the flash interface, rather than just the relative

[PATCH 3/3] cpufreq: ppc: Fix handling of non-existent clocks

2014-04-17 Thread Geert Uytterhoeven
If the clock doesn't exist, clk_get_rate() returns -EINVAL, which becomes a large number (freq is u32), failing the "freq < min_cpufreq" test. Explicitly test for "(u32)-EINVAL" to fix this. Update the comment, and fix a grammer issue while we're at it. Signed-off-by: Geert Uytterhoeven --- dri

[PATCH 2/3] cpufreq: ppc: Fix integer overflow in expression

2014-04-17 Thread Geert Uytterhoeven
On 32-bit, "12 * NSEC_PER_SEC" doesn't fit in "unsigned long" (NSEC_PER_SEC is a "long" constant), causing an integer overflow: drivers/cpufreq/ppc-corenet-cpufreq.c: In function 'corenet_cpufreq_cpu_init': drivers/cpufreq/ppc-corenet-cpufreq.c:211:9: warning: integer overflow in expression [-Wov

[PATCH 1/3] cpufreq: ppc: Add missing #include

2014-04-17 Thread Geert Uytterhoeven
If CONFIG_SMP=n, does not include , causing: drivers/cpufreq/ppc-corenet-cpufreq.c: In function 'corenet_cpufreq_cpu_init': drivers/cpufreq/ppc-corenet-cpufreq.c:173:3: error: implicit declaration of function 'get_hard_smp_processor_id' [-Werror=implicit-function-declaration] Signed-off-by: Gee

[PATCH 4/5] powerpc: defconfigs: add MTD_SPI_NOR (new dependency for M25P80)

2014-04-17 Thread Brian Norris
These defconfigs contain the CONFIG_M25P80 symbol, which is now dependent on the MTD_SPI_NOR symbol. Add CONFIG_MTD_SPI_NOR to the relevant defconfigs. At the same time, drop the now-nonexistent CONFIG_MTD_CHAR symbol. Signed-off-by: Brian Norris Cc: Benjamin Herrenschmidt Cc: Paul Mackerras C

[PATCH 0/5] defconfigs: add MTD_SPI_NOR (dependency for M25P80)

2014-04-17 Thread Brian Norris
Hi all, We are introducing a new SPI-NOR library/framework for MTD, to support various types of SPI-NOR flash controllers which require (or benefit from) intimate knowledge of the flash interface, rather than just the relatively dumb SPI interface. This library borrows much of the m25p80 driver fo

Powerpc: e1000e cannot work normally after system resume from sleep(standby)

2014-04-17 Thread dongsheng.w...@freescale.com
Hi all, Now I'm developing Freescale PCIe power management feature. The following is my PCIe suspend/resume code. when I test system wake up from sleep(STANDBY), I got below calltrace. Looks like e1000e cannot transfer data, maybe watchdog has some issue. Or maybe some of the other causes. I t