Re: [PATCH 14/15] better name the offset of the hardware error firmware
From: Mauro Carvalho Chehab
Date: Tue Oct 01 2024 - 02:04:08 EST
Em Thu, 26 Sep 2024 13:12:25 +0100
Jonathan Cameron <Jonathan.Cameron@xxxxxxxxxx> escreveu:
> On Wed, 25 Sep 2024 06:04:19 +0200
> Mauro Carvalho Chehab <mchehab+huawei@xxxxxxxxxx> wrote:
>
> > The hardware error firmware is where HEST error structures are
> > stored. Those can be GHESv2, but they can also be other types.
> >
> > Better name the location of the hardware error.
> >
> > No functional changes.
> >
> > Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@xxxxxxxxxx>
> This feels a little theoretical as for now they are always GHESv2 I think?
It is, but the new code that will be added on the next patch series
will allow future addition of other types as well, as it seeks for
the source ID inside the error block structures.
Yet, if we end adding other types, it will probably make sense to
rename ghes.c to hest.c.
> I guess it does no harm and may make sense after follow up series.
>
> Reviewed-by: Jonathan Cameron <Jonathan.Cameron@xxxxxxxxxx>
Thanks,
Mauro