Received: by 2002:a05:7412:1703:b0:e2:908c:2ebd with SMTP id dm3csp1443850rdb; Sat, 26 Aug 2023 02:50:02 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHAqNwJ+2DhI4VNCyQErIUBiMHwL0xKQ3IpxfapzRGDPGJNUBhbqrd1VClnTKvdrZqPEkxM X-Received: by 2002:a05:6512:3ca9:b0:4fd:fadc:f1e with SMTP id h41-20020a0565123ca900b004fdfadc0f1emr18904772lfv.44.1693043402685; Sat, 26 Aug 2023 02:50:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1693043402; cv=none; d=google.com; s=arc-20160816; b=WZ3y+x6KUTS6oQHh2kpG1ET04oOIb+XnW9iG7M6XTxfbg9BjLYZaxK/kqfSyGs1maW nXTcZzgWsRF+9Ul2ALoOvvScql0gk645Ec/R/fGiq4oX2qH+zbom8dGnJ70qtt435N8v +prb3ZPsExBtx8qH0YRosognHqx5fwnldKO4IkatWkTB+FQ55/cLvnP5khX3djxvDoVE uyt4cvjntIvJm/iGZ9XHWqS4dhyl+57ighjhiOuWWC9HfBXjJBQosurzY4VuOw4UDERU BTz0LyJUpDkXIiUzdjAQEGK2joX/3A7yKToYipG3/+SZ7OFnX70q+1uHbYHRb7J+gkSI fmCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=mitBX4udIM7iM7ZdCAymkftyC6vRE49LX4zFAHyQkwg=; fh=HQEYiDkHWm+iyDy6Iy8ezzU3XnCEZFhJuYNKBtR+sm8=; b=yBpzxg4qsVE87z2bfxpmGDRLs0No+Avpuj+RD/RqoDimONAlpQhQS0FaxtCfCG3e1u RFbQsH95P41RzL4/LS3te6w9gc35LDqt7oqtNL3c0P/N1b8fgH/4pQGsuWnVP7ma2A2Z TL0PtgiZDcl86ytPQctZhSaaViVPKCrQUFffcbwK5ZNoTPUdkfB7bGXUZWODf9Gbz7/M EkdnNklbJnVZDl/Z499fVJrNwtBp9CtDzumxzXNqDnveDyRaDYh3tbAojaLEv/PGZO1R d7wD7E4GBmiRF6nQJo4SbPJYlZ/wswS760oUbUQ76PrpX6Dhs1gGTmmVX8iZt9RSEhtj 6wtg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i17-20020a50fc11000000b0052996528b82si2092382edr.250.2023.08.26.02.49.18; Sat, 26 Aug 2023 02:50:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231357AbjHZBYm (ORCPT + 99 others); Fri, 25 Aug 2023 21:24:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44220 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231637AbjHZBYN (ORCPT ); Fri, 25 Aug 2023 21:24:13 -0400 Received: from szxga03-in.huawei.com (szxga03-in.huawei.com [45.249.212.189]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1B6A4E77 for ; Fri, 25 Aug 2023 18:24:11 -0700 (PDT) Received: from kwepemm600016.china.huawei.com (unknown [172.30.72.57]) by szxga03-in.huawei.com (SkyGuard) with ESMTP id 4RXfCd19bnzJrmy; Sat, 26 Aug 2023 09:21:01 +0800 (CST) Received: from linux-hNCriV.Euler.HZ (10.175.124.27) by kwepemm600016.china.huawei.com (7.193.23.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.31; Sat, 26 Aug 2023 09:24:08 +0800 From: Jiang Dongxu To: , CC: jiangdongxu , , , , Subject: [PATCH 0/2] vdpa: Add logging operatins Date: Sat, 26 Aug 2023 09:23:30 +0800 Message-ID: X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.175.124.27] X-ClientProxiedBy: dggems701-chm.china.huawei.com (10.3.19.178) To kwepemm600016.china.huawei.com (7.193.23.20) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: jiangdongxu Currently, the vdpa device supports suspend and resume operations. To support vdpa device live migration, we need to support logging operations and device state save/load opertions. These series introduces some new operations for vdpa devices. They allow vdpa to enable logging while vm start live migration. And I will submit another patches about saving and loading vdpa device state later. jiangdongxu (2): vdpa: add log operations vhost-vdpa: add uAPI for logging drivers/vhost/vdpa.c | 49 ++++++++++++++++++++++++++++++++++++++ include/linux/vdpa.h | 14 +++++++++++ include/uapi/linux/vhost.h | 4 ++++ 3 files changed, 67 insertions(+) -- 2.27.0