Re: mfd/intel_pmc_bxt: `intel_pmc_get_resources()` results in page fault

From: Mika Westerberg
Date: Tue Jan 25 2022 - 10:09:05 EST


On Tue, Jan 25, 2022 at 03:40:54PM +0100, Paul Menzel wrote:
> [Cc: +Andy]
>
> Dear Mika,
>
>
> Am 25.01.22 um 15:26 schrieb Mika Westerberg:
>
> > On Tue, Jan 25, 2022 at 02:08:53PM +0100, Paul Menzel wrote:
>
> > > `intel_pmc_get_resources()` does not set the name member in the `resource`
> > > struct `gcr_res` resulting in a page fault.
> >
> > On which system you reproduce this,
>
> The dump contains the name:
>
> Hardware name: Star Labs Lite/Lite, BIOS 8 01/24/2022
>
> > and how? Can you also share ACPI dump from that system.
>
> Note, I only forwarded this from a report in #coreboot. The reporter Andy is
> now in Cc.
>
> Unrelated from that information, the Linux kernel should never run into a
> page fault and not trust system data.

Right but this looks like an issue with the system ACPI tables so at
least we should report this to the vendor too so they can fix it in
future revisions.