Re: [PATCH v9 03/19] vfio: platform: add the VFIO PLATFORM module to Kconfig

2014-11-13 Thread Hongbo Zhang
On 12 November 2014 17:57, Antonios Motakis wrote: > Hello Hongbo, > > On Wed, Nov 12, 2014 at 10:52 AM, Hongbo Zhang > wrote: >> On 28 October 2014 02:07, Antonios Motakis >> wrote: >>> >>> Enable building the VFIO PLATFORM driver that allows t

Re: [PATCH v9 03/19] vfio: platform: add the VFIO PLATFORM module to Kconfig

2014-11-12 Thread Hongbo Zhang
On 12 November 2014 19:00, bharat.bhus...@freescale.com wrote: > > >> -Original Message----- >> From: Hongbo Zhang [mailto:hongbo.zh...@linaro.org] >> Sent: Wednesday, November 12, 2014 4:09 PM >> To: Bhushan Bharat-R65777 >> Cc: Antonios Motakis; open l

Re: [PATCH v9 03/19] vfio: platform: add the VFIO PLATFORM module to Kconfig

2014-11-12 Thread Hongbo Zhang
edu > [mailto:kvmarm-boun...@lists.cs.columbia.edu] On Behalf Of Hongbo Zhang > Sent: Wednesday, November 12, 2014 3:08 PM > To: Antonios Motakis > Cc: open list:VFIO DRIVER; will.dea...@arm.com; alex.william...@redhat.com; > open list; io...@lists.linux-foundation.org; t...@virtualopens

Re: [PATCH v9 03/19] vfio: platform: add the VFIO PLATFORM module to Kconfig

2014-11-12 Thread Hongbo Zhang
On 28 October 2014 02:07, Antonios Motakis wrote: > > Enable building the VFIO PLATFORM driver that allows to use Linux platform > devices with VFIO. > > Signed-off-by: Antonios Motakis > --- > drivers/vfio/Kconfig | 1 + > drivers/vfio/Makefile | 1 + > drivers/vfio/platform/

Re: [PATCH v4 8/8] DMA: Freescale: add suspend resume functions for DMA driver

2014-05-20 Thread Hongbo Zhang
On 05/21/2014 11:45 AM, Vinod Koul wrote: On Thu, May 08, 2014 at 05:52:37PM +0800, Hongbo Zhang wrote: On 05/07/2014 04:31 PM, Shevchenko, Andriy wrote: On Sun, 2014-05-04 at 18:22 +0800, Hongbo Zhang wrote: On 05/03/2014 12:46 AM, Vinod Koul wrote: On Fri, Apr 18, 2014 at 04:17:51PM +0800

Re: [PATCH v4 6/8] DMA: Freescale: change descriptor release process for supporting async_tx

2014-05-08 Thread Hongbo Zhang
On 05/03/2014 12:50 AM, Vinod Koul wrote: On Fri, Apr 18, 2014 at 04:17:49PM +0800, hongbo.zh...@freescale.com wrote: This need review from Dan ... Dan, could you please have a look at this? thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a

Re: [PATCH v4 8/8] DMA: Freescale: add suspend resume functions for DMA driver

2014-05-08 Thread Hongbo Zhang
On 05/07/2014 04:31 PM, Shevchenko, Andriy wrote: On Sun, 2014-05-04 at 18:22 +0800, Hongbo Zhang wrote: On 05/03/2014 12:46 AM, Vinod Koul wrote: On Fri, Apr 18, 2014 at 04:17:51PM +0800, hongbo.zh...@freescale.com wrote: From: Hongbo Zhang This patch adds suspend resume functions for

Re: [PATCH v4 8/8] DMA: Freescale: add suspend resume functions for DMA driver

2014-05-04 Thread Hongbo Zhang
On 05/03/2014 12:46 AM, Vinod Koul wrote: On Fri, Apr 18, 2014 at 04:17:51PM +0800, hongbo.zh...@freescale.com wrote: From: Hongbo Zhang This patch adds suspend resume functions for Freescale DMA driver. .prepare callback is used to stop further descriptors from being added into the pending

Re: [PATCH v4 7/8] DMA: Freescale: use spin_lock_bh instead of spin_lock_irqsave

2014-05-04 Thread Hongbo Zhang
On 05/03/2014 12:51 AM, Vinod Koul wrote: On Fri, Apr 18, 2014 at 04:17:50PM +0800, hongbo.zh...@freescale.com wrote: From: Hongbo Zhang The usage of spin_lock_irqsave() is a stronger locking mechanism than is required throughout the driver. The minimum locking required should be used

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

Re: [PATCH v3 6/8] DMA: Freescale: change descriptor release process for supporting async_tx

2014-04-11 Thread Hongbo Zhang
On 04/11/2014 04:00 PM, Hongbo Zhang wrote: On 04/10/2014 07:56 PM, Andy Shevchenko wrote: On Thu, 2014-04-10 at 15:10 +0800, hongbo.zh...@freescale.com wrote: From: Hongbo Zhang Fix the potential risk when enable config NET_DMA and ASYNC_TX. Async_tx is lack of support in current release

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

2014-04-11 Thread Hongbo Zhang
On 04/10/2014 07:29 PM, Andy Shevchenko wrote: On Thu, 2014-04-10 at 15:10 +0800, hongbo.zh...@freescale.com wrote: From: Hongbo Zhang There are several places where descriptors are freed using identical code. This patch puts this code into a function to reduce code duplication. Signed-off

Re: [PATCH v3 6/8] DMA: Freescale: change descriptor release process for supporting async_tx

2014-04-11 Thread Hongbo Zhang
On 04/10/2014 07:56 PM, Andy Shevchenko wrote: On Thu, 2014-04-10 at 15:10 +0800, hongbo.zh...@freescale.com wrote: From: Hongbo Zhang Fix the potential risk when enable config NET_DMA and ASYNC_TX. Async_tx is lack of support in current release process of dma descriptor, all descriptors

Re: [PATCH v3 8/8] DMA: Freescale: add suspend resume functions for DMA driver

