From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out198-31.us.a.mail.aliyun.com (out198-31.us.a.mail.aliyun.com [47.90.198.31]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B38463CF679 for ; Fri, 27 Mar 2026 08:07:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=47.90.198.31 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774598854; cv=none; b=LP5g82EJkoqL7Xmng0hn69lvzzznLuaMKsAz4gB62/3Sr7V/LOHbgQYXI+iNGlFtUlU1PcX6LCHxD5rO6xbgmhK4LvDxqUA8XC1WF/fmrvDFMMZX8+0EPZEX33rmfBeL5MVVTpAekFpDl54+3x2bqtC3dI6udTXtGW69b4khLZY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774598854; c=relaxed/simple; bh=PKA75TTczKKJgirgZnFZUdNCpNQQRsBDL5Y5FtZQ+LI=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=ZhEflx3Gpny1ZQk9SeHpv6/qInZXcROFetHMBvxL2L0rnvAjMXYmkLE2NOaxRcTmw87ZvZdogNoj+VJPPXyd9PBP+hMSXuPUVh82QUj98v496rzwDsTx9oWrHOe7pE2GztScrvqOTjXdKMtjws5jNSBgETT7Gim+VrQEH+gVNJE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=open-hieco.net; spf=pass smtp.mailfrom=open-hieco.net; arc=none smtp.client-ip=47.90.198.31 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=open-hieco.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=open-hieco.net X-Alimail-AntiSpam:AC=CONTINUE;BC=0.1453064|-1;CH=blue;DM=|OVERLOAD|false|;DS=CONTINUE|ham_system_inform|0.300195-0.0052513-0.694554;FP=7347650383471744435|4|1|1|0|-1|-1|-1;HT=maildocker-contentspam033068005250;MF=fuhao@open-hieco.net;NM=1;PH=DS;RN=23;RT=23;SR=0;TI=SMTPD_---.h.H-x3E_1774598818; Received: from higon..(mailfrom:fuhao@open-hieco.net fp:SMTPD_---.h.H-x3E_1774598818 cluster:ay29) by smtp.aliyun-inc.com; Fri, 27 Mar 2026 16:07:07 +0800 From: Fu Hao 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, Fu Hao Subject: [PATCH 0/8] Add support for Hygon Family 18h model 4h~8h processors Date: Fri, 27 Mar 2026 16:06:34 +0800 Message-Id: X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit This patch series introduce support for the new-generation Hygon model 4h~8h 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. Fu Hao (8): x86/cpu/hygon: Adjust the die_id and logical_die_id for Hygon model 4h~8h 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 | 21 +++++--- arch/x86/kernel/cpu/microcode/amd.c | 63 ++++++++++++++++++------ arch/x86/kernel/cpu/microcode/core.c | 11 +++++ arch/x86/kernel/cpu/microcode/internal.h | 12 +++++ drivers/iommu/amd/init.c | 10 +++- include/linux/pci_ids.h | 1 + include/sound/hdaudio.h | 1 + sound/hda/controllers/intel.c | 9 ++++ sound/hda/core/controller.c | 10 +++- sound/hda/core/stream.c | 42 ++++++++++++---- 14 files changed, 220 insertions(+), 40 deletions(-) -- 2.34.1