Re: [RFC PATCH 5/5] x86/amd_node: Support Hygon SMN roots by socket

From: Lin Wang

Date: Fri Apr 03 2026 - 01:30:21 EST


Hi Boris,

On 4/3/2026 7:50 AM, Borislav Petkov wrote:


All Hygon enablement goes into Hygon-specific files. If there's a piece of
functionality which is generic enough, then that can be extracted into
a function which can be called by both vendors code.

But pls forget this piggy-backing on AMD code and thus turning AMD code into
an unmaintainable mess.

Thx.


Thank you for the clear direction -- this is exactly the kind of architectural guidance we needed at this stage.

Keeping Hygon enablement out of AMD code paths is the right call. We will rethink the integration approach for v2 with that principle in mind.

Thx & br,

Lin