From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Luis R. Rodriguez" Subject: Re: Do Qualcomm drivers use DMA buffers for request_firmware_into_buf()? Date: Thu, 28 Jun 2018 01:50:16 +0200 Message-ID: <20180627235016.GD21242@wotan.suse.de> References: <20180607161847.GN510@tuxbook-pro> <20180607163308.GA18834@kroah.com> <20180607182117.GR510@tuxbook-pro> <20180626000808.GE1860@tuxbook-pro> <20180627180059.GA21242@wotan.suse.de> <20180627233331.GC21242@wotan.suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: driverdev-devel-bounces@linuxdriverproject.org Sender: "devel" To: Ard Biesheuvel Cc: linux-efi , Matt Fleming , Will Deacon , Bjorn Andersson , David Howells , David Brown , Peter Jones , "H . Peter Anvin" , "open list:ANDROID DRIVERS" , linux-security-module , Nicolas Broeking , Jonathan Corbet , the arch/x86 maintainers , "Luis R. Rodriguez" , Ingo Molnar , Vlastimil Babka , Andy Gross , Darren Hart , Mimi Zohar , platform-driver-x86@vger.kernel.org, Arend Van Spriel , Todd Kjos , Kees List-Id: linux-arm-msm@vger.kernel.org On Thu, Jun 28, 2018 at 01:42:52AM +0200, Ard Biesheuvel wrote: > But what point is there to letting LSMs decide that they do not trust > an I/O device if there is nothing we can do about it? How can we > prevent such an I/O device from modifying our memory? Simply LSMs can opt to not trust such setup. Its their choice. The solution to addressing the concern is orthogonal to their choice. Luis