2014-04-11 Thread Hongbo Zhang
On 04/10/2014 08:05 PM, Andy Shevchenko wrote: On Thu, 2014-04-10 at 15:10 +0800, hongbo.zh...@freescale.com wrote: From: Hongbo Zhang This patch adds suspend resume functions for Freescale DMA driver. .prepare callback is used to stop further descriptors from being added into the pending

Re: [PATCH v3 2/8] DMA: Freescale: unify register access methods

2014-04-10 Thread Hongbo Zhang
On 04/10/2014 04:46 PM, David Laight wrote: From: hongbo.zh...@freescale.com Methods of accessing DMA contorller registers are inconsistent, some registers ^^ Thanks. sorry, that it a typo. I would wait to see if there are other defects I have to correct, if y

[PATCH v3 0/8] DMA: Freescale: driver cleanups and enhancements

2014-04-10 Thread Hongbo Zhang
Sorry, forgot the cover letter, plus it here. From: Hongbo Zhang Date: Thu, 10 Apr 2014 15:16:31 +0800 Subject: [PATCH v3 0/8] DMA: Freescale: driver cleanups and enhancements Hi Vinod Koul, Please have a look at the v3 patch set. v2 -> v3 change: Only add "chan->pm_state = R

Re: [PATCH v2 8/8] DMA: Freescale: add suspend resume functions for DMA driver

2014-04-09 Thread Hongbo Zhang
On 04/04/2014 11:27 AM, hongbo.zh...@freescale.com wrote: From: Hongbo Zhang This patch adds suspend resume functions for Freescale DMA driver. .prepare callback is used to stop further descriptors from being added into the pending queue, and also issue pending queues into execution if there

Re: [PATCH 3/7] DMA: Freescale: add fsl_dma_free_descriptor() to reduce code duplication

2014-04-03 Thread Hongbo Zhang
On 03/28/2014 11:44 AM, Hongbo Zhang wrote: On 03/11/2014 07:06 PM, Vinod Koul wrote: On Thu, Jan 16, 2014 at 01:47:22PM +0800, hongbo.zh...@freescale.com wrote: From: Hongbo Zhang There are several places where descriptors are freed using identical code. This patch puts this code into a

Re: [PATCH 6/7] DMA: Freescale: use spin_lock_bh instead of spin_lock_irqsave

2014-04-03 Thread Hongbo Zhang
On 04/03/2014 12:35 AM, Vinod Koul wrote: On Mon, Mar 31, 2014 at 12:08:55PM +0800, Hongbo Zhang wrote: On 03/29/2014 09:45 PM, Vinod Koul wrote: On Fri, Mar 28, 2014 at 02:33:37PM +0800, Hongbo Zhang wrote: On 03/26/2014 03:01 PM, Vinod Koul wrote: On Thu, 2014-01-16 at 13:47 +0800

Re: [PATCH 6/7] DMA: Freescale: use spin_lock_bh instead of spin_lock_irqsave

2014-03-30 Thread Hongbo Zhang
On 03/29/2014 09:45 PM, Vinod Koul wrote: On Fri, Mar 28, 2014 at 02:33:37PM +0800, Hongbo Zhang wrote: On 03/26/2014 03:01 PM, Vinod Koul wrote: On Thu, 2014-01-16 at 13:47 +0800, hongbo.zh...@freescale.com wrote: From: Hongbo Zhang The usage of spin_lock_irqsave() is a stronger locking

Re: [PATCH 6/7] DMA: Freescale: use spin_lock_bh instead of spin_lock_irqsave

2014-03-27 Thread Hongbo Zhang
On 03/26/2014 03:01 PM, Vinod Koul wrote: On Thu, 2014-01-16 at 13:47 +0800, hongbo.zh...@freescale.com wrote: From: Hongbo Zhang The usage of spin_lock_irqsave() is a stronger locking mechanism than is required throughout the driver. The minimum locking required should be used instead

Re: [PATCH 3/7] DMA: Freescale: add fsl_dma_free_descriptor() to reduce code duplication

2014-03-27 Thread Hongbo Zhang
On 03/11/2014 07:06 PM, Vinod Koul wrote: On Thu, Jan 16, 2014 at 01:47:22PM +0800, hongbo.zh...@freescale.com wrote: From: Hongbo Zhang There are several places where descriptors are freed using identical code. This patch puts this code into a function to reduce code duplication. Signed

Re: [PATCH 0/7] DMA: Freescale: driver cleanups and enhancements

2014-02-25 Thread Hongbo Zhang
Hi Vinod, How about these patches? Thanks. On 01/16/2014 01:47 PM, hongbo.zh...@freescale.com wrote: From: Hongbo Zhang Hi Vinod Koul and Dan Williams, Please have a look at these patches. Note that patch 2~6 had beed sent out for upstream before, but were together with other storage

Re: [PATCH resend 1/2] Documentation: move all DMA documentations into Documentaion/dma

2014-01-20 Thread Hongbo Zhang
On 01/20/2014 12:29 PM, Vinod Koul wrote: On Sat, Jan 18, 2014 at 11:59:13AM -0600, Rob Landley wrote: On 01/16/14 09:59, Vinod Koul wrote: On Thu, Jan 16, 2014 at 06:50:04PM +0800, hongbo.zh...@freescale.com wrote: From: Hongbo Zhang Since there are already seven DMA documentations under

Re: [PATCH 1/2] Documentation: move all DMA documentations into Documentaion/dma

2014-01-16 Thread Hongbo Zhang
Learned, will try, I didn't like this long patch either. Thanks. On 01/16/2014 06:43 PM, Andy Shevchenko wrote: On Thu, 2014-01-16 at 18:37 +0800, hongbo.zh...@freescale.com wrote: From: Hongbo Zhang Since there are already seven DMA documentations under the top Documentation/, it is b

Re: [PATCH] DTS: DMA: Fix DMA3 interrupts

