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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 49BE9C3A5A7 for ; Tue, 6 Dec 2022 21:50:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229780AbiLFVuj (ORCPT ); Tue, 6 Dec 2022 16:50:39 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42740 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229728AbiLFVue (ORCPT ); Tue, 6 Dec 2022 16:50:34 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9A4A13E0AD for ; Tue, 6 Dec 2022 13:49:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1670363373; 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=VwYFbIK5NKjIGJlsebUpW1BNz/gE9WfBBNHuPbBwQ6k=; b=gx65zH/0FAxJmxMuRFe1qt2/vkZinnRimZBAryLOErvm1g5TFG91tfxX+rQeISjdyGIbJS pGuYDsPMJeK5JJO5IQST1DbIFIdBCjcPrlO65JwAfj6VIS1yJgtrb+RgfbyHV0IiFGqX7O GpUtSLlG5tbE/9JOPkMY5Dhzn8jox2I= Received: from mail-il1-f197.google.com (mail-il1-f197.google.com [209.85.166.197]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-607-T3bUy7orO8OW0UdkitBbXg-1; Tue, 06 Dec 2022 16:49:32 -0500 X-MC-Unique: T3bUy7orO8OW0UdkitBbXg-1 Received: by mail-il1-f197.google.com with SMTP id s1-20020a056e021a0100b003026adad6a9so15567823ild.18 for ; Tue, 06 Dec 2022 13:49:32 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=VwYFbIK5NKjIGJlsebUpW1BNz/gE9WfBBNHuPbBwQ6k=; b=mZ2AXahCP4/0ob4U1j3WElPmTXmfvFdx5pFpzn7uQM90ZOPsfraIoU6WClcUCoJoAx 7GXAosL5Bh9ob19moxzqJzKewFO4Viirz6V9PMiD+aP8I003a8CgXZ7vCBSh+mXQNcD7 uIEwj/YHmU7qQzvpTL48dVd9CJgnkQCls4FT5ekdaiIGzVI+qIrV6zuoeVnVvBPVf1Bg ep7WukYSRz4wOn4hs7etCGidnoF/qrDl7klWQzu/m6lSQ14Qg/yMYRqMFmwLInU+Wf8S WQNCBjGzUG+w7ZiFxXZr0URo4fkXh0xLJz3f242VqL6ZLOEZGvwRyekpi/lB5tphp2HF breA== X-Gm-Message-State: ANoB5playv9qiqSQYQXCDsWRPI0hTbWhMwOYAsfSiPeMB60OqFTvCRtk MWNlr0XFFUIG5SlCxGAdCme/FADgTVYVT5dH6EtZVeFPzd5wq10tlwg0vU4+BG/zropUjJJsr9H yt4sW/HUQvznV8S5FYWE/Tkou X-Received: by 2002:a92:c5c5:0:b0:303:1215:ea9d with SMTP id s5-20020a92c5c5000000b003031215ea9dmr19977699ilt.242.1670363371618; Tue, 06 Dec 2022 13:49:31 -0800 (PST) X-Google-Smtp-Source: AA0mqf6tA7RQJR+ofc16ntTth306NDR5i5Y03jmd2VcQK2IK1dSlgBuGViAhP18SEJ9lDTj3EoQNFw== X-Received: by 2002:a92:c5c5:0:b0:303:1215:ea9d with SMTP id s5-20020a92c5c5000000b003031215ea9dmr19977694ilt.242.1670363371419; Tue, 06 Dec 2022 13:49:31 -0800 (PST) Received: from redhat.com ([38.15.36.239]) by smtp.gmail.com with ESMTPSA id r6-20020a92c506000000b002fc323a2902sm6478816ilg.62.2022.12.06.13.49.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Dec 2022 13:49:30 -0800 (PST) Date: Tue, 6 Dec 2022 14:49:29 -0700 From: Alex Williamson To: Shameer Kolothum Cc: , , , , , , , Subject: Re: [PATCH 0/4] hisi_acc_vfio_pci: Add PRE_COPY migration feature support Message-ID: <20221206144929.17c64235.alex.williamson@redhat.com> In-Reply-To: <20221123113236.896-1-shameerali.kolothum.thodi@huawei.com> References: <20221123113236.896-1-shameerali.kolothum.thodi@huawei.com> X-Mailer: Claws Mail 4.1.0 (GTK 3.24.34; 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, 23 Nov 2022 11:32:32 +0000 Shameer Kolothum wrote: > Hi, > > The optional PRE_COPY state support for migration feature is introduced > by this series here[1](Thanks for that!). This is something HiSilicon > ACC driver can make use for early dev compatibility checks and have > made an attempt in the past here[2]. > > Adding this will speed up reporting the compatibility error early in > the migration process without the need to wait for complete data > transfer. This is sanity tested on a HiSilicon Platform. > > Please take a look. > > Regards, > Shameer > > 1.https://lore.kernel.org/all/20221106174630.25909-1-yishaih@nvidia.com/ > 2.https://lore.kernel.org/kvm/20220302172903.1995-8-shameerali.kolothum.thodi@huawei.com/ > > Shameer Kolothum (4): > hisi_acc_vfio_pci: Add support for precopy IOCTL > hisi_acc_vfio_pci: Introduce support for PRE_COPY state transitions > hisi_acc_vfio_pci: Move the dev compatibility tests for early check > hisi_acc_vfio_pci: Enable PRE_COPY flag > > .../vfio/pci/hisilicon/hisi_acc_vfio_pci.c | 147 ++++++++++++++++-- > .../vfio/pci/hisilicon/hisi_acc_vfio_pci.h | 2 + > 2 files changed, 133 insertions(+), 16 deletions(-) Applied to vfio next branch for v6.2. Thanks, Alex