Re: [PATCH 2/2] uacce: add uacce module

2019-08-27 Thread Kenneth Lee
On Mon, Aug 26, 2019 at 06:29:10AM +0200, Greg Kroah-Hartman wrote: > Date: Mon, 26 Aug 2019 06:29:10 +0200 > From: Greg Kroah-Hartman > To: Kenneth Lee > CC: zhangfei , Arnd Bergmann , > linux-accelerat...@lists.ozlabs.org, linux-kernel@vger.kernel.org, Zaibo > Xu , Zhou W

Re: [PATCH 0/2] A General Accelerator Framework, WarpDrive

2019-08-25 Thread Kenneth Lee
On Thu, Aug 15, 2019 at 01:04:24PM -0400, Jerome Glisse wrote: > Date: Thu, 15 Aug 2019 13:04:24 -0400 > From: Jerome Glisse > To: Zhangfei Gao > CC: linux-accelerat...@lists.ozlabs.org, Greg Kroah-Hartman > , linux-kernel@vger.kernel.org, Arnd Bergmann > > Subject: Re: [PATCH 0/2] A General

Re: [PATCH 2/2] uacce: add uacce module

2019-08-25 Thread Kenneth Lee
On Wed, Aug 21, 2019 at 09:05:42AM -0700, Greg Kroah-Hartman wrote: > Date: Wed, 21 Aug 2019 09:05:42 -0700 > From: Greg Kroah-Hartman > To: zhangfei > CC: Arnd Bergmann , linux-accelerat...@lists.ozlabs.org, > linux-kernel@vger.kernel.org, Kenneth Lee , Zaibo > Xu , Zhou W

Re: [PATCH/RFC 0/5] HW accel subsystem

2019-02-01 Thread Kenneth Lee
在 2019/2/1 下午6:07, Greg Kroah-Hartman 写道: On Fri, Feb 01, 2019 at 05:10:40PM +0800, Kenneth Lee wrote: After the RFCv2 was sent to the lkml, we do not get much feedback. But the Infini-band guys said they did not like it. They think the solution is re-invention of ib-verbs. No one needs

Re: [PATCH/RFC 0/5] HW accel subsystem