2013-12-12 Thread Hongbo Zhang
On 12/11/2013 02:33 AM, Scott Wood wrote: On Tue, 2013-12-10 at 18:33 +0800, Hongbo Zhang wrote: Scott, This issue is due to the non-continuous MPIC register, I think there is two ways to fix it. The first one is as what we are discussing, in fact the Bman/Qman DT author had introduced this

Re: [PATCH] DTS: DMA: Fix DMA3 interrupts

2013-12-10 Thread Hongbo Zhang
i - 11); /* scape the address not for interrupts */ mpic_assign_isu(mpic, i, mpic->paddr + addr_off); } // Add this end mpic_init(mpic); } On 12/07/2013 03:21 AM, Scott Wood wrote: On Fri, 2013-11-29 at 16:07 +0800, hongbo.zh...@freescale.com wrote: From: Hongbo Zhang MPIC

Re: [PATCH v11 0/3] DMA: Freescale: Add support for 8-channel DMA engine

2013-11-13 Thread Hongbo Zhang
On 11/13/2013 04:57 PM, Vinod Koul wrote: On Thu, Sep 26, 2013 at 05:33:40PM +0800, hongbo.zh...@freescale.com wrote: From: Hongbo Zhang Hi DMA and DT maintainers, please have a look at these V11 patches. Freescale QorIQ T4 and B4 introduce new 8-channel DMA engines, this patch set adds

Re: [PATCH v11 3/3] DMA: Freescale: update driver to support 8-channel DMA engine

2013-11-11 Thread Hongbo Zhang
On 11/12/2013 08:09 AM, Dan Williams wrote: On Mon, Nov 11, 2013 at 1:12 AM, Hongbo Zhang wrote: diff --git a/drivers/dma/fsldma.c b/drivers/dma/fsldma.c index 49e8fbd..16a9a48 100644 --- a/drivers/dma/fsldma.c +++ b/drivers/dma/fsldma.c @@ -1261,7 +1261,9 @@ static int fsl_dma_chan_probe

Re: [PATCH v11 3/3] DMA: Freescale: update driver to support 8-channel DMA engine

2013-11-11 Thread Hongbo Zhang
On 11/08/2013 10:45 AM, Dan Williams wrote: On Mon, Nov 4, 2013 at 6:31 PM, Hongbo Zhang wrote: Hi Vinod Koul and Dan Williams, Ping? Not much to review from the dmaengine side, just one question below. It would be helpful if you can send these to the new dmaengine patchwork at dmaeng

Re: [PATCH v11 3/3] DMA: Freescale: update driver to support 8-channel DMA engine

2013-11-04 Thread Hongbo Zhang
Hi Vinod Koul and Dan Williams, Ping? On 10/17/2013 01:56 PM, Hongbo Zhang wrote: Hi Vinod, I have gotten ACK from Mark for both the 1/3 and 2/3 patches. Thanks. On 09/26/2013 05:33 PM, hongbo.zh...@freescale.com wrote: From: Hongbo Zhang This patch adds support to 8-channel DMA engine

Re: [PATCH v11 3/3] DMA: Freescale: update driver to support 8-channel DMA engine

2013-10-16 Thread Hongbo Zhang
Hi Vinod, I have gotten ACK from Mark for both the 1/3 and 2/3 patches. Thanks. On 09/26/2013 05:33 PM, hongbo.zh...@freescale.com wrote: From: Hongbo Zhang This patch adds support to 8-channel DMA engine, thus the driver works for both the new 8-channel and the legacy 4-channel DMA engines

Re: [PATCH v11 2/3] DMA: Freescale: Add new 8-channel DMA engine device tree nodes

2013-10-15 Thread Hongbo Zhang
On 10/15/2013 09:38 PM, Mark Rutland wrote: On Tue, Oct 08, 2013 at 04:22:07AM +0100, Hongbo Zhang wrote: Hi Mark, Stephen and other DT maintainers? The 1/3 had already been acked by Mark, and please have a further look at this patch 2/3. The DMA maintainer Vinod needs ack for the DT related

Re: [PATCHv6 02/16] drivers: thermal: introduce device tree parser

2013-10-08 Thread Hongbo Zhang
On 09/25/2013 10:15 PM, Eduardo Valentin wrote: On 25-09-2013 03:13, Hongbo Zhang wrote: On 09/19/2013 05:35 AM, Eduardo Valentin wrote: [...] + +/*** sensor API ***/ + You are introducing new concept here, the original framework and drivers cannot use this, right? any further plan to

Re: [PATCH v11 2/3] DMA: Freescale: Add new 8-channel DMA engine device tree nodes

2013-10-07 Thread Hongbo Zhang
: From: Hongbo Zhang Freescale QorIQ T4 and B4 introduce new 8-channel DMA engines, this patch adds the device tree nodes for them. Signed-off-by: Hongbo Zhang --- .../devicetree/bindings/powerpc/fsl/dma.txt| 70 + arch/powerpc/boot/dts/fsl/b4si-post.dtsi

Re: [PATCH v10 2/3] DMA: Freescale: Add new 8-channel DMA engine device tree nodes

2013-09-25 Thread Hongbo Zhang
On 09/26/2013 10:28 AM, David Gibson wrote: On Wed, Sep 25, 2013 at 08:46:32PM -0500, Scott Wood wrote: On Wed, 2013-09-25 at 15:35 +0800, Hongbo Zhang wrote: By the way, I know maybe it is difficult, but why not introduce a document of maintaining rules for the dt binding docs? we have

Re: [PATCH v10 2/3] DMA: Freescale: Add new 8-channel DMA engine device tree nodes

2013-09-25 Thread Hongbo Zhang
On 09/25/2013 01:31 AM, Stephen Warren wrote: On 09/24/2013 04:30 AM, Hongbo Zhang wrote: On 09/24/2013 01:04 AM, Stephen Warren wrote: On 09/18/2013 04:15 AM, hongbo.zh...@freescale.com wrote: From: Hongbo Zhang Freescale QorIQ T4 and B4 introduce new 8-channel DMA engines, this patch adds

Re: [PATCHv6 02/16] drivers: thermal: introduce device tree parser

