Received: by 2002:a05:6358:53a8:b0:117:f937:c515 with SMTP id z40csp1065156rwe; Fri, 14 Apr 2023 13:48:07 -0700 (PDT) X-Google-Smtp-Source: AKy350bX2i/gSxc0EE+MXiAHA7RVLHXuDRkwbTJyDIwvT8A03nCwvOOVLa2qe/KwCU3MNpngmMqv X-Received: by 2002:a17:90a:be0b:b0:246:b617:c747 with SMTP id a11-20020a17090abe0b00b00246b617c747mr6693821pjs.43.1681505287660; Fri, 14 Apr 2023 13:48:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681505287; cv=none; d=google.com; s=arc-20160816; b=UWallKHTK3QOUfNm+qI2b5FBhVlNeOFWFZIS147tau+x7D2Ecw8RDRGTg4iCaNViAg 1qcPcqwNftnpKy59oPICNxTGZZovGssDQ64zdEDHp+Jl3JpMlEVlxtM60IVWZcDuKomh 2PTdx+4q1J0NNbiKMd8acyNGedX9FPBQDU0VpHAbxwd5ybn1DxHoETZCKkb0qUERHvm4 M7A/AeBVIX8QasHCNl4XmpaBovuas0C1GupDJUTPUhdaTTanCCLWedteMiNX8juYkAIM XSwDl3/yHggmWnPIA+3jNIA9L1LGFL884agznweztuGjT6wcSiyuPb5fKxauEYzTx7LB RMew== 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:dkim-signature:date; bh=0EvbiXPtK4nPx63HnPeLdmwNaAmicH5bPBdeZLlG3+4=; b=L5unZxWObXKyXIfm6MJyRIs/076Eb0LfS+7i/a7uE7C6qnbYW/jRitog+6TDvFxqeZ ZPUdn6vPLkHdlaFLOkmM4sSsV0LKulU+e+Z17vDKRC7OxmjQFY/RMaXELBTVexpT61g4 F7wXUmpR8m4r6+F68VHX9YGwLQ1bpb9bHziUq1uzaPHt2EoGmk+d76t74/wUFz1Yx9ZT AqJsE2AGaF36xq15HOBAbJyjlycjOj8XUMPiBLPK19k2H7Z4oGol8IZRUFFCA4566bh9 ntgvpYa0Owgs/07vNvnoeavnkvBEWHL4O68/DFexXU5/52GAGt/ae1g50wCKc8dTyZCi vk7A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@t-8ch.de header.s=mail header.b=fAfj7+pq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id oo17-20020a17090b1c9100b0024722164211si4765757pjb.127.2023.04.14.13.47.52; Fri, 14 Apr 2023 13:48:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@t-8ch.de header.s=mail header.b=fAfj7+pq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229720AbjDNUgI (ORCPT + 99 others); Fri, 14 Apr 2023 16:36:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42826 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229638AbjDNUgG (ORCPT ); Fri, 14 Apr 2023 16:36:06 -0400 Received: from todd.t-8ch.de (todd.t-8ch.de [159.69.126.157]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7F0A66A6F; Fri, 14 Apr 2023 13:36:05 -0700 (PDT) Date: Fri, 14 Apr 2023 22:36:02 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=t-8ch.de; s=mail; t=1681504563; bh=ZwA/9DtV5sIdb/Fn2apGAZQqdnsdth6XO2NjZS/VdUw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=fAfj7+pqLPl5wCg0IhA63T1O2rpeqdI9b7C0u7uh+R9orZekqA1etB4cHayTvGNzk fub1lMpxqlSAN+VeJ1/Vi2qc30gG1tzARxhCqu/qKmFCBVbcw648sQm9YGxp47ZIf+ SIu/+qr79FGzlZ+cym+ftArann/rMz9WyXtZRpWM= From: Thomas =?utf-8?Q?Wei=C3=9Fschuh?= To: Jorge Lopez Cc: hdegoede@redhat.com, platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v9] HP BIOSCFG driver - Documentation Message-ID: <0b92276d-09e5-4308-b4c1-4519ac2ac65d@t-8ch.de> References: <20230412144821.5716-1-jorge.lopez2@hp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2023-04-14 15:00:02-0500, Jorge Lopez wrote: > On Fri, Apr 14, 2023 at 10:27 AM wrote: > > On 2023-04-12 09:48:21-0500, Jorge Lopez wrote: > > > [..] > > > > > > +What: /sys/class/firmware-attributes/*/authentication/SPM/statusbin > > > +Date: March 29 > > > +KernelVersion: 5.18 > > > +Contact: "Jorge Lopez" > > > +Description: 'statusbin' is a read-only file that returns 'status' information > > > + in binary format. This file provides a mechanism for components > > > + downstream (e.g. Recovery Agent) can read the status and public > > > + key modulus. > > > > This is still missing docs about how to interpret the contents of the > > "statusbin" file. > > > > "components downstream" -> userspace. > > > > I will provide the details in Version 10. Additionally, I am working > with the architect to understand the need for 'statusbin' in their > upcoming features. If the userspace component is not ready maybe this can be delayed for a future patchset? The basic features should already be useful with a generic client like fwupd. Doing it in steps should be faster both in development and wall time. > > I think we can start with the code review. > > > > I will send all files with Version 10. To aid in the review process, > I will keep all ..c in separate reviews. It is less confusing that > way since there is commonality between them > > > Could you also provide a sample of the attribute files? > > I'm especially curious about the different instances of the sure-start > > attributes, including current_value, possible_values and the auditlog > > properties. > > > > What type of sample are you looking for.? I can provide you with a > tree display of all attributes and some output samples for different > attribute types. That sounds great. > I will include sure-start attributes, including current_value, > possible_values and the audit log properties. Please let me know if > there is anything else you want to see. I want to get a feeling for the exposed bios settings and how the sure-start stuff works. > > Also is the userspace component for this published somewhere? > > If so it would be useful to refer to it from the commit message. > > Linux components are under development and not published yet. The > only linux component at this time is the driver (hp bioscfg). > The only published components are under Windows ONLY. Maybe mention this in the commit message. Also it would be useful to test the new driver with fwupd which is the existing userspace user of this ABI. Just to make sure that nothing is obviously broken there. (And mention this in the commit message) Thomas