[PATCH] peci: Remove dependency on x86 CPU variables

David Laight david.laight.linux at gmail.com
Thu Feb 19 21:20:57 AEDT 2026


On Wed, 18 Feb 2026 09:03:01 -0800
Dave Hansen <dave.hansen at linux.intel.com> wrote:

> From: Dave Hansen <dave.hansen at linux.intel.com>
> 
> tl;dr: The non-x86 PECI driver #includes an arch/x86 header.  This is
> ostensibly to avoid duplicating CPU model number constants, but the
> result is complexity and duplicated *code* which is a far worse fate
> than duplicated constants.

Is is possible/sensible to add a check in one file that includes both
headers that the constants match?

That will help pick up any typos.

	David


More information about the openbmc mailing list