2013-09-25 Thread Hongbo Zhang
On 09/19/2013 05:35 AM, Eduardo Valentin wrote: [...] + +/*** sensor API ***/ + You are introducing new concept here, the original framework and drivers cannot use this, right? any further plan to update original framework for this new feature? +static struct thermal_zone_device * +

Re: [PATCHv6 02/16] drivers: thermal: introduce device tree parser

2013-09-24 Thread Hongbo Zhang
mail and reply it for further concerns. On 24-09-2013 04:11, Hongbo Zhang wrote: On 09/23/2013 06:40 PM, Mark Rutland wrote: Hi Eduardo, Apologies for having taken so long to get back you on this. I have several comments on the binding and the way it's parsed. On Wed, Sep 18, 2013 at

Re: [PATCH v10 2/3] DMA: Freescale: Add new 8-channel DMA engine device tree nodes

2013-09-24 Thread Hongbo Zhang
On 09/24/2013 01:04 AM, Stephen Warren wrote: On 09/18/2013 04:15 AM, hongbo.zh...@freescale.com wrote: From: Hongbo Zhang Freescale QorIQ T4 and B4 introduce new 8-channel DMA engines, this patch adds the device tree nodes for them. diff --git a/Documentation/devicetree/bindings/powerpc/fsl

Re: [PATCHv6 02/16] drivers: thermal: introduce device tree parser

2013-09-24 Thread Hongbo Zhang
On 09/23/2013 06:40 PM, Mark Rutland wrote: Hi Eduardo, Apologies for having taken so long to get back you on this. I have several comments on the binding and the way it's parsed. On Wed, Sep 18, 2013 at 10:35:36PM +0100, Eduardo Valentin wrote: This patch introduces a device tree bindings fo

Re: [RFC PATCH] thermal: add generic cpu hotplug cooling device

2013-09-23 Thread Hongbo Zhang
On 09/21/2013 06:15 AM, Zoran Markovic wrote: This patch implements a generic CPU hotplug cooling device. The implementation scales down the number of running CPUs when temperature increases through a thermal trip point and prevents booting CPUs until thermal conditions are restored. Upon restora

Re: [PATCH 05/21] cpuidle: make __cpuidle_driver_init() return void

2013-09-23 Thread Hongbo Zhang
On 09/22/2013 09:20 AM, Viresh Kumar wrote: __cpuidle_driver_init() doesn't return anything except zero and so doesn't really need a return type other than void. Signed-off-by: Viresh Kumar --- drivers/cpuidle/driver.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git

Re: [PATCH v9 2/3] DMA: Freescale: Add new 8-channel DMA engine device tree nodes

2013-09-16 Thread Hongbo Zhang
On 09/13/2013 01:15 AM, Mark Rutland wrote: On Tue, Sep 03, 2013 at 10:01:50AM +0100, Hongbo Zhang wrote: On 09/02/2013 11:58 PM, Mark Rutland wrote: Hi, On Fri, Aug 30, 2013 at 12:26:19PM +0100, hongbo.zh...@freescale.com wrote: From: Hongbo Zhang Freescale QorIQ T4 and B4 introduce new 8

Re: [PATCH v9 2/3] DMA: Freescale: Add new 8-channel DMA engine device tree nodes

2013-09-09 Thread Hongbo Zhang
Mark? ping. On 09/03/2013 05:01 PM, Hongbo Zhang wrote: On 09/02/2013 11:58 PM, Mark Rutland wrote: Hi, On Fri, Aug 30, 2013 at 12:26:19PM +0100, hongbo.zh...@freescale.com wrote: From: Hongbo Zhang Freescale QorIQ T4 and B4 introduce new 8-channel DMA engines, this patch adds the

Re: [PATCH 2/2] fsl: set wakeup sources

2013-09-05 Thread Hongbo Zhang
Sorry linux-kernel subscribers, This is for team internal review, linux-kernel is cced due to my carelessness, omit this mail please. On 09/06/2013 02:46 PM, hongbo.zh...@freescale.com wrote: From: Hongbo Zhang Some devices can work as wakeup sources, they should be powerred on during

Re: [PATCH v9 2/3] DMA: Freescale: Add new 8-channel DMA engine device tree nodes

2013-09-03 Thread Hongbo Zhang
On 09/02/2013 11:58 PM, Mark Rutland wrote: Hi, On Fri, Aug 30, 2013 at 12:26:19PM +0100, hongbo.zh...@freescale.com wrote: From: Hongbo Zhang Freescale QorIQ T4 and B4 introduce new 8-channel DMA engines, this patch adds the device tree nodes for them. Signed-off-by: Hongbo Zhang

Re: [PATCH v8 2/3] DMA: Freescale: Add new 8-channel DMA engine device tree nodes

2013-08-28 Thread Hongbo Zhang
On 08/28/2013 08:51 PM, Mark Rutland wrote: On Wed, Aug 28, 2013 at 07:54:01AM +0100, Hongbo Zhang wrote: On 08/27/2013 07:35 PM, Mark Rutland wrote: On Tue, Aug 27, 2013 at 11:42:02AM +0100, hongbo.zh...@freescale.com wrote: From: Hongbo Zhang Freescale QorIQ T4 and B4 introduce new 8

Re: [PATCH v8 1/3] DMA: Freescale: revise device tree binding document

2013-08-28 Thread Hongbo Zhang
On 08/27/2013 07:25 PM, Mark Rutland wrote: On Tue, Aug 27, 2013 at 11:42:01AM +0100, hongbo.zh...@freescale.com wrote: From: Hongbo Zhang This patch updates the discription of each type of DMA controller and its channels, it is preparation for adding another new DMA controller binding, it

Re: [PATCH v8 2/3] DMA: Freescale: Add new 8-channel DMA engine device tree nodes

2013-08-27 Thread Hongbo Zhang
On 08/27/2013 07:35 PM, Mark Rutland wrote: On Tue, Aug 27, 2013 at 11:42:02AM +0100, hongbo.zh...@freescale.com wrote: From: Hongbo Zhang Freescale QorIQ T4 and B4 introduce new 8-channel DMA engines, this patch adds the device tree nodes for them. Signed-off-by: Hongbo Zhang

