RE: [PATCH v2 2/2] crypto: virtio: Fix use-after-free in virtio_crypto_skcipher_finalize_req()

2020-05-26 Thread Gonglei (Arei)
> -Original Message- > From: Longpeng (Mike, Cloud Infrastructure Service Product Dept.) > Sent: Tuesday, May 26, 2020 11:20 AM > To: linux-cry...@vger.kernel.org > Cc: Longpeng (Mike, Cloud Infrastructure Service Product Dept.) > ; LABBE Corentin ; Gonglei >

RE: [PATCH] virtio_pci: fix a NULL pointer reference in vp_del_vqs

2019-03-08 Thread Gonglei (Arei)
> -Original Message- > From: longpeng > Sent: Saturday, March 09, 2019 3:18 PM > To: m...@redhat.com; jasow...@redhat.com > Cc: virtualizat...@lists.linux-foundation.org; linux-kernel@vger.kernel.org; > longpeng ; Gonglei (Arei) > > Subject: [PATCH] virtio

RE: [PATCH v3 5/5] KVM/x86/lbr: lazy save the guest lbr stack

2018-09-20 Thread Gonglei (Arei)
redhat.com; > rkrc...@redhat.com; like...@intel.com; wei.w.w...@intel.com; > ja...@google.com; Gonglei (Arei) > Subject: [PATCH v3 5/5] KVM/x86/lbr: lazy save the guest lbr stack > > When the vCPU is scheduled in: > - if the lbr feature was used in the last vCPU time slice, set t

RE: [PATCH v3 5/5] KVM/x86/lbr: lazy save the guest lbr stack

2018-09-20 Thread Gonglei (Arei)
redhat.com; > rkrc...@redhat.com; like...@intel.com; wei.w.w...@intel.com; > ja...@google.com; Gonglei (Arei) > Subject: [PATCH v3 5/5] KVM/x86/lbr: lazy save the guest lbr stack > > When the vCPU is scheduled in: > - if the lbr feature was used in the last vCPU time slice, set t

RE: [PATCH v3 0/5] Guest LBR Enabling

2018-09-20 Thread Gonglei (Arei)
: kan.li...@intel.com; pet...@infradead.org; mi...@redhat.com; > rkrc...@redhat.com; like...@intel.com; wei.w.w...@intel.com; > ja...@google.com; Gonglei (Arei) > Subject: [PATCH v3 0/5] Guest LBR Enabling > > Last Branch Recording (LBR) is a performance monitor unit (PMU) feature

RE: [PATCH v3 0/5] Guest LBR Enabling

2018-09-20 Thread Gonglei (Arei)
: kan.li...@intel.com; pet...@infradead.org; mi...@redhat.com; > rkrc...@redhat.com; like...@intel.com; wei.w.w...@intel.com; > ja...@google.com; Gonglei (Arei) > Subject: [PATCH v3 0/5] Guest LBR Enabling > > Last Branch Recording (LBR) is a performance monitor unit (PMU) feature

RE: [PATCH v2 7/8] KVM: PMU: support to save/restore the guest lbr stack on vCPU switching

2018-09-18 Thread Gonglei (Arei)
> -Original Message- > From: Wei Wang [mailto:wei.w.w...@intel.com] > Sent: Tuesday, September 18, 2018 5:58 PM > To: Andi Kleen ; Gonglei (Arei) > > Cc: linux-kernel@vger.kernel.org; k...@vger.kernel.org; pbonz...@redhat.com; > kan.li...@intel.com; pet

RE: [PATCH v2 7/8] KVM: PMU: support to save/restore the guest lbr stack on vCPU switching

2018-09-18 Thread Gonglei (Arei)
> -Original Message- > From: Wei Wang [mailto:wei.w.w...@intel.com] > Sent: Tuesday, September 18, 2018 5:58 PM > To: Andi Kleen ; Gonglei (Arei) > > Cc: linux-kernel@vger.kernel.org; k...@vger.kernel.org; pbonz...@redhat.com; > kan.li...@intel.com; pet

RE: [PATCH v2 7/8] KVM: PMU: support to save/restore the guest lbr stack on vCPU switching

2018-09-17 Thread Gonglei (Arei)
> -Original Message- > From: kvm-ow...@vger.kernel.org [mailto:kvm-ow...@vger.kernel.org] On > Behalf Of Wei Wang > Sent: Thursday, September 06, 2018 7:31 PM > To: linux-kernel@vger.kernel.org; k...@vger.kernel.org; pbonz...@redhat.com; > a...@linux.intel.com > Cc: kan.li...@intel.com;

RE: [PATCH v2 7/8] KVM: PMU: support to save/restore the guest lbr stack on vCPU switching

2018-09-17 Thread Gonglei (Arei)
> -Original Message- > From: kvm-ow...@vger.kernel.org [mailto:kvm-ow...@vger.kernel.org] On > Behalf Of Wei Wang > Sent: Thursday, September 06, 2018 7:31 PM > To: linux-kernel@vger.kernel.org; k...@vger.kernel.org; pbonz...@redhat.com; > a...@linux.intel.com > Cc: kan.li...@intel.com;

RE: [RFC v1 2/2] crypto/virtio-crypto: Register an algo only if it's supported

2018-06-11 Thread Gonglei (Arei)
> -Original Message- > From: Farhan Ali [mailto:al...@linux.ibm.com] > Sent: Saturday, June 09, 2018 3:09 AM > To: linux-kernel@vger.kernel.org; k...@vger.kernel.org > Cc: m...@redhat.com; qemu-de...@nongnu.org; Gonglei (Arei) > ; longpeng ; > pa...@linux.ibm.com;

RE: [RFC v1 2/2] crypto/virtio-crypto: Register an algo only if it's supported

