Re: [PATCH 1/1] powerpc/85xx: Board support for ppa8548

2013-02-01 Thread Timur Tabi
On Fri, Feb 1, 2013 at 6:31 PM, Scott Wood wrote: > > I guess the reason you're not using fsl/mpc8548si-post.dtsi is that you > don't want PCI. Maybe PCI and srio should be moved out of that file, or > ifdeffed if 85xx ever ends up using the preprocessor for its device trees. Wouldn't it be easi

linux-next: build failure after merge of the tip tree

2013-02-01 Thread Stephen Rothwell
Hi all, After merging the tip tree, today's linux-next build (powerpc ppc64_defconfig) failed like this: arch/powerpc/perf/power7-pmu.c:397:2: error: initialization from incompatible pointer type [-Werror] arch/powerpc/perf/power7-pmu.c:397:2: error: (near initialization for 'power7_events_attr

Re: [PATCH] powerpc/512x: add function for CS parameter configuration

2013-02-01 Thread Timur Tabi
On Fri, Feb 1, 2013 at 7:28 AM, Anatolij Gustschin wrote: > Add ability to configure CS parameters for devices that need > different CS parameters setup after their configuration. I.e. > an FPGA device on LP bus can require different CS parameters > for its bus interface after loading firmware int

Re: [PATCH 1/1] powerpc/85xx: Board support for ppa8548

2013-02-01 Thread Scott Wood
On 02/01/2013 09:36:53 AM, Stef van Os wrote: + memory { + device_type = "memory"; + reg = <0 0 0x0 0x4000>; + }; You have a "filled in by U-Boot" comment elsewhere in the file, but you aren't letting U-Boot fill in the memory size? + board

Re: [RFC PATCH v2 01/12] Add sys_hotplug.h for system device hotplug framework

2013-02-01 Thread Toshi Kani
On Fri, 2013-02-01 at 23:21 +0100, Rafael J. Wysocki wrote: > On Friday, February 01, 2013 01:40:10 PM Toshi Kani wrote: > > On Fri, 2013-02-01 at 07:30 +, Greg KH wrote: > > > On Thu, Jan 31, 2013 at 06:32:18PM -0700, Toshi Kani wrote: > > > > This is already done for PCI host bridges and pla

Re: [RFC PATCH v2 01/12] Add sys_hotplug.h for system device hotplug framework

2013-02-01 Thread Rafael J. Wysocki
On Friday, February 01, 2013 01:40:10 PM Toshi Kani wrote: > On Fri, 2013-02-01 at 07:30 +, Greg KH wrote: > > On Thu, Jan 31, 2013 at 06:32:18PM -0700, Toshi Kani wrote: > > > This is already done for PCI host bridges and platform devices and I > > don't > > > > see why we can't do that for

Re: [RFC PATCH v2 01/12] Add sys_hotplug.h for system device hotplug framework

2013-02-01 Thread Rafael J. Wysocki
On Friday, February 01, 2013 08:23:12 AM Greg KH wrote: > On Thu, Jan 31, 2013 at 09:54:51PM +0100, Rafael J. Wysocki wrote: > > > > But, again, I'm going to ask why you aren't using the existing cpu / > > > > memory / bridge / node devices that we have in the kernel. Please use > > > > them, or g

Re: [RFC PATCH v2 01/12] Add sys_hotplug.h for system device hotplug framework

2013-02-01 Thread Toshi Kani
On Fri, 2013-02-01 at 07:30 +, Greg KH wrote: > On Thu, Jan 31, 2013 at 06:32:18PM -0700, Toshi Kani wrote: > > This is already done for PCI host bridges and platform devices and I don't > > > see why we can't do that for the other types of devices too. > > > > > > The only missing piece I se

Re: Why is the e500v2 core not using cpuidle?

2013-02-01 Thread Scott Wood
On 02/01/2013 06:06:05 AM, Thomas Waldecker wrote: Hi, As part of my masterthesis I was just looking around the kernel sources for cpuidle and figured out that the only CPU in the PowerPC architecture using the cpuidle framework is the pseries. I assume the e500v2 core is using the idle modes i

[PATCH 1/1] powerpc/85xx: Board support for ppa8548

2013-02-01 Thread Stef van Os
Initial board support for the Prodrive PPA8548 AMC module. Board is an MPC8548 AMC platform used in RapidIO systems. This module is also used to test/work on mainline linux RapidIO software. PPA8548 overview: - 1.3 GHz Freescale PowerQUICC III MPC8548 processor - 1 GB DDR2 @ 266 MHz - 8 MB NOR fla

[PATCH] powerpc/512x: add function for CS parameter configuration

2013-02-01 Thread Anatolij Gustschin
Add ability to configure CS parameters for devices that need different CS parameters setup after their configuration. I.e. an FPGA device on LP bus can require different CS parameters for its bus interface after loading firmware into it. A driver can easily reconfigure the LPC CS parameters using t

