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

2012-08-21 Thread Li Yang-R58472
-Original Message- From: Jia Hongtao-B38951 Sent: Tuesday, August 21, 2012 11:26 AM To: Wood Scott-B07421 Cc: linuxppc-dev@lists.ozlabs.org; ga...@kernel.crashing.org; Li Yang- R58472; Bradley Hughes Subject: RE: [PATCH V8] powerpc/fsl-pci: Unify pci/pcie initialization code

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

2012-08-21 Thread Andreas Schwab
John Stultz john.stu...@linaro.org 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

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 true if insn ==

[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

[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

[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

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

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 uprobes can

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: [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 you

[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 alexandre.boun...@idt.com Cc: Matt

[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 alexandre.boun...@idt.com Cc: Matt Porter mpor...@kernel.crashing.org ---

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 initialization. We should check

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

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 b07...@freescale.com 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

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 john.stu...@linaro.org 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; +

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

2012-08-21 Thread Paul Gortmaker
From: Joe MacDonald joe.macdon...@windriver.com 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

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 b07...@freescale.com 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

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: [PATCH V8]

[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

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 make