2018-06-11 Thread Gonglei (Arei)
> -Original Message- > From: Farhan Ali [mailto:al...@linux.ibm.com] > Sent: Saturday, June 09, 2018 3:09 AM > To: linux-kernel@vger.kernel.org; k...@vger.kernel.org > Cc: m...@redhat.com; qemu-de...@nongnu.org; Gonglei (Arei) > ; longpeng ; > pa...@linux.ibm.com;

RE: [RFC v1 1/2] crypto/virtio-crypto: Read crypto services and algorithm masks

2018-06-11 Thread Gonglei (Arei)
> -Original Message- > From: Farhan Ali [mailto:al...@linux.ibm.com] > Sent: Saturday, June 09, 2018 3:09 AM > To: linux-kernel@vger.kernel.org; k...@vger.kernel.org > Cc: m...@redhat.com; qemu-de...@nongnu.org; Gonglei (Arei) > ; longpeng ; > pa...@linux.ibm.com;

RE: [RFC v1 1/2] crypto/virtio-crypto: Read crypto services and algorithm masks

2018-06-11 Thread Gonglei (Arei)
> -Original Message- > From: Farhan Ali [mailto:al...@linux.ibm.com] > Sent: Saturday, June 09, 2018 3:09 AM > To: linux-kernel@vger.kernel.org; k...@vger.kernel.org > Cc: m...@redhat.com; qemu-de...@nongnu.org; Gonglei (Arei) > ; longpeng ; > pa...@linux.ibm.com;

RE: [PATCH] KVM: x86: ioapic: Clear IRR for rtc bit when rtc EOI gotten

2017-12-14 Thread Gonglei (Arei)
> -Original Message- > From: Liran Alon [mailto:liran.a...@oracle.com] > Sent: Thursday, December 14, 2017 9:02 PM > To: Gonglei (Arei); pbonz...@redhat.com; rkrc...@redhat.com > Cc: k...@vger.kernel.org; linux-kernel@vger.kernel.org; Huangweidong (C) > Subject: Re

RE: [PATCH] KVM: x86: ioapic: Clear IRR for rtc bit when rtc EOI gotten

2017-12-14 Thread Gonglei (Arei)
> -Original Message- > From: Liran Alon [mailto:liran.a...@oracle.com] > Sent: Thursday, December 14, 2017 9:02 PM > To: Gonglei (Arei); pbonz...@redhat.com; rkrc...@redhat.com > Cc: k...@vger.kernel.org; linux-kernel@vger.kernel.org; Huangweidong (C) > Subject: Re

RE: [PATCH CFT 0/4] VT-d PI fixes

