Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp8027269ybn; Tue, 1 Oct 2019 01:55:57 -0700 (PDT) X-Google-Smtp-Source: APXvYqwCvNYY3XWP1oTocfAJg0vunLcg3EemPaZUyAWSlcxNiM9F9dj7fnF/UCiTfwP/1bSty6h9 X-Received: by 2002:a17:906:3281:: with SMTP id 1mr23132595ejw.181.1569920157049; Tue, 01 Oct 2019 01:55:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569920157; cv=none; d=google.com; s=arc-20160816; b=pstz3ekjQFjRgjljQsMmXSsp9ghwL3m8Ar48YTc47+MOZyh97xELUNOnkY8aMmjwUP VDwtAH5u1BMBrxR70R5j3O7Bc8h5rlOKhJNaFtszuphk3NnS8O+hO49Bj2ZAUfVd5bHc 8d1uRRc2XO/j1qhib+JJHq8bp253ZTHn8dOB+BHxpQwiJ3oNtgj2bJi4Xv/vFIvvZXvo sw7XoiPk8IZUrDeaq7oBEtQ08/9205CgdEIw2mrjmVd33xg0yZFzkJCydGaAaOFAH8LA kkt4XOr+mB1tB0L965HRugU5tPkR4cX+p+4pOStRFaihLq4cicfDWtsURLRabBj7mIK1 fA3g== 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:dkim-signature; bh=tCMVcJHTL1rAZzsr8sC7UBxH5shgJjc8cOwozajIRmU=; b=BLX2xaXZ1awW/z9B+KbQy6IEpOBDYnFl51Xj5X5gns+fYx3mVIrOuMEnYcY5So0qlu ceGKFc0rLzOaNHnvOBHdFbQTxagoVxloa02NAJGwHtu8RerzgJ5S3FXOQt5KZIAPYJFN wBLB7XV6bdwVERx4xR/8FZc4mSVi76uWtboxzpsl3jnjjlqsRY6AQ2mb8CUdNxQh+8tv HggIkMxWW4VIVyowmt0vZdfJT+3iJsdOsf6RyaNQZI/U3hqZ8CyRwxt6gKW+WeMe1P8g hw3M/VxggmuqY65NL5HAjfQk9p77LJt/ft56KAZc1e152qRcapiVCT+csuhlF37ZrkDz P1OQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="uFyk/p3b"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v8si9117613edi.22.2019.10.01.01.55.32; Tue, 01 Oct 2019 01:55:57 -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; dkim=pass header.i=@linaro.org header.s=google header.b="uFyk/p3b"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1733124AbfJAIy5 (ORCPT + 99 others); Tue, 1 Oct 2019 04:54:57 -0400 Received: from mail-wm1-f68.google.com ([209.85.128.68]:39363 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726672AbfJAIyz (ORCPT ); Tue, 1 Oct 2019 04:54:55 -0400 Received: by mail-wm1-f68.google.com with SMTP id v17so2270386wml.4 for ; Tue, 01 Oct 2019 01:54:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=tCMVcJHTL1rAZzsr8sC7UBxH5shgJjc8cOwozajIRmU=; b=uFyk/p3bEIkTDdel/ZCSZdqV7nMh2YBxg0Lzcp/K0V07uZvkv3pN1YJJebLzjgYd6N tDj/bBmdRRq5q6K9i4BXzb2dJ8F7RLKA4oORNy5o6+C/yWJ8RUTubCLj7vkrserUvACl GoGIG3aFLT4z1twhfPXk8SacX1BseglsI64eXx7wB9gM9KcXXxhjay3OEvMfdD4MBtEK 8susq8F32cbzP+8K1Lik32U0pvsgDZO2NXxOhfzjetU6kBU7//fz+k354MP9Q1UlfvIG kEUEUc2WcKPHQp0bIfoHYl+YEjNy6SKIC43iwR9+Sg0n0F1pJVtvQZXJ/xB5IlWpwELK CszA== 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=tCMVcJHTL1rAZzsr8sC7UBxH5shgJjc8cOwozajIRmU=; b=NgNmXmhjCWKMypLjx4qF08MLMEWm8hkRCZKbsQ9Ezkzw4Lm1b7Vz5XgtAvbDaQ0cPr jYAJ+MmsoZmUGgf7GBr+hcdVHbHCKmNvtnvHWT0nqnsVzATtksqKdkyWZQrG7uSMigA5 7x1CkKbWsMKvga2BvrbRVO7KA64F7QVVRjtbxDwdCB0c+5iYDN3Ru/duZ10qFAGDNn92 nk/kwpnKQp3xPIb0O9QqspgrSY1GEH4wXYws5JRon+UF2NeLZdXbhp+GxLZ77NxWDhUw ZrNZPaLFv6ZmwN5YX9SP3c5ahiFOPnOI+IVddPipaOyXmWQk8otGHUhGY7oVyT+/h6eb r2HA== X-Gm-Message-State: APjAAAUbpBljTkaufv++yQmDl/C6m0moeGfJyKSmNo2eWZSW5qYxZkav e5PGVNU8mCXkjPXkSoWAYOlG3hbam0UgSSjSPYtMYe86j9E= X-Received: by 2002:a1c:3cc3:: with SMTP id j186mr2551070wma.119.1569920093430; Tue, 01 Oct 2019 01:54:53 -0700 (PDT) MIME-Version: 1.0 References: <20190812150452.27983-1-ard.biesheuvel@linaro.org> <20190812150452.27983-5-ard.biesheuvel@linaro.org> In-Reply-To: From: Ard Biesheuvel Date: Tue, 1 Oct 2019 10:54:40 +0200 Message-ID: Subject: Re: [PATCH 4/5] efi: Export Runtime Configuration Interface table to sysfs To: Geert Uytterhoeven Cc: Narendra K , 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 On Tue, 1 Oct 2019 at 10:51, Geert Uytterhoeven wrote: > > 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"?). > Hello Geert, The code in question is entirely architecture agnostic, and defaults to 'n', so I am not convinced this is needed. (It came up in the review as well)