Re: [PATCH v9] HP BIOSCFG driver - Documentation

From: Jorge Lopez
Date: Fri Apr 14 2023 - 16:00:30 EST


Hi Thomas,

On Fri, Apr 14, 2023 at 10:27 AM <thomas@xxxxxxxx> wrote:
>
> Hi Jorge,
>
> 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" <jorge.lopez2@xxxxxx>
> > +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.

>
> 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.
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.

> 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.

>
> Thanks,
> Thomas