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
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
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
在 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
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
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..
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..
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
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
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
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
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
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
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
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
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&
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&
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
>
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
>
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
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
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,
>
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
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,
>
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
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
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.
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
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
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,
>
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
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...
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
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
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
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
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
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
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
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
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
(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
(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
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
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
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
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
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.
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
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"
> ,
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,
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
>
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
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:
>
> &
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
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
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
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
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
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
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
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
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
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
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
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
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
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
/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
69 matches
Mail list logo