Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp1602060rdb; Tue, 20 Feb 2024 00:54:08 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVBccdfMmT0KfiyXC6P6Wxzb0+DRPmuQuWw4B331tXWdmy7PNUAAalc1YI+urro1KOBuitlrQb/ADAT2qR4W/+jNLFCadET+LthDS3KkQ== X-Google-Smtp-Source: AGHT+IFVZcL8d3kwcD2SWGcxCXV4Ahcme8OGcetBbXYQOYqz36KiqnwMAeqy2kU+CHeSIjXyX3TL X-Received: by 2002:a81:5287:0:b0:607:9d63:f5f5 with SMTP id g129-20020a815287000000b006079d63f5f5mr14573433ywb.12.1708419248496; Tue, 20 Feb 2024 00:54:08 -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 h6-20020ac846c6000000b0042e1299190fsi3771190qto.628.2024.02.20.00.54.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Feb 2024 00:54:08 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-72607-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=PC3YSS1w; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-72607-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-72607-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 2B45F1C21CF9 for ; Tue, 20 Feb 2024 08:54:08 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2DF69612E2; Tue, 20 Feb 2024 08:51:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=Nvidia.com header.i=@Nvidia.com header.b="PC3YSS1w" Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2064.outbound.protection.outlook.com [40.107.94.64]) (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 458C75F56F; Tue, 20 Feb 2024 08:51:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.94.64 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708419110; cv=fail; b=T4UebT0GtbyqjI8oE/u289sNWJxbX0rEd24Tvdo0GWHEPI5JRujQu/pAN2VuI6d1t6u6P4jjwYbzi8762OcZrV5iZGmxUpmblcX0ImivCMoiGN0PZMNKU26yndaGGp7VpA8TF4N4A7TP+HHckAPUbrCrYcv94pJlb0+EmbNH6/M= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708419110; c=relaxed/simple; bh=rXT2Im3ilDp1ODsYzdO8ZzBIdLOM/y80HStcypj46O8=; h=From:To:CC:Subject:Date:Message-ID:References:In-Reply-To: Content-Type:MIME-Version; b=IeQ8UlwkM3DU0FnVQgfnHUjiidH6nkfL92YVsDFRUPjdSPzG5bZO1YBtVLYnTK1wS2uTxyHM+R/agp2dggaFe3ctQjx5ELR2PeFEhNzaN/0rVcpPL+C/JfLCfc4rUPAtsykHAx5FoqMueDxFlDWccWKel5VL5r6bIlmKbdSS17s= 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=PC3YSS1w; arc=fail smtp.client-ip=40.107.94.64 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=ly2HuH6jBoyDn0I2demPXuRBC3pHCmg5YO5ov/Vdi+dkkWN6UWnVii1W/reaVATb0irsjkE44sy7P6Mq4RZn+4OE+2d2asa1mpPiAAVBNrrbFyodz6JhDxNQ4mhmhgTbgif88M44G/jPF6/dVUwY1QNOS/ydhqLs2qH1koCxK88okNC2gNl/2GQW2RZhEJlV15rzOXHZsM6Q3wnpfbWNCjaVsbux0jMDU3LittB16BSV/iuvwRoOPoHxf6/kzq25xGD0Tr8kQjk7uo37Mr77GWTz1G8eNJAW7R2ITNYVpxoq02Fh0tW+HlUPu9d9D1/YMMMU6thUXUTI9l37td7A6A== 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=rXT2Im3ilDp1ODsYzdO8ZzBIdLOM/y80HStcypj46O8=; b=lyaB2ts+PYJCVcZmHmzxNKwtOdLzK1mb9GKQkiFPx4K7V0zpcsuxMjN7IfDtFA9i1zzRZyDskToU+zdTkGyqoAXBnzXaqXn4rL2C8KuDg7+9GMXeu123Ua3cSFWu/PMtpFoAlhDMJV1zxdLY75z8rSRUGtnzAy3f68OI285qcFEFuJ+7+NGeGPVr3szxm1PvppPYTLmv1ZgB0dpGnDQTS8sLATaQBgg9+ZV2m8LhAwJ8Ziew2bJBmNl8ZWOYBm/nsl9mn2oA9vQfGd1kkufx/R11TVG6ai2JDbbaMZ3PIAJJTDYAac7R6bwSKD9kG+AwSOwGW8l3IBrsEqijvPqgTg== 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=rXT2Im3ilDp1ODsYzdO8ZzBIdLOM/y80HStcypj46O8=; b=PC3YSS1wkb2q55A43dXAnMeHr+xbEGPDV4Frqn/Ejn3Nz0d81r6+B+jMPBmsjeV0Y4qIO/zewzyeoAb0B+UXVDCwhtc46I9x8IS6f4L8PHNJ81Vg6eY5Ec98WDz/qgEq/rtrDj0a50V/O+ZazYJ4oe6/tH4vmi8LClTFNVgGk4VamtBtXWXl/XY6xqSGuPjnWeS47/c2eyyXndK4u5AETxkvN79sl+UYUo7sknnU0CoWoJgDlc5SXmKqHJgk/J+5OlT0BJw89N7A1nmsywOdHZCAo2E3osynMdcjcdOXe8VvGAnqhDB5u8ElqF4QK56qP1qlNtvmpHhJXEiAFeEjJg== Received: from SA1PR12MB7199.namprd12.prod.outlook.com (2603:10b6:806:2bc::21) by SN7PR12MB7884.namprd12.prod.outlook.com (2603:10b6:806:343::18) 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 08:51:46 +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 08:51:45 +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+AgAAGuiQ= Date: Tue, 20 Feb 2024 08:51:45 +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_|SN7PR12MB7884:EE_ x-ms-office365-filtering-correlation-id: 0006b57a-b45d-45f4-f41d-08dc31f12ab1 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: JTDmyZJvxR6Govh18tlRyGtW3KyBZLOju3BeUyIceEP4pwC+X4mTH+5/ZLwIge3oEW4oRVEUlk8VlPecy4B1OGS4QGVRFCKZFvg5Mqg9AFs3yywuA7lOO9mmrSolUhrPc+M30YB6PIRjbJdTRyZVFiuZu9G4cSyHGsj/qswOc7zZaL+cLenjXt13nqbpPrBBos+BPRHIJFDKeL3FF/f7611Rl01uQduAbKIiFcDQt4mFwh+xZppzjfkI2Ti2u1567PbKdvRBil5J3H9bKQ6mdfmW1csl6JK/Gyqr3vi5NKOX74tSt0eioJncCxMTniqYh5eG2GZigNMQmmT2zmpz3+bfT7xX1cgHkL5w9Wd53EBXLB9JRN1/uTTRJIGidyNex2xXRCBN6t3WsGj/oQvhfdMwnJaFmvVD2R934nCTFxzi28iNuYOR5N7EGkvNWby4yyLJUbN/Kh+Ce/Mkkw0411kSawppDsHqMOhSD85wKhoFXQAMpkW0CyEEBA7/JdSWTtP2csQdfc/7JRGtPHSJ1CIDceB6G996+DpaBH7yVlM6YMlTWlMfx0AAqzWE2GI+kFE666+RrkSMbmIiscVm1bZJEa2FGRSDDb9QHZg4fG1akW+iYd+vDj0mXrKH4CXNoEfugypOuf6qt+qoT1d6zA== 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?4dsgvqUHrqfAAjwpeyXNGmTeAzY/ybTTSFhabbkAEMNGmG0usHK3TBFD32?= =?iso-8859-1?Q?tKIkG7AD+w+tf9dUKURAbU57Qj0ZpeosOjJ9LM3wklT0Gz51wjimLlRZ2r?= =?iso-8859-1?Q?xTEkHMhUvqTZx7vTcxzfSRLB7CFFs0ygUZ2t/ygfZsQggtbXpfRQqHXH3L?= =?iso-8859-1?Q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uulWmu?= =?iso-8859-1?Q?lj8vMxlm+IVqLQ0faSg7BjXqa/f6CghBU6odMA0u7V4FQse06DkvEe/Vpo?= =?iso-8859-1?Q?4mvFG3hI0mPJw8gRvIEHnaIBjlmo9o/PGEaDVUC5Nstb878kzqmkPjyjjz?= =?iso-8859-1?Q?BFwTktYTNuOvYeXiU2m6yuDpHip87kQd3NAEN7G98EIzUk4wUgjyle2M/1?= =?iso-8859-1?Q?w3w+v4cWv1q8C60D0KgtytXxijfuzVaM39FNQnMTTcNOB/TmamTM/Af314?= =?iso-8859-1?Q?jIGAcXBG4WL2fErdBPCh9ifU5SbrJVkHo0KxW5FRnNJ8pxInADkZHMXPa7?= =?iso-8859-1?Q?Xfi5B8U0r8GrhKLknUOjJeUkgg655Lk2Fyw9KsMzF0wnCHdy8BD8urEHzM?= =?iso-8859-1?Q?f+ReX8E5xrbsprB2x6WvWK+2X8fnRzDFZxQgo/vgATJFwlSoX72pRXQF++?= =?iso-8859-1?Q?5B83gwnou4pBu78Vfh511QVftWL4ZTbDTvkfywKCTJ4xHkSZ+S/eLMZJDq?= =?iso-8859-1?Q?Eli3LRLdeky3IKxa10imhP/dQA88qKA35BYDeov5o3mkkX76rFsSbR6WvG?= =?iso-8859-1?Q?iEMmZ4b+CSums=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: 0006b57a-b45d-45f4-f41d-08dc31f12ab1 X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Feb 2024 08:51:45.2895 (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: Yut0MWX5lFwiUaX1f1UzdMni2ozcRbJFDSyUzkMe+pf2b4fhB/a5zuci9VEwPfYz/QD3ic+zlGVZ55WaN+oV1A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN7PR12MB7884 >> To safely use VFIO in KVM the platform must guarantee full safety in the= =0A= >> guest where no action taken against a MMIO mapping can trigger an=0A= >> uncontained failure. We belive that most VFIO PCI platforms support this= =0A= >=0A= > A nit, let's use passive voice in the patch comment. Also belive is mostl= y=0A= > a typo.=0A= =0A= Sure, will do.=