Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp1610618rdb; Tue, 20 Feb 2024 01:12:27 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVHDVAZZ6nXwn44s5u83MYNvQi1QTdxART0y7GF4d9XVxBFbQfz/JnrkNEeCP+zCzAjgx0kEX/h9RXlR5zIqcV2gX1L2xt4/+rZERGAWw== X-Google-Smtp-Source: AGHT+IHPw0Q7ZRLxg2EI6fgpBeDPxPQKCRxbGsJIYDp/mGkSj4cCJAPOHRFtPGM60TbXXm0PtVfP X-Received: by 2002:a17:906:f80a:b0:a3e:3bc0:64f5 with SMTP id kh10-20020a170906f80a00b00a3e3bc064f5mr5074089ejb.64.1708420347455; Tue, 20 Feb 2024 01:12:27 -0800 (PST) Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id kz15-20020a17090777cf00b00a3e7eb19a24si1904571ejc.103.2024.02.20.01.12.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Feb 2024 01:12:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-72662-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@Nvidia.com header.s=selector2 header.b=L3121SCD; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-72662-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-72662-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 am.mirrors.kernel.org (Postfix) with ESMTPS id F3EE51F219B7 for ; Tue, 20 Feb 2024 09:12:26 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4EE1960EE4; Tue, 20 Feb 2024 09:09:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=Nvidia.com header.i=@Nvidia.com header.b="L3121SCD" Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2063.outbound.protection.outlook.com [40.107.94.63]) (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 94B9460DF7; Tue, 20 Feb 2024 09:09:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.94.63 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708420144; cv=fail; b=iKw3HqijDtXNLinKR0wo129iZQ7C/vdh0ga2KnAhOFW5wbyP1axkw6ggQSTqD4+PyWVjhcqkbDF3JVvI4nVnoRi5TD/R6bd1aPujOHceFzH4omfdwMZLCJjbE2RqWvax7gFd4Ms4Df6FPXkSoh+CEyai7WCrICpIi/Yx/NfKRM4= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708420144; c=relaxed/simple; bh=HVTtgz1XaeBzGTBR5ZwJ1Q3P+Qtm3Ikv3kpaPMlzyRE=; h=From:To:CC:Subject:Date:Message-ID:References:In-Reply-To: Content-Type:MIME-Version; b=SaJ3ScP9fFWydDBoXY74cd/N2AjqEIPoDzEpAHWOQNciS5cll0qcqTiR2EHxomynvGVa9kOhFKjc0u2o1gfYMfh7UWwbsDC7gXgJiF1bcE8j5hl3emTj3n/L42MfZ89h3PBdL+MAa1QKunwNn3+tn4EU0T5lqPhFmyxU5qcFztY= 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=L3121SCD; arc=fail smtp.client-ip=40.107.94.63 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=lylgvfe8vuqDRhPiz6+vKi1jqC4Z25ZeIFpmVajTmA90ECQEI08hHvehpt06DNYeBaQlZ/cW20zKXTbtcvQQ8eXEpFLoJpi+M+A5IbkI2GSxpLWfdTLjiH9lmPFB7zrlupBg5rWzkt2msyQEnPYq1Wg9Ioz2CdmVf9+S+sn/IMsMoUONjcl5m9cjB1Y+hF9LPbiLHZ3U17h2LyHZQzCWR5wWPdq+WSsrCekEH67WgVLHXfOglN/9CpJUq+URwnDPLsoiV9OHQH6vojeAxRMB50eKPp68oNzew/JM6Dm8B9uQO9rBa0JFly74klMqp81Ik1Hw6Hd/xl9JL2nTJn3oGw== 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=HVTtgz1XaeBzGTBR5ZwJ1Q3P+Qtm3Ikv3kpaPMlzyRE=; b=NvkIGrgyk2Bk1xVF0ujFx1h/0cjnHQ0qgzK/vtMBWf7kDU/sD9G+9nVWBPkLsllYFovA+4RbG3Mn/ooLvCg0P4fl3VGdv/FFhNgbc8ZV0tEGyxZbgg51lUwGb3buREv5AxybedYmc/FiNh3WjFUtrDUAf4VYDO8JcrfX2RF4cyBwp0D3PHRGimnxrFmJ8NGLrW3C1zQio+QQaDXmYggJb9LYCP3Xwy+vQP/b1BKNdkzpi6086XBZNRJp1BknJJ1BRZJVA5aWKjkXHuNSadwtDAfQiFPIaQ+Ot/cNEzOaoOPeuyJHFzTGQNHWovwoElt9M6b7K0jNF79SfA4JLreQ9A== 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=HVTtgz1XaeBzGTBR5ZwJ1Q3P+Qtm3Ikv3kpaPMlzyRE=; b=L3121SCDwrBdykMlI7qDoI/uGzeDj2Y3wQPU3a7p8TP+qLo2hZQPt4GtDFQHY1iWtiO3RlmazZm8QVFrpXYep7pLNyqW1QeM5B15GVJd9DXy+vD8bBoGlt2inLAkWeZf7q8RiOHXWVhhLVauJI/QUeffvvQ6o9+3f7Sg4Fp0Xeal/pupMsTR2E2Hl7Im7FrfN6Q/hQICYwOu5ZWZr2pvEcbSvrdIZ9GQdu5FKp0XFSA+Kj5Lk7eKLPhtMB9Mtozi1TarqwlclhbSCJfhGDmrKeuuQQ7BqzBEg2W2GFBpSZ3aKszPBLi8c4adwNPwcHQGC4ZcU3upaSsaYsDnzJaKKw== Received: from SA1PR12MB7199.namprd12.prod.outlook.com (2603:10b6:806:2bc::21) by IA1PR12MB8189.namprd12.prod.outlook.com (2603:10b6:208:3f0::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7316.20; Tue, 20 Feb 2024 09:08:58 +0000 Received: from SA1PR12MB7199.namprd12.prod.outlook.com ([fe80::284c:211f:16dc:f7b2]) by SA1PR12MB7199.namprd12.prod.outlook.com ([fe80::284c:211f:16dc:f7b2%5]) with mapi id 15.20.7316.016; Tue, 20 Feb 2024 09:08:58 +0000 From: Ankit Agrawal To: Zhi Wang , 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: AQHaY86qDQVcMVySRkSmtPnSJvq8YrES5W+AgAAGuiSAAAS3AIAAADHI Date: Tue, 20 Feb 2024 09:08:58 +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: msip_labels: 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: SA1PR12MB7199:EE_|IA1PR12MB8189:EE_ x-ms-office365-filtering-correlation-id: b63eff18-5520-4854-e7aa-08dc31f39276 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: xwh8ZgQbV0jnjuXVH1MgvyF1HGek9/LG9ronj8+u4zMgi4sBSvnCCxT5/kB3RVMahaeKDSIZ8x3Er8o4OwzM5xmSWfRr9YnAUZDTUwks+3u0m1tnMa8FYM5cUSdBr2jRlREx31E76Rl2oNxzqiO3M36/oqUI89wDQaf0CqWGy9l1Da59LIWEyxNM16YDRVASD5WT402RVS5/i1+YgUhShzFFgZtQDG6raQ6Dyn46BAXT0ff0V8ScWC+/HPk/298XL5A3FL8r0OOWkUAaFIgPqyAPZ6i/rBMKIrvIRAJPFbNQNzBhSFCXuGYt+5jpgz1thfKO5E4uHDhQ0thpsrpxaiZDl4/JdLFdBc8Bix+ka7wjHEeMExvKYoQoD5+gOh1wims5XhfVzWi7FvjHiXKr+ac+VHbn6llSr+B0hr8nmzELvOC2HjPiKAAqPW3axfExjZsik4U5C9r9XnmY7QdSfM/UBaK6yUTN6El/8tcGZkE8UCg0m/jP2zYEYGz0m7avrUlBEvsiqVmQhj7gDmKEbY88HZwYEiTHkomgELpl3v693YEIhAbILSYPMggItTh+WyrfGDoNoN+h1jT/a2umPcRyLyIt1ek8+CZRpBm5ZGkAS5NIJNQo24rm/XhJgsN4sy1amT2F94AQGpXqiBqZ0Q== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SA1PR12MB7199.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: =?iso-8859-1?Q?K9extAav0tNrazX+jlkWLX8cEpFExJ9QFSuiQMf3NwbNLZj5jH6eQRPhun?= =?iso-8859-1?Q?r4mFD6OoNB/lCF/s5ogJ2C+iP+wVwkBHUYJBPnlibUEZ+5XeKHwYErqJ5q?= =?iso-8859-1?Q?inzkd8nK3V6yp0rAjQ1NHG/9NHFdltbIBOue8z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Wqs1J2EzdN1Ko3oW8SGWd/wGcI7+FeiXlqTfGxa3T4P+6UWK?= =?iso-8859-1?Q?CSECJFrsmn+mMQ575Wri9vhvBiB4WqU0uljjI8sBQCRNq0HH1oMyZKezUL?= =?iso-8859-1?Q?YsN+n/1Lb3WQ+G5GkyYb0uILf5wQFROsuRiag7IQWcgKdzCkrgOdyqCu3D?= =?iso-8859-1?Q?J5DPJsdKU+vynGMKXKX0xUMtMBXKQtDWArcvnsUo5xn5Rwk1+lQEWY795c?= =?iso-8859-1?Q?k0fQCmSiCiN95aHlf4QfBkNRghgFryGLRp5nieLIQZgbK5CPS+jxCLOPK2?= =?iso-8859-1?Q?HyT8qCXadIEYMXo6OonhW8GvIp6iWWl7FGe/z0XT2UBq2dqiKQA0f/RlYB?= =?iso-8859-1?Q?jdR7AHXU7udkXl8tysMwHKDfDOS94hMw/jm5mZzefuqIfc7CiLJum1Js4r?= =?iso-8859-1?Q?eOVE6ygkPDPp2/NyW11PtN4a/yni1Gg3P3pVZKMDh7zyhuDyFrs95sysZH?= =?iso-8859-1?Q?EjJdUZhJwD+sUg+nvRNb86Dhu2J6UWKvKSPq1UKuwSPo/dU/PsFdqaQpHU?= =?iso-8859-1?Q?0ma49mhsyk3Hp+BpxPF5deTGPGUVX3ixnCbGVhL8uafVCP5usKDGYt1kU5?= =?iso-8859-1?Q?CPv3rOqUIY8Tc=3D?= Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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: SA1PR12MB7199.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: b63eff18-5520-4854-e7aa-08dc31f39276 X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Feb 2024 09:08:58.3343 (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: IUNk7ynX+46ORB+w8mDQUhWuYkEiVsZU/D0D4UyZQ6DbZ/Ob3rFTkiojIgHtNsbY71bTMZyS/O1/44hdD+rvfQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA1PR12MB8189 >>>> To safely use VFIO in KVM the platform must guarantee full safety in t= he=0A= >>>> guest where no action taken against a MMIO mapping can trigger an=0A= >>>> uncontained failure. We belive that most VFIO PCI platforms support th= is=0A= >>>=0A= >>> A nit, let's use passive voice in the patch comment. Also belive is mos= tly=0A= >>> a typo.=0A= >>=0A= >> Sure, will do.=0A= >Also patch 4 has the same nit. It should be fixed as well.=0A= =0A= Yes.=