Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp4203172pxb; Mon, 27 Sep 2021 11:32:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzjJ1gektP8Si2GAV6dVUT/tCn0PgNu2bqq9q62TsGXXj24z5i1G6ywRQKvHUYs9Mgver8B X-Received: by 2002:a17:906:2682:: with SMTP id t2mr1694093ejc.221.1632767560685; Mon, 27 Sep 2021 11:32:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632767560; cv=none; d=google.com; s=arc-20160816; b=njbhs5te2gBPBlTZwB3mi3rf6EReeUskTOaq0pn2u4dce+9LOvFv3gilcg6Db5BvQY Ag5yzTWXGtWo8mv9SoQxhdRWN4MI9T7uoI8LeqFU7OT6662tJ6fsjtyyPVUyyzk37vJH np2c63sUAJksONlJwxzDwgLeawWvgLlBMnNDEM6httJ0OTeMut8yqTAcPfi2unbh9/aY pt77+u5GSDN3EO9IXLxVmO4HI3MnFZeW5qLYVjljD7oH27aEWuuDe7bUy/rSG/nfA9z0 /dtjlU9EIHpTz+W3z4OXmmaFDgfyd6ryRoxhtvGrIW5D4Za8ons6Ch5lC+ahKfmNzcBg FW8Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from; bh=W+0+B+HosHtAZDNG3iyy+79iiLHQjUsbHeB2gBmF0YI=; b=N4CsZPKbWAXxJj3uJUXgddS17ATSmkPAfGr9ZhinaPBZsXYeqexIGRP7my/vgnJZzN cRwSvAIhZhU4RY5+nxLL2ZVDEng4tDIiZlQNaDWejkJhDhHbPz7F7ttc/9SW6yWHL/qs OdfAw4MTx9BMw5RTocLvpvwN/UOnPhrXXXB1Rrxasq3fUWdx7kD/2rmNUboihlv8cj9r 2l5GX2xXCYqc9Ob3B1CHx40HE6iWKM9CvmCe6xdTwTGWFuQ8KO1qs2PpIohddcHvL4t3 g2vKt+mGDzQBFsYdYZbgmhVoIhVlzaOeVrPvUEiGKqRpQAk+GV1vrBH8Oq9rh0A/g6jf xy5A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id hy27si18957378ejc.705.2021.09.27.11.32.14; Mon, 27 Sep 2021 11:32:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236174AbhI0Sar (ORCPT + 99 others); Mon, 27 Sep 2021 14:30:47 -0400 Received: from szxga01-in.huawei.com ([45.249.212.187]:25973 "EHLO szxga01-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235991AbhI0Saq (ORCPT ); Mon, 27 Sep 2021 14:30:46 -0400 Received: from dggemv704-chm.china.huawei.com (unknown [172.30.72.56]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4HJ9z55XSJzbmr1; Tue, 28 Sep 2021 02:24:49 +0800 (CST) Received: from kwepemm600008.china.huawei.com (7.193.23.88) by dggemv704-chm.china.huawei.com (10.3.19.47) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.8; Tue, 28 Sep 2021 02:29:05 +0800 Received: from lhreml710-chm.china.huawei.com (10.201.108.61) by kwepemm600008.china.huawei.com (7.193.23.88) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.8; Tue, 28 Sep 2021 02:29:04 +0800 Received: from lhreml710-chm.china.huawei.com ([169.254.81.184]) by lhreml710-chm.china.huawei.com ([169.254.81.184]) with mapi id 15.01.2308.008; Mon, 27 Sep 2021 19:29:02 +0100 From: Shameerali Kolothum Thodi To: Max Gurtovoy , Leon Romanovsky CC: Doug Ledford , Jason Gunthorpe , Yishai Hadas , Alex Williamson , 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 , liulongfang Subject: RE: [PATCH mlx5-next 2/7] vfio: Add an API to check migration state transition validity Thread-Topic: [PATCH mlx5-next 2/7] vfio: Add an API to check migration state transition validity Thread-Index: AQHXr54pt96rmXk0YUaXSN2Kf89+2auxakgA///+2wCAACw6gIABM1JQgAMzv4CAAIdJsIABpg6AgAARVTA= Date: Mon, 27 Sep 2021 18:29:02 +0000 Message-ID: <4d6a027b282b4e1ba7666c18be7e8d82@huawei.com> References: <42729adc4df649f7b3ce5dc95e66e2dc@huawei.com> <60989aa8-4231-0cdf-47bb-1e2026bd1f17@nvidia.com> <164439bb579d41639edf9a01a538a5ef@huawei.com> <078fc846-1f72-adc0-339c-1b638c6c6e33@nvidia.com> <85743eabdae04d08bb5eba7b6857496e@huawei.com> In-Reply-To: Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.47.80.194] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0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