From: Fu Hao <fuhao@open-hieco.net>
To: puwen@hygon.cn, tglx@kernel.org, mingo@redhat.com, bp@alien8.de,
dave.hansen@linux.intel.com, x86@kernel.org,
peterz@infradead.org, acme@kernel.org, joro@8bytes.org,
will@kernel.org, suravee.suthikulpanit@amd.com,
robin.murphy@arm.com, bhelgaas@google.com, perex@perex.cz,
tiwai@suse.com, namhyung@kernel.org,
alexander.shishkin@linux.intel.com, jolsa@kernel.org,
irogers@google.com, james.clark@linaro.org, hpa@zytor.com
Cc: linux-kernel@vger.kernel.org, tingyin.duan@gmail.com,
Fu Hao <fuhao@open-hieco.net>
Subject: [PATCH v3 0/7] Add support for Hygon family 18h models 4h-8h
Date: Mon, 15 Jun 2026 20:16:35 +0800 [thread overview]
Message-ID: <cover.1781523812.git.fuhao@open-hieco.net> (raw)
This patch series introduce support for the new-generation Hygon
processor models 0x4–0x8, addressing five key areas:
1. CPU Topology Updates
The new processor introduces a revised CPU topology hierarchy
compared to previous generations. This patch updates the kernel's
topology detection logic to correctly identify core/socket
relationships and cache sharing patterns.
2. L3 Performance Monitoring Updates
The L3 perf registers of model 6h differ from those of the
previous processor.
3. Microcode loading
Add microcode loading support for Hygon processor.
4. Audio Controller Driver
Add initial support for the integrated HD-Audio controller.
5. New SB IOAPIC information support
The southbridge IOAPIC of Hygon's new-generation processors is
located at 00:0b.0.
v2->v3:
- Refine the commit messages for patch x86/cpu/hygon.
- Update the logic for deriving the LLC ID from the APIC ID on Hygon
processors.
- Clean up and refine Hygon microcode support code.
- Refine the code of Hygon HD-Audio device ID.
- The iommu/hygon patch has been accepted and merged into iommu branch.
v1->v2:
- Refine the patch x86/cpu/hygon.
- Do a separate compilation unit on hygon microcode loading support.
- Use "access_sdnctl_in_dword" instead of "hygon_dword_acess" for
accessing the HDA registers.
Fu Hao (7):
x86/cpu/hygon: Adjust the die_id and logical_die_id for Hygon models
0x4 through 0x8
x86/cpu: Get LLC ID for Hygon processor models 0x6 through 0x8
x86/cpu/hygon: Remove Spectral Chicken for Hygon processors
perf/x86/uncore: Add L3 PMU support for Hygon family 18h model 6h
x86/microcode/hygon: Add microcode loading support for Hygon
processors
ALSA: hda: Add support for Hygon family 18h model 5h HD-Audio
ALSA: hda: Fix single byte writing issue for Hygon family 18h model 5h
arch/x86/Kconfig | 2 +-
arch/x86/events/amd/uncore.c | 48 +-
arch/x86/include/asm/perf_event.h | 8 +
arch/x86/kernel/cpu/cacheinfo.c | 21 +-
arch/x86/kernel/cpu/hygon.c | 16 +-
arch/x86/kernel/cpu/microcode/Makefile | 1 +
arch/x86/kernel/cpu/microcode/core.c | 17 +-
arch/x86/kernel/cpu/microcode/hygon.c | 820 +++++++++++++++++++++++
arch/x86/kernel/cpu/microcode/internal.h | 20 +
sound/hda/controllers/intel.c | 11 +
sound/hda/core/controller.c | 10 +-
sound/hda/core/stream.c | 40 +-
12 files changed, 991 insertions(+), 23 deletions(-)
create mode 100644 arch/x86/kernel/cpu/microcode/hygon.c
--
2.34.1
next reply other threads:[~2026-06-15 12:17 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-15 12:16 Fu Hao [this message]
2026-06-15 12:17 ` [PATCH v3 1/7] x86/cpu/hygon: Adjust the die_id and logical_die_id for Hygon models 0x4 through 0x8 Fu Hao
2026-06-15 14:07 ` Dave Hansen
2026-06-15 12:18 ` [PATCH v3 2/7] x86/cpu: Get LLC ID for Hygon processor models 0x6 " Fu Hao
2026-06-15 12:19 ` [PATCH v3 3/7] x86/cpu/hygon: Remove Spectral Chicken for Hygon processors Fu Hao
2026-06-15 12:20 ` [PATCH v3 4/7] perf/x86/uncore: Add L3 PMU support for Hygon family 18h model 6h Fu Hao
2026-06-15 12:38 ` sashiko-bot
2026-06-15 12:21 ` [PATCH v3 5/7] x86/microcode/hygon: Add microcode loading support for Hygon processors Fu Hao
2026-06-15 12:22 ` [PATCH v3 6/7] ALSA: hda: Add support for Hygon family 18h model 5h HD-Audio Fu Hao
2026-06-15 12:37 ` sashiko-bot
2026-06-15 12:23 ` [PATCH v3 7/7] ALSA: hda: Fix single byte writing issue for Hygon family 18h model 5h Fu Hao
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1781523812.git.fuhao@open-hieco.net \
--to=fuhao@open-hieco.net \
--cc=acme@kernel.org \
--cc=alexander.shishkin@linux.intel.com \
--cc=bhelgaas@google.com \
--cc=bp@alien8.de \
--cc=dave.hansen@linux.intel.com \
--cc=hpa@zytor.com \
--cc=irogers@google.com \
--cc=james.clark@linaro.org \
--cc=jolsa@kernel.org \
--cc=joro@8bytes.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=namhyung@kernel.org \
--cc=perex@perex.cz \
--cc=peterz@infradead.org \
--cc=puwen@hygon.cn \
--cc=robin.murphy@arm.com \
--cc=suravee.suthikulpanit@amd.com \
--cc=tglx@kernel.org \
--cc=tingyin.duan@gmail.com \
--cc=tiwai@suse.com \
--cc=will@kernel.org \
--cc=x86@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.