Re: [RFC PATCH v2] vdpa: Do not count the pages that were already pinned in the vhost-vDPA

2022-05-31 Thread Jason Wang
On Wed, Jun 1, 2022 at 9:20 AM Cindy Lu wrote: > > We count pinned_vm as follow in vhost-vDPA > > lock_limit = rlimit(RLIMIT_MEMLOCK) >> PAGE_SHIFT; > if (npages + atomic64_read(>mm->pinned_vm) > lock_limit) { > ret = -ENOMEM; > goto unlock; > } > This means if we have two vDPA

Re: [PATCH v4 0/4] Implement vdpasim stop operation

2022-05-31 Thread Jason Wang
On Wed, Jun 1, 2022 at 4:19 AM Parav Pandit wrote: > > > > From: Jason Wang > > Sent: Sunday, May 29, 2022 11:39 PM > > > > On Fri, May 27, 2022 at 6:56 PM Michael S. Tsirkin wrote: > > > > > > On Thu, May 26, 2022 at 12:54:32PM +, Parav Pandit wrote: > > > > > > > > > > > > > From: Eugenio

Re: Re: Re: [PATCH 0/3] recover hardware corrupted page by virtio balloon

2022-05-31 Thread zhenwei pi
On 5/31/22 12:08, Jue Wang wrote: On Mon, May 30, 2022 at 8:49 AM Peter Xu wrote: On Mon, May 30, 2022 at 07:33:35PM +0800, zhenwei pi wrote: A VM uses RAM of 2M huge page. Once a MCE(@HVAy in [HVAx,HVAz)) occurs, the 2M([HVAx,HVAz)) of hypervisor becomes unaccessible, but the guest poisons

Re: RE: RE: [PATCH v8 1/1] crypto: Introduce RSA algorithm

2022-05-31 Thread zhenwei pi
On 5/31/22 20:08, Gonglei (Arei) wrote: -Original Message- From: zhenwei pi [mailto:pizhen...@bytedance.com] Sent: Tuesday, May 31, 2022 9:48 AM To: Gonglei (Arei) Cc: qemu-de...@nongnu.org; m...@redhat.com; virtualization@lists.linux-foundation.org; helei.si...@bytedance.com;

[mst-vhost:vhost 62/65] drivers/virtio/virtio_ring.c:1783:9: error: use of undeclared identifier 'vq'

2022-05-31 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost.git vhost head: 5e83df49b4993a11b01399f6ce402f775940f965 commit: a50f09346a341984d34ff41f03dbd14dea6f20fe [62/65] virtio_ring: remove unused variable in virtqueue_add() config: mips-randconfig-c004-20220531 (https://download.01

RE: [PATCH v4 0/4] Implement vdpasim stop operation

2022-05-31 Thread Parav Pandit via Virtualization
> From: Eugenio Perez Martin > Sent: Friday, May 27, 2022 3:55 AM > > On Fri, May 27, 2022 at 4:26 AM Jason Wang wrote: > > > > On Thu, May 26, 2022 at 8:54 PM Parav Pandit wrote: > > > > > > > > > > > > > From: Eugenio Pérez > > > > Sent: Thursday, May 26, 2022 8:44 AM > > > > > > >

RE: [PATCH v4 0/4] Implement vdpasim stop operation

2022-05-31 Thread Parav Pandit via Virtualization
> From: Jason Wang > Sent: Sunday, May 29, 2022 11:39 PM > > On Fri, May 27, 2022 at 6:56 PM Michael S. Tsirkin wrote: > > > > On Thu, May 26, 2022 at 12:54:32PM +, Parav Pandit wrote: > > > > > > > > > > From: Eugenio Pérez > > > > Sent: Thursday, May 26, 2022 8:44 AM > > > > > > >

Re: [PATCH V9 0/8] Use copy_process in vhost layer

2022-05-31 Thread Michael S. Tsirkin
On Thu, May 12, 2022 at 04:46:56PM -0500, Mike Christie wrote: > The following patches were made over Eric's tree: > > git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace.git > > and his kthread-cleanups-for-v5.19 branch. They allow the vhost layer to > do a copy_process on the

ACM HPDC 2022 Call for Participation

2022-05-31 Thread Ali Anwar
HPDC'22 Call for Participation https://www.hpdc.org/2022/program/call-for-participation/ Overview: The ACM International Symposium on High-Performance Parallel and Distributed Computing (HPDC) is the premier annual conference for presenting the latest research on the design, implementation,

Re: [PATCH v3] x86/vmware: use unsigned integer for shifting

2022-05-31 Thread Srivatsa S. Bhat
On 5/28/22 6:52 AM, Peter Zijlstra wrote: > On Fri, May 27, 2022 at 11:27:37PM +0530, Shreenidhi Shedi wrote: >> From: Shreenidhi Shedi >> >> Shifting signed 32-bit value by 31 bits is implementation-defined >> behaviour. Using unsigned is better option for this. > > The kernel builds with

RE: RE: [PATCH v8 1/1] crypto: Introduce RSA algorithm

2022-05-31 Thread Gonglei (Arei) via Virtualization
> -Original Message- > From: zhenwei pi [mailto:pizhen...@bytedance.com] > Sent: Tuesday, May 31, 2022 9:48 AM > To: Gonglei (Arei) > Cc: qemu-de...@nongnu.org; m...@redhat.com; > virtualization@lists.linux-foundation.org; helei.si...@bytedance.com; > berra...@redhat.com > Subject: Re:

Re: [PATCH v4 0/4] Implement vdpasim stop operation

2022-05-31 Thread Michael S. Tsirkin
On Tue, May 31, 2022 at 09:13:38AM +0200, Eugenio Perez Martin wrote: > On Tue, May 31, 2022 at 7:42 AM Michael S. Tsirkin wrote: > > > > On Thu, May 26, 2022 at 02:43:34PM +0200, Eugenio Pérez wrote: > > > Implement stop operation for vdpa_sim devices, so vhost-vdpa will offer > > > that backend

Re: [PATCH v4 0/4] Implement vdpasim stop operation

2022-05-31 Thread Jason Wang
On Tue, May 31, 2022 at 1:40 PM Michael S. Tsirkin wrote: > > On Mon, May 30, 2022 at 11:39:21AM +0800, Jason Wang wrote: > > On Fri, May 27, 2022 at 6:56 PM Michael S. Tsirkin wrote: > > > > > > On Thu, May 26, 2022 at 12:54:32PM +, Parav Pandit wrote: > > > > > > > > > > > > > From: