Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp8435382imu; Thu, 15 Nov 2018 11:30:12 -0800 (PST) X-Google-Smtp-Source: AJdET5eEr/BMHehfNCg0oLHhnabxuEVH5/YolhWqQxULukz6xiHSvooSg5Nt1VqPOMyDeEOwuIds X-Received: by 2002:a63:d949:: with SMTP id e9mr7076943pgj.24.1542310212015; Thu, 15 Nov 2018 11:30:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542310211; cv=none; d=google.com; s=arc-20160816; b=Ua2v2rrDsGYZ4Wd57VePr8hCOnbxFV1V5Mu1thhLY3ntA3QnscR5PQoWvw8eKMhI0C Vqmo7LM48qtE6+HnvakccvJWk05LOZSD7TNzzOAUg50eMHcls8ngBtihrzFFuKJvTJA5 v7CvFzgdK9tfMQsje8fwezUezV6yL9DEK1Ovyvs9pYDlNRv7fjDJ5kV7nny74Q+s2XR3 V6SQJ8VL+8007IVEAXV0ry2SdzPFChT+7kbi7IA+HsWPJxN0f+eCIpR3GubUsOiAoo0L gKEC8UD4OacANP/cJ9WQ446kIHcWaovx9Mg2AZzrSyx+BtcAG9zFS2FTgxXyftqDDndW 7p3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=3eqlnh7Nklc6m83bsbIaVyGxhWyl1lY6Nu+gbE4UpRw=; b=qLbcYH3BNKClMusWDXlzG5WS7C00h5dC+w8fmdnsH+UjfX2nyHxiL3uoP9MA71FBfL NlLm2IlE97td6zsL3NQ0FYjKEOBdNHTT8qDWMSWkaAQe61f6Jn7OCDEqroqXb46Lpx/U 7fKhADcneUiYpVdHSOkqhp21M43RcDIHY2uRI6hE0S0TRTk+fKaJuhPN1nt+mrjPLBYO hu7Yh29YFPDcR3AUvsXaic25xMuO7M0QZUEQDH5sgfjFswrZTxQdZi7HYKlyhK18xnCk IMIdiPSsCGFUt0VPYH7U07yuzCLJJ/4cz9AB8B8i5C80ywfHCdTG2sFuxr2e533sfyTq tZIg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n185-v6si28894093pfn.83.2018.11.15.11.29.57; Thu, 15 Nov 2018 11:30:11 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727685AbeKPFgt (ORCPT + 99 others); Fri, 16 Nov 2018 00:36:49 -0500 Received: from bmailout2.hostsharing.net ([83.223.90.240]:54623 "EHLO bmailout2.hostsharing.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725769AbeKPFgt (ORCPT ); Fri, 16 Nov 2018 00:36:49 -0500 Received: from h08.hostsharing.net (h08.hostsharing.net [83.223.95.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.hostsharing.net", Issuer "COMODO RSA Domain Validation Secure Server CA" (not verified)) by bmailout2.hostsharing.net (Postfix) with ESMTPS id 0D23D2800B3D8; Thu, 15 Nov 2018 20:27:42 +0100 (CET) Received: by h08.hostsharing.net (Postfix, from userid 100393) id A0AD0155178; Thu, 15 Nov 2018 20:27:41 +0100 (CET) Date: Thu, 15 Nov 2018 20:27:41 +0100 From: Lukas Wunner To: Mika Westerberg Cc: Yehezkel Bernat , lorenzo.pieralisi@arm.com, iommu@lists.linux-foundation.org, joro@8bytes.org, David Woodhouse , baolu.lu@linux.intel.com, ashok.raj@intel.com, Bjorn Helgaas , rjw@rjwysocki.net, jacob.jun.pan@intel.com, Andreas Noever , michael.jamet@intel.com, Christian Kellner , Mario Limonciello , Anthony Wong , linux-acpi@vger.kernel.org, linux-pci@vger.kernel.org, LKML Subject: Re: [PATCH 1/4] PCI / ACPI: Identify external PCI devices Message-ID: <20181115192741.4ugt6usmsemokxle@wunner.de> References: <20181113112700.GT2500@lahna.fi.intel.com> <20181113114527.GA12821@e107981-ln.cambridge.arm.com> <20181115102239.GU2500@lahna.fi.intel.com> <20181115111356.GA599@e107981-ln.cambridge.arm.com> <20181115113737.GW2500@lahna.fi.intel.com> <20181115120736.pscly6zwd3k2tvd2@wunner.de> <20181115121627.GA2500@lahna.fi.intel.com> <20181115174608.GA17691@e107981-ln.cambridge.arm.com> <20181115191026.GE4179@lahna.fi.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181115191026.GE4179@lahna.fi.intel.com> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Nov 15, 2018 at 09:10:26PM +0200, Mika Westerberg wrote: > I was thinking we could cover all these with is_external filling them > based on the _DSD or some other means in the kernel. > > We would then deal all such devices as "untrusted" by default. Tinfoil hat on, even internal devices could be malicious. What's the downside of enabling the feature for everything?