Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp3722795pxp; Wed, 23 Mar 2022 04:44:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyLCx0JpGpzj0Dpqzme0XP3ZUaznPlAjCHwqgZdNEUwuHs6kpWRQtxXmD/i7/uE+SH7jiU4 X-Received: by 2002:a17:90b:4a4b:b0:1c6:4398:523c with SMTP id lb11-20020a17090b4a4b00b001c64398523cmr11036492pjb.50.1648035844360; Wed, 23 Mar 2022 04:44:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648035844; cv=none; d=google.com; s=arc-20160816; b=oCdXOsPJphMXXEFzAopLIKlU1CxFNuJrDHnkmaToO1EDpR9DDKbvWYQ2F2YdmbJXVm VSruyI2mjFdLfU8IBDJeT8YcBD+f2SjuEFWgWXn3hNXaMfTddntQjRgC6qIULwGLfnC1 IWSyt2IVIWbjb9yV80umTNZ5O2TpFuR9hRqr7pcUkVsaLnCFFQtpZ7TwPyWZg83RWB46 v/9iYN393c4OsB0CjfntQ2+Nf/OqzIjBHMcDjYtvgA3wPCX3Z2i+4/xJits/n4aZY193 Qt5wA0pHd/GDpoYuuyQP6TQzpQ6WTDGGbQJ63D6YqbKHpUjymHyRcWoeQAb4sTfHIYdJ lU3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:organization:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=Wd66aSWZ0qG1cQxxDfogTlxLOoTRvfEeLB6/hk8YMfk=; b=qED/dv/HCOfhUzT5wjNkqvvZBnOfoxiSbOVWR3UEHt8w4q8jy2MtWuXxPaVBxhDspE iwrIic7FSYz6cnNr8bzQGdre7B5WTWhBbFm7bJpdBCKEIN4if+cW/m2u4YWjj9lcM8jN 41/1Gk7itLwfpCC8ZURI05jaOxsCCDYzbhr7cEH31MJykU51XXb1rSkC7TS5ZZiVtTr0 KenSxpMHIy2HIUCj72PkA+/NE7jZSA9WDuQsb1sty5+DMcq+ADtCGr/3HlMc/B6NY2V4 jxRrWeSgXQGD8iYcfxTHxaNKd8rxPtPb3Je8oVqO+/BO06AP79gCls36Xr1bITSqCTKn /zCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=NPKSS7Do; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r5-20020a6560c5000000b003816043ee60si17436329pgv.85.2022.03.23.04.43.49; Wed, 23 Mar 2022 04:44:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=NPKSS7Do; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241940AbiCWGTB (ORCPT + 99 others); Wed, 23 Mar 2022 02:19:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40102 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232627AbiCWGS7 (ORCPT ); Wed, 23 Mar 2022 02:18:59 -0400 Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9286C710E4; Tue, 22 Mar 2022 23:17:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1648016248; x=1679552248; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=8vzD92UhHfMzrQ/OOVyGmFmDcRcFc7OySsWTT7LpWT4=; b=NPKSS7DoayzTvRCnMWnIdrtpnWUgWstqMFR+IwGnt4P0wNlkkgAEJUI1 mJGE3rXxuYk/W8RoHw63BD9scav+gkWNrHN/gos0pUyfp/07R33QsijS8 3IU8nS0vKFfp8dWYPTzA4AJDHzVs8MxVRLXW19GJ5RKqAADpcU3RJ2CnH frlyEl/VdMrYHOVEiN6MKWYzSoP6EMyDqQZEznBGJNu7Gl/2k3dNuAIJy /Wn3223S9+gKfdTMEWG4nDcJ/kiPQvUp7nFjw0jnk4mC4wjhwCQHI6Yd9 xzzjouvBD3s3iF1ZT82/5dUcebdlUFXQKq1PLHw4KNnjFXe72lv/YSDuu Q==; X-IronPort-AV: E=McAfee;i="6200,9189,10294"; a="318741628" X-IronPort-AV: E=Sophos;i="5.90,203,1643702400"; d="scan'208";a="318741628" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Mar 2022 23:17:28 -0700 X-IronPort-AV: E=Sophos;i="5.90,203,1643702400"; d="scan'208";a="692833797" Received: from lahna.fi.intel.com (HELO lahna) ([10.237.72.162]) by fmsmga001-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Mar 2022 23:17:22 -0700 Received: by lahna (sSMTP sendmail emulation); Wed, 23 Mar 2022 08:16:15 +0200 Date: Wed, 23 Mar 2022 08:16:15 +0200 From: Mika Westerberg To: Rajat Jain Cc: "Rafael J. Wysocki" , Christoph Hellwig , Len Brown , Linux PCI , Greg Kroah-Hartman , Bjorn Helgaas , Bjorn Helgaas , ACPI Devel Maling List , Linux Kernel Mailing List , Rajat Jain , Dmitry Torokhov , Jesse Barnes , Jean-Philippe Brucker , Pavel Machek , Oliver O'Halloran , Joerg Roedel , Will Deacon , David Woodhouse , Lu Baolu , "open list:AMD IOMMU (AMD-VI)" Subject: Re: [PATCH v4 1/2] PCI: Rename "pci_dev->untrusted" to "pci_dev->poses_dma_risk" Message-ID: References: <20220320062907.3272903-1-rajatja@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo X-Spam-Status: No, score=-3.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 22, 2022 at 01:09:55PM -0700, Rajat Jain wrote: > On Tue, Mar 22, 2022 at 4:12 AM Rafael J. Wysocki wrote: > > > > On Tue, Mar 22, 2022 at 10:02 AM Christoph Hellwig wrote: > > > > > > On Sat, Mar 19, 2022 at 11:29:05PM -0700, Rajat Jain wrote: > > > > Rename the field to make it more clear, that the device can execute DMA > > > > attacks on the system, and thus the system may need protection from > > > > such attacks from this device. > > > > > > > > No functional change intended. > > > > > > > > Signed-off-by: Rajat Jain > > > > --- > > > > v4: Initial version, created based on comments on other patch > > > > > > What a horrible name. Why not untrusted_dma which captures the > > > intent much better? > > > > FWIW, I like this one much better too. > > Sure, no problems. I can change the name to "untrusted_dma". > > Mika, can I carry forward your "Reviewed-by" tag with this name change too? Sure :)