Re: [PATCH v7 2/3] DMA: Freescale: Add new 8-channel DMA engine device tree nodes

2013-08-26 Thread Hongbo Zhang
On 08/23/2013 11:17 AM, Hongbo Zhang wrote: On 08/22/2013 07:16 AM, Stephen Warren wrote: On 08/21/2013 05:00 PM, Scott Wood wrote: On Wed, 2013-08-21 at 16:40 -0600, Stephen Warren wrote: On 07/29/2013 04:49 AM, hongbo.zh...@freescale.com wrote: +- reg

Re: [PATCH v7 2/3] DMA: Freescale: Add new 8-channel DMA engine device tree nodes

2013-08-22 Thread Hongbo Zhang
On 08/22/2013 07:16 AM, Stephen Warren wrote: On 08/21/2013 05:00 PM, Scott Wood wrote: On Wed, 2013-08-21 at 16:40 -0600, Stephen Warren wrote: On 07/29/2013 04:49 AM, hongbo.zh...@freescale.com wrote: +- reg : +- interrupts: s/interrupts/specifier/ D

Re: [PATCH v7 0/3] DMA: Freescale: Add support for 8-channel DMA engine

2013-08-20 Thread Hongbo Zhang
/20/2013 04:15 PM, Vinod Koul wrote: On Tue, Aug 20, 2013 at 04:33:46PM +0800, Hongbo Zhang wrote: On 07/29/2013 06:59 PM, Vinod Koul wrote: On Mon, Jul 29, 2013 at 06:49:01PM +0800, hongbo.zh...@freescale.com wrote: From: Hongbo Zhang Hi Vinod, Dan, Scott and Leo, please have a look at these V7

Re: [PATCH v7 0/3] DMA: Freescale: Add support for 8-channel DMA engine

2013-08-20 Thread Hongbo Zhang
On 07/29/2013 06:59 PM, Vinod Koul wrote: On Mon, Jul 29, 2013 at 06:49:01PM +0800, hongbo.zh...@freescale.com wrote: From: Hongbo Zhang Hi Vinod, Dan, Scott and Leo, please have a look at these V7 patches. The dma relates changes look okay to me. I need someone to review and ACK the DT

Re: [PATCH v7 2/3] DMA: Freescale: Add new 8-channel DMA engine device tree nodes

2013-07-29 Thread Hongbo Zhang
On 07/30/2013 06:10 AM, Scott Wood wrote: On 07/29/2013 05:49:03 AM, hongbo.zh...@freescale.com wrote: From: Hongbo Zhang Freescale QorIQ T4 and B4 introduce new 8-channel DMA engines, this patch adds the device tree nodes for them. Signed-off-by: Hongbo Zhang --- .../devicetree/bindings

Re: [PATCH v7 0/3] DMA: Freescale: Add support for 8-channel DMA engine

2013-07-29 Thread Hongbo Zhang
On 07/29/2013 06:59 PM, Vinod Koul wrote: On Mon, Jul 29, 2013 at 06:49:01PM +0800, hongbo.zh...@freescale.com wrote: From: Hongbo Zhang Hi Vinod, Dan, Scott and Leo, please have a look at these V7 patches. The dma relates changes look okay to me. I need someone to review and ACK the DT

Re: [PATCH v5 4/4] DMA: Freescale: eliminate a compiling warning

2013-07-24 Thread Hongbo Zhang
On 07/25/2013 03:33 AM, Scott Wood wrote: On 07/24/2013 01:21:09 AM, hongbo.zh...@freescale.com wrote: From: Hongbo Zhang The variable cookie is initialized in a list_for_each_entry loop, if(unlikely) the list is empty, this variable will be used uninitialized, so we get a gcc compiling

Re: [PATCH V2 1/2] DMA: Freescale: Add new 8-channel DMA engine device tree nodes

2013-07-17 Thread Hongbo Zhang
On 07/15/2013 09:31 PM, Kumar Gala wrote: On Jul 5, 2013, at 1:27 AM, wrote: From: Hongbo Zhang Freescale QorIQ T4 and B4 introduce new 8-channel DMA engines, this patch add the device tree nodes for them. Signed-off-by: Hongbo Zhang --- arch/powerpc/boot/dts/fsl/elo3-dma-0.dtsi

Re: [PATCH V2 1/2] DMA: Freescale: Add new 8-channel DMA engine device tree nodes

2013-07-11 Thread Hongbo Zhang
On 07/10/2013 12:48 AM, Scott Wood wrote: On 07/05/2013 01:27:05 AM, hongbo.zh...@freescale.com wrote: From: Hongbo Zhang Freescale QorIQ T4 and B4 introduce new 8-channel DMA engines, this patch add the device tree nodes for them. Signed-off-by: Hongbo Zhang --- arch/powerpc/boot/dts

Re: [PATCH 1/2] DMA: Freescale: Add new 8-channel DMA engine device tree nodes

2013-07-03 Thread Hongbo Zhang
On 07/03/2013 11:53 AM, Hongbo Zhang wrote: hmm...add the devicetree-disc...@lists.ozlabs.org into list. Note that we are discussing a better naming for this new compatible property in the corresponding [PATCH 2/2], so I will resend a v2 of this patch. On 07/01/2013 11:46 AM, hongbo.zh

Re: [PATCH 1/2] DMA: Freescale: Add new 8-channel DMA engine device tree nodes

2013-07-02 Thread Hongbo Zhang
hmm...add the devicetree-disc...@lists.ozlabs.org into list. Note that we are discussing a better naming for this new compatible property in the corresponding [PATCH 2/2], so I will resend a v2 of this patch. On 07/01/2013 11:46 AM, hongbo.zh...@freescale.com wrote: From: Hongbo Zhang

Re: [PATCH 2/2] DMA: Freescale: update driver to support 8-channel DMA engine

