Re: [PATCH v9 4/7] RAS/AMD/ATL: Match AMD CPUs only

From: Lin Wang

Date: Fri Nov 13 2026 - 04:57:55 EST


Hi Boris,

On 11/13/2026 1:09 PM, Borislav Petkov wrote:
On Thu, Oct 29, 2026 at 01:33:10PM +0800, Lin Wang wrote:
ATL matches Hygon through X86_FEATURE_SMCA and X86_FEATURE_ZEN, but
Ok, I had asked about it but that ask wasn't met with a lot of enthusiasm.

Before we go any further here, I would need you guys to go and define
a X86_FEATURE_HYGON and convert all the matching that Hygon does with
X86_FEATURE_ZEN to this new feature flag and get off the _ZEN flag.

Because the _ZEN flag is an AMD one and you have no place piggybacking on it
because when we go and change it, we will break you.

And you don't want that.

I agree that Hygon should use its own feature flag. I'd like to
handle that conversion in a separate series with the Hygon CPU
maintainers.

This series provides independent Hygon node/SMN paths and makes AMD
NB/SMN initialization AMD-only, without depending on the new flag.
The flag conversion also affects CPU and ACPI behavior outside the
node layer. It requires reviewing the existing users across
subsystems, updating the affected paths, and testing the changes on
Hygon hardware.

Would it be acceptable to merge the node/SMN separation first while
we work on the feature-flag conversion?

Thanks,

Lin