[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YU34mQzQVVSghDvT@zn.tnic>
Date: Fri, 24 Sep 2021 18:11:05 +0200
From: Borislav Petkov <bp@...en8.de>
To: Vasyl Gomonovych <vgomonovych@...vell.com>
Cc: "rafael@...nel.org" <rafael@...nel.org>,
"lenb@...nel.org" <lenb@...nel.org>,
"james.morse@....com" <james.morse@....com>,
Tony Luck <tony.luck@...el.com>,
Randy Dunlap <rdunlap@...radead.org>,
Yazen Ghannam <yazen.ghannam@....com>,
Robert Richter <rrichter@....com>,
Tom Saeger <tom.saeger@...cle.com>,
"linux-acpi@...r.kernel.org" <linux-acpi@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] ACPI: APEI: Check NULL argument in exported symbol
On Fri, Sep 24, 2021 at 03:25:03PM +0000, Vasyl Gomonovych wrote:
> I found apei_hest_parse() useful API to access the HEST table.
# hexdump -C /sys/firmware/acpi/tables/HEST
doesn't work for you?
Or you want to access it with an out-of-tree driver?
> I think RAS development should increase the number of users of
> apei_hest_parse(). With this API we can read HEST and modify it. Read
> example is to get a count of errors sources from HEST tables from the
> external driver and use that counter for driver data allocation.
Aha, so with external drivers my suggestion would be is to get it
upstream. The upstream kernel doesn't care about out-of-tree users so
I'd strongly suggest you try to get that functionality upstream because
otherwise that unused export will get removed.
HTH.
--
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette
Powered by blists - more mailing lists