2013-07-02 Thread Hongbo Zhang
On 07/03/2013 07:13 AM, Scott Wood wrote: On 06/30/2013 10:46:18 PM, hongbo.zh...@freescale.com wrote: From: Hongbo Zhang This patch adds support to 8-channel DMA engine, thus the driver works for both the new 8-channel and the legacy 4-channel DMA engines. Signed-off-by: Hongbo Zhang

[PATCH v8 4/5] ab8500: power: export abx500_res_to_temp tables for hwmon

2013-04-03 Thread Hongbo Zhang
This patch exports the thermistor resistance-to-temperature tables, so that the hwmon driver can access them, and also adds the corresponding table size variables. Signed-off-by: Hongbo Zhang --- drivers/power/ab8500_bmdata.c | 20 ++-- include/linux/power/ab8500.h | 16

[PATCH v8 5/5] hwmon: add ST-Ericsson ABX500 hwmon driver

2013-04-03 Thread Hongbo Zhang
same common layer abx500.c. Signed-off-by: Hongbo Zhang --- Documentation/hwmon/ab8500 | 22 ++ Documentation/hwmon/abx500 | 28 +++ drivers/hwmon/Kconfig | 13 ++ drivers/hwmon/Makefile | 1 + drivers/hwmon/ab8500.c | 206 +++ drivers/hwmon/abx500.c | 491

[PATCH v8 3/5] ab8500: power: add const attributes to some data arrays

2013-04-03 Thread Hongbo Zhang
This patch adds const attributes to AB8500 power and temperature related read-only data arrays. Signed-off-by: Hongbo Zhang --- drivers/power/ab8500_bmdata.c | 20 ++-- drivers/power/ab8500_fg.c | 4 ++-- include/linux/mfd/abx500.h| 6 +++--- 3 files changed, 15

[PATCH v8 2/5] ab8500: power: eliminate CamelCase warning of some variables

2013-04-03 Thread Hongbo Zhang
Some AB8500 power related variable names don't comply with kernel coding rules, any new patch using these variables will result in CamelCase warnings from checkpatch.pl, this patch re-name these variables. Signed-off-by: Hongbo Zhang --- drivers/power/ab8500_bmdata.c

[PATCH v8 1/5] ab8500_btemp: make ab8500_btemp_get* interfaces public

2013-04-03 Thread Hongbo Zhang
Make ab8500_btemp_get_temp interface public, export it and also export the ab8500_btemp_get, ab8500_btemp_get_batctrl_temp interfaces, so that the ab8500 hwmon driver can use them. Signed-off-by: Hongbo Zhang --- drivers/power/ab8500_btemp.c | 5 - include/linux/mfd/abx500/ab8500

[PATCH v8 0/5] Add ST-Ericsson AB8500 HWMON driver

2013-04-03 Thread Hongbo Zhang
abx500 for hwmon driver" has been merged by Samuel, so won't send it again. - Add another new patch "ab8500_btemp: export two symblols" as [2/2] of this patch set. Hongbo Zhang (5): ab8500_btemp: make ab8500_btemp_get* interfaces public ab8500: power: eliminate CamelCase w

Re: [PATCH v7 5/5] hwmon: add ST-Ericsson ABX500 hwmon driver

2013-03-27 Thread Hongbo Zhang
On 28 March 2013 03:48, Guenter Roeck wrote: > On Wed, Mar 27, 2013 at 03:13:32PM +0800, Hongbo Zhang wrote: >> Each of ST-Ericsson X500 chip set series consists of both ABX500 and DBX500 >> chips. This is ABX500 hwmon driver, where the abx500.c is a common layer for >>

[PATCH v7 5/5] hwmon: add ST-Ericsson ABX500 hwmon driver

2013-03-27 Thread Hongbo Zhang
same common layer abx500.c. Signed-off-by: Hongbo Zhang --- Documentation/hwmon/ab8500 | 22 ++ Documentation/hwmon/abx500 | 28 +++ drivers/hwmon/Kconfig | 13 ++ drivers/hwmon/Makefile | 1 + drivers/hwmon/ab8500.c | 206 +++ drivers/hwmon/abx500.c | 491

[PATCH v7 4/5] ab8500: power: export abx500_res_to_temp tables for hwmon

2013-03-27 Thread Hongbo Zhang
This patch exports the thermistor resistance-to-temperature tables, so that the hwmon driver can access them, and also adds the corresponding table size variables. Signed-off-by: Hongbo Zhang --- drivers/power/ab8500_bmdata.c | 20 ++-- include/linux/power/ab8500.h | 16

[PATCH v7 3/5] ab8500: power: add const attributes to some data arrays

2013-03-27 Thread Hongbo Zhang
This patch adds const attributes to AB8500 power and temperature related read-only data arrays. Signed-off-by: Hongbo Zhang --- drivers/power/ab8500_bmdata.c | 18 +- drivers/power/ab8500_fg.c | 4 ++-- include/linux/mfd/abx500.h| 6 +++--- 3 files changed, 14

[PATCH v7 2/5] ab8500: power: eliminate CamelCase warning of some variables

2013-03-27 Thread Hongbo Zhang
Some AB8500 power related variable names don't comply with kernel coding rules, any new patch using these variables will result in CamelCase warnings from checkpatch.pl, this patch re-name these variables. Signed-off-by: Hongbo Zhang --- drivers/power/ab8500_bmdata.c

[PATCH v7 1/5] ab8500_btemp: make ab8500_btemp_get* interfaces public

2013-03-27 Thread Hongbo Zhang
Make ab8500_btemp_get_temp interface public, export it and also export the ab8500_btemp_get, ab8500_btemp_get_batctrl_temp interfaces, so that the ab8500 hwmon driver can use them. Signed-off-by: Hongbo Zhang Acked-by: Anton Vorontsov --- drivers/power/ab8500_btemp.c | 5 - include

[PATCH v7 0/5] Add ST-Ericsson AB8500 HWMON driver

