[PATCH] DMA/RaidEngine: Enable FSL RaidEngine

2012-08-21 Thread b29237
From: Xuelin Shi The RaidEngine is a new FSL hardware that used as hardware acceration for RAID5/6. This patch enables the RaidEngine functionality and provides hardware offloading capability for memcpy, xor and raid6 pq computation. It works under dmaengine control with async_layer interface.

Re: [PATCH] powerpc/fsl: fix "Failed to mount /dev: No such device" errors

2012-08-21 Thread Kumar Gala
On Aug 21, 2012, at 5:23 PM, Kim Phillips wrote: > Yocto (Built by Poky 7.0) 1.2 root filesystems fail to boot, > at least over nfs, with: > > Failed to mount /dev: No such device > > Configuring DEVTMPFS fixes it. > > Note: all non-DEVTMPFS changes are due to the side effects of > running mak

[PATCH] powerpc/fsl: fix "Failed to mount /dev: No such device" errors

2012-08-21 Thread Kim Phillips
Yocto (Built by Poky 7.0) 1.2 root filesystems fail to boot, at least over nfs, with: Failed to mount /dev: No such device Configuring DEVTMPFS fixes it. Note: all non-DEVTMPFS changes are due to the side effects of running make savedefconfig. Signed-off-by: Kim Phillips --- if the savedefconf

Re: [PATCH V8] powerpc/fsl-pci: Unify pci/pcie initialization code

