lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZDlHing2lP2TNUo7@nvidia.com>
Date:   Fri, 14 Apr 2023 09:31:06 -0300
From:   Jason Gunthorpe <jgg@...dia.com>
To:     Brett Creeley <brett.creeley@....com>
Cc:     kvm@...r.kernel.org, netdev@...r.kernel.org,
        alex.williamson@...hat.com, yishaih@...dia.com,
        shameerali.kolothum.thodi@...wei.com, kevin.tian@...el.com,
        shannon.nelson@....com, drivers@...sando.io,
        simon.horman@...igine.com
Subject: Re: [PATCH v8 vfio 1/7] vfio: Commonize combine_ranges for use in
 other VFIO drivers

On Tue, Apr 04, 2023 at 12:01:35PM -0700, Brett Creeley wrote:
> Currently only Mellanox uses the combine_ranges function. The
> new pds_vfio driver also needs this function. So, move it to
> a common location for other vendor drivers to use.
> 
> Also, Simon Horman noticed that RCT ordering was not followed
> for vfio_combin_iova_ranges(), so fix that.
> 
> Cc: Yishai Hadas <yishaih@...dia.com>
> Signed-off-by: Brett Creeley <brett.creeley@....com>
> Signed-off-by: Shannon Nelson <shannon.nelson@....com>
> Reviewed-by: Simon Horman <simon.horman@...igine.com>
> ---
>  drivers/vfio/pci/mlx5/cmd.c | 48 +------------------------------------
>  drivers/vfio/vfio_main.c    | 47 ++++++++++++++++++++++++++++++++++++
>  include/linux/vfio.h        |  3 +++
>  3 files changed, 51 insertions(+), 47 deletions(-)

Reviewed-by: Jason Gunthorpe <jgg@...dia.com>

Jason

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