2013-03-27 Thread Hongbo Zhang
quot;ab8500_btemp: export two symblols" as [2/2] of this patch set. Hongbo Zhang (5): ab8500_btemp: make ab8500_btemp_get* interfaces public ab8500: power: eliminate CamelCase warning of some variables ab8500: power: add const attributes to some data arrays ab8500: power: export abx50

Re: [PATCH v6 5/5] hwmon: add ST-Ericsson ABX500 hwmon driver

2013-03-26 Thread Hongbo Zhang
On 26 March 2013 23:23, Guenter Roeck wrote: > On Tue, Mar 26, 2013 at 03:06:59PM +0800, Hongbo Zhang wrote: >> Each of ST-Ericsson X500 chip set series consists of both ABX500 and DBX500 >> chips. This is ABX500 hwmon driver, where the abx500.c is a common layer for >>

[PATCH v6 5/5] hwmon: add ST-Ericsson ABX500 hwmon driver

2013-03-26 Thread Hongbo Zhang
same common layer abx500.c. Signed-off-by: Hongbo Zhang --- Documentation/hwmon/ab8500| 22 ++ Documentation/hwmon/abx500| 28 +++ drivers/hwmon/Kconfig | 13 ++ drivers/hwmon/Makefile| 1 + drivers/hwmon/ab8500.c| 206 ++ drivers/hwmon/abx500

[PATCH v6 4/5] ab8500: power: export abx500_res_to_temp tables for hwmon

2013-03-26 Thread Hongbo Zhang
This patch exports the thermistor resistance-to-temperature tables, so that the hwmon driver can access them, and also adds the corresponding table size variables. Signed-off-by: Hongbo Zhang --- drivers/power/ab8500_bmdata.c | 16 ++-- include/linux/power/ab8500.h | 16

[PATCH v6 3/5] ab8500: power: add const attributes to some data arrays

2013-03-26 Thread Hongbo Zhang
This patch adds const attributes to AB8500 power and temperature related read-only data arrays. Signed-off-by: Hongbo Zhang --- drivers/power/ab8500_bmdata.c | 18 +- drivers/power/ab8500_fg.c | 4 ++-- include/linux/mfd/abx500.h| 6 +++--- 3 files changed, 14

[PATCH v6 2/5] ab8500: power: eliminate CamelCase warning of some variables

2013-03-26 Thread Hongbo Zhang
Some AB8500 power related variable names don't comply with kernel coding rules, any new patch using these variables will result in CamelCase warnings from checkpatch.pl, this patch re-name these variables. Signed-off-by: Hongbo Zhang --- drivers/power/ab8500_bmdata.c

[PATCH v6 1/5] ab8500_btemp: make ab8500_btemp_get* interfaces public

2013-03-26 Thread Hongbo Zhang
Make ab8500_btemp_get_temp interface public, export it and also export the ab8500_btemp_get, ab8500_btemp_get_batctrl_temp interfaces, so that the ab8500 hwmon driver can use them. Signed-off-by: Hongbo Zhang Acked-by: Anton Vorontsov --- drivers/power/ab8500_btemp.c | 5 - include

[PATCH v6 0/5] Add ST-Ericsson AB8500 HWMON driver

2013-03-26 Thread Hongbo Zhang
t;ARM: ux500: rename ab8500 to abx500 for hwmon driver" has been merged by Samuel, so won't send it again. - Add another new patch "ab8500_btemp: export two symblols" as [2/2] of this patch set. Hongbo Zhang (5): ab8500_btemp: make ab8500_btemp_get* interfaces public ab

Re: [PATCH 2/2] hwmon: add ST-Ericsson ABX500 hwmon driver

2013-01-31 Thread Hongbo Zhang
Guenter, Thank you so much for all the comments, will re-send a v2 iteration soon. On 31 January 2013 02:37, Guenter Roeck wrote: > On Wed, Jan 30, 2013 at 06:21:28PM +0800, Hongbo Zhang wrote: >> Each of ST-Ericsson X500 chip set series consists of both ABX500 and DBX500 >>

Re: [PATCH 1/2] ARM: ux500: rename ab8500 to abx500 for hwmon driver

2013-01-31 Thread Hongbo Zhang
On 30 January 2013 23:45, Samuel Ortiz wrote: > Hi Hongbo, > > On Wed, Jan 30, 2013 at 06:21:27PM +0800, Hongbo Zhang wrote: >> We are using a generic abx500 hwmon layer, so rename specific ab8500 to >> generic >> abx500 for hwmon device and driver matching. >&g

[PATCH 2/2] hwmon: add ST-Ericsson ABX500 hwmon driver

2013-01-30 Thread Hongbo Zhang
same common layer abx500.c. Signed-off-by: Hongbo Zhang --- drivers/hwmon/Kconfig | 13 + drivers/hwmon/Makefile | 1 + drivers/hwmon/ab8500.c | 160 drivers/hwmon/abx500.c | 681 + drivers/hwmon/abx500.h | 88 +++ 5 files

[PATCH 1/2] ARM: ux500: rename ab8500 to abx500 for hwmon driver

2013-01-30 Thread Hongbo Zhang
We are using a generic abx500 hwmon layer, so rename specific ab8500 to generic abx500 for hwmon device and driver matching. Signed-off-by: Hongbo Zhang --- drivers/mfd/ab8500-core.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/mfd/ab8500-core.c b/drivers

[PATCH 0/2] Add ST-Ericsson AB8500 HWMON driver

2013-01-30 Thread Hongbo Zhang
These patches are against the v3.8-rc4. Guenter Roeck, Jean Delvare, Please help to have a look at this. Samuel Ortiz, Please review 1/2 and leave your Acked-by: if no problem, I think these patches should be merged into HWMON tree. Thanks for all. Hongbo Zhang (2): ARM: ux500: rename ab8500

Re: [PATCH 4/8] Thermal: Add Thermal_trip sysfs node

2012-12-26 Thread Hongbo Zhang
On 18 December 2012 17:29, Durgadoss R wrote: > This patch adds a thermal_trip directory under > /sys/class/thermal/zoneX. This directory contains > the trip point values for sensors bound to this > zone. > > Signed-off-by: Durgadoss R > --- > drivers/thermal/thermal_sys.c | 237 >

