Chrome platform driver development
 help / color / mirror / Atom feed
From: Brian Norris <briannorris@chromium.org>
To: Tzung-Bi Shih <tzungbi@kernel.org>
Cc: bleung@chromium.org, groeck@chromium.org,
	chrome-platform@lists.linux.dev, guillaume.tucker@collabora.com,
	denys.f@collabora.com, ricardo.canuelo@collabora.com,
	usama.anjum@collabora.com
Subject: Re: [PATCH] platform/chrome: chromeos_acpi: print hex string for ACPI_TYPE_BUFFER
Date: Wed, 2 Aug 2023 11:59:59 -0700	[thread overview]
Message-ID: <ZMqnr10+XxNjF7n/@google.com> (raw)
In-Reply-To: <ZMoqpq375u2R2H8m@google.com>

On Wed, Aug 02, 2023 at 06:06:30PM +0800, Tzung-Bi Shih wrote:
> On Tue, Aug 01, 2023 at 02:53:31PM -0700, Brian Norris wrote:
> > NB: the docs (Documentation/ABI/testing/sysfs-driver-chromeos-acpi)
> > suggest that some attributes (like VDAT) are indeed binary, and so we
> > should probably maintain or fix that.
> 
> No.  Unless we also want to change userland program in [2].

I mean, I think you need to do one of those two -- either keep this
(maintain) as "binary", or update (fix) the doc to describe the hex dump
instead.

i.e., I think this piece of
Documentation/ABI/testing/sysfs-driver-chromeos-acpi is now wrong:

What:           /sys/bus/platform/devices/GGL0001:*/VDAT
Date:           May 2022
KernelVersion:  5.19
Description:
                Returns the verified boot data block shared between the
                firmware verification step and the kernel verification step
                (binary).

But, the userland program already doesn't know how to handle the
upstream driver. So it'd be possible to change both at the same time.

Anyway, hex-encoded is fine with me too; we just need to get the docs to
match.

Regards,
Brian

  reply	other threads:[~2023-08-02 19:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-26  7:31 [PATCH] platform/chrome: chromeos_acpi: print hex string for ACPI_TYPE_BUFFER Tzung-Bi Shih
2023-08-01  3:32 ` Tzung-Bi Shih
2023-08-01 21:53   ` Brian Norris
2023-08-02 10:06     ` Tzung-Bi Shih
2023-08-02 18:59       ` Brian Norris [this message]
2023-08-03  1:18         ` Tzung-Bi Shih

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ZMqnr10+XxNjF7n/@google.com \
    --to=briannorris@chromium.org \
    --cc=bleung@chromium.org \
    --cc=chrome-platform@lists.linux.dev \
    --cc=denys.f@collabora.com \
    --cc=groeck@chromium.org \
    --cc=guillaume.tucker@collabora.com \
    --cc=ricardo.canuelo@collabora.com \
    --cc=tzungbi@kernel.org \
    --cc=usama.anjum@collabora.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox