Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp1278272pxb; Thu, 7 Oct 2021 04:45:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxOoJPp9MVoMHNdujWc+eHF5jnFcAjP5n1lv2m8Kgh8YPPaR87H0YkXp9uA7RcWbR7722Ho X-Received: by 2002:a17:906:712:: with SMTP id y18mr4985861ejb.408.1633607109897; Thu, 07 Oct 2021 04:45:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633607109; cv=none; d=google.com; s=arc-20160816; b=cRLOv8iXANWnDn4xHE9t/hnrRe4i3xbDa24I4v37rCeYqfu+BZACxVKdChxx2VRDis 5Krbs1aZQE5Bza/jBFYaqfltgDljylKe0DZf6qL0Ak4W0GTGoeRrzzTgucqo1shOUWqL d+6fn6hKsdMdk98WBcI1uC73dxQTKC23GcpV9GEZbWgRnfoWIXg6QK+RtfnVPysTErCP uBO3HFy/4vltjV44Qcsz3WWLgiEHYlIyEc0T1jC5saa5CwqHYtTK4zAiod96pz43yNlT XkJ/Vh980vfSp+AwIECrY+4IZLzOm+z0MLScn93kNOIpDkd3kX7izgGEMoFQgJAvt6v/ c4RQ== 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=b0qZJknmKnsWIsN64ZqbXRPxAv5ScL3r2Fzk32b/afw=; b=pF1bwoi776FoAyUaIqcAsz70k+THbChWY7+gaIueKXvkWN289pRR+u+y3NMhtQOlVc cVgTEHofGfNlS6rU7vY+ue75mghGfiOsyQ3YSOzyJ7U8NAGfE0Rlfufn0qCZriAmKdvB 5rok1Q2WfZ/p5oP9LQoO5n9deN1T3Vk5CkbcsG0cnjx1+IYQNHlRN9kuzwzI3A7lH4Cs BGYfT6XOV2Xy7ZE1TnDafUhuxHIvyDQ18kOv3FqGw4g0suCPdQjTzjYgwo6onsCfiCrQ 7FuMEFQxcwOTuzQceVm6Jq+IgJ64P70jDPCspYMEmVZXZckvU9vKqnOCWIWum7Ln+Ghf v8Ug== 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 13si27853786ejr.434.2021.10.07.04.44.42; Thu, 07 Oct 2021 04:45:09 -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 S232299AbhJGLpQ (ORCPT + 99 others); Thu, 7 Oct 2021 07:45:16 -0400 Received: from szxga01-in.huawei.com ([45.249.212.187]:13704 "EHLO szxga01-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230091AbhJGLpP (ORCPT ); Thu, 7 Oct 2021 07:45:15 -0400 Received: from dggemv711-chm.china.huawei.com (unknown [172.30.72.55]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4HQ8YT0PGdzWlbJ; Thu, 7 Oct 2021 19:41:49 +0800 (CST) Received: from dggpemm100005.china.huawei.com (7.185.36.231) by dggemv711-chm.china.huawei.com (10.1.198.66) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.8; Thu, 7 Oct 2021 19:43:18 +0800 Received: from dggpeml100016.china.huawei.com (7.185.36.216) by dggpemm100005.china.huawei.com (7.185.36.231) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.8; Thu, 7 Oct 2021 19:43:18 +0800 Received: from dggpeml100016.china.huawei.com ([7.185.36.216]) by dggpeml100016.china.huawei.com ([7.185.36.216]) with mapi id 15.01.2308.008; Thu, 7 Oct 2021 19:43:18 +0800 From: "Longpeng (Mike, Cloud Infrastructure Service Product Dept.)" To: Lu Baolu , "dwmw2@infradead.org" , "will@kernel.org" , "joro@8bytes.org" CC: "iommu@lists.linux-foundation.org" , "linux-kernel@vger.kernel.org" , "Gonglei (Arei)" Subject: RE: [PATCH v2 1/2] iommu/vt-d: convert the return type of first_pte_in_page to bool Thread-Topic: [PATCH v2 1/2] iommu/vt-d: convert the return type of first_pte_in_page to bool Thread-Index: AQHXufzwnJ0IkXVZ70aRussks8pnnKvGjCOAgADf3UA= Date: Thu, 7 Oct 2021 11:43:18 +0000 Message-ID: <046cdaae8b204c3da442ec44fcc6c25d@huawei.com> References: <20211005152308.1061-1-longpeng2@huawei.com> <20211005152308.1061-2-longpeng2@huawei.com> <62016e41-5d9d-2d42-e16f-59809f9f1f75@linux.intel.com> In-Reply-To: <62016e41-5d9d-2d42-e16f-59809f9f1f75@linux.intel.com> Accept-Language: zh-CN, en-US Content-Language: zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.174.148.223] 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 DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogTHUgQmFvbHUgW21haWx0 bzpiYW9sdS5sdUBsaW51eC5pbnRlbC5jb21dDQo+IFNlbnQ6IFRodXJzZGF5LCBPY3RvYmVyIDcs IDIwMjEgMjoxOCBQTQ0KPiBUbzogTG9uZ3Blbmc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