Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp1619739rdb; Tue, 20 Feb 2024 01:34:02 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUtRbO1hZ46JS68EbipPRMjR/j/A4thD8vp1aE/GaYyEprmmQc8EFQxBhhAxRnhEI0rvB95NLNUHWjr/fo5mlgvLBrLgXg02nfrT89d0Q== X-Google-Smtp-Source: AGHT+IHla2vq6ZAhIVyUVQ0AV1BC5pLIqQ2Gfn5LcUdCHUR6vq9FwvKVm7TWSJE+M/MnX5bnPkH4 X-Received: by 2002:a1f:e481:0:b0:4cb:2930:7470 with SMTP id b123-20020a1fe481000000b004cb29307470mr4787122vkh.12.1708421642133; Tue, 20 Feb 2024 01:34:02 -0800 (PST) Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id r12-20020ad4576c000000b0068f13883684si8068416qvx.291.2024.02.20.01.34.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Feb 2024 01:34:02 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-72701-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@Nvidia.com header.s=selector2 header.b=dbRwJhsv; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-72701-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-72701-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=nvidia.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 ny.mirrors.kernel.org (Postfix) with ESMTPS id B7C411C22A68 for ; Tue, 20 Feb 2024 09:34:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8015160DD8; Tue, 20 Feb 2024 09:33:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=Nvidia.com header.i=@Nvidia.com header.b="dbRwJhsv" Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2051.outbound.protection.outlook.com [40.107.244.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D53D760861; Tue, 20 Feb 2024 09:33:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.244.51 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708421630; cv=fail; b=IpN80dLeHZBISOcQk48g58LZLiuvCiLrLu/WIaCnqIdjcUBvDa4wCPUoxten7D3jk2pyZWGbI1tJUnMbhSPfMfoIogVg0sQBXE+q7GY6cULtpK4KFrpFcZ1YRbDXoBalEgmW4RAVvNdPQ/uw/DAIZvbgVcSy4jCcFUmGEkcZuUc= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708421630; c=relaxed/simple; bh=enJgL1yoo6mi8ICzOkGoifquzv0QFkF/GhTf/VTRKgE=; h=From:To:CC:Subject:Date:Message-ID:References:In-Reply-To: Content-Type:MIME-Version; b=Bc3BW65cOpCDH+DK6xn+9sx/8JTZ/yKJOroSmeb9eomtgz8/3+rt4N4uiEx2pmf0FatWCQ0IZNRAS6bmmCnuARAJJ4KsqE9SwwP6ue+fPMg6dqnvslSK+FJMz1TjW21A5AuVoNHpJWGWST1zeQIKM+yiM3ESHuZTW+KynLE+m+c= ARC-Authentication-Results:i=2; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=nvidia.com; spf=fail smtp.mailfrom=nvidia.com; dkim=pass (2048-bit key) header.d=Nvidia.com header.i=@Nvidia.com header.b=dbRwJhsv; arc=fail smtp.client-ip=40.107.244.51 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=nvidia.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=nvidia.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZoGqplyrPrTIJB5VFYPxU4nxfwg23Tr1wi1v2pkYpJbHFoCeV1ubB9ZavRV9GN+Jh0ghDFgD6FAb7kxzjcpQxU473/ouSCCArhttF1V5E4lfufjTzOHtNRyaMC379KN+jyfyr0vbm71a6wRB7/3ZtvYTjsisse0Ij+o03CRooM4lG6FbBlKjlLGmafhl6bwOEQggsHAhp7w3GPMNBdGLSETJ73GD7llKn6ogZWXZmUem5VnyDhsVV2WHCr6AAgjThHsAy6Q2RMtg7qPbTpwzMSm7rwgK+4uen8NBKdjiSiYc6DRuloiamXhbyrh3e6miZhsmS+RU3i1Y/0xGsYPoxQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=enJgL1yoo6mi8ICzOkGoifquzv0QFkF/GhTf/VTRKgE=; b=UY/lkMIHsAnZ8pFfNxy8amGnfRuaYsfi6uqLkQK+RVgJ+/ZjEbdtt4oeybu3ycBnZNHh4q85raoq+YWInUXOnAvhTGWKapS5eQ/xLe0G+C2O7i9Up4vmOQcN6vuATmQgXi3CKB2KCAWiZbOi1/G60HGWcG758yrsZulqGQDOcE+EBiYA4pUEWfMGp3Tk92oep4VGZNOShOJ6jIcT4XgxnLFooaJHy6fbl5D4TeLOQ6AFcKJGYFulUl33zAb4N2qBaAMOyOEyZViI7qpTiR3TX5VjRk97SW9B7jV0tz2BbMjDs8u/BKIWCzQeeHmCWvfMBIm0G9Oj60mKREa6FzqxvA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=enJgL1yoo6mi8ICzOkGoifquzv0QFkF/GhTf/VTRKgE=; b=dbRwJhsve1u1tVgHemAC7acJj71t0S8cg181rvKBI5/ZnhmVBJqc7FzpnQbDOlXl1kYozNNaNSYdhaKbSbPYOLkrYxikNoYZduQwIfjnmNOxRBVaZPAaxwz3btXlN0U0R0ZXVRMoNiWbxnXmnSkYtQKAPy2oCev64AYHtRFSBGbDRzhXTq/NSjT0Mv3SOq+rLZO6L0OP9IyL2lUCUDcVZ73kT6EMuReWkr+K9A5kTRNUGbOLpAd16/W9n1yk/Kxjca6j9maJ/CjkMwb7BT5b3+zqABpvxkvzYYU9CwQGl6Ym8+w+Pq6zeTg7YPnZxbGHNPBfO3IgcqaJl5gGVC81Lg== Received: from SA1PR12MB6870.namprd12.prod.outlook.com (2603:10b6:806:25e::22) by BL0PR12MB5011.namprd12.prod.outlook.com (2603:10b6:208:1c9::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7316.19; Tue, 20 Feb 2024 09:33:45 +0000 Received: from SA1PR12MB6870.namprd12.prod.outlook.com ([fe80::97d8:a505:950c:6e89]) by SA1PR12MB6870.namprd12.prod.outlook.com ([fe80::97d8:a505:950c:6e89%4]) with mapi id 15.20.7316.018; Tue, 20 Feb 2024 09:33:45 +0000 From: Zhi Wang To: David Hildenbrand , Ankit Agrawal , Jason Gunthorpe , "maz@kernel.org" , "oliver.upton@linux.dev" , "james.morse@arm.com" , "suzuki.poulose@arm.com" , "yuzenghui@huawei.com" , "reinette.chatre@intel.com" , "surenb@google.com" , "stefanha@redhat.com" , "brauner@kernel.org" , "catalin.marinas@arm.com" , "will@kernel.org" , "mark.rutland@arm.com" , "alex.williamson@redhat.com" , "kevin.tian@intel.com" , "yi.l.liu@intel.com" , "ardb@kernel.org" , "akpm@linux-foundation.org" , "andreyknvl@gmail.com" , "wangjinchao@xfusion.com" , "gshan@redhat.com" , "shahuang@redhat.com" , "ricarkol@google.com" , "linux-mm@kvack.org" , "lpieralisi@kernel.org" , "rananta@google.com" , "ryan.roberts@arm.com" , "linus.walleij@linaro.org" , "bhe@redhat.com" CC: Aniket Agashe , Neo Jia , Kirti Wankhede , "Tarun Gupta (SW-GPU)" , Vikram Sethi , Andy Currid , Alistair Popple , John Hubbard , Dan Williams , "kvmarm@lists.linux.dev" , Matt Ochs , "kvm@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" Subject: Re: [PATCH v8 2/4] mm: introduce new flag to indicate wc safe Thread-Topic: [PATCH v8 2/4] mm: introduce new flag to indicate wc safe Thread-Index: AQHaY86q3o4vxPMh/EWney6fGMJmL7ES5W4AgAAHBICAAAT+gIAABr6A Date: Tue, 20 Feb 2024 09:33:45 +0000 Message-ID: <709fe097-9cc0-4d61-89e5-65147f541e95@nvidia.com> References: <20240220072926.6466-1-ankita@nvidia.com> <20240220072926.6466-3-ankita@nvidia.com> <6ca94bf1-68b4-4a81-8cd0-d86683e0b12c@redhat.com> In-Reply-To: <6ca94bf1-68b4-4a81-8cd0-d86683e0b12c@redhat.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nvidia.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: SA1PR12MB6870:EE_|BL0PR12MB5011:EE_ x-ms-office365-filtering-correlation-id: 4e5cc462-34b8-46a4-8512-08dc31f708c9 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: dNoaIjMy0sf/PL5yssC/mJShSkQBQA52Gt5FhF7Nv2QpWhKXvXCQlU/v6j5xRKf6SXwXxM8MeC81+sZpk7QCYOpE5TFv2NEbn+ybtuh3dXkgUI4FUDEXwfkJXOVx/mVxnwAWfTWmzt+ocfyGwMhY5R0kqPP1Q0FY8uqaEcPvDsQCNoBtqHgZene321VK+hqBUbMkri6i8RvzSw0I66voJJrJNvogeNob0ND/cOEnSw/MLB61RhbxYUBhaFVTOqPxURPX98M1p4i0b4VBBiaLj/ZZ0UMGsdJPcwCxvpNKDGNXyIf8u4yttMtLS58qkDpeG2Qk44Fd9QGsI5ZRn2KUQCjckwmLgQMaGluUUQAeOFNhFHa0rZHG5kdY/Jpnbv9/GDP+tOsgMlBUQ0bx/bDN8i4hH5Xyut05FFdK2i1CKFISmtlTWwuKuGs6k++KFNhkighThlMmKUKITMBr0sfOe+2lBG9WOwN29EP0CO4z7NhX5iqIgUkp7N4PQrIiZHtlYzxrWIRvXr2A/C6NuoD/H6KJSHuGV2UReW5oYH+q89LP3U9TWJGeGBPJkEXvbppVEAl3fXfeJitQ5l3b7nYMS7wQzGCFxKPNQuP3iMf9iJlSsHWT988qcU9EdhZSLweIIeysFAPBhU+PYUUFe9GKcA== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SA1PR12MB6870.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(230273577357003)(38070700009)(921011);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?SmNLZFJKTlp1aXVIMExxV2ZjbGVYbEVOTDZ3eE9RcSt3eW1kMnJlKzBjdlFs?= =?utf-8?B?VjB6TlhjZ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xhdWoxUjc2QWtM?= =?utf-8?B?V2w1RU5oaW9lazBnYVJEK21SdXUySTc4V29sdG9QSEE5RzVXWE0rVFZUcnhT?= =?utf-8?B?dVM2dUg5UnNLa2tzMEgrcnhZUitLZkp6QnhuTHVKWktpcmI0OE44YmhvM2ox?= =?utf-8?B?M3BaWGdSczlDamRHRE03ajhjZGJYMjRxRDlLbndjSCtMck9rS2tOMnFRVTVR?= =?utf-8?B?UWc5eG9pZ1dMNXkySVluVFBuclNmelZ0RllFZU1SVHdwRGxPU3NMc3hrYS9B?= =?utf-8?Q?fUJw=3D?= Content-Type: text/plain; charset="utf-8" Content-ID: <8C55D8DCFD2D944B953E6F064FDB58E0@namprd12.prod.outlook.com> Content-Transfer-Encoding: base64 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SA1PR12MB6870.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4e5cc462-34b8-46a4-8512-08dc31f708c9 X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Feb 2024 09:33:45.3352 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: UvsLRJDHuQ+UBKv/0+BmcZSHCy7j/ZUTfZ5aPnrgFXAbKsiNIS9uGRiSlz8RUoHA X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL0PR12MB5011 T24gMi8yMC8yNCAwOTowOSwgRGF2aWQgSGlsZGVuYnJhbmQgd3JvdGU6DQo+IEV4dGVybmFsIGVt YWlsOiBVc2UgY2F1dGlvbiBvcGVuaW5nIGxpbmtzIG9yIGF0dGFjaG1lbnRzDQo+IA0KPiANC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