Received: by 10.192.165.148 with SMTP id m20csp3332954imm; Mon, 23 Apr 2018 04:56:44 -0700 (PDT) X-Google-Smtp-Source: AIpwx485z8gsyHsDVj9RcSjHA+W1L/hWRqujcG3hbcGiUBNq6A1JhtL/Hd5YzjIPkmInEyWl993C X-Received: by 10.98.192.80 with SMTP id x77mr18439910pff.67.1524484604764; Mon, 23 Apr 2018 04:56:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524484604; cv=none; d=google.com; s=arc-20160816; b=0yNx2/1lhsr9qLOHi0TFRIV9A0AIs/9dLg+RnByamUXBP5T0LzszHrAerf6G9yKIHI V5/aQmp02lXdmoele6eWXIQElk/413TPA/w1v5w7ArC7dCrhMvipmR96vIwUFITKNu1G aAT4Cq2GHtp5c3BwEAyjD2StvSnz/SqVkb624T3J4SENP/eGD1wosSI4VQAIzNjro68H mx+6x50ypNN7eiUKMQ5cMGkJTyq41H+3RMFrbTPLsk8yxbYZW/8AZHUAPND7b4GZoZyN fzE5m2sK3jp8rEKORrA1oPEAic338X9kGGNF31smWsiofxc3MX2N4NF9KEtl2PnVGe7z FREQ== 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:arc-authentication-results; bh=+nLeIXaovSmA/FPPEExjLTA54v7XHUYb2/Hc22hAsNc=; b=ZFNciNsxffKIuIXsfjnOFkh37N1fsyCDWRzFSbfbk7j41G920nQuJGnyAfVa6QZdSi 87rBJdYbxkQcGihAnfH/oPmK28O1TXBXpExV4cKyxpM4cqtjOM6kreMmCJ27ARRz8eMk cGUfs+vbokW3c+q4nreSPWX2VpOQt1nUO0TC3Zga51GjhGOERaQjvK1HRcWyGevf99We l/XAknixxgZcX8ApRJBXKUWC5md9wM/yhVBjsV2MOwwrjAooM608drq6E9IBixBEVLBa yaF1v5dyNYTtf+U0H6QUUpbUniaMjRahHcXOX0gu+3M141molPVXe4SuCRJdoMxEOvJg BdGA== 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 f34-v6si11195402ple.52.2018.04.23.04.56.30; Mon, 23 Apr 2018 04:56:44 -0700 (PDT) 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 S1754856AbeDWLzZ (ORCPT + 99 others); Mon, 23 Apr 2018 07:55:25 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:38224 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754710AbeDWLzW (ORCPT ); Mon, 23 Apr 2018 07:55:22 -0400 Received: from localhost (LFbn-1-12247-202.w90-92.abo.wanadoo.fr [90.92.61.202]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id CBB0ABC2; Mon, 23 Apr 2018 11:55:21 +0000 (UTC) Date: Mon, 23 Apr 2018 13:55:16 +0200 From: Greg Kroah-Hartman To: Hans de Goede Cc: Darren Hart , Andy Shevchenko , Ard Biesheuvel , "Luis R . Rodriguez" , Thomas Gleixner , Ingo Molnar , "H . Peter Anvin" , platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org, Peter Jones , Dave Olsthoorn , Will Deacon , Andy Lutomirski , Matt Fleming , David Howells , Mimi Zohar , Josh Triplett , dmitry.torokhov@gmail.com, mfuzzey@parkeon.com, keescook@chromium.org, Kalle Valo , Arend Van Spriel , Linus Torvalds , nbroeking@me.com, bjorn.andersson@linaro.org, Torsten Duwe , x86@kernel.org, linux-efi@vger.kernel.org Subject: Re: [PATCH v3 1/5] efi: Export boot-services code and data as debugfs-blobs Message-ID: <20180423115516.GA7951@kroah.com> References: <20180408174014.21908-1-hdegoede@redhat.com> <20180408174014.21908-2-hdegoede@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180408174014.21908-2-hdegoede@redhat.com> User-Agent: Mutt/1.9.5 (2018-04-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Apr 08, 2018 at 07:40:10PM +0200, Hans de Goede wrote: > Sometimes it is useful to be able to dump the efi boot-services code and > data. This commit adds these as debugfs-blobs to /sys/kernel/debug/efi, > but only if efi=debug is passed on the kernel-commandline as this requires > not freeing those memory-regions, which costs 20+ MB of RAM. > > Signed-off-by: Hans de Goede For the debugfs interaction: Reviewed-by: Greg Kroah-Hartman