public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/8] Add support for Hygon Family 18h model 4h~8h processors
@ 2026-04-07  8:22 Fu Hao
  2026-04-07  8:22 ` [PATCH v2 1/8] x86/cpu/hygon: Adjust the die_id and logical_die_id for Hygon models 0x4-0x8 Fu Hao
                   ` (7 more replies)
  0 siblings, 8 replies; 14+ messages in thread
From: Fu Hao @ 2026-04-07  8:22 UTC (permalink / raw)
  To: puwen, tglx, mingo, bp, dave.hansen, x86, peterz, acme, joro,
	will, suravee.suthikulpanit, robin.murphy, bhelgaas, perex, tiwai,
	namhyung, alexander.shishkin, jolsa, irogers, james.clark, hpa
  Cc: linux-kernel, Fu Hao

This patch series introduce support for the new-generation Hygon
models 0x4-0x8 processors, 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.

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 (8):
  x86/cpu/hygon: Adjust the die_id and logical_die_id for Hygon models
    0x4-0x8
  x86/cpu: Get LLC ID for Hygon family 18h model 4h
  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
  iommu/hygon: Add support for Hygon family 18h model 4h IOAPIC

 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          |  22 +-
 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    | 927 +++++++++++++++++++++++
 arch/x86/kernel/cpu/microcode/internal.h |  20 +
 drivers/iommu/amd/init.c                 |  10 +-
 include/linux/pci_ids.h                  |   1 +
 sound/hda/controllers/intel.c            |   9 +
 sound/hda/core/controller.c              |  10 +-
 sound/hda/core/stream.c                  |  40 +-
 14 files changed, 1105 insertions(+), 26 deletions(-)
 create mode 100644 arch/x86/kernel/cpu/microcode/hygon.c

-- 
2.34.1


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2026-04-10 22:47 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-07  8:22 [PATCH v2 0/8] Add support for Hygon Family 18h model 4h~8h processors Fu Hao
2026-04-07  8:22 ` [PATCH v2 1/8] x86/cpu/hygon: Adjust the die_id and logical_die_id for Hygon models 0x4-0x8 Fu Hao
2026-04-07  8:23 ` [PATCH v2 2/8] x86/cpu: Get LLC ID for Hygon family 18h model 4h Fu Hao
2026-04-07  8:23 ` [PATCH v2 3/8] x86/cpu/hygon: Remove Spectral Chicken for Hygon processors Fu Hao
2026-04-07  8:23 ` [PATCH v2 4/8] perf/x86/uncore: Add L3 PMU support for Hygon family 18h model 6h Fu Hao
2026-04-07  8:24 ` [PATCH v2 5/8] x86/microcode/hygon: Add microcode loading support for Hygon processors Fu Hao
2026-04-07 14:00   ` Dave Hansen
2026-04-07 14:11     ` Borislav Petkov
2026-04-08  2:53       ` Fu Hao
2026-04-08  2:43     ` Fu Hao
2026-04-07  8:24 ` [PATCH v2 6/8] ALSA: hda: Add support for Hygon family 18h model 5h HD-Audio Fu Hao
2026-04-10 22:47   ` Bjorn Helgaas
2026-04-07  8:25 ` [PATCH v2 7/8] ALSA: hda: Fix single byte writing issue for Hygon family 18h model 5h Fu Hao
2026-04-07  8:25 ` [PATCH v2 8/8] iommu/hygon: Add support for Hygon family 18h model 4h IOAPIC Fu Hao

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox