From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 15E91C433FE for ; Tue, 28 Sep 2021 20:22:38 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id EE4D7611EF for ; Tue, 28 Sep 2021 20:22:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242728AbhI1UYP (ORCPT ); Tue, 28 Sep 2021 16:24:15 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:59389 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242683AbhI1UYO (ORCPT ); Tue, 28 Sep 2021 16:24:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1632860554; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Px75PZplZbEMaaLvg/IKZKQmq+Fd+/Xi4N5X7tKeYOU=; b=hDRxPRXumIYPR1DK0A9FEGFhwFgxHVce5YYq77E7VEGK4fn+FISgvRanGlsNBmXxoKkyHD ow6i7wM8sD1FfzyLAFcIm1GpZgIPZ3k/9aNri6szwh6Pg0p83cCFbC8kRMJ0n/mkKBYCZX 9lqF1lPCuoMfnjZRf/RqBZE0RBORQvM= Received: from mail-oo1-f69.google.com (mail-oo1-f69.google.com [209.85.161.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-171-UyP1OeWCMlW37s57NjPCmQ-1; Tue, 28 Sep 2021 16:22:33 -0400 X-MC-Unique: UyP1OeWCMlW37s57NjPCmQ-1 Received: by mail-oo1-f69.google.com with SMTP id m10-20020a4a240a000000b002adae1d3d06so103354oof.9 for ; Tue, 28 Sep 2021 13:22:33 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Px75PZplZbEMaaLvg/IKZKQmq+Fd+/Xi4N5X7tKeYOU=; b=by+J4d2RQsAgpeOMR5Ga+Fw5gLqSmwTSXl25XRFloEE0J8ykzbt8rbqSc9jnWUSSEk Rt0iJh8Hpx9CHDLaQt0GfkPnAIDdcYEqE3T/PC8VGu+u0vpPX9gvgO0KJPWEh4liAtmd aeoa6FJTfwdPLW9XEqjLFQysB0m0Lbq3rkKMqmhxHJdRBIhvlaDvrSbAVT7EUoB5IRtL nYB/aj1rl/gAGjev5zBkredPpbut68kNZF3CjaIcOY5km0pwaEJl1lB0D12fw3ozM55S JMtrvzwjw6/VIf75oEaSJbBMzRKzEegDsPlqiJ31a1knDCF7yvSiPVhMNWOu1cztYiNb vttA== X-Gm-Message-State: AOAM532gZYcejfUtyo5HvcuiS49D27+iB1G3sWtaFxx9Y7Toaogc3uKv wkA7ZhMlHGqLxNa5MWK0paXVyWZW0MhIDbMe1PR282MCSot0Nv8TpotV0sqZ8yZsiJkztvU6FCK ZplXuCRBwyHc84DcMrenTtLH+ X-Received: by 2002:a05:6830:314e:: with SMTP id c14mr6935957ots.37.1632860552511; Tue, 28 Sep 2021 13:22:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzR8N6ivbHyTQeeTuTu5EyUCFoNeJ/uw+Yu3F+JZpS9o76cUotJSm8am7W0TX6GQTPc2NRTNg== X-Received: by 2002:a05:6830:314e:: with SMTP id c14mr6935926ots.37.1632860552311; Tue, 28 Sep 2021 13:22:32 -0700 (PDT) Received: from redhat.com ([198.99.80.109]) by smtp.gmail.com with ESMTPSA id 21sm41504oix.1.2021.09.28.13.22.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Sep 2021 13:22:32 -0700 (PDT) Date: Tue, 28 Sep 2021 14:22:30 -0600 From: Alex Williamson To: Leon Romanovsky Cc: Doug Ledford , Jason Gunthorpe , Yishai Hadas , Bjorn Helgaas , "David S. Miller" , Jakub Kicinski , Kirti Wankhede , kvm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, linux-rdma@vger.kernel.org, netdev@vger.kernel.org, Saeed Mahameed Subject: Re: [PATCH mlx5-next 6/7] mlx5_vfio_pci: Expose migration commands over mlx5 device Message-ID: <20210928142230.20b0153a.alex.williamson@redhat.com> In-Reply-To: <7fc0cf0d76bb6df4679b55974959f5494e48f54d.1632305919.git.leonro@nvidia.com> References: <7fc0cf0d76bb6df4679b55974959f5494e48f54d.1632305919.git.leonro@nvidia.com> X-Mailer: Claws Mail 3.18.0 (GTK+ 2.24.33; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 22 Sep 2021 13:38:55 +0300 Leon Romanovsky wrote: > From: Yishai Hadas > > Expose migration commands over the device, it includes: suspend, resume, > get vhca id, query/save/load state. > > As part of this adds the APIs and data structure that are needed to > manage the migration data. > > Signed-off-by: Yishai Hadas > Signed-off-by: Leon Romanovsky > --- > drivers/vfio/pci/mlx5_vfio_pci_cmd.c | 358 +++++++++++++++++++++++++++ > drivers/vfio/pci/mlx5_vfio_pci_cmd.h | 43 ++++ > 2 files changed, 401 insertions(+) > create mode 100644 drivers/vfio/pci/mlx5_vfio_pci_cmd.c > create mode 100644 drivers/vfio/pci/mlx5_vfio_pci_cmd.h Should we set the precedent of a vendor sub-directory like we have elsewhere? Either way I'd like to see a MAINTAINERS file update for the new driver. Thanks, Alex