Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp8026696ybn; Tue, 1 Oct 2019 01:55:13 -0700 (PDT) X-Google-Smtp-Source: APXvYqyNe3eCHpRYfFpd4hne0BaAL1yoq+IPl1QBjnYSgV2e62+HwhDhSKWepgsB4gtzBvP+TQ5B X-Received: by 2002:a50:f616:: with SMTP id c22mr23824163edn.235.1569920113073; Tue, 01 Oct 2019 01:55:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569920113; cv=none; d=google.com; s=arc-20160816; b=dgOt36PRBFVwarmRNA5hKiEdF1855iUln/K2CwexXnztmedtcGdngk0e4+ctDI4ZSs WcDcxK4HhFf3H9NCPpCfzM8N6K8+J9tCOB+rvbteHcGSqA8e/k/W1uHwilRUKNLUYWmF TdsDz7yDno8G+Nap1Mb4/3A4rYFZNN8LVLtyzl42baFqP9o33RfF0msq/ko/zk+pQINO w+zaYN/QWzmGBLu1FstSdZdoAMtbVechgC/UaETBBCuSpU5o+758iRAJje/z7aDo2Jvw RC8kX9Hev7SbY5YB5ZJKYRdE0+W+ngc8YP2F66H1eSwtFmrdIGq1v6Nl169Iyj6k61zO IyjQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=vvjWsAyb1mW3ZHQ5l3Ug/TQISxE7kDZyp64OCPfb4tg=; b=OQsEGnLXAEvDxkS3FIjDL5g+Tn+xG4Cu1aXZldcHzBdRMlJrXjSI6OgVozH5K9FmHM OMupR9bVeKsVL9NxhUG++ZxdT+90njIA58JeCSnb+OizURkEtAM2ktAj/MbObM+7SesI rW20k2oTmnDekxXd81zEXJbSE1JfK6wLL6WrH4T/iZrEgIkKKUCOG7kfEs6GEtCbzacz 7gSWq7UqTV6xjMtADC6AxnXLJRGhnmgMJdh4OiNWhUFSXbqP99idMQQA/QXQ5vY6AGcI K/Sal3UA3Yp99Nvo7/yIEmqMx46l9UT0Vkvl/6mmsuKEH3VnFNyfxGDxJp29mS/fx+se spuQ== 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 y22si8650154ejw.144.2019.10.01.01.54.48; Tue, 01 Oct 2019 01:55:13 -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 S1733149AbfJAIvw (ORCPT + 99 others); Tue, 1 Oct 2019 04:51:52 -0400 Received: from mail-ot1-f66.google.com ([209.85.210.66]:41190 "EHLO mail-ot1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727659AbfJAIvv (ORCPT ); Tue, 1 Oct 2019 04:51:51 -0400 Received: by mail-ot1-f66.google.com with SMTP id g13so10840115otp.8; Tue, 01 Oct 2019 01:51:51 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=vvjWsAyb1mW3ZHQ5l3Ug/TQISxE7kDZyp64OCPfb4tg=; b=MR7kXXsOQsyfNFFivm8o5A9Y8S48RCuH4oORoJzoxHVr8l60fJRH5izMvlwuMF4zoF 3BZZHK9YDlyWdgzXaE29r9GimSwke0EaAS4qgonJMd2FhFkvxSG/yYsELp02L7ZWpOnW 3pt6iHB5GGJ/GG3XP2xTCxat3Lz1ZSpT3/TXc1eLI40SzO1LFk4j5xmnBtGcsvqBMb4O 4GVUz/6xAGCXgDCFk3UmhH3bi78RRwl1nvTZ+AtzGfIYCNEB8A1mbGKCl3FhblqsPY4K YtkASZNCONoofdFritXo0TMYHciKlqF8hI0oR5RhAfvZGEEI4ii7143mf3ZhFowGv3sD slXw== X-Gm-Message-State: APjAAAVBasRuWHNNTT2oWEAyQtVntcKeoqdIId0KOWU6X+k69e9D3uG7 VS3GkUu+NX7n0Q5zrps5xjJjrY18oc1SiCSuYWE= X-Received: by 2002:a9d:7311:: with SMTP id e17mr1321582otk.107.1569919910603; Tue, 01 Oct 2019 01:51:50 -0700 (PDT) MIME-Version: 1.0 References: <20190812150452.27983-1-ard.biesheuvel@linaro.org> <20190812150452.27983-5-ard.biesheuvel@linaro.org> In-Reply-To: <20190812150452.27983-5-ard.biesheuvel@linaro.org> From: Geert Uytterhoeven Date: Tue, 1 Oct 2019 10:51:39 +0200 Message-ID: Subject: Re: [PATCH 4/5] efi: Export Runtime Configuration Interface table to sysfs To: Ard Biesheuvel , Narendra K Cc: linux-efi , Ingo Molnar , Thomas Gleixner , Linux Kernel Mailing List , James Morse , Mario Limonciello , Xiaofei Tan Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Ard, Narendra, On Mon, Aug 12, 2019 at 5:07 PM Ard Biesheuvel wrote: > From: Narendra K > > System firmware advertises the address of the 'Runtime > Configuration Interface table version 2 (RCI2)' via > an EFI Configuration Table entry. This code retrieves the RCI2 > table from the address and exports it to sysfs as a binary > attribute 'rci2' under /sys/firmware/efi/tables directory. > The approach adopted is similar to the attribute 'DMI' under > /sys/firmware/dmi/tables. > > RCI2 table contains BIOS HII in XML format and is used to populate > BIOS setup page in Dell EMC OpenManage Server Administrator tool. > The BIOS setup page contains BIOS tokens which can be configured. > > Signed-off-by: Narendra K > Reviewed-by: Mario Limonciello > Signed-off-by: Ard Biesheuvel Thanks, this is now commit 1c5fecb61255aa12 ("efi: Export Runtime Configuration Interface table to sysfs"). > --- a/drivers/firmware/efi/Kconfig > +++ b/drivers/firmware/efi/Kconfig > @@ -180,6 +180,19 @@ config RESET_ATTACK_MITIGATION > have been evicted, since otherwise it will trigger even on clean > reboots. > > +config EFI_RCI2_TABLE > + bool "EFI Runtime Configuration Interface Table Version 2 Support" > + help > + Displays the content of the Runtime Configuration Interface > + Table version 2 on Dell EMC PowerEdge systems as a binary > + attribute 'rci2' under /sys/firmware/efi/tables directory. > + > + RCI2 table contains BIOS HII in XML format and is used to populate > + BIOS setup page in Dell EMC OpenManage Server Administrator tool. > + The BIOS setup page contains BIOS tokens which can be configured. > + > + Say Y here for Dell EMC PowerEdge systems. A quick Google search tells me these are Intel Xeon. Are arm/arm64/ia64 variants available, too? If not, this should be protected by "depends on x86" ("|| COMPILE_TEST"?). Thanks! Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds