Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp2435234lqz; Tue, 2 Apr 2024 18:43:50 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWulXnkvdnRqzfRrbG8mQUfcOaJW/B22Wr7rA9OGgkanv4D13VIaozw+92E8+91h5wetE9rPnPIVIcIrYP1IRL+R/1bW0zly8Jk10hMMw== X-Google-Smtp-Source: AGHT+IGdo4yIQDc7UGRObE1u1pHhA4BRVUNaSYiAU5hY0Qu7qpVZPhHBJYWdv8vPw1s+4MLnl21d X-Received: by 2002:a2e:95d5:0:b0:2d6:8e54:80a1 with SMTP id y21-20020a2e95d5000000b002d68e5480a1mr8646653ljh.19.1712108630148; Tue, 02 Apr 2024 18:43:50 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712108630; cv=pass; d=google.com; s=arc-20160816; b=oUsoTGSiIwRfca0Vx8qhQAuwrj4PMtKPL8UioNrAVS2hxUIBlf81LJAzAK+U4UjUca yR1lGhc/ppiklgv8/92x2/COPteWjKg2s1FIh1XcGn4ecDtLwas77bsEdUwP2aLBaR3W f5MCz7pspgoDLT1MMoXXG8wIJAMi1i1afpgAu0BelFzPBaMrbYSkL1Y2RVmO3n2m4/Sk 5ynB65B0oRpd68DI4EObLb89/HbSuC2yFHBA/+yPrwfY7w7iERmxwqFHA+jg+9GsrANY Yhu1yDWRfQSNOg7VpG8+4a5OAwUtYJWr+Pbzuc9v6iy4pXOPiuVHSWr6m66nXlbwpX2T KRPA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:mime-version:list-unsubscribe:list-subscribe:list-id :precedence:content-transfer-encoding:references:in-reply-to:subject :cc:to:from:date:dkim-signature; bh=9qzDJd4xv/KvBWlAYR/DxWB2jZFnJ/2Xwhpb1j5iYE8=; fh=tGnakkQrIU/ZCNkBb69aRp1rvcsGgCGExJJ4zJeAMO4=; b=dfB23+LRa2S5ecnByUUxANXGZblJ8LhYP7MaIg0r5+JOSYa9yNb5BVruDozZC+dHDB 5/e+xnVE90ZE5Z5gWZ68tAVFmxm11jfbz1xA/0ep9BPwp+7Ds41y1nI7e/hxgXm8obdn TzTV4Ydjlc7kuGAOeDwcs3AKnRfzGGsza22XkY8oe4gNnchdeklvNJSvlFlrPYxkcIL9 n6kOr8B78vpaXtKufSG6fYgqWYFcQTt0IyYgz75BmUPXGdRjH67jY8hRdlo61jHQTMDH PQWUEpDqxO1V5LTYlmaJqG4hURflzl4euDT/oBk06U4N0NNNG8S0FSLJp1/I8kVFIHLj GQDQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=neutral (body hash did not verify) header.i=@163.com header.s=s110527 header.b=YgwxdVkS; arc=pass (i=1 spf=pass spfdomain=163.com dmarc=pass fromdomain=163.com); spf=pass (google.com: domain of linux-kernel+bounces-128948-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-128948-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=163.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id g11-20020a056402320b00b0056be9399722si6482155eda.273.2024.04.02.18.43.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Apr 2024 18:43:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-128948-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@163.com header.s=s110527 header.b=YgwxdVkS; arc=pass (i=1 spf=pass spfdomain=163.com dmarc=pass fromdomain=163.com); spf=pass (google.com: domain of linux-kernel+bounces-128948-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-128948-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=163.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id B451D1F2734C for ; Wed, 3 Apr 2024 01:43:08 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D3D371C29C; Wed, 3 Apr 2024 01:41:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=163.com header.i=@163.com header.b="YgwxdVkS" Received: from m16.mail.163.com (m16.mail.163.com [220.197.31.5]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 418FE1BC20; Wed, 3 Apr 2024 01:41:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=220.197.31.5 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712108505; cv=none; b=p1oDtP+zymGzAMWVMMNujQfgwmdn0stRAAxOgTv2WYY4ZaPBXT0YZvE2lzwUeVdXMAVIXNYkP9wpIHp/4qGJ/d7HKdBKHOso6/+mOlI7XSTCVT2v/oVJjs4E7GxMkEwtIy74e8u3UkkhIgbnnRK6nNrc9woRpaj8kWH+NJFrf8c= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712108505; c=relaxed/simple; bh=9qzDJd4xv/KvBWlAYR/DxWB2jZFnJ/2Xwhpb1j5iYE8=; h=Date:From:To:Cc:Subject:In-Reply-To:References:Content-Type: MIME-Version:Message-ID; b=TFtTTlAlutyKr+7YVOPMMhopjGtDY9o+hsIYTi1tJR9J8s/4Igqd6C0ySUJ62C3ay4M2yk2grqWUCMmMMhqgKuXWffIqajAyo6VRFgLg7nWJUesbIMbZWpWZeadhkatNy4iXE6t1o4KjqKRqci1OrtnhYd2EXXh4R43AvfSChS0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=163.com; spf=pass smtp.mailfrom=163.com; dkim=fail (1024-bit key) header.d=163.com header.i=@163.com header.b=YgwxdVkS reason="signature verification failed"; arc=none smtp.client-ip=220.197.31.5 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=163.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=163.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=Date:From:Subject:Content-Type:MIME-Version: Message-ID; bh=mp202wi81W+h68F3K6cSfB+qwXNEKfRZa04fWpo1DKk=; b=Y gwxdVkSuDajkGl1B4EHNLzqS83dUcJJEv8+EpWJXSVVvfjRDUR3nE0zoXyoBjeOf weCzWu0fA1LCCvsOt29lLz5PrWj27TsG/lwwdP8GqjhD/CQdJARyiYry1JqSRB9P LzakUMlIGmrwfXWg6Iapqczh+ETBJ6ypjzsDms4yZ8= Received: from w_angrong$163.com ( [123.60.114.34] ) by ajax-webmail-wmsvr-40-109 (Coremail) ; Wed, 3 Apr 2024 09:41:20 +0800 (CST) Date: Wed, 3 Apr 2024 09:41:20 +0800 (CST) From: tab To: "Jason Wang" Cc: "Michael S. Tsirkin" , kvm@vger.kernel.org, virtualization@lists.linux.dev, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, "Cindy Lu" Subject: Re:Re: [PATCH v3] vhost/vdpa: Add MSI translation tables to iommu for software-managed MSI X-Priority: 3 X-Mailer: Coremail Webmail Server Version XT5.0.14 build 20230109(dcb5de15) Copyright (c) 2002-2024 www.mailtech.cn 163com In-Reply-To: References: <20240320101912.28210-1-w_angrong@163.com> <20240321025920-mutt-send-email-mst@kernel.org> <20240329051334-mutt-send-email-mst@kernel.org> Content-Transfer-Encoding: base64 Content-Type: text/plain; charset=UTF-8 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <2d5a774d.567.18ea19e282e.Coremail.w_angrong@163.com> X-Coremail-Locale: zh_CN X-CM-TRANSID:_____wD338_AswxmOKEiAA--.20431W X-CM-SenderInfo: xzbd0wpurqwqqrwthudrp/xtbBzxK0iGV4If3v6AABsm X-Coremail-Antispam: 1U5529EdanIXcx71UUUUU7vcSsGvfC2KfnxnUU== SSZuYnNwO25lZWQmbmJzcDt0byZuYnNwO2Rpc2N1c3MmbmJzcDtpbnRlcm5hbGx5LCZuYnNwO2Fu ZCZuYnNwO3RoZXJlJm5ic3A7bWF5Jm5ic3A7YmUmbmJzcDtzb21lb25lJm5ic3A7ZWxzZSZuYnNw O3dpbGwmbmJzcDtkbyZuYnNwO3RoYXQuCuWcqCAyMDI0LTAzLTI5IDE4OjM5OjU077yMIkphc29u IFdhbmciIDxqYXNvd2FuZ0ByZWRoYXQuY29tPiDlhpnpgZPvvJoKT24gRnJpLCBNYXIgMjksIDIw MjQgYXQgNToxM+KAr1BNIE1pY2hhZWwgUy4gVHNpcmtpbiA8bXN0QHJlZGhhdC5jb20+IHdyb3Rl Og0KPg0KPiBPbiBGcmksIE1hciAyOSwgMjAyNCBhdCAxMTo1NTo1MEFNICswODAwLCBKYXNvbiBX YW5nIHdyb3RlOg0KPiA+IE9uIFdlZCwgTWFyIDI3LCAyMDI0IGF0IDU6MDjigK9QTSBKYXNvbiBX YW5nIDxqYXNvd2FuZ0ByZWRoYXQuY29tPiB3cm90ZToNCj4gPiA+DQo+ID4gPiBPbiBUaHUsIE1h ciAyMSwgMjAyNCBhdCAzOjAw4oCvUE0gTWljaGFlbCBTLiBUc2lya2luIDxtc3RAcmVkaGF0LmNv bT4gd3JvdGU6DQo+ID4gPiA+DQo+ID4gPiA+IE9uIFdlZCwgTWFyIDIwLCAyMDI0IGF0IDA2OjE5 OjE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