[PATCH]qonverge/usb: Add first usb controller node

2013-02-28 Thread Ramneek Mehresh
Add first usb controller node for qonverge qoriq platforms like B4860, etc Signed-off-by: Ramneek Mehresh --- Applies on git://git.kernel.org/pub/scm/linux/kernel/git/galak/powerpc.git (branch next) arch/powerpc/boot/dts/fsl/qonverge-usb2-dr-0.dtsi | 41 +++ 1 file changed,

Re: [PATCH] Enhanced support for MPC8xx/8xxx watchdog

2013-02-28 Thread leroy christophe
Hi Wim, Le 27/02/2013 20:52, Wim Van Sebroeck a écrit : The rest of the code is OK and when above comments are corrected, I will add the patch to improve the userspace experience. Kind regards, Wim. Ok, I'll fix and re-submit my patch according to your comments. Best regards Christophe _

[PATCH v2] Enhanced support for MPC8xx/8xxx watchdog

2013-02-28 Thread Christophe Leroy
This patch modifies the behaviour of the MPC8xx/8xxx watchdog. On the MPC8xx, at 133Mhz, the maximum timeout of the watchdog timer is 1s, which means it must be pinged twice a second. This is not in line with the Linux watchdog concept which is based on a default watchdog timeout around 60s. This p

Re: [PATCH] drivers/tty/hvc: using strlcpy instead of strncpy

2013-02-28 Thread Jiri Slaby
On 02/26/2013 04:43 AM, Chen Gang wrote: > > when strlen pi->location_code is larger than HVCS_CLC_LENGTH + 1, > original implementation can not let hvcsd->p_location_code NUL terminated. > so need fix it (also can simplify the code) It should never be larger because the +1 is exactly for

Re: [PATCH] drivers/tty/hvc: using strlcpy instead of strncpy

2013-02-28 Thread Chen Gang
于 2013年02月28日 18:41, Jiri Slaby 写道: > On 02/26/2013 04:43 AM, Chen Gang wrote: >> > >> > when strlen pi->location_code is larger than HVCS_CLC_LENGTH + 1, >> > original implementation can not let hvcsd->p_location_code NUL >> > terminated. >> > so need fix it (also can simplify the code)

Re: [PATCH] drivers/tty/hvc: using strlcpy instead of strncpy

2013-02-28 Thread Chen Gang
于 2013年02月28日 19:13, Chen Gang 写道: > 于 2013年02月28日 18:41, Jiri Slaby 写道: >> On 02/26/2013 04:43 AM, Chen Gang wrote: when strlen pi->location_code is larger than HVCS_CLC_LENGTH + 1, original implementation can not let hvcsd->p_location_code NUL terminated. so need

Re: [PATCH -V1 05/24] powerpc: Move the pte free routines from common header

2013-02-28 Thread Paul Mackerras
On Tue, Feb 26, 2013 at 01:34:55PM +0530, Aneesh Kumar K.V wrote: > From: "Aneesh Kumar K.V" > > This patch move the common code to 32/64 bit headers. We will ^ moves > later change the 64 bit version to support smaller PTE fragments > > Signed-off-by: Aneesh Kumar K.V Acked-by:

Re: [PATCH v6 04/46] percpu_rwlock: Implement the core design of Per-CPU Reader-Writer Locks

