Re: 答复: [PATCH v2 0/3] perf/x86/amd/uncore: Add common helpers and Hygon support

From: Borislav Petkov

Date: Mon Jul 06 2026 - 13:40:20 EST


On Mon, Jul 06, 2026 at 11:45:10AM +0000, Qi Liu wrote:
> This makes sense. I see the concern about introducing common helpers too
> early when AMD and Hygon may still evolve differently in details. For the
> next revision, I can keep the Hygon support self-contained by copying the
> needed AMD logic first, and avoid introducing a generic common layer at this
> stage. If the helpers remain identical over time, we can always consolidate
> them later in a separate cleanup. I’ll also revisit the symbol exports and
> drop them unless there is a clear module boundary requirement

Thanks.

Also, for the next time, please do not top-post. Just like I do, put your
reply under the text you're replying to.

You can read some more hints here:

https://people.kernel.org/tglx/notes-about-netiquette

Thx.

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette