Received: by 2002:a05:6a10:8395:0:0:0:0 with SMTP id n21csp569714pxh; Tue, 9 Nov 2021 15:25:53 -0800 (PST) X-Google-Smtp-Source: ABdhPJwemCBQt1Xn9fJignlBgUzHztybdq7yJ/sdxmQ+HlwHD55r4JJcK9lBh7swPemAR3LXGTli X-Received: by 2002:a05:6e02:1848:: with SMTP id b8mr7902573ilv.299.1636500353470; Tue, 09 Nov 2021 15:25:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1636500353; cv=none; d=google.com; s=arc-20160816; b=aEbyvpEHDEfAzajkv3A2r4iVG08J8L/QCIsfVLuZWWVGTS8TW0tdpUvoKSf3cbbWw5 qCnOv4aRnYy1laFiCG/0qFSXWtC9dtyVnlo9Beu5TBYbizhtUTiW4tTkQV6vvIP5cpdo dkHeL4lmJNpaINPxphexoZc/sDVvB/cKH6fZfFl9QDCAS2QXMiZJy1TDLl6K8NtUwqfb hwEGHl0oHVBz2PVoPIKuBguSGT4gFCEAUZL2mTJhEde85elD8LKTUiZV/gBg4PJ09Sju +72LJAspKxYTd8Jv8iGSnWWANrOYfFXu/U9KPs8ohck5PH/LRK6tDpS/oNqMBPSh8R/n q5Ig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=E6nGQDiJx2CttY8uOpIvyKLz/3xyED+04bgm6eULpIE=; b=pJn30xdU8NZcv/QE45GaPUMyq0m8H7w70mxkDBQyUjDVLhnl7gL62YcYRF1K1sHeg5 Tv1LuKJFberziJrMhVgCw/5eGU4S0kT4uuo4Kn4Qwx/4QW8qxEWGBiA0pcA4H14UFtCq pL8Zcz8GIy+swmsjDI59FIvKJaJyAYriIX9FrcZSU5ZBNFUQcnrcIQOrTRwx3WowKWjl 3d/sAD+wuLOU+X2W+RnFN3iLwX5MYF0He9iQk84QEqUKV/KmMMIpix6DhcUinYmNkaMv MdY34HZHMTKBv2NQHiCANOjmzbUKPrYs1Jx40YtThDOkGUnx6zKWLTJuOmF1EMGZKRix Lv/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Z49g3JOb; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e12si12815891jap.58.2021.11.09.15.25.14; Tue, 09 Nov 2021 15:25:53 -0800 (PST) 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=@linuxfoundation.org header.s=korg header.b=Z49g3JOb; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245741AbhKIL2h (ORCPT + 99 others); Tue, 9 Nov 2021 06:28:37 -0500 Received: from mail.kernel.org ([198.145.29.99]:34928 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245705AbhKIL2h (ORCPT ); Tue, 9 Nov 2021 06:28:37 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 0F11461181; Tue, 9 Nov 2021 11:25:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1636457151; bh=ShWODb78JTesztD8vw3v6PUkVGfjRqdMSwOpbeq8enQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Z49g3JObLd2ZWq39ykZxII8k1g/bZcHhngpgwinB8FN0bD6XsVUslZNA5qqTyxLUk g7uSttEUla/lDAti3E5OaSIQmf5Ky6ll7GEhUw1v9Pq9lGHYu+ifLouRCbD5FDshzl 1B9U5JGeo1p7TySk3Ganmf8zlGa3/QV+CJ/KNidw= Date: Tue, 9 Nov 2021 12:25:48 +0100 From: Greg KH To: Philipp Deppenwiese Cc: Hans-Gert Dahmen , "akpm@linux-foundation.org" , "linux-kernel@vger.kernel.org" , "mauro.lima@eclypsium.com" , "hughsient@gmail.com" , "platform-driver-x86@vger.kernel.org" Subject: Re: [PATCH] firmware: export x86_64 platform flash bios region via sysfs Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org A: http://en.wikipedia.org/wiki/Top_post Q: Were do I find info about this thing called top-posting? A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? A: No. Q: Should I include quotations after my reply? http://daringfireball.net/2007/07/on_top On Tue, Nov 09, 2021 at 11:30:06AM +0100, Philipp Deppenwiese wrote: > Hi Greg, > > sorry for the previous html email, totally forgot kernel ml was plain > text only. It's also interleaved responses :) > Just some feedback regarding the use case for the interface. As you may > know the firmware (BIOS/UEFI/coreboot) is growing massively in the last > few years. So we have now 32MB of firmware on a normal x86 system. The > interface shall be used as safe and secure method to get the first 16MB > read-only copy of the firmware. The interface from Intel is read-only so > we shouldn't introduce any security issues here. The problem is this driver will "bind" to any device it is loaded on, which is not ok. It must only work on hardware that it is known to work on, as remember, Linux runs on hundreds of thousands of different platforms and types of hardware. > Aside from us there is fwupd.org?and another company which are > interested in the interface as well. We have added Richard from Redhat > to the CC. We use the interface mainly for firmware analysis and TPM PCR > pre-calculation features in our SaaS product. > > I hope that resolves your questions :).?Let me know if you want to > discuss more. Given a lack of documentation as to what this interface would be used for, that needs to be resolved, along with links to userspace code that uses this new api. thanks, greg k-h