Re: [PATCH 0/8] Thermal Framework Enhancements

2012-12-21 Thread Hongbo Zhang
On 21 December 2012 16:30, R, Durgadoss wrote: > Hi Ni, > >> -Original Message- >> From: Wei Ni [mailto:w...@nvidia.com] >> Sent: Friday, December 21, 2012 1:36 PM >> To: R, Durgadoss >> Cc: Zhang, Rui; linux...@vger.kernel.org; linux-kernel@vger.kernel.org; >> hongbo.zh...@linaro.org >> S

Re: [PATCH V5 1/2] Thermal: Add ST-Ericsson DB8500 thermal driver.

2012-11-15 Thread Hongbo Zhang
On 15 November 2012 18:17, Viresh Kumar wrote: > On 15 November 2012 14:53, Hongbo Zhang wrote: >> this is a driver for ST-Ericsson u8500 board(Snowball), with a ARM core >> inside. >> so you should compile like this: >> make ARCH=arm CROSS_COMPILE=arm-linux-gnuea

Re: [PATCH V5 1/2] Thermal: Add ST-Ericsson DB8500 thermal driver.

2012-11-15 Thread Hongbo Zhang
-11-15 at 16:32 +0800, Hongbo Zhang wrote: >> On 15 November 2012 16:13, Zhang Rui wrote: >> > On Fri, 2012-11-09 at 19:29 +0800, hongbo.zhang wrote: >> >> From: "hongbo.zhang" >> >> >> >> This driver is based on the thermal management f

Re: [PATCH V5 1/2] Thermal: Add ST-Ericsson DB8500 thermal driver.

2012-11-15 Thread Hongbo Zhang
On 15 November 2012 16:13, Zhang Rui wrote: > On Fri, 2012-11-09 at 19:29 +0800, hongbo.zhang wrote: >> From: "hongbo.zhang" >> >> This driver is based on the thermal management framework in thermal_sys.c. A >> thermal zone device is created with the trip points to which cooling devices >> can be

Re: [PATCH V5 2/2] Thermal: Add ST-Ericsson DB8500 thermal properties and platform data.

2012-11-14 Thread Hongbo Zhang
On 13 November 2012 04:46, Linus Walleij wrote: > On Mon, Nov 12, 2012 at 7:07 AM, Zhang Rui wrote: >> On Fri, 2012-11-09 at 19:29 +0800, hongbo.zhang wrote: >>> From: "hongbo.zhang" >>> >>> This patch adds device tree properties for ST-Ericsson DB8500 thermal >>> driver, >>> also adds the plat

Re: [PATCH V3 3/5] Thermal: Remove the cooling_cpufreq_list.

2012-11-09 Thread Hongbo Zhang
On 7 November 2012 14:54, Zhang Rui wrote: > On Tue, 2012-10-30 at 17:48 +0100, hongbo.zhang wrote: >> From: "hongbo.zhang" >> >> Problem of using this list is that the cpufreq_get_max_state callback will be >> called when register cooling device by thermal_cooling_device_register, but >> this li

Re: [PATCH V5 0/2] Upstream ST-Ericsson thermal driver

2012-11-09 Thread Hongbo Zhang
Hi Rui Zhang, Please have a look at this patch set. Since the previous 1/5, 2/5, 3/5 have been accepted, I'd like to send these last two updated patches with Reviewed-by added in this new thread. Thanks. On 9 November 2012 19:29, hongbo.zhang wrote: > From: "hongbo.zhang" > > V4->V5 Changes: >

Re: [PATCH V3 4/5] Thermal: Add ST-Ericsson DB8500 thermal driver.

2012-11-06 Thread Hongbo Zhang
On 6 November 2012 18:17, Hongbo Zhang wrote: > On 1 November 2012 09:52, Zhang, Rui wrote: >> >> >>> -Original Message- >>> From: hongbo.zhang [mailto:hongbo.zh...@linaro.org] >>> Sent: Wednesday, October 31, 2012 12:49 AM >>

Re: [PATCH V3 4/5] Thermal: Add ST-Ericsson DB8500 thermal driver.

2012-11-06 Thread Hongbo Zhang
eq cooling device turns active to set CPU frequency >> low to >> + cool down the CPU. >> + >> config SPEAR_THERMAL >> bool "SPEAr thermal sensor driver" >> depends on THERMAL >> diff --git a/drivers/thermal/Makefile b/drivers/thermal/Makefile index >> 88555

Re: [PATCH V3 5/5] Thermal: Add ST-Ericsson DB8500 thermal properties and platform data.

2012-11-05 Thread Hongbo Zhang
On 31 October 2012 10:18, viresh kumar wrote: > On Tue, Oct 30, 2012 at 10:19 PM, hongbo.zhang > wrote: >> From: "hongbo.zhang" > > Just a minor comment below. > >> This patch adds device tree properties for ST-Ericsson DB8500 thermal driver, >> also adds the platform data to support the old fa

Re: [PATCH V2 2/6] Thermal: make sure cpufreq cooling register after cpufreq driver

2012-10-30 Thread Hongbo Zhang
On 29 October 2012 12:42, Amit Kachhap wrote: > On 24 October 2012 17:28, hongbo.zhang wrote: >> From: "hongbo.zhang" >> >> The cpufreq works as a cooling device, so the cooling layer should check if >> the >> cpufreq driver is initialized or not. >> >> Signed-off-by: hongbo.zhang >> --- >> d

Re: [PATCH V2 4/6] Thermal: Remove the cooling_cpufreq_list.

2012-10-30 Thread Hongbo Zhang
On 30 October 2012 09:03, Amit Kachhap wrote: > On 26 October 2012 12:39, hongbo.zhang wrote: >> From: "hongbo.zhang" >> >> Problem of using this list is that the cpufreq_get_max_state callback will be >> called when register cooling device by thermal_cooling_device_register, but >> this list is

  1   2   >