2012-08-21 Thread Scott Wood
On 08/20/2012 10:26 PM, Jia Hongtao-B38951 wrote: > > >> -Original Message- >> From: Wood Scott-B07421 >> Sent: Tuesday, August 21, 2012 6:04 AM >> To: Jia Hongtao-B38951 >> Cc: linuxppc-dev@lists.ozlabs.org; ga...@kernel.crashing.org; Li Yang- >> R58472; Bradley Hughes >> Subject: Re: [P

Re: [PATCH V8] powerpc/fsl-pci: Unify pci/pcie initialization code

2012-08-21 Thread Scott Wood
On 08/21/2012 01:09 PM, Li Yang-R58472 wrote: > > > On Aug 22, 2012, at 1:16, "Wood Scott-B07421" wrote: > >> On 08/21/2012 01:49 AM, Li Yang-R58472 wrote: >>> If there is i8259 node in the device tree, it should be suggesting >>> that there is a PCI to ISA bridge but not explicitly described i

[PATCH] powerpc/mm: match variable types to API

2012-08-21 Thread Paul Gortmaker
From: Joe MacDonald sys_subpage_prot() takes an unsigned long for 'addr' then does some stuff with it and the result is stored in a signed int, i, which is eventually used as the size parameter in a copy_from_user call. Update 'i' to be an unsigned long as well and since 'nw' is used in a size_t

Re: [PATCH 4/8] time: Condense timekeeper.xtime into xtime_sec

2012-08-21 Thread John Stultz
On 08/21/2012 12:14 AM, Andreas Schwab wrote: John Stultz writes: @@ -115,6 +115,7 @@ static void tk_xtime_add(struct timekeeper *tk, const struct timespec *ts) { tk->xtime_sec += ts->tv_sec; tk->xtime_nsec += (u64)ts->tv_nsec << tk->shift; + tk_normalize_xtime(tk);

Re: [PATCH V8] powerpc/fsl-pci: Unify pci/pcie initialization code

2012-08-21 Thread Li Yang-R58472
On Aug 22, 2012, at 1:16, "Wood Scott-B07421" wrote: > On 08/21/2012 01:49 AM, Li Yang-R58472 wrote: >> If there is i8259 node in the device tree, it should be suggesting >> that there is a PCI to ISA bridge but not explicitly described in the >> device tree. Then we need to fix the device tre

Re: [PATCH V8] powerpc/fsl-pci: Unify pci/pcie initialization code

2012-08-21 Thread Scott Wood
On 08/21/2012 01:49 AM, Li Yang-R58472 wrote: > If there is i8259 node in the device tree, it should be suggesting > that there is a PCI to ISA bridge but not explicitly described in the > device tree. Then we need to fix the device tree to add the ISA > nodes. No, we need to work with existing d

Re: [PATCH 2/2] powerpc/usb: fix bug of CPU hang when missing USB PHY clock

2012-08-21 Thread Alan Stern
On Mon, 20 Aug 2012, Kumar Gala wrote: > >> Subject: Re: [PATCH 2/2] powerpc/usb: fix bug of CPU hang when missing USB > >> PHY > >> clock > >> > >> > >> On Aug 10, 2012, at 5:48 AM, Shengzhou Liu wrote: > >> > >>> when missing USB PHY clock, kernel booting up will hang during USB > >>> initia

[PATCH] rapidio/tsi721: modify mport name assignment

2012-08-21 Thread Alexandre Bounine
Modify mport device name assignment to provide clear reference to devices in systems with multiple Tsi721 bridges. This patch is applicable to kernel versions starting from v3.2. Signed-off-by: Alexandre Bounine Cc: Matt Porter --- drivers/rapidio/devices/tsi721.c |3 ++- include/linux/rio

[PATCH] rapidio: apply RX/TX enable to active switch ports only

2012-08-21 Thread Alexandre Bounine
Modify RIO enumeration to apply RX/TX enable operations only to active switch ports. This will leave inactive ports in condition consistent with their state. This patch is applicable to kernel versions starting from v2.6.35. Signed-off-by: Alexandre Bounine Cc: Matt Porter --- drivers/rapidio/

Re: [2/3][PATCH][v2] TDM Framework

2012-08-21 Thread Mark Brown
On Wed, Aug 01, 2012 at 05:37:38AM -0700, Greg KH wrote: > On Wed, Aug 01, 2012 at 12:13:19PM +, Singh Sandeep-B37400 wrote: > > But running a complete voice stack itself is beyond the scope of Freescale. > > So vendors integrate their solutions with FSL solution. > And sorry, I was thinking

Re: GE IMP3a

2012-08-21 Thread Kumar Gala
On Aug 21, 2012, at 7:39 AM, Martyn Welch wrote: > On 15/08/12 22:32, Kumar Gala wrote: >> Do you know why ge_imp3a.c has 0x9000 as the 'primary' PCIe bus on the board? >> > > Hi Kumar, > > Sorry, missed your mail. np. > At a quick guess it's because that's the interface that is used for the

Re: [PATCH v3 2/2] powerpc: Uprobes port to powerpc

2012-08-21 Thread Oleg Nesterov
On 08/21, Ananth N Mavinakayanahalli wrote: > > On Fri, Aug 17, 2012 at 05:00:31PM +0200, Oleg Nesterov wrote: > > > > We should also take > > > care of the in-memory copy, in case gdb had inserted a breakpoint at the > > > same location, right? > > > > gdb (or even the application itself) and upro

Re: GE IMP3a

2012-08-21 Thread Martyn Welch
On 15/08/12 22:32, Kumar Gala wrote: > Do you know why ge_imp3a.c has 0x9000 as the 'primary' PCIe bus on the board? > Hi Kumar, Sorry, missed your mail. At a quick guess it's because that's the interface that is used for the on-board PCI devices. Martyn -- Martyn Welch (Lead Software Engin

[PATCH v2 2/2] [powerpc] Export memory limit via device tree

2012-08-21 Thread Suzuki K. Poulose
The powerpc kernel doesn't export the memory limit enforced by 'mem=' kernel parameter. This is required for building the ELF header in kexec-tools to limit the vmcore to capture only the used memory. On powerpc the kexec-tools depends on the device-tree for memory related information, unlike /proc

[PATCH v2 1/2] [powerpc] Change memory_limit from phys_addr_t to unsigned long long

2012-08-21 Thread Suzuki K. Poulose
There are some device-tree nodes, whose values are of type phys_addr_t. The phys_addr_t is variable sized based on the CONFIG_PHSY_T_64BIT. Change these to a fixed unsigned long long for consistency. This patch does the change only for memory_limit. The following is a list of such variables whic

[PATCH v2 0/2][powerpc] Export memory_limit via device tree

2012-08-21 Thread Suzuki K. Poulose
The following series exports the linux memory_limit set by the mem= parameter via device-tree, so that kexec-tools can limit the crash regions to the actual memory used by the kernel. Change since V1: * Added a patch to change the type of memory_limit to a fixed size(unsigned long long) from

Re: [PATCH v3 2/2] powerpc: Uprobes port to powerpc

2012-08-21 Thread Ananth N Mavinakayanahalli
On Fri, Aug 17, 2012 at 05:00:31PM +0200, Oleg Nesterov wrote: > On 08/17, Ananth N Mavinakayanahalli wrote: > > > > On Thu, Aug 16, 2012 at 05:21:12PM +0200, Oleg Nesterov wrote: > > > > > Hmm, I am not sure. is_swbp_insn(insn), as it is used in the arch agnostic > > > code, should only return tru

Re: [PATCH 4/8] time: Condense timekeeper.xtime into xtime_sec

2012-08-21 Thread Andreas Schwab
John Stultz writes: > @@ -115,6 +115,7 @@ static void tk_xtime_add(struct timekeeper *tk, const > struct timespec *ts) > { > tk->xtime_sec += ts->tv_sec; > tk->xtime_nsec += (u64)ts->tv_nsec << tk->shift; > + tk_normalize_xtime(tk); > } Yes, that does it. Failure to normalize