[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <0ad55572-c889-cb0d-7f76-4097b381d4a0@sholland.org>
Date: Sun, 19 Apr 2020 19:07:43 -0500
From: Samuel Holland <samuel@...lland.org>
To: patrick.rudolph@...ements.com, linux-kernel@...r.kernel.org
Cc: coreboot@...eboot.org,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Thomas Gleixner <tglx@...utronix.de>,
Allison Randal <allison@...utok.net>,
Alexios Zavras <alexios.zavras@...el.com>,
Julius Werner <jwerner@...omium.org>,
Stephen Boyd <swboyd@...omium.org>
Subject: Re: [PATCH v4 2/2] firmware: google: Expose coreboot tables over
sysfs
On 4/7/20 3:29 AM, patrick.rudolph@...ements.com wrote:
> From: Patrick Rudolph <patrick.rudolph@...ements.com>
>
> Make all coreboot table entries available to userland. This is useful for
> tools that are currently using /dev/mem.
>
> Besides the tag and size also expose the raw table data itself.
>
> Update the ABI documentation to explain the new sysfs interface.
>
> Tools can easily scan for the right coreboot table by reading
> /sys/bus/coreboot/devices/coreboot*/attributes/id
> The binary table data can then be read from
> /sys/bus/coreboot/devices/coreboot*/attributes/data
>
> Signed-off-by: Patrick Rudolph <patrick.rudolph@...ements.com>
Reviewed-by: Samuel Holland <samuel@...lland.org>
Tested-by: Samuel Holland <samuel@...lland.org>
Cheers,
Samuel
Powered by blists - more mailing lists