2017-07-11 Thread Gonglei (Arei)
> -Original Message- > From: kvm-ow...@vger.kernel.org [mailto:kvm-ow...@vger.kernel.org] On > Behalf Of Paolo Bonzini > Sent: Tuesday, July 11, 2017 4:56 PM > To: Gonglei (Arei) > Cc: linux-kernel@vger.kernel.org; k...@vger.kernel.org; longpeng; > Huangweidong (C

RE: [PATCH CFT 0/4] VT-d PI fixes

2017-07-11 Thread Gonglei (Arei)
> -Original Message- > From: kvm-ow...@vger.kernel.org [mailto:kvm-ow...@vger.kernel.org] On > Behalf Of Paolo Bonzini > Sent: Tuesday, July 11, 2017 4:56 PM > To: Gonglei (Arei) > Cc: linux-kernel@vger.kernel.org; k...@vger.kernel.org; longpeng; > Huangweidong (C

RE: [PATCH v0] crypto: virtio - Refacotor virtio_crypto driver for new virito crypto services

2017-06-23 Thread Gonglei (Arei)
Hi, I'm so sorry for delay :( > -Original Message- > From: Xin Zeng [mailto:xin.z...@intel.com] > Sent: Wednesday, June 07, 2017 2:18 PM > To: linux-kernel@vger.kernel.org; linux-crypto-ow...@vger.kernel.org; > virtio-...@lists.oasis-open.org > Cc: Gonglei (Arei);

RE: [PATCH v0] crypto: virtio - Refacotor virtio_crypto driver for new virito crypto services

2017-06-23 Thread Gonglei (Arei)
Hi, I'm so sorry for delay :( > -Original Message- > From: Xin Zeng [mailto:xin.z...@intel.com] > Sent: Wednesday, June 07, 2017 2:18 PM > To: linux-kernel@vger.kernel.org; linux-crypto-ow...@vger.kernel.org; > virtio-...@lists.oasis-open.org > Cc: Gonglei (Arei);

RE: [PATCH CFT 0/4] VT-d PI fixes

2017-06-07 Thread Gonglei (Arei)
> -Original Message- > From: Paolo Bonzini [mailto:paolo.bonz...@gmail.com] On Behalf Of Paolo > Bonzini > Sent: Tuesday, June 06, 2017 6:57 PM > To: linux-kernel@vger.kernel.org; k...@vger.kernel.org > Cc: longpeng; Huangweidong (C); Gonglei (Arei); wangxin (U); Radi

RE: [PATCH CFT 0/4] VT-d PI fixes

2017-06-07 Thread Gonglei (Arei)
> -Original Message- > From: Paolo Bonzini [mailto:paolo.bonz...@gmail.com] On Behalf Of Paolo > Bonzini > Sent: Tuesday, June 06, 2017 6:57 PM > To: linux-kernel@vger.kernel.org; k...@vger.kernel.org > Cc: longpeng; Huangweidong (C); Gonglei (Arei); wangxin (U); Radi

about CPU QoS in KVM

2017-04-20 Thread Gonglei (Arei)
Hi all, Currently, KVM do the CPU resource reservation by the cgroup mechanism which can't do entire accurate separation because the capacity of the Linux scheduler. Take the public cloud as an example, some customers rent one vm with 8 CPUs paid by enough money, they want to get enough response

about CPU QoS in KVM

2017-04-20 Thread Gonglei (Arei)
Hi all, Currently, KVM do the CPU resource reservation by the cgroup mechanism which can't do entire accurate separation because the capacity of the Linux scheduler. Take the public cloud as an example, some customers rent one vm with 8 CPUs paid by enough money, they want to get enough response

RE: [PATCH 1/6] virtio: wrap find_vqs

2017-03-29 Thread Gonglei (Arei)
> -Original Message- > From: Michael S. Tsirkin [mailto:m...@redhat.com] > Sent: Thursday, March 30, 2017 4:49 AM > Subject: [PATCH 1/6] virtio: wrap find_vqs > > We are going to add more parameters to find_vqs, let's wrap the call so > we don't need to tweak all drivers every time. > >

RE: [PATCH 1/6] virtio: wrap find_vqs

2017-03-29 Thread Gonglei (Arei)
> -Original Message- > From: Michael S. Tsirkin [mailto:m...@redhat.com] > Sent: Thursday, March 30, 2017 4:49 AM > Subject: [PATCH 1/6] virtio: wrap find_vqs > > We are going to add more parameters to find_vqs, let's wrap the call so > we don't need to tweak all drivers every time. > >

RE: [PATCH] virtio-crypto: adjust priority of algorithm

2017-01-13 Thread Gonglei (Arei)
> > From: Christian Borntraeger [mailto:borntrae...@de.ibm.com] > Sent: Friday, January 13, 2017 4:28 PM > To: Gonglei (Arei); virtualizat...@lists.linux-foundation.org; > linux-cry...@vger.kernel.org; linux-kernel@vger.kernel.org > Cc: m...@redhat.com; herb...@gondor.apana.or

RE: [PATCH] virtio-crypto: adjust priority of algorithm

2017-01-13 Thread Gonglei (Arei)
> > From: Christian Borntraeger [mailto:borntrae...@de.ibm.com] > Sent: Friday, January 13, 2017 4:28 PM > To: Gonglei (Arei); virtualizat...@lists.linux-foundation.org; > linux-cry...@vger.kernel.org; linux-kernel@vger.kernel.org > Cc: m...@redhat.com; herb...@gondor.apana.or

RE: [PATCH v8 1/1] crypto: add virtio-crypto driver

2017-01-12 Thread Gonglei (Arei)
> > On Thu, Jan 12, 2017 at 03:10:25PM +0100, Christian Borntraeger wrote: > > On 01/10/2017 01:56 PM, Christian Borntraeger wrote: > > > On 01/10/2017 01:36 PM, Gonglei (Arei) wrote: > > >> Hi, > > >> > >

RE: [PATCH v8 1/1] crypto: add virtio-crypto driver

2017-01-12 Thread Gonglei (Arei)
> > On Thu, Jan 12, 2017 at 03:10:25PM +0100, Christian Borntraeger wrote: > > On 01/10/2017 01:56 PM, Christian Borntraeger wrote: > > > On 01/10/2017 01:36 PM, Gonglei (Arei) wrote: > > >> Hi, > > >> > >

RE: [PATCH v8 1/1] crypto: add virtio-crypto driver

2017-01-10 Thread Gonglei (Arei)
Hi, > > On 12/15/2016 03:03 AM, Gonglei wrote: > [...] > > + > > +static struct crypto_alg virtio_crypto_algs[] = { { > > + .cra_name = "cbc(aes)", > > + .cra_driver_name = "virtio_crypto_aes_cbc", > > + .cra_priority = 501, > > > This is still higher than the hardware-accelerators (like

RE: [PATCH v8 1/1] crypto: add virtio-crypto driver

2017-01-10 Thread Gonglei (Arei)
Hi, > > On 12/15/2016 03:03 AM, Gonglei wrote: > [...] > > + > > +static struct crypto_alg virtio_crypto_algs[] = { { > > + .cra_name = "cbc(aes)", > > + .cra_driver_name = "virtio_crypto_aes_cbc", > > + .cra_priority = 501, > > > This is still higher than the hardware-accelerators (like

RE: [virtio-dev] Re: [Qemu-devel] [PATCH v7 1/1] crypto: add virtio-crypto driver

2016-12-15 Thread Gonglei (Arei)
Hi Michael, > > > > > > > > Subject: RE: [Qemu-devel] [PATCH v7 1/1] crypto: add virtio-crypto driver > > > > > > On Thursday, December 15, 2016 8:45 AM, Gonglei (Arei) Wrote: > > > < > > diff --git a/drivers/crypto/v

RE: [virtio-dev] Re: [Qemu-devel] [PATCH v7 1/1] crypto: add virtio-crypto driver

2016-12-15 Thread Gonglei (Arei)
Hi Michael, > > > > > > > > Subject: RE: [Qemu-devel] [PATCH v7 1/1] crypto: add virtio-crypto driver > > > > > > On Thursday, December 15, 2016 8:45 AM, Gonglei (Arei) Wrote: > > > < > > diff --git a/drivers/crypto/v

RE: [Qemu-devel] [PATCH v7 1/1] crypto: add virtio-crypto driver

2016-12-14 Thread Gonglei (Arei)
Regards, -Gonglei > -Original Message- > From: Zeng, Xin [mailto:xin.z...@intel.com] > Sent: Thursday, December 15, 2016 8:59 AM > To: Gonglei (Arei); Halil Pasic; linux-kernel@vger.kernel.org; > qemu-de...@nongnu.org; virtio-...@lists.oasis-open.org; > virtuali

RE: [Qemu-devel] [PATCH v7 1/1] crypto: add virtio-crypto driver

2016-12-14 Thread Gonglei (Arei)
Regards, -Gonglei > -Original Message- > From: Zeng, Xin [mailto:xin.z...@intel.com] > Sent: Thursday, December 15, 2016 8:59 AM > To: Gonglei (Arei); Halil Pasic; linux-kernel@vger.kernel.org; > qemu-de...@nongnu.org; virtio-...@lists.oasis-open.org; > virtuali

RE: [Qemu-devel] [PATCH v7 1/1] crypto: add virtio-crypto driver

2016-12-14 Thread Gonglei (Arei)
> > > On 12/14/2016 12:50 PM, Gonglei wrote: > > diff --git a/drivers/crypto/virtio/virtio_crypto_core.c > b/drivers/crypto/virtio/virtio_crypto_core.c > > new file mode 100644 > > index 000..c0854a1 > > --- /dev/null > > +++ b/drivers/crypto/virtio/virtio_crypto_core.c > > @@ -0,0 +1,474

RE: [Qemu-devel] [PATCH v7 1/1] crypto: add virtio-crypto driver

2016-12-14 Thread Gonglei (Arei)
> > > On 12/14/2016 12:50 PM, Gonglei wrote: > > diff --git a/drivers/crypto/virtio/virtio_crypto_core.c > b/drivers/crypto/virtio/virtio_crypto_core.c > > new file mode 100644 > > index 000..c0854a1 > > --- /dev/null > > +++ b/drivers/crypto/virtio/virtio_crypto_core.c > > @@ -0,0 +1,474

RE: [PATCH v6 2/2] crypto: add virtio-crypto driver

2016-12-14 Thread Gonglei (Arei)
Hi, > > Subject: Re: [PATCH v6 2/2] crypto: add virtio-crypto driver > > > > On 12/12/2016 11:05 PM, Michael S. Tsirkin wrote: > > On Mon, Dec 12, 2016 at 06:54:07PM +0800, Herbert Xu wrote: > >> On Mon, Dec 12, 2016 at 06:25:12AM +, Gonglei (Arei) w

RE: [PATCH v6 2/2] crypto: add virtio-crypto driver

2016-12-14 Thread Gonglei (Arei)
Hi, > > Subject: Re: [PATCH v6 2/2] crypto: add virtio-crypto driver > > > > On 12/12/2016 11:05 PM, Michael S. Tsirkin wrote: > > On Mon, Dec 12, 2016 at 06:54:07PM +0800, Herbert Xu wrote: > >> On Mon, Dec 12, 2016 at 06:25:12AM +, Gonglei (Arei) w

RE: [PATCH v6 2/2] crypto: add virtio-crypto driver

2016-12-12 Thread Gonglei (Arei)
> > Subject: Re: [PATCH v6 2/2] crypto: add virtio-crypto driver > > On Mon, Dec 12, 2016 at 06:54:07PM +0800, Herbert Xu wrote: > > On Mon, Dec 12, 2016 at 06:25:12AM +0000, Gonglei (Arei) wrote: > > > Hi, Michael & Herbert > > > > > > Because th

RE: [PATCH v6 2/2] crypto: add virtio-crypto driver

2016-12-12 Thread Gonglei (Arei)
> > Subject: Re: [PATCH v6 2/2] crypto: add virtio-crypto driver > > On Mon, Dec 12, 2016 at 06:54:07PM +0800, Herbert Xu wrote: > > On Mon, Dec 12, 2016 at 06:25:12AM +0000, Gonglei (Arei) wrote: > > > Hi, Michael & Herbert > > > > > > Because th

RE: [PATCH v6 2/2] crypto: add virtio-crypto driver

2016-12-11 Thread Gonglei (Arei)
4.10 merge window timing from Linus https://lkml.org/lkml/2016/12/7/506 Dec 23rd is the deadline for 4.10 merge window. Regards, -Gonglei > -Original Message- > From: Gonglei (Arei) > Sent: Thursday, December 08, 2016 12:37 PM > Subject: [PATCH v6 2/2] crypto: add virt

RE: [PATCH v6 2/2] crypto: add virtio-crypto driver

2016-12-11 Thread Gonglei (Arei)
4.10 merge window timing from Linus https://lkml.org/lkml/2016/12/7/506 Dec 23rd is the deadline for 4.10 merge window. Regards, -Gonglei > -Original Message- > From: Gonglei (Arei) > Sent: Thursday, December 08, 2016 12:37 PM > Subject: [PATCH v6 2/2] crypto: add virt

RE: [PATCH v6 1/2] sparc: fix a building error reported by kbuild

2016-12-10 Thread Gonglei (Arei)
Regards, -Gonglei > -Original Message- > From: linux-crypto-ow...@vger.kernel.org > [mailto:linux-crypto-ow...@vger.kernel.org] On Behalf Of Sam Ravnborg > Sent: Saturday, December 10, 2016 5:59 AM > To: Gonglei (Arei) > Cc: linux-kernel@vger.kernel.org; qem

RE: [PATCH v6 1/2] sparc: fix a building error reported by kbuild

2016-12-10 Thread Gonglei (Arei)
Regards, -Gonglei > -Original Message- > From: linux-crypto-ow...@vger.kernel.org > [mailto:linux-crypto-ow...@vger.kernel.org] On Behalf Of Sam Ravnborg > Sent: Saturday, December 10, 2016 5:59 AM > To: Gonglei (Arei) > Cc: linux-kernel@vger.kernel.org; qem

RE: [PATCH v5 1/1] crypto: add virtio-crypto driver

2016-12-07 Thread Gonglei (Arei)
Hi Sam, > > Subject: Re: [PATCH v5 1/1] crypto: add virtio-crypto driver > > On Mon, Dec 05, 2016 at 03:12:52AM +0000, Gonglei (Arei) wrote: > > I don't think the root cause of those warnings are introduced by > > virtio-crypto > driver. > > > > What's

RE: [PATCH v5 1/1] crypto: add virtio-crypto driver

2016-12-07 Thread Gonglei (Arei)
Hi Sam, > > Subject: Re: [PATCH v5 1/1] crypto: add virtio-crypto driver > > On Mon, Dec 05, 2016 at 03:12:52AM +0000, Gonglei (Arei) wrote: > > I don't think the root cause of those warnings are introduced by > > virtio-crypto > driver. > > > > What's

RE: [PATCH v5 1/1] crypto: add virtio-crypto driver

2016-12-07 Thread Gonglei (Arei)
> > Subject: Re: [PATCH v5 1/1] crypto: add virtio-crypto driver > > On Tue, Dec 06, 2016 at 09:01:49AM +0000, Gonglei (Arei) wrote: > > > > Would you please review and/or ack the virtio_crypto_algs.c? > > It is the realization of specified algs based on Linux

RE: [PATCH v5 1/1] crypto: add virtio-crypto driver

2016-12-07 Thread Gonglei (Arei)
> > Subject: Re: [PATCH v5 1/1] crypto: add virtio-crypto driver > > On Tue, Dec 06, 2016 at 09:01:49AM +0000, Gonglei (Arei) wrote: > > > > Would you please review and/or ack the virtio_crypto_algs.c? > > It is the realization of specified algs based on Linux

RE: [PATCH v5 1/1] crypto: add virtio-crypto driver

2016-12-06 Thread Gonglei (Arei)
Hi Herbert, Would you please review and/or ack the virtio_crypto_algs.c? It is the realization of specified algs based on Linux Crypto Framework. Thanks! Regards, -Gonglei > -Original Message- > From: Gonglei (Arei) > Sent: Thursday, December 01, 2016 8:39 PM > To:

RE: [PATCH v5 1/1] crypto: add virtio-crypto driver

2016-12-06 Thread Gonglei (Arei)
Hi Herbert, Would you please review and/or ack the virtio_crypto_algs.c? It is the realization of specified algs based on Linux Crypto Framework. Thanks! Regards, -Gonglei > -Original Message- > From: Gonglei (Arei) > Sent: Thursday, December 01, 2016 8:39 PM > To:

RE: [PATCH v5 1/1] crypto: add virtio-crypto driver

2016-12-04 Thread Gonglei (Arei)
I don't think the root cause of those warnings are introduced by virtio-crypto driver. What's your opinion? Sam and David? Thanks, -Gonglei > -Original Message- > From: kbuild test robot [mailto:l...@intel.com] > Sent: Sunday, December 04, 2016 10:40 AM > Subject: Re: [PATCH v5 1/1]

RE: [PATCH v5 1/1] crypto: add virtio-crypto driver

2016-12-04 Thread Gonglei (Arei)
I don't think the root cause of those warnings are introduced by virtio-crypto driver. What's your opinion? Sam and David? Thanks, -Gonglei > -Original Message- > From: kbuild test robot [mailto:l...@intel.com] > Sent: Sunday, December 04, 2016 10:40 AM > Subject: Re: [PATCH v5 1/1]

RE: [PATCH v4 1/1] crypto: add virtio-crypto driver

2016-12-01 Thread Gonglei (Arei)
> > On Thu, Dec 01, 2016 at 02:27:19AM +, Gonglei (Arei) wrote: > > > On Tue, Nov 29, 2016 at 08:48:14PM +0800, Gonglei wrote: > > > > diff --git a/drivers/crypto/virtio/virtio_crypto_algs.c > > > b/drivers/crypto/virtio/virtio_crypto_algs.c > > >

RE: [PATCH v4 1/1] crypto: add virtio-crypto driver

2016-12-01 Thread Gonglei (Arei)
> > On Thu, Dec 01, 2016 at 02:27:19AM +, Gonglei (Arei) wrote: > > > On Tue, Nov 29, 2016 at 08:48:14PM +0800, Gonglei wrote: > > > > diff --git a/drivers/crypto/virtio/virtio_crypto_algs.c > > > b/drivers/crypto/virtio/virtio_crypto_algs.c > > >

RE: [PATCH v4 1/1] crypto: add virtio-crypto driver

2016-12-01 Thread Gonglei (Arei)
> > Subject: Re: [PATCH v4 1/1] crypto: add virtio-crypto driver > > On Thu, Dec 01, 2016 at 02:27:19AM +0000, Gonglei (Arei) wrote: > > > On Tue, Nov 29, 2016 at 08:48:14PM +0800, Gonglei wrote: > > > > +static int virtio_crypto_alg_ablkcipher_init_sessio

RE: [PATCH v4 1/1] crypto: add virtio-crypto driver

2016-12-01 Thread Gonglei (Arei)
> > Subject: Re: [PATCH v4 1/1] crypto: add virtio-crypto driver > > On Thu, Dec 01, 2016 at 02:27:19AM +0000, Gonglei (Arei) wrote: > > > On Tue, Nov 29, 2016 at 08:48:14PM +0800, Gonglei wrote: > > > > +static int virtio_crypto_alg_ablkcipher_init_sessio

RE: [PATCH v4 1/1] crypto: add virtio-crypto driver

2016-11-30 Thread Gonglei (Arei)
Hi Stefan, > > On Tue, Nov 29, 2016 at 08:48:14PM +0800, Gonglei wrote: > > diff --git a/drivers/crypto/virtio/virtio_crypto_algs.c > b/drivers/crypto/virtio/virtio_crypto_algs.c > > new file mode 100644 > > index 000..08b077f > > --- /dev/null > > +++

RE: [PATCH v4 1/1] crypto: add virtio-crypto driver

2016-11-30 Thread Gonglei (Arei)
Hi Stefan, > > On Tue, Nov 29, 2016 at 08:48:14PM +0800, Gonglei wrote: > > diff --git a/drivers/crypto/virtio/virtio_crypto_algs.c > b/drivers/crypto/virtio/virtio_crypto_algs.c > > new file mode 100644 > > index 000..08b077f > > --- /dev/null > > +++

RE: [virtio-dev] Re: [PATCH v3] crypto: add virtio-crypto driver

2016-11-29 Thread Gonglei (Arei)
> > Subject: Re: [virtio-dev] Re: [PATCH v3] crypto: add virtio-crypto driver > > On Tue, 29 Nov 2016 01:37:44 +0000 > "Gonglei (Arei)" <arei.gong...@huawei.com> wrote: > > > > On Mon, 28 Nov 2016 20:08:23 +0800 > > > Gonglei <ar

RE: [virtio-dev] Re: [PATCH v3] crypto: add virtio-crypto driver

2016-11-29 Thread Gonglei (Arei)
> > Subject: Re: [virtio-dev] Re: [PATCH v3] crypto: add virtio-crypto driver > > On Tue, 29 Nov 2016 01:37:44 +0000 > "Gonglei (Arei)" wrote: > > > > On Mon, 28 Nov 2016 20:08:23 +0800 > > > Gonglei wrote: > > > > > > >

RE: [PATCH v3] crypto: add virtio-crypto driver

2016-11-29 Thread Gonglei (Arei)
> > > On Tue, Nov 29, 2016 at 08:22:58AM +, Gonglei (Arei) wrote: > > > Hi, > > > > > > > > > > +source "drivers/crypto/virtio/Kconfig" > > > > > > > + > > > > > > > endif # CRYPTO_HW >

RE: [PATCH v3] crypto: add virtio-crypto driver

2016-11-29 Thread Gonglei (Arei)
> > > On Tue, Nov 29, 2016 at 08:22:58AM +, Gonglei (Arei) wrote: > > > Hi, > > > > > > > > > > +source "drivers/crypto/virtio/Kconfig" > > > > > > > + > > > > > > > endif # CRYPTO_HW >

RE: [PATCH v3] crypto: add virtio-crypto driver

2016-11-29 Thread Gonglei (Arei)
> > On Tue, Nov 29, 2016 at 08:22:58AM +, Gonglei (Arei) wrote: > > Hi, > > > > > > > > +source "drivers/crypto/virtio/Kconfig" > > > > > > + > > > > > > endif # CRYPTO_HW > > > > > > diff

RE: [PATCH v3] crypto: add virtio-crypto driver

2016-11-29 Thread Gonglei (Arei)
> > On Tue, Nov 29, 2016 at 08:22:58AM +, Gonglei (Arei) wrote: > > Hi, > > > > > > > > +source "drivers/crypto/virtio/Kconfig" > > > > > > + > > > > > > endif # CRYPTO_HW > > > > > > diff

RE: [PATCH v3] crypto: add virtio-crypto driver

2016-11-29 Thread Gonglei (Arei)
Hi, > > > > +source "drivers/crypto/virtio/Kconfig" > > > > + > > > > endif # CRYPTO_HW > > > > diff --git a/drivers/crypto/Makefile b/drivers/crypto/Makefile > > > > index ad7250f..bc53cb8 100644 > > > > --- a/drivers/crypto/Makefile > > > > +++ b/drivers/crypto/Makefile > > > > @@ -32,3 +32,4

RE: [PATCH v3] crypto: add virtio-crypto driver

2016-11-29 Thread Gonglei (Arei)
Hi, > > > > +source "drivers/crypto/virtio/Kconfig" > > > > + > > > > endif # CRYPTO_HW > > > > diff --git a/drivers/crypto/Makefile b/drivers/crypto/Makefile > > > > index ad7250f..bc53cb8 100644 > > > > --- a/drivers/crypto/Makefile > > > > +++ b/drivers/crypto/Makefile > > > > @@ -32,3 +32,4

RE: [PATCH v3] crypto: add virtio-crypto driver

2016-11-28 Thread Gonglei (Arei)
> > > > > + > > > > +/* Note: kernel crypto API realization */ > > > > +static int virtio_crypto_ablkcipher_setkey(struct crypto_ablkcipher > > > > *tfm, > > > > +const uint8_t *key, > > > > +unsigned int keylen) > >

RE: [PATCH v3] crypto: add virtio-crypto driver

2016-11-28 Thread Gonglei (Arei)
> > > > > + > > > > +/* Note: kernel crypto API realization */ > > > > +static int virtio_crypto_ablkcipher_setkey(struct crypto_ablkcipher > > > > *tfm, > > > > +const uint8_t *key, > > > > +unsigned int keylen) > >

RE: [PATCH v3] crypto: add virtio-crypto driver

2016-11-28 Thread Gonglei (Arei)
Hi Halil, > > On 11/28/2016 06:19 PM, Michael S. Tsirkin wrote: > >>> +static int virtio_crypto_alg_ablkcipher_init_session( > >>> > > + struct virtio_crypto_ablkcipher_ctx *ctx, > >>> > > + uint32_t alg, const uint8_t *key, > >>> > > + unsigned int keylen, >

RE: [PATCH v3] crypto: add virtio-crypto driver

2016-11-28 Thread Gonglei (Arei)
Hi Halil, > > On 11/28/2016 06:19 PM, Michael S. Tsirkin wrote: > >>> +static int virtio_crypto_alg_ablkcipher_init_session( > >>> > > + struct virtio_crypto_ablkcipher_ctx *ctx, > >>> > > + uint32_t alg, const uint8_t *key, > >>> > > + unsigned int keylen, >

RE: [PATCH v3] crypto: add virtio-crypto driver

2016-11-28 Thread Gonglei (Arei)
Hi Michael and Stefan, > > Subject: Re: [PATCH v3] crypto: add virtio-crypto driver > > On Mon, Nov 28, 2016 at 04:20:55PM +, Stefan Hajnoczi wrote: > > On Mon, Nov 28, 2016 at 08:08:23PM +0800, Gonglei wrote: > > > This patch introduces virtio-crypto driver for Linux Kernel. > > > > > > The

RE: [PATCH v3] crypto: add virtio-crypto driver

2016-11-28 Thread Gonglei (Arei)
Hi Michael and Stefan, > > Subject: Re: [PATCH v3] crypto: add virtio-crypto driver > > On Mon, Nov 28, 2016 at 04:20:55PM +, Stefan Hajnoczi wrote: > > On Mon, Nov 28, 2016 at 08:08:23PM +0800, Gonglei wrote: > > > This patch introduces virtio-crypto driver for Linux Kernel. > > > > > > The

RE: [virtio-dev] Re: [PATCH v3] crypto: add virtio-crypto driver

2016-11-28 Thread Gonglei (Arei)
> > Subject: [virtio-dev] Re: [PATCH v3] crypto: add virtio-crypto driver > > On Mon, 28 Nov 2016 20:08:23 +0800 > Gonglei wrote: > > > +static int virtcrypto_update_status(struct virtio_crypto *vcrypto) > > +{ > > + u32 status; > > + int err; > > + > > +

RE: [virtio-dev] Re: [PATCH v3] crypto: add virtio-crypto driver

2016-11-28 Thread Gonglei (Arei)
> > Subject: [virtio-dev] Re: [PATCH v3] crypto: add virtio-crypto driver > > On Mon, 28 Nov 2016 20:08:23 +0800 > Gonglei wrote: > > > +static int virtcrypto_update_status(struct virtio_crypto *vcrypto) > > +{ > > + u32 status; > > + int err; > > + > > + virtio_cread(vcrypto->vdev, > > +

RE: [virtio-dev] Re: [PATCH v2 2/2] crypto: add virtio-crypto driver

2016-11-27 Thread Gonglei (Arei)
> > From: Michael S. Tsirkin [mailto:m...@redhat.com] > Sent: Monday, November 28, 2016 1:09 PM > To: Gonglei (Arei) > Subject: Re: [virtio-dev] Re: [PATCH v2 2/2] crypto: add virtio-crypto driver > > On Mon, Nov 28, 2016 at 04:47:21AM +, Gonglei (Arei) wrote: > &g

RE: [virtio-dev] Re: [PATCH v2 2/2] crypto: add virtio-crypto driver

2016-11-27 Thread Gonglei (Arei)
> > From: Michael S. Tsirkin [mailto:m...@redhat.com] > Sent: Monday, November 28, 2016 1:09 PM > To: Gonglei (Arei) > Subject: Re: [virtio-dev] Re: [PATCH v2 2/2] crypto: add virtio-crypto driver > > On Mon, Nov 28, 2016 at 04:47:21AM +, Gonglei (Arei) wrote: > &g

RE: [virtio-dev] Re: [PATCH v2 2/2] crypto: add virtio-crypto driver

2016-11-27 Thread Gonglei (Arei)
Hi Michael, > > Subject: [virtio-dev] Re: [PATCH v2 2/2] crypto: add virtio-crypto driver > > On Tue, Nov 22, 2016 at 04:10:23PM +0800, Gonglei wrote: > > This patch introduces virtio-crypto driver for Linux Kernel. > > > > The virtio crypto device is a virtual cryptography device > > as well as

RE: [virtio-dev] Re: [PATCH v2 2/2] crypto: add virtio-crypto driver

2016-11-27 Thread Gonglei (Arei)
Hi Michael, > > Subject: [virtio-dev] Re: [PATCH v2 2/2] crypto: add virtio-crypto driver > > On Tue, Nov 22, 2016 at 04:10:23PM +0800, Gonglei wrote: > > This patch introduces virtio-crypto driver for Linux Kernel. > > > > The virtio crypto device is a virtual cryptography device > > as well as

RE: [virtio-dev] Re: [PATCH v2 1/2] virtio: introduce little edian functions for virtio_cread/write# family

2016-11-27 Thread Gonglei (Arei)
> > Subject: Re: [virtio-dev] Re: [PATCH v2 1/2] virtio: introduce little edian > functions for virtio_cread/write# family > > On Mon, Nov 28, 2016 at 04:34:56AM +0200, Michael S. Tsirkin wrote: > > On Mon, Nov 28, 2016 at 01:56:04AM +, Gonglei (Arei) wr

RE: [virtio-dev] Re: [PATCH v2 1/2] virtio: introduce little edian functions for virtio_cread/write# family

2016-11-27 Thread Gonglei (Arei)
> > Subject: Re: [virtio-dev] Re: [PATCH v2 1/2] virtio: introduce little edian > functions for virtio_cread/write# family > > On Mon, Nov 28, 2016 at 04:34:56AM +0200, Michael S. Tsirkin wrote: > > On Mon, Nov 28, 2016 at 01:56:04AM +, Gonglei (Arei) wr

RE: [virtio-dev] Re: [PATCH v2 1/2] virtio: introduce little edian functions for virtio_cread/write# family

2016-11-27 Thread Gonglei (Arei)
> > Subject: Re: [virtio-dev] Re: [PATCH v2 1/2] virtio: introduce little edian > functions for virtio_cread/write# family > > On Mon, Nov 28, 2016 at 01:56:04AM +, Gonglei (Arei) wrote: > > Hi Michael, > > > > Thanks for your feedback firstly! > > >

RE: [virtio-dev] Re: [PATCH v2 1/2] virtio: introduce little edian functions for virtio_cread/write# family

2016-11-27 Thread Gonglei (Arei)
> > Subject: Re: [virtio-dev] Re: [PATCH v2 1/2] virtio: introduce little edian > functions for virtio_cread/write# family > > On Mon, Nov 28, 2016 at 01:56:04AM +, Gonglei (Arei) wrote: > > Hi Michael, > > > > Thanks for your feedback firstly! > > >

RE: [virtio-dev] Re: [PATCH v2 1/2] virtio: introduce little edian functions for virtio_cread/write# family

2016-11-27 Thread Gonglei (Arei)
Hi Michael, Thanks for your feedback firstly! > -Original Message- > From: virtio-...@lists.oasis-open.org [mailto:virtio-...@lists.oasis-open.org] > On Behalf Of Michael S. Tsirkin > Sent: Sunday, November 27, 2016 11:33 AM > To: Gonglei (Arei) > Subject: [virtio-dev]

RE: [virtio-dev] Re: [PATCH v2 1/2] virtio: introduce little edian functions for virtio_cread/write# family

2016-11-27 Thread Gonglei (Arei)
Hi Michael, Thanks for your feedback firstly! > -Original Message- > From: virtio-...@lists.oasis-open.org [mailto:virtio-...@lists.oasis-open.org] > On Behalf Of Michael S. Tsirkin > Sent: Sunday, November 27, 2016 11:33 AM > To: Gonglei (Arei) > Subject: [virtio-dev]

RE: [PATCH v2 0/2] virtio-crypto: add Linux driver

2016-11-26 Thread Gonglei (Arei)
Hi, > -Original Message- > From: Gonglei (Arei) > Sent: Tuesday, November 22, 2016 4:10 PM > To: linux-kernel@vger.kernel.org; qemu-de...@nongnu.org; > virtio-...@lists.oasis-open.org; virtualizat...@lists.linux-foundation.org; > linux-cry...@vger.kernel.org > S

RE: [PATCH v2 0/2] virtio-crypto: add Linux driver

2016-11-26 Thread Gonglei (Arei)
Hi, > -Original Message- > From: Gonglei (Arei) > Sent: Tuesday, November 22, 2016 4:10 PM > To: linux-kernel@vger.kernel.org; qemu-de...@nongnu.org; > virtio-...@lists.oasis-open.org; virtualizat...@lists.linux-foundation.org; > linux-cry...@vger.kernel.org > S

RE: [PATCH 0/2] virtio: fix complaint by sparse

2016-11-26 Thread Gonglei (Arei)
Ping...? > -Original Message- > From: Gonglei (Arei) > Sent: Tuesday, November 22, 2016 1:52 PM > To: virtualizat...@lists.linux-foundation.org; linux-kernel@vger.kernel.org > Cc: m...@redhat.com; jasow...@redhat.com; Gonglei (Arei) > Subject: [PATCH 0/2] virtio: fix c

RE: [PATCH 0/2] virtio: fix complaint by sparse

2016-11-26 Thread Gonglei (Arei)
Ping...? > -Original Message- > From: Gonglei (Arei) > Sent: Tuesday, November 22, 2016 1:52 PM > To: virtualizat...@lists.linux-foundation.org; linux-kernel@vger.kernel.org > Cc: m...@redhat.com; jasow...@redhat.com; Gonglei (Arei) > Subject: [PATCH 0/2] virtio: fix c

RE: [PATCH] xen-netfront: set real_num_tx_queues to zreo avoid to trigger BUG_ON

2016-02-19 Thread Gonglei (Arei)
Hi, Thanks for rapid feedback :) > From: David Miller [mailto:da...@davemloft.net] > Sent: Saturday, February 20, 2016 12:37 PM > > From: Gonglei > Date: Sat, 20 Feb 2016 09:27:26 +0800 > > > It's possible for a race condition to exist between xennet_open() and > >

RE: [PATCH] xen-netfront: set real_num_tx_queues to zreo avoid to trigger BUG_ON

2016-02-19 Thread Gonglei (Arei)
Hi, Thanks for rapid feedback :) > From: David Miller [mailto:da...@davemloft.net] > Sent: Saturday, February 20, 2016 12:37 PM > > From: Gonglei > Date: Sat, 20 Feb 2016 09:27:26 +0800 > > > It's possible for a race condition to exist between xennet_open() and > > talk_to_netback(). After

[BUG?] kernel OOPS at kmem_cache_alloc_node() because of smp_processor_id()

2015-10-15 Thread Gonglei (Arei)
Hi, When I start a SLES11-sp1-x86_64 virtual machine (The kernel version: 2.6.32.12-0.7), which configured 16 cpus, and the guest is stuck during the bootup processing. I get some information from the dumping core file: crash> log ... ... [0.038989] ..TIMER: vector=0x30 apic1=0 pin1=2

[BUG?] kernel OOPS at kmem_cache_alloc_node() because of smp_processor_id()

2015-10-15 Thread Gonglei (Arei)
Hi, When I start a SLES11-sp1-x86_64 virtual machine (The kernel version: 2.6.32.12-0.7), which configured 16 cpus, and the guest is stuck during the bootup processing. I get some information from the dumping core file: crash> log ... ... [0.038989] ..TIMER: vector=0x30 apic1=0 pin1=2

RE: [Question] suse11sp3 32bit guest os panic on kvm

2014-07-29 Thread Gonglei (Arei)
Hi, > -Original Message- > From: Jiri Kosina [mailto:jkos...@suse.cz] > Sent: Tuesday, July 29, 2014 9:53 PM > To: Gonglei (Arei) > Cc: linux-kernel@vger.kernel.org; Huangweidong (C) > Subject: Re: [Question] suse11sp3 32bit guest os panic on kvm > > On Wed, 2

RE: [Question] suse11sp3 32bit guest os panic on kvm

2014-07-29 Thread Gonglei (Arei)
Hi, -Original Message- From: Jiri Kosina [mailto:jkos...@suse.cz] Sent: Tuesday, July 29, 2014 9:53 PM To: Gonglei (Arei) Cc: linux-kernel@vger.kernel.org; Huangweidong (C) Subject: Re: [Question] suse11sp3 32bit guest os panic on kvm On Wed, 2 Jul 2014, Gonglei (Arei) wrote

[Question] suse11sp3 32bit guest os panic on kvm

2014-07-02 Thread Gonglei (Arei)
Hi, all Recently I encounter a confused issue that described by the title. I get the dump core according "virsh dump", and this below is the core Information. It seem as that the vcpu deadlock between irqbalance process(_raw_spin_lock_irqsave) and an interrupt handle (_raw_spin_lock), I'm so

[Question] suse11sp3 32bit guest os panic on kvm

2014-07-02 Thread Gonglei (Arei)
Hi, all Recently I encounter a confused issue that described by the title. I get the dump core according virsh dump, and this below is the core Information. It seem as that the vcpu deadlock between irqbalance process(_raw_spin_lock_irqsave) and an interrupt handle (_raw_spin_lock), I'm so