[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACGkMEuUsh-wH=fWPp66XAFeE_xux-drf1gatSQSiGuS_rO_zQ@mail.gmail.com>
Date: Fri, 21 Feb 2025 09:12:41 +0800
From: Jason Wang <jasowang@...hat.com>
To: Dragos Tatulea <dtatulea@...dia.com>
Cc: "Michael S . Tsirkin" <mst@...hat.com>, virtualization@...ts.linux.dev,
Eugenio Perez Martin <eperezma@...hat.com>, Si-Wei Liu <si-wei.liu@...cle.com>, kvm@...r.kernel.org,
linux-kernel@...r.kernel.org, Gal Pressman <gal@...dia.com>,
Xuan Zhuo <xuanzhuo@...ux.alibaba.com>, stable@...r.kernel.org,
Cong Meng <cong.meng@...cle.com>
Subject: Re: [PATCH vhost v2] vdpa/mlx5: Fix oversized null mkey longer than 32bit
On Fri, Feb 21, 2025 at 3:40 AM Dragos Tatulea <dtatulea@...dia.com> wrote:
>
> From: Si-Wei Liu <si-wei.liu@...cle.com>
>
> create_user_mr() has correct code to count the number of null keys
> used to fill in a hole for the memory map. However, fill_indir()
> does not follow the same to cap the range up to the 1GB limit
> correspondingly. Fill in more null keys for the gaps in between,
> so that null keys are correctly populated.
>
> Fixes: 94abbccdf291 ("vdpa/mlx5: Add shared memory registration code")
> Cc: stable@...r.kernel.org
> Reported-by: Cong Meng <cong.meng@...cle.com>
> Signed-off-by: Si-Wei Liu <si-wei.liu@...cle.com>
> Signed-off-by: Dragos Tatulea <dtatulea@...dia.com>
> Acked-by: Eugenio Pérez <eperezma@...hat.com>
Acked-by: Jason Wang <jasowang@...hat.com>
Thanks
Powered by blists - more mailing lists