2019-02-01 Thread Kenneth Lee
Dear Olof, How are you? Let me introduce myself. My name is Kenenth Lee, working for Hisilicon. Our company provide server, AI, networking and terminal SoCs to the market. We tried to create an accelerator framework a year back and now we are working on the branch here (There is document in Document

Re: [RFCv3 PATCH 1/6] uacce: Add documents for WarpDrive/uacce

2018-11-20 Thread Kenneth Lee
On Mon, Nov 19, 2018 at 08:29:39PM -0700, Jason Gunthorpe wrote: > Date: Mon, 19 Nov 2018 20:29:39 -0700 > From: Jason Gunthorpe > To: Kenneth Lee > CC: Leon Romanovsky , Kenneth Lee , > Tim Sell , linux-...@vger.kernel.org, Alexander > Shishkin , Zaibo Xu > , zhangfei..

Re: [RFCv3 PATCH 1/6] uacce: Add documents for WarpDrive/uacce

2018-11-20 Thread Kenneth Lee
On Mon, Nov 19, 2018 at 08:29:39PM -0700, Jason Gunthorpe wrote: > Date: Mon, 19 Nov 2018 20:29:39 -0700 > From: Jason Gunthorpe > To: Kenneth Lee > CC: Leon Romanovsky , Kenneth Lee , > Tim Sell , linux-...@vger.kernel.org, Alexander > Shishkin , Zaibo Xu > , zhangfei..

Re: [RFCv3 PATCH 1/6] uacce: Add documents for WarpDrive/uacce

2018-11-19 Thread Kenneth Lee
On Mon, Nov 19, 2018 at 05:14:05PM +0800, Kenneth Lee wrote: > Date: Mon, 19 Nov 2018 17:14:05 +0800 > From: Kenneth Lee > To: Leon Romanovsky > CC: Tim Sell , linux-...@vger.kernel.org, > Alexander Shishkin , Zaibo Xu > , zhangfei@foxmail.com, linux...@huawei.c

Re: [RFCv3 PATCH 1/6] uacce: Add documents for WarpDrive/uacce

2018-11-19 Thread Kenneth Lee
On Mon, Nov 19, 2018 at 05:14:05PM +0800, Kenneth Lee wrote: > Date: Mon, 19 Nov 2018 17:14:05 +0800 > From: Kenneth Lee > To: Leon Romanovsky > CC: Tim Sell , linux-...@vger.kernel.org, > Alexander Shishkin , Zaibo Xu > , zhangfei@foxmail.com, linux...@huawei.c

Re: [RFCv3 PATCH 1/6] uacce: Add documents for WarpDrive/uacce

2018-11-19 Thread Kenneth Lee
On Thu, Nov 15, 2018 at 04:54:55PM +0200, Leon Romanovsky wrote: > Date: Thu, 15 Nov 2018 16:54:55 +0200 > From: Leon Romanovsky > To: Kenneth Lee > CC: Kenneth Lee , Tim Sell , > linux-...@vger.kernel.org, Alexander Shishkin > , Zaibo Xu , > zhangfei@foxmail.com

Re: [RFCv3 PATCH 1/6] uacce: Add documents for WarpDrive/uacce

2018-11-19 Thread Kenneth Lee
On Thu, Nov 15, 2018 at 04:54:55PM +0200, Leon Romanovsky wrote: > Date: Thu, 15 Nov 2018 16:54:55 +0200 > From: Leon Romanovsky > To: Kenneth Lee > CC: Kenneth Lee , Tim Sell , > linux-...@vger.kernel.org, Alexander Shishkin > , Zaibo Xu , > zhangfei@foxmail.com

[RFCv3 PATCH 1/6] uacce: Add documents for WarpDrive/uacce

2018-11-12 Thread Kenneth Lee
From: Kenneth Lee WarpDrive is a general accelerator framework for the user application to access the hardware without going through the kernel in data path. The kernel component to provide kernel facility to driver for expose the user interface is called uacce. It a short name for "Un

[RFCv3 PATCH 1/6] uacce: Add documents for WarpDrive/uacce

2018-11-12 Thread Kenneth Lee
From: Kenneth Lee WarpDrive is a general accelerator framework for the user application to access the hardware without going through the kernel in data path. The kernel component to provide kernel facility to driver for expose the user interface is called uacce. It a short name for "Un

Re: [PATCH 4/7] crypto: add hisilicon Queue Manager driver

2018-09-06 Thread Kenneth Lee
On Sun, Sep 02, 2018 at 07:15:07PM -0700, Randy Dunlap wrote: > Date: Sun, 2 Sep 2018 19:15:07 -0700 > From: Randy Dunlap > To: Kenneth Lee , Jonathan Corbet , > Herbert Xu , "David S . Miller" > , Joerg Roedel , Alex Williamson > , Kenneth Lee , Hao &g

Re: [PATCH 4/7] crypto: add hisilicon Queue Manager driver

2018-09-06 Thread Kenneth Lee
On Sun, Sep 02, 2018 at 07:15:07PM -0700, Randy Dunlap wrote: > Date: Sun, 2 Sep 2018 19:15:07 -0700 > From: Randy Dunlap > To: Kenneth Lee , Jonathan Corbet , > Herbert Xu , "David S . Miller" > , Joerg Roedel , Alex Williamson > , Kenneth Lee , Hao &g

Re: [RFC PATCH 3/7] vfio: add spimdev support

2018-08-05 Thread Kenneth Lee
On Thu, Aug 02, 2018 at 12:43:27PM -0600, Alex Williamson wrote: > Date: Thu, 2 Aug 2018 12:43:27 -0600 > From: Alex Williamson > To: Cornelia Huck > CC: Kenneth Lee , "Tian, Kevin" > , Kenneth Lee , Jonathan Corbet > , Herbert Xu , "David S . > Miller&

Re: [RFC PATCH 3/7] vfio: add spimdev support

2018-08-05 Thread Kenneth Lee
On Thu, Aug 02, 2018 at 12:43:27PM -0600, Alex Williamson wrote: > Date: Thu, 2 Aug 2018 12:43:27 -0600 > From: Alex Williamson > To: Cornelia Huck > CC: Kenneth Lee , "Tian, Kevin" > , Kenneth Lee , Jonathan Corbet > , Herbert Xu , "David S . > Miller&

Re: [RFC PATCH 0/7] A General Accelerator Framework, WarpDrive

2018-08-05 Thread Kenneth Lee
On Fri, Aug 03, 2018 at 03:20:43PM +0100, Alan Cox wrote: > Date: Fri, 3 Aug 2018 15:20:43 +0100 > From: Alan Cox > To: Jerome Glisse > CC: "Tian, Kevin" , Kenneth Lee > , Hao Fang , Herbert Xu > , "k...@vger.kernel.org" > , Jonathan Corbet , Greg >

Re: [RFC PATCH 0/7] A General Accelerator Framework, WarpDrive

2018-08-05 Thread Kenneth Lee
On Fri, Aug 03, 2018 at 03:20:43PM +0100, Alan Cox wrote: > Date: Fri, 3 Aug 2018 15:20:43 +0100 > From: Alan Cox > To: Jerome Glisse > CC: "Tian, Kevin" , Kenneth Lee > , Hao Fang , Herbert Xu > , "k...@vger.kernel.org" > , Jonathan Corbet , Greg >

[PATCH v4] IB/umem: Release pid in error and ODP flow

2017-01-04 Thread Kenneth Lee
1. Release pid before enter odp flow 2. Release pid when fail to allocate memory Fixes: 87773dd56d54 ("IB: ib_umem_release() should decrement mm->pinned_vm from ib_umem_get") Fixes: 8ada2c1c0c1d ("IB/core: Add support for on demand paging regions") Signed-off

[PATCH v4] IB/umem: Release pid in error and ODP flow

2017-01-04 Thread Kenneth Lee
1. Release pid before enter odp flow 2. Release pid when fail to allocate memory Fixes: 87773dd56d54 ("IB: ib_umem_release() should decrement mm->pinned_vm from ib_umem_get") Fixes: 8ada2c1c0c1d ("IB/core: Add support for on demand paging regions") Signed-off-by: Kenneth L

Re: [PATCH v3] IB/umem: Release pid in error and ODP flow

2017-01-03 Thread Kenneth Lee
On Tue, Jan 03, 2017 at 12:12:24PM +0200, Leon Romanovsky wrote: > Date: Tue, 3 Jan 2017 12:12:24 +0200 > From: Leon Romanovsky <l...@kernel.org> > To: Kenneth Lee <liguo...@hisilicon.com> > CC: dledf...@redhat.com, sean.he...@intel.com, hal.rosenst...@gmail.com, >

Re: [PATCH v3] IB/umem: Release pid in error and ODP flow

2017-01-03 Thread Kenneth Lee
On Tue, Jan 03, 2017 at 12:12:24PM +0200, Leon Romanovsky wrote: > Date: Tue, 3 Jan 2017 12:12:24 +0200 > From: Leon Romanovsky > To: Kenneth Lee > CC: dledf...@redhat.com, sean.he...@intel.com, hal.rosenst...@gmail.com, > robin.mur...@arm.com, jroe...@suse.de, egtv...@samfu

Re: [PATCH v3] IB/umem: Release pid in error and ODP flow

2017-01-02 Thread Kenneth Lee
On Sun, Jan 01, 2017 at 08:47:12AM +0200, Leon Romanovsky wrote: > Date: Sun, 1 Jan 2017 08:47:12 +0200 > From: Leon Romanovsky <l...@kernel.org> > To: Kenneth Lee <liguo...@hisilicon.com> > CC: dledf...@redhat.com, sean.he...@intel.com, hal.rosenst...@gmail.com, >

Re: [PATCH v3] IB/umem: Release pid in error and ODP flow

2017-01-02 Thread Kenneth Lee
On Sun, Jan 01, 2017 at 08:47:12AM +0200, Leon Romanovsky wrote: > Date: Sun, 1 Jan 2017 08:47:12 +0200 > From: Leon Romanovsky > To: Kenneth Lee > CC: dledf...@redhat.com, sean.he...@intel.com, hal.rosenst...@gmail.com, > robin.mur...@arm.com, jroe...@suse.de, egtv...@samfu

Re: [PATCH v3] IB/umem: Release pid in error and ODP flow

2017-01-02 Thread Kenneth Lee
Thanks, I did read the doc, but maybe I mis-understant some points. Could you please point it out? On Sun, Jan 01, 2017 at 08:47:12AM +0200, Leon Romanovsky wrote: > Date: Sun, 1 Jan 2017 08:47:12 +0200 > From: Leon Romanovsky <l...@kernel.org> > To: Kenneth Lee <liguo...@h

Re: [PATCH v3] IB/umem: Release pid in error and ODP flow

2017-01-02 Thread Kenneth Lee
Thanks, I did read the doc, but maybe I mis-understant some points. Could you please point it out? On Sun, Jan 01, 2017 at 08:47:12AM +0200, Leon Romanovsky wrote: > Date: Sun, 1 Jan 2017 08:47:12 +0200 > From: Leon Romanovsky > To: Kenneth Lee > CC: dledf...@redhat.com, sean.he.

[PATCH v3] IB/umem: Release pid in error and ODP flow

2016-12-30 Thread Kenneth Lee
and paging regions") This patch introduce a ODP flow without release pid before enter it Signed-off-by: Kenneth Lee <liguo...@hisilicon.com> Reviewed-by: Haggai Eran <hagg...@mellanox.com> --- Change from v1 to v2: Correcting the patch title and description Change from v

[PATCH v3] IB/umem: Release pid in error and ODP flow

2016-12-30 Thread Kenneth Lee
and paging regions") This patch introduce a ODP flow without release pid before enter it Signed-off-by: Kenneth Lee Reviewed-by: Haggai Eran --- Change from v1 to v2: Correcting the patch title and description Change from v2 to v3: Update the title and add "Fixes" fi

Re: [PATCH v2] ib umem: bugfix: mixed put_pid()s in ib_umem_get()

2016-12-30 Thread Kenneth Lee
On Fri, Dec 30, 2016 at 08:55:10AM +0200, Leon Romanovsky wrote: > Date: Fri, 30 Dec 2016 08:55:10 +0200 > From: Leon Romanovsky <l...@kernel.org> > To: Kenneth Lee <liguo...@hisilicon.com> > CC: dledf...@redhat.com, sean.he...@intel.com, hal.rosenst...@gmail.com, >

Re: [PATCH v2] ib umem: bugfix: mixed put_pid()s in ib_umem_get()

2016-12-30 Thread Kenneth Lee
On Fri, Dec 30, 2016 at 08:55:10AM +0200, Leon Romanovsky wrote: > Date: Fri, 30 Dec 2016 08:55:10 +0200 > From: Leon Romanovsky > To: Kenneth Lee > CC: dledf...@redhat.com, sean.he...@intel.com, hal.rosenst...@gmail.com, > robin.mur...@arm.com, jroe...@suse.de, egtv...@samfu

Re: [PATCH v2] ib umem: bugfix: mixed put_pid()s in ib_umem_get()

2016-12-29 Thread Kenneth Lee
ec 29, 2016 at 10:17:56AM +0200, Leon Romanovsky wrote: > Date: Thu, 29 Dec 2016 10:17:56 +0200 > From: Leon Romanovsky <l...@kernel.org> > To: Kenneth Lee <liguo...@hisilicon.com> > CC: dledf...@redhat.com, sean.he...@intel.com, hal.rosenst...@gmail.com, > robin.mur...

Re: [PATCH v2] ib umem: bugfix: mixed put_pid()s in ib_umem_get()

2016-12-29 Thread Kenneth Lee
ec 29, 2016 at 10:17:56AM +0200, Leon Romanovsky wrote: > Date: Thu, 29 Dec 2016 10:17:56 +0200 > From: Leon Romanovsky > To: Kenneth Lee > CC: dledf...@redhat.com, sean.he...@intel.com, hal.rosenst...@gmail.com, > robin.mur...@arm.com, jroe...@suse.de, egtv...@samfundet.n

[PATCH v2] ib umem: bugfix: mixed put_pid()s in ib_umem_get()

2016-12-29 Thread Kenneth Lee
There are two bugfixes in this patch: 1. When the execution go to the ib_umem_odp_get() path, pid should be put back. 2. When the memory allocation fail, the pid also should be put back before exit. Signed-off-by: Kenneth Lee <liguo...@hisilicon.com> Reviewed-by: Haggai Eran

[PATCH v2] ib umem: bugfix: mixed put_pid()s in ib_umem_get()

2016-12-29 Thread Kenneth Lee
There are two bugfixes in this patch: 1. When the execution go to the ib_umem_odp_get() path, pid should be put back. 2. When the memory allocation fail, the pid also should be put back before exit. Signed-off-by: Kenneth Lee Reviewed-by: Haggai Eran --- Change from v1 to v2

Re: [PATCH] ib umem: bug: put pid back before return from error path

2016-12-28 Thread Kenneth Lee
0:00:57 +0200 > From: Mark Bloch <ma...@mellanox.com> > To: Kenneth Lee <liguo...@hisilicon.com>, dledf...@redhat.com, > sean.he...@intel.com, hal.rosenst...@gmail.com > CC: robin.mur...@arm.com, jroe...@suse.de, egtv...@samfundet.no, > vgu...@synopsys.com, dave.han...@l

Re: [PATCH] ib umem: bug: put pid back before return from error path

2016-12-28 Thread Kenneth Lee
0:00:57 +0200 > From: Mark Bloch > To: Kenneth Lee , dledf...@redhat.com, > sean.he...@intel.com, hal.rosenst...@gmail.com > CC: robin.mur...@arm.com, jroe...@suse.de, egtv...@samfundet.no, > vgu...@synopsys.com, dave.han...@linux.intel.com, lstoa...@gmail.com, > k...@kernel

[PATCH] ib umem: bugfix: mixed put_pid()s in ib_umem_get()

2016-12-28 Thread Kenneth Lee
There are two bugfixes in this patch: 1. When the execution go to the ib_umem_odp_get() path, pid should be put back. 2. When the memory allocation fail, the pid also should be put back before exit. Signed-off-by: Kenneth Lee <liguo...@hisilicon.com> --- drivers/infiniband/core/umem

[PATCH] ib umem: bugfix: mixed put_pid()s in ib_umem_get()

2016-12-28 Thread Kenneth Lee
There are two bugfixes in this patch: 1. When the execution go to the ib_umem_odp_get() path, pid should be put back. 2. When the memory allocation fail, the pid also should be put back before exit. Signed-off-by: Kenneth Lee --- drivers/infiniband/core/umem.c | 2 ++ 1 file changed, 2

[PATCH] ib umem: bug: put pid back before return from error path

2016-12-21 Thread Kenneth Lee
I catched this bug when reading the code. I'm sorry I have no hardware to test it. But it is abviously a bug. Signed-off-by: Kenneth Lee <liguo...@hisilicon.com> --- drivers/infiniband/core/umem.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/infiniband/core/umem.c b/d

[PATCH] ib umem: bug: put pid back before return from error path

2016-12-21 Thread Kenneth Lee
I catched this bug when reading the code. I'm sorry I have no hardware to test it. But it is abviously a bug. Signed-off-by: Kenneth Lee --- drivers/infiniband/core/umem.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/infiniband/core/umem.c b/drivers/infiniband/core/umem.c index

[PATCH] [bugfix] replace unnessary ldax with common ldr

2016-08-30 Thread Kenneth Lee
(add comment for the previous mail, sorry for the duplication) There is no store_ex pairing with this load_ex. It is not necessary and gave wrong hint to the cache system. Signed-off-by: Kenneth Lee <liguo...@hisilicon.com> --- arch/arm64/include/asm/spinlock.h | 2 +- 1 file chan

[PATCH] [bugfix] replace unnessary ldax with common ldr

2016-08-30 Thread Kenneth Lee
(add comment for the previous mail, sorry for the duplication) There is no store_ex pairing with this load_ex. It is not necessary and gave wrong hint to the cache system. Signed-off-by: Kenneth Lee --- arch/arm64/include/asm/spinlock.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion

[PATCH] [bugfix] replace unnessary ldax with common ldr

2016-08-29 Thread Kenneth Lee
Signed-off-by: Kenneth Lee <liguo...@hisilicon.com> --- arch/arm64/include/asm/spinlock.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/include/asm/spinlock.h b/arch/arm64/include/asm/spinlock.h index c85e96d..3334c4f 100644 --- a/arch/arm64/inclu

[PATCH] [bugfix] replace unnessary ldax with common ldr

2016-08-29 Thread Kenneth Lee
Signed-off-by: Kenneth Lee --- arch/arm64/include/asm/spinlock.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/include/asm/spinlock.h b/arch/arm64/include/asm/spinlock.h index c85e96d..3334c4f 100644 --- a/arch/arm64/include/asm/spinlock.h +++ b/arch/arm64

Re: Fwd: Re: [PATCH net-next v2 1/2] hisilicon net: removes the once HANDEL_TX_MSG macro

2015-10-15 Thread Kenneth Lee
On Tue, Oct 13, 2015 at 04:18:23PM +0200, Arnd Bergmann wrote: > Date: Tue, 13 Oct 2015 16:18:23 +0200 > From: Arnd Bergmann > To: Kenneth Lee > Cc: da...@davemloft.net, j...@perches.com, liguo...@hisilicon.com, > yisen.zhu...@huawei.com, net...@vger.kernel.org, linux...@huawei.c

Re: Fwd: Re: [PATCH net-next v2 1/2] hisilicon net: removes the once HANDEL_TX_MSG macro

2015-10-15 Thread Kenneth Lee
On Tue, Oct 13, 2015 at 04:18:23PM +0200, Arnd Bergmann wrote: > Date: Tue, 13 Oct 2015 16:18:23 +0200 > From: Arnd Bergmann <a...@arndb.de> > To: Kenneth Lee <kenneth-lee-2...@foxmail.com> > Cc: da...@davemloft.net, j...@perches.com, liguo...@hisilicon.com, > y

Re: Fwd: Re: [PATCH net-next v2 1/2] hisilicon net: removes the once HANDEL_TX_MSG macro

2015-10-13 Thread Kenneth Lee
On Tue, Oct 13, 2015 at 03:06:21PM +0800, huangdaode wrote: > Date: Tue, 13 Oct 2015 15:06:21 +0800 > From: huangdaode > To: Kenneth Lee > Subject: Fwd: Re: [PATCH net-next v2 1/2] hisilicon net: removes the once > HANDEL_TX_MSG macro > Message-ID: <561cad6d.

Re: Fwd: Re: [PATCH net-next v2 1/2] hisilicon net: removes the once HANDEL_TX_MSG macro

2015-10-13 Thread Kenneth Lee
On Tue, Oct 13, 2015 at 03:06:21PM +0800, huangdaode wrote: > Date: Tue, 13 Oct 2015 15:06:21 +0800 > From: huangdaode <huangda...@hisilicon.com> > To: Kenneth Lee <kenneth_lee_2...@126.com> > Subject: Fwd: Re: [PATCH net-next v2 1/2] hisilicon net: removes the onc

Re: 答复: [PATCH 1/5] net: add Hisilicon Network Subsystem support (config and documents)

2015-08-27 Thread Kenneth Lee
On Fri, Aug 21, 2015 at 04:00:35PM +0200, Arnd Bergmann wrote: > Date: Fri, 21 Aug 2015 16:00:35 +0200 > From: Arnd Bergmann > To: "Liguozhu (Kenneth)" > CC: "mark.rutl...@arm.com" , > "devicet...@vger.kernel.org" , > "pawel.m...@arm.com" , "ijc+devicet...@hellion.org.uk" > ,

Re: 答复: [PATCH 1/5] net: add Hisilicon Network Subsystem support (config and documents)

2015-08-27 Thread Kenneth Lee
On Fri, Aug 21, 2015 at 04:00:35PM +0200, Arnd Bergmann wrote: Date: Fri, 21 Aug 2015 16:00:35 +0200 From: Arnd Bergmann a...@arndb.de To: Liguozhu (Kenneth) liguo...@hisilicon.com CC: mark.rutl...@arm.com mark.rutl...@arm.com, devicet...@vger.kernel.org devicet...@vger.kernel.org,

Re: [PATCH 2/5] net: add Hisilicon Network Subsystem hnae framework support

2015-08-21 Thread Kenneth Lee
Thanks, Klimov, You are right. I will fix it in next patches. On Tue, Aug 18, 2015 at 03:12:02AM +0300, Alexey Klimov wrote: > Date: Tue, 18 Aug 2015 03:12:02 +0300 > From: Alexey Klimov > To: Kenneth Lee > CC: robh...@kernel.org, pawel.m...@arm.com, Mark Rutland >

Re: [PATCH 2/5] net: add Hisilicon Network Subsystem hnae framework support

2015-08-21 Thread Kenneth Lee
Thanks, Klimov, You are right. I will fix it in next patches. On Tue, Aug 18, 2015 at 03:12:02AM +0300, Alexey Klimov wrote: Date: Tue, 18 Aug 2015 03:12:02 +0300 From: Alexey Klimov klimov.li...@gmail.com To: Kenneth Lee liguo...@hisilicon.com CC: robh...@kernel.org, pawel.m...@arm.com

Re: [PATCH 3/5] net: add Hisilicon Network Subsystem MDIO support

2015-08-17 Thread Kenneth Lee
Thanks, Arnd, You are right. This is the same IP as hip04_mdio.c. We just mis-understand the hardware design. We will merge them and re-submit the patches. On Fri, Aug 14, 2015 at 10:57:28PM +0200, Arnd Bergmann wrote: > On Friday 14 August 2015 18:30:20 Kenneth Lee wrote: > > &

Re: [PATCH 3/5] net: add Hisilicon Network Subsystem MDIO support

2015-08-17 Thread Kenneth Lee
Thanks, Arnd, You are right. This is the same IP as hip04_mdio.c. We just mis-understand the hardware design. We will merge them and re-submit the patches. On Fri, Aug 14, 2015 at 10:57:28PM +0200, Arnd Bergmann wrote: On Friday 14 August 2015 18:30:20 Kenneth Lee wrote: +#define

[PATCH 5/5] net: add Hisilicon Network Subsystem basic ethernet support

2015-08-14 Thread Kenneth Lee
This is to add basic ethernet support for HNS. It is one of the way to use the HNS acceleration engine. But most of the decoding/encoding capability of the AE cannot be used in this way. This submit contains the basic feature as a ethernet driver. More will be added later. Signed-off-by: Kenneth

[PATCH 3/5] net: add Hisilicon Network Subsystem MDIO support

2015-08-14 Thread Kenneth Lee
The MDIO support for Hisilicon Network Subsystem. It is used in Hislicon P660 and Hi1610 SoC to control the external PHY Signed-off-by: Yisen Zhuang Signed-off-by: Kenneth Lee --- drivers/net/ethernet/hisilicon/hns/hns_mdio_main.c | 597 + 1 file changed, 597 insertions

[PATCH 2/5] net: add Hisilicon Network Subsystem hnae framework support

2015-08-14 Thread Kenneth Lee
HNAE (Hisilicon Network Acceleration Engine) is a framework to provide a unified ring buffer interface for Hisilicon Network Acceleration Engines. With the interface, upper layer can work as ethernet driver, ODP driver or other service driver on purpose. Signed-off-by: Kenneth Lee Signed-off

[PATCH 0/5] net: Hisilicon Network Subsystem support

2015-08-14 Thread Kenneth Lee
data. The patchset is porting from some internal-use drivers, it is tested and working fine with the hardware. But some detail design is not that good. But we want to know if the community can accept the structure/arch before refining it. Thank you. Kenneth Lee (5): net: add Hisilicon Network

[PATCH 1/5] net: add Hisilicon Network Subsystem support (config and documents)

2015-08-14 Thread Kenneth Lee
control to the PHY, used by acceleration engine This submit add basic config and documents Signed-off-by: Kenneth Lee Signed-off-by: Yisen Zhuang --- .../devicetree/bindings/net/hisilicon-hns-dsaf.txt | 40 + .../devicetree/bindings/net/hisilicon-hns-mdio.txt | 22 +++ .../devicetree/bindings

[PATCH 5/5] net: add Hisilicon Network Subsystem basic ethernet support

2015-08-14 Thread Kenneth Lee
This is to add basic ethernet support for HNS. It is one of the way to use the HNS acceleration engine. But most of the decoding/encoding capability of the AE cannot be used in this way. This submit contains the basic feature as a ethernet driver. More will be added later. Signed-off-by: Kenneth

[PATCH 1/5] net: add Hisilicon Network Subsystem support (config and documents)

2015-08-14 Thread Kenneth Lee
control to the PHY, used by acceleration engine This submit add basic config and documents Signed-off-by: Kenneth Lee liguo...@huawei.com Signed-off-by: Yisen Zhuang yisen.zhu...@huawei.com --- .../devicetree/bindings/net/hisilicon-hns-dsaf.txt | 40 + .../devicetree/bindings/net/hisilicon-hns

[PATCH 0/5] net: Hisilicon Network Subsystem support

2015-08-14 Thread Kenneth Lee
data. The patchset is porting from some internal-use drivers, it is tested and working fine with the hardware. But some detail design is not that good. But we want to know if the community can accept the structure/arch before refining it. Thank you. Kenneth Lee (5): net: add Hisilicon Network

[PATCH 2/5] net: add Hisilicon Network Subsystem hnae framework support

2015-08-14 Thread Kenneth Lee
HNAE (Hisilicon Network Acceleration Engine) is a framework to provide a unified ring buffer interface for Hisilicon Network Acceleration Engines. With the interface, upper layer can work as ethernet driver, ODP driver or other service driver on purpose. Signed-off-by: Kenneth Lee liguo

[PATCH 3/5] net: add Hisilicon Network Subsystem MDIO support

2015-08-14 Thread Kenneth Lee
The MDIO support for Hisilicon Network Subsystem. It is used in Hislicon P660 and Hi1610 SoC to control the external PHY Signed-off-by: Yisen Zhuang yisen.zhu...@huawei.com Signed-off-by: Kenneth Lee liguo...@huawei.com --- drivers/net/ethernet/hisilicon/hns/hns_mdio_main.c | 597

Re: An small ftrace enhancement idea

2013-10-31 Thread Kenneth Lee
ignorance. Thanks and regards. --Kenneth 在 2013年10月31日,下午1:50,Steven Rostedt 写道: > On Wed, 30 Oct 2013 15:39:50 -0700 > Kenneth Lee wrote: > >> Dear Steven, >> >> I want to add a new function to ftrace subsystem. Sometimes, we will face >> such a problem: sy

Re: An small ftrace enhancement idea

2013-10-31 Thread Kenneth Lee
ignorance. Thanks and regards. --Kenneth 在 2013年10月31日,下午1:50,Steven Rostedt rost...@goodmis.org 写道: On Wed, 30 Oct 2013 15:39:50 -0700 Kenneth Lee nek.in...@gmail.com wrote: Dear Steven, I want to add a new function to ftrace subsystem. Sometimes, we will face such a problem: system do

An small ftrace enhancement idea

2013-10-30 Thread Kenneth Lee
nel/debug/tracing/waiter #wait for signal cp /sys/kernel/debug/tracing/trace /var/log/delay_infomation It looks like a standalone function. But I don’t have place to put it. Do you think I can implement it in ftrace? And do you think if there are better solution? Thank you. Kenneth

An small ftrace enhancement idea

2013-10-30 Thread Kenneth Lee
/debug/tracing/waiter #wait for signal cp /sys/kernel/debug/tracing/trace /var/log/delay_infomation It looks like a standalone function. But I don’t have place to put it. Do you think I can implement it in ftrace? And do you think if there are better solution? Thank you. Kenneth Lee