[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20191009133709.GB3929@sirena.co.uk>
Date: Wed, 9 Oct 2019 14:37:09 +0100
From: Mark Brown <broonie@...nel.org>
To: Stephen Boyd <swboyd@...omium.org>
Cc: Cheng-yi Chiang <cychiang@...omium.org>,
Guenter Roeck <linux@...ck-us.net>,
Tzung-Bi Shih <tzungbi@...gle.com>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
ALSA development <alsa-devel@...a-project.org>,
Hung-Te Lin <hungte@...omium.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Sean Paul <seanpaul@...omium.org>,
Dylan Reid <dgreid@...omium.org>,
Tzung-Bi Shih <tzungbi@...omium.org>,
Srinivas Kandagatla <srinivas.kandagatla@...aro.org>
Subject: Re: [PATCH] firmware: vpd: Add an interface to read VPD value
On Tue, Oct 08, 2019 at 08:14:43AM -0700, Stephen Boyd wrote:
> Quoting Cheng-yi Chiang (2019-10-07 11:50:31)
> > IMO the nvmem approach would create more complexity to support this
> > simple usage. Plus, the underlying assumption of accessing data with
> > offset in a buffer does not fit well with the already parsed VPD
> > values in a list of vpd_attrib_info. But if you strongly feel that
> > this is a better approach I can work toward this.
> I'm not sure how an ACPI system like this would work because my exposure
> to ACPI is extremely limited. I would expect there to be some sort of
> firmware property indicating that an nvmem should be used and it's
> provided by VPD or for firmware to parse VPD itself and put the
> information into the ACPI table for this device.
I fear this is optimistic. It's fairly idiomatic for ACPI for stuff
like this to be keyed off DMI information rather than integrated with
anything, basically once you get out of the bits that are explictly
standardized you're into board file territory. There is the _DSD stuff
for using DT properties in ACPI but it's had limited use AFAICT.
Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)
Powered by blists - more mailing lists