Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1676728ybt; Thu, 18 Jun 2020 14:35:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwvf8IpgOsY6QuqWzcquqJjZf19TP2dGybgItJlJMnBscKBjktZiiD4qSzhrJZmG02Ti1TX X-Received: by 2002:a17:906:370a:: with SMTP id d10mr643263ejc.433.1592516103647; Thu, 18 Jun 2020 14:35:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592516103; cv=none; d=google.com; s=arc-20160816; b=x4DxDpjZKr7LD4uMhttD0APDiK6ZJK0zm6E+Rvndy8AW+keTfe+n6et0r6lxFvazk5 kGaeTYluU8XOmApAewf8oEGib5w5iIe67eRY35m04EwuvniX3hNm2geDAIi/2E/WZNLO CQp1ZR/5WjjBnTmJaA8i1kRs0CFzQbPEXvGmt9LaG7jQ1e987NzYS55J8JjMVe0PJOD8 98ixRSHMc6rATu0hJM32E3RYXil5Inuqxwe3uEW9bqFzmh+N2eGSGSIOzz8fqdKhGWJ1 V+28R4ML7Z4cWjQ5FTU1Kc9YO5kjpem++BplkdUlN7PRQH5DF/IKmXSMLxtm4zMgifBu REDg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=CG5kSYuxB8R2zGhU5kTfwXzvpkDhP46tOq63pWqMv8w=; b=Y3smnQv/BeE3bpQ8oNQIeavBJdFamE8FfO3a5fINI0iQwbgnt+5sqPVMz3YKAOfGcw qNNNokTS4zP6o9uWITF9WBdaf9hJU867e2ufoMR2wIRx7inVGmSMuMzQB31k3OWN/VwC 1U8uE/wWpFmvqnMVVEKJjTzCjFasEEOlOsqjBKs5v5zilK7/DApE4RJC2uYorw0Wnv9e SyJDEjB42eisBhyHNVWE6sx1bdA5eHCdWe2/omgh+8P7gqrEBogoEqvJW51K7eKjvAoO 9SxvBU24mNerV8goBYNDmSSJCTl8rkBPmV8LjJnC7h45NyZfR8aQm+DmN9j1NjO7R9Bg FwTg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=uF5HmNrH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id pk14si2786783ejb.368.2020.06.18.14.34.40; Thu, 18 Jun 2020 14:35:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=uF5HmNrH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731372AbgFRO4r (ORCPT + 99 others); Thu, 18 Jun 2020 10:56:47 -0400 Received: from mail.kernel.org ([198.145.29.99]:44820 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730949AbgFRO4p (ORCPT ); Thu, 18 Jun 2020 10:56:45 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 968082075E; Thu, 18 Jun 2020 14:56:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1592492205; bh=kuNcnjm0Q8W+waGxPF0G1vY00e5uDW5TVrJqCcu89jk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=uF5HmNrH6C78eYvYO3anenwMtz+JM2R17ifCoXsbUJ7zgjVgVKuqk1hdls42f7kLb /vs2q4SZEiKbfdPOb7DKVtz4odUZBWtA58q5dSzITtIpodtjfZQkS26R+alnnWaxDr iU5E67DYFsWib8kFh1TfzErJwFC5hPUmC637lCZU= Date: Thu, 18 Jun 2020 16:56:37 +0200 From: Greg Kroah-Hartman To: Andy Shevchenko Cc: Rajat Jain , Christoph Hellwig , David Woodhouse , Lu Baolu , Joerg Roedel , Bjorn Helgaas , "Rafael J. Wysocki" , Len Brown , iommu@lists.linux-foundation.org, Linux Kernel Mailing List , linux-pci , ACPI Devel Maling List , Raj Ashok , "Krishnakumar, Lalithambika" , Mika Westerberg , Jean-Philippe Brucker , Prashant Malani , Benson Leung , Todd Broch , Alex Levin , Mattias Nissler , Rajat Jain , Bernie Keany , Aaron Durbin , Diego Rivas , Duncan Laurie , Furquan Shaikh , Jesse Barnes , Christian Kellner , Alex Williamson , Oliver O'Halloran Subject: Re: [PATCH 4/4] pci: export untrusted attribute in sysfs Message-ID: <20200618145637.GA3017232@kroah.com> References: <20200616011742.138975-1-rajatja@google.com> <20200616011742.138975-4-rajatja@google.com> <20200616073249.GB30385@infradead.org> <20200617073100.GA14424@infradead.org> <20200618083646.GA1066967@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 18, 2020 at 12:14:41PM +0300, Andy Shevchenko wrote: > On Thu, Jun 18, 2020 at 11:36 AM Greg Kroah-Hartman > wrote: > > > > On Thu, Jun 18, 2020 at 11:12:56AM +0300, Andy Shevchenko wrote: > > > On Wed, Jun 17, 2020 at 10:56 PM Rajat Jain wrote: > > > > On Wed, Jun 17, 2020 at 12:31 AM Christoph Hellwig wrote: > > > > > > ... > > > > > > > (and likely call it "external" instead of "untrusted". > > > > > > Which is not okay. 'External' to what? 'untrusted' has been carefully > > > chosen by the meaning of it. > > > What external does mean for M.2. WWAN card in my laptop? It's in ACPI > > > tables, but I can replace it. > > > > Then your ACPI tables should show this, there is an attribute for it, > > right? > > There is a _PLD() method, but it's for the USB devices (or optional > for others, I don't remember by heart). So, most of the ACPI tables, > alas, don't show this. There is something like this for PCI as well, otherwise they wouldn't be getting this info from "the ether" :) thanks, greg k-h