Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp1610480rdb; Tue, 20 Feb 2024 01:12:08 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWH/w05WkRNLfVgAC7u4yBjQejbDJdJ28JEq5A/ld7nKn3zgrFFkQKkEymtEb9mQLgmxWbGTk3rSB1sw+YqswgGOE6JqzUNwRod7YFLYA== X-Google-Smtp-Source: AGHT+IHKMN6aLMwxW0qAp7ZppX3Q0p9dUr/enJKxkQKkVjhwVjPSW6djQoUNSAYu3NoocqjVaibv X-Received: by 2002:ae9:e201:0:b0:787:2691:44 with SMTP id c1-20020ae9e201000000b0078726910044mr14968397qkc.16.1708420327947; Tue, 20 Feb 2024 01:12:07 -0800 (PST) Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id x22-20020a05620a0ed600b00785da71dba8si8095789qkm.681.2024.02.20.01.12.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Feb 2024 01:12:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-72659-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@Nvidia.com header.s=selector2 header.b=VDO3ibvb; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-72659-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-72659-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 2CCBE1C2448F for ; Tue, 20 Feb 2024 09:11:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2FB735FB9C; Tue, 20 Feb 2024 09:07:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=Nvidia.com header.i=@Nvidia.com header.b="VDO3ibvb" Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2050.outbound.protection.outlook.com [40.107.94.50]) (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 81F055CDC4; Tue, 20 Feb 2024 09:07:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.94.50 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708420062; cv=fail; b=j0/glYspI2MFN3sj5ZSjXiU5TkJ2QBYLD6cv+nl7/CdhGyGmuCubMMZ04qv57HvvcplfaykYuq2ppjUI1es3I962ihsWjOlyNJunYdoIatoQPEsjbz9IvDGqwYkqk2DbgP3ujb/EWY8jf068P5HhrTZjFhefS4IJPKTufK7HhZ8= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708420062; c=relaxed/simple; bh=S6O8a2dJu00sj8YriheWKThr0Mx1uxdeYm3o6oz5T5E=; h=From:To:CC:Subject:Date:Message-ID:References:In-Reply-To: Content-Type:MIME-Version; b=N2iO/oH0gUnzifcRUVXwJDwju7lONFffMEoGas4qGuZY2FBqjI0yzLvuFYdVGwzoNLi3Wod4BGOdqhzLX+aorSpc+xn9qg2ekTTlXklX7/6phe0BPmluFfB4iSRS59dPQLBhfkTIgNexZYKmmKMDR+3v8Vp5gWwcx7C8pp/2TuQ= 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=VDO3ibvb; arc=fail smtp.client-ip=40.107.94.50 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=VqZU/8qtPejOc46ywJ0p3+CLXN60NOU5WU36rCt3LJESui9hikmOC/GDnnYYeS2kb+FleVVIkzlbwsXQ5IBukwZzW9LMqt4LzzXmxS0TtDYr0UM3hB8pTuIUo0n9hVC/TIve4Uu6TxXYRC8yo4dpGOzJY9QntiKPtmjgy6i8Nq6hJk7POud5T7oN7RbCBTmrznQaoRXb9AOoRdaXs1KcXyHWF6FKnmA0i5wWm3xZIfJpDZiKeLPS5bR5KVHOwaiopFg/rjAI73uiVkfgr8zIYTAIrDnARMGUBT8IPhWh+YnSmS3A0sZXcKdgDRM61a5tMQkQQx7ZIbmlpE6ZGawASA== 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=S6O8a2dJu00sj8YriheWKThr0Mx1uxdeYm3o6oz5T5E=; b=A+yG2VPfOOuR8P3BHIgydA9tX0BSsXaDBFqBRxpxYc+yiVP2GffRZ71e4SEt1eRxhuFNrLje08bbiVk1Kh87QKn9//DcBF2SUkDUnrCFjLLj8qIRKI1HAjk3hRndUpn9kUMzPlLa+HnWuBRUMobNE0Cuomcjtx+IwIdOMBK3YbmDWouLkj3B9T1gcp6soq2poiOXPACSe4oJMZvJMbSxS0oU8VzqnTLfceyY/3Ot4yiVOiJcNxpQCB8vWAGrvAKbO/CoVyLjfCMmKfQxvmDdkVonf6mKZGe++bAWQpdEFY0ib4cIJ1QJ6I2CZi/NHaAuiYFe/lcY6A4mNyJWgOnOog== 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=S6O8a2dJu00sj8YriheWKThr0Mx1uxdeYm3o6oz5T5E=; b=VDO3ibvbTfFiSG2rJM0gDsRIDwnKxbSo/xaPAfO14pUj5eT3bjmtT6guxGqnxLLedLbsBvQHiMQpuH7Rzy9r/Sn0vBMMHw0NZTbr+uh4En8VZHsbkHNvHCkaFFP+G6Fz7eByAO/+UG6Lw9dWMWBeMEahVmHfJOMO9+xTR7FVlxsPFB5V4EKFQ+ne3GOfwmQ0OPp5T5h3m6o+wgrh2CDlHKnHuJqvml84asVuCvYoM/JXBduYFJ4/8Ke0uWUlXbvj5A3a8Az2e4jjeiMmIGuHT9kofyTNzSnKtGA0zHqBcBNuQcTRJpWa6xx3HdkCoqqgFvw5oL6CYUi/iwrIZa+how== Received: from SA1PR12MB6870.namprd12.prod.outlook.com (2603:10b6:806:25e::22) by PH0PR12MB5605.namprd12.prod.outlook.com (2603:10b6:510:129::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7316.21; Tue, 20 Feb 2024 09:07:37 +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:07:36 +0000 From: Zhi Wang To: 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" , "david@redhat.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/EWney6fGMJmL7ES5W4AgAAHBICAAARtgA== Date: Tue, 20 Feb 2024 09:07:36 +0000 Message-ID: References: <20240220072926.6466-1-ankita@nvidia.com> <20240220072926.6466-3-ankita@nvidia.com> In-Reply-To: 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_|PH0PR12MB5605:EE_ x-ms-office365-filtering-correlation-id: a70fb582-3deb-4695-c04b-08dc31f361cf x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: Er8okpPBi4zzLEr6EOZGp4IRdF2bswAlZ1W37qYheCVonSKIEYiHK9JQApHaMcteXdAZu76+RUUGydHkcgXxYHUfY4A2339z1ogvIcjm8yKMiy4mpdS06lY5M5iqyXlv/Mf9Q3diJvciLssQ9QJSBGHLTB7EURGVKHvh79ln8JimH/5uwHQXl0+QMaU2ZlDc5hjq8DqlgTl+c+dXAInyXd90b6ax5MczRoWPlBGY9yZQj+pAxdPv1Yl3q2f4aPJ27QjJ7+jJiBLsKOFlq45RCvVo/R2or5q/2O96hqW4kr0A5/ij+KGxOrNdjo4ZQ4ShulgMrZPxwrowTt4fUhmgpnXDUdFKCekTVqT/q/jC0PksEufSGJfXwyThr/VnywACxruft0L9pu55CRVlD1vB4G34EmYgUP41PGhS7pF78v3f5kPF8uka0DVbAQZ28UkPCOzhx8uTaGCDg3/AwAIWrnMkgJXWIDMQQOUEa7ntGSC1U1gh4TMspStZe6AIdAzGHRkgn+GGe9U9GUKWd4EVoa58lX+l1EhstMxrmxGMk9tYd7uywaFCIUlwDppxyADil0dT8JAFcf2OlTKcc0FnrilA9SdsGH0jsaMBwz+AgkzBiU8OUiMP/6Vl9EeWckCZh0Xtclz5wUmezYTv2RA0XA== 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)(38070700009)(921011);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?dllpWU9hSkVyay9jTStkZVVZd1ZCc3d5WnJuaDVJT2lQSG5UV21XUkZocm1h?= =?utf-8?B?di9va0d0VVBmVU9mWjNsTHJwNHJVbjI5SDVucmR6RmlIbXNTZUNPOXpRUEly?= =?utf-8?B?WDl4VmxyWDJxbVZsLzdXMXJ6UXE5TVVsQnRLRXJqM2s0MmwvWTcwVkc2amFq?= =?utf-8?B?Vk9lbFNEMHg4ekRJOWRoYWZHdXRiWVhLU2ZxS1VhN0lwK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= =?utf-8?B?R2Y0K2xsVjRCM1lFdEREekZVVWZpNXh5SkQyaVcxTnF6Ynh5QUxqWVZHZTND?= =?utf-8?B?OFp4WTJ5RXlpbWc2YnVXTDVtckVTREI1cFZIMWc5ZFpvRUxmTzFKcWtmUFlk?= =?utf-8?Q?fNPU=3D?= Content-Type: text/plain; charset="utf-8" Content-ID: <9C27405F8875BD4EB070092C4F991937@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: a70fb582-3deb-4695-c04b-08dc31f361cf X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Feb 2024 09:07:36.6970 (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: cXtUkhqBgVQG6gjYDZo/yLFrBqAPghtQHpHnF4F5LldYxmGXJWUbK5x7DfHTXQ+x X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR12MB5605 T24gMi8yMC8yNCAwODo1MSwgQW5raXQgQWdyYXdhbCB3cm90ZToNCj4+PiBUbyBzYWZlbHkgdXNl IFZGSU8gaW4gS1ZNIHRoZSBwbGF0Zm9ybSBtdXN0IGd1YXJhbnRlZSBmdWxsIHNhZmV0eSBpbiB0 aGUNCj4+PiBndWVzdCB3aGVyZSBubyBhY3Rpb24gdGFrZW4gYWdhaW5zdCBhIE1NSU8gbWFwcGlu ZyBjYW4gdHJpZ2dlciBhbg0KPj4+IHVuY29udGFpbmVkIGZhaWx1cmUuIFdlIGJlbGl2ZSB0aGF0 IG1vc3QgVkZJTyBQQ0kgcGxhdGZvcm1zIHN1cHBvcnQgdGhpcw0KPj4NCj4+IEEgbml0LCBsZXQn cyB1c2UgcGFzc2l2ZSB2b2ljZSBpbiB0aGUgcGF0Y2ggY29tbWVudC4gQWxzbyBiZWxpdmUgaXMg bW9zdGx5DQo+PiBhIHR5cG8uDQo+IA0KPiBTdXJlLCB3aWxsIGRvLg0KQWxzbyBwYXRjaCA0IGhh cyB0aGUgc2FtZSBuaXQuIEl0IHNob3VsZCBiZSBmaXhlZCBhcyB3ZWxsLg0K