2013-02-28 Thread Michel Lespinasse
On Thu, Feb 28, 2013 at 3:25 AM, Oleg Nesterov wrote: > On 02/27, Michel Lespinasse wrote: >> >> +void lg_rwlock_local_read_lock(struct lgrwlock *lgrw) >> +{ >> + preempt_disable(); >> + >> + if (__this_cpu_read(*lgrw->local_refcnt) || >> + arch_spin_trylock(this_cpu_ptr(lgrw

Re: [PATCH] drivers/tty/hvc: using strlcpy instead of strncpy

2013-02-28 Thread Jiri Slaby
On 02/28/2013 12:15 PM, Chen Gang wrote: > 于 2013年02月28日 19:13, Chen Gang 写道: >> 于 2013年02月28日 18:41, Jiri Slaby 写道: >>> On 02/26/2013 04:43 AM, Chen Gang wrote: > > when strlen pi->location_code is larger than HVCS_CLC_LENGTH + 1, > original implementation can not let hvcsd->p_lo

[PATCH 014/139] uprobes/powerpc: Add dependency on single step emulation

2013-02-28 Thread Luis Henriques
3.5.7.7 -stable review patch. If anyone has any objections, please let me know. -- From: "Suzuki K. Poulose" commit 5e249d4528528c9a77da051a89ec7f99d31b83eb upstream. Uprobes uses emulate_step in sstep.c, but we haven't explicitly specified the dependency. On pseries HAVE_HW_B

Re: [PATCH 2/6] powerpc/fsl_pci: Store the platform device information corresponding to the pci controller.

2013-02-28 Thread Kumar Gala
On Feb 27, 2013, at 4:56 AM, Sethi Varun-B16395 wrote: > This patch is present in the "next branch" of linux ppc tree maintained by > Kumar Gala. > Following is the commit id: > 52c5affc545053d37c0b05224bbf70f5336caa20 > > I am not sure if this would be part of 3.9-rc1. > > Regards > varun Th

Re: [PATCH 3/6] powerpc/fsl_pci: Added defines for the FSL PCI controller BRR1 register.

2013-02-28 Thread Kumar Gala
On Feb 27, 2013, at 5:33 AM, Joerg Roedel wrote: > On Mon, Feb 18, 2013 at 06:22:16PM +0530, Varun Sethi wrote: >> Macros for checking FSL PCI controller version. >> >> Signed-off-by: Varun Sethi >> --- >> arch/powerpc/include/asm/pci-bridge.h |4 >> 1 files changed, 4 insertions(+), 0

Re: [PATCH 1/6 v8] iommu/fsl: Store iommu domain information pointer in archdata.

2013-02-28 Thread Kumar Gala
On Feb 27, 2013, at 6:04 AM, Sethi Varun-B16395 wrote: > Hi Kumar,Ben, > I am implementing the Freescale PAMU (IOMMU) driver using the Linux IOMMU > API. In this particular patch, I have added a new field to dev_archdata > structure to store the dma domain information. > This field is updated w

Re: [PATCH v6 04/46] percpu_rwlock: Implement the core design of Per-CPU Reader-Writer Locks

2013-02-28 Thread Oleg Nesterov
On 02/28, Michel Lespinasse wrote: > > On Thu, Feb 28, 2013 at 3:25 AM, Oleg Nesterov wrote: > > On 02/27, Michel Lespinasse wrote: > >> > >> +void lg_rwlock_local_read_lock(struct lgrwlock *lgrw) > >> +{ > >> + preempt_disable(); > >> + > >> + if (__this_cpu_read(*lgrw->local_refcnt)

Re: [PATCH v6 04/46] percpu_rwlock: Implement the core design of Per-CPU Reader-Writer Locks

2013-02-28 Thread Oleg Nesterov
On 02/28, Oleg Nesterov wrote: > On 02/28, Michel Lespinasse wrote: > > > > On Thu, Feb 28, 2013 at 3:25 AM, Oleg Nesterov wrote: > > > On 02/27, Michel Lespinasse wrote: > > >> > > >> +void lg_rwlock_local_read_lock(struct lgrwlock *lgrw) > > >> +{ > > >> + preempt_disable(); > > >> + > > >

Re: [PATCH 1/6 v8] iommu/fsl: Store iommu domain information pointer in archdata.

2013-02-28 Thread Alexey Kardashevskiy
Hi! On POWERNV we use only the part of IOMMU API which handles devices and groups. We do not use IOMMU domains as VFIO containers do everything we need for VFIO and we do not implement iommu_ops as it is not very relevant to our architecture (does not give dma window properties, etc). So you

Re: [PATCH 0/3] Enable multiple MSI feature in pSeries

2013-02-28 Thread Mike
Hi all Any comments? or any questions about my patchset? Thanks Mike 在 2013-01-15二的 15:38 +0800,Mike Qiu写道: > Currently, multiple MSI feature hasn't been enabled in pSeries, > These patches try to enbale this feature. > > These patches have been tested by using ipr driver, and the driver patch >

Re: [PATCH 0/3] Enable multiple MSI feature in pSeries

2013-02-28 Thread Michael Ellerman
On Fri, Mar 01, 2013 at 11:08:45AM +0800, Mike wrote: > Hi all > > Any comments? or any questions about my patchset? You were going to get some performance numbers that show a definite benefit for using more than one MSI. cheers ___ Linuxppc-dev mailin