Why is the e500v2 core not using cpuidle?

2013-02-01 Thread Thomas Waldecker
Hi, As part of my masterthesis I was just looking around the kernel sources for cpuidle and figured out that the only CPU in the PowerPC architecture using the cpuidle framework is the pseries. I assume the e500v2 core is using the idle modes in arch/powerpc/kernel/idle_e500.S Why is there no

[RFC PATCH 5/5] powerpc: select HAVE_CONTEXT_TRACKING for pSeries

2013-02-01 Thread Li Zhong
Start context tracking support from pSeries. Signed-off-by: Li Zhong --- arch/powerpc/platforms/pseries/Kconfig |1 + 1 file changed, 1 insertion(+) diff --git a/arch/powerpc/platforms/pseries/Kconfig b/arch/powerpc/platforms/pseries/Kconfig index 837cf49..a9570fe 100644 --- a/arch/powerpc

[RFC PATCH 4/5] powerpc: Use the new schedule_user API on userspace preemption

2013-02-01 Thread Li Zhong
This patch corresponds to [PATCH] x86: Use the new schedule_user API on userspace preemption commit 0430499ce9d78691f3985962021b16bf8f8a8048 Signed-off-by: Li Zhong --- arch/powerpc/include/asm/context_tracking.h | 11 +++ arch/powerpc/kernel/entry_64.S |3 ++- 2 fil

[RFC PATCH 3/5] powerpc: Exit user context on notify resume

2013-02-01 Thread Li Zhong
This patch allows RCU usage in do_notify_resume, e.g. signal handling. It corresponds to [PATCH] x86: Exit RCU extended QS on notify resume commit edf55fda35c7dc7f2d9241c3abaddaf759b457c6 Signed-off-by: Li Zhong --- arch/powerpc/kernel/signal.c |5 + 1 file changed, 5 insertions(+) di

[RFC PATCH 2/5] powerpc: Exception hooks for context tracking subsystem

2013-02-01 Thread Li Zhong
This is the exception hooks for context tracking subsystem, including data access, program check, single step, instruction breakpoint, machine check, alignment, fp unavailable, altivec assist, unknown exception, whose handlers might use RCU. This patch corresponds to [PATCH] x86: Exception hooks f

[RFC PATCH 1/5] powerpc: Syscall hooks for context tracking subsystem

2013-02-01 Thread Li Zhong
This is the syscall slow path hooks for context tracking subsystem, corresponding to [PATCH] x86: Syscall hooks for userspace RCU extended QS commit bf5a3c13b939813d28ce26c01425054c740d6731 TIF_MEMDIE is moved to the second 16-bits (with value 17), as it seems there is no asm code using it. TIF_

[RFC PATCH 0/5] powerpc: Support context tracking for Power pSeries

2013-02-01 Thread Li Zhong
These patches try to support context tracking for Power arch, beginning with 64-bit pSeries. The codes are ported from that of the x86_64, and in each patch, I listed the corresponding patch for x86. Would you please help review and give your comments? Thanks, Zhong Li Zhong (5): powerpc: Sys

Re: [PATCH 22/25] perf: Make EVENT_ATTR global

2013-02-01 Thread Ingo Molnar
* Arnaldo Carvalho de Melo wrote: > From: Sukadev Bhattiprolu > > Rename EVENT_ATTR() to PMU_EVENT_ATTR() and make it global so it is > available to all architectures. > > Further to allow architectures flexibility, have PMU_EVENT_ATTR() pass > in the variable name as a parameter. > > Change

Re: [GIT PULL 00/25] perf/core improvements and fixes

2013-02-01 Thread Ingo Molnar
* Arnaldo Carvalho de Melo wrote: > Hi Ingo, > > Please consider pulling, > > - Arnaldo > > The following changes since commit 152fefa921535665f95840c08062844ab2f5593e: > > Merge tag 'perf-core-for-mingo' of > git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core

[PATCH 2/2] gianfar: Add a parameter to support allocation skb GFP_KERNEL and GFP_ATOMIC

2013-02-01 Thread Jianhua Xie
While allocation skb in IRQ/SOFTIRQ, such as processing each frame in the rx ring, alloc skb should be ATOMIC based, should not sleep. When allocation skb is not in IRQ/SOFTIRQ, such as allocation skb when initializing a net driver, starting up the NIC from stopped status. In this case, it is not

[PATCH 1/2] gianfar: Clean up an unnecessary function gfar_new_skb

2013-02-01 Thread Jianhua Xie
Clean up an unnecessary function gfar_new_skb, since gfar_new_skb() has the same parameters, return value and function as gfar_alloc_skb(), should be cleaned up. Signed-off-by: Jianhua Xie --- drivers/net/ethernet/freescale/gianfar.c | 11 +++ 1 file changed, 3 insertions(+), 8 deletio