From 1d3f72a0dfa9d58cd8f5ae2c0ec5c1140c9301fb Mon Sep 17 00:00:00 2001 From: LiQian Date: Tue, 15 Jul 2025 14:21:58 +0800 Subject: [PATCH] phytium:add S5000C cpu model Add S5000C cpu model. Signed-off-by: Peng Mengguang Signed-off-by: LiQian --- SOURCES/0001-add-S5000C-cpu-model.patch | 50 +++++++++++++++++++++++++ SPECS/libvirt.spec | 7 +++- 2 files changed, 56 insertions(+), 1 deletion(-) create mode 100644 SOURCES/0001-add-S5000C-cpu-model.patch diff --git a/SOURCES/0001-add-S5000C-cpu-model.patch b/SOURCES/0001-add-S5000C-cpu-model.patch new file mode 100644 index 0000000..ba7dd3c --- /dev/null +++ b/SOURCES/0001-add-S5000C-cpu-model.patch @@ -0,0 +1,50 @@ +From 7209ca05a0343f6494de0389706fc90479960be3 Mon Sep 17 00:00:00 2001 +From: LiQian +Date: Mon, 14 Jul 2025 17:50:19 +0800 +Subject: [PATCH] add S5000C cpu model + +--- + src/cpu_map/arm_Tengyun-S5000C.xml | 6 ++++++ + src/cpu_map/index.xml | 1 + + src/cpu_map/meson.build | 1 + + 3 files changed, 8 insertions(+) + create mode 100644 src/cpu_map/arm_Tengyun-S5000C.xml + +diff --git a/src/cpu_map/arm_Tengyun-S5000C.xml b/src/cpu_map/arm_Tengyun-S5000C.xml +new file mode 100644 +index 0000000000..f8fa593c19 +--- /dev/null ++++ b/src/cpu_map/arm_Tengyun-S5000C.xml +@@ -0,0 +1,6 @@ ++ ++ ++ ++ ++ ++ +diff --git a/src/cpu_map/index.xml b/src/cpu_map/index.xml +index ffe1fa91e5..cce73d1c1f 100644 +--- a/src/cpu_map/index.xml ++++ b/src/cpu_map/index.xml +@@ -109,5 +109,6 @@ + + + ++ + + +diff --git a/src/cpu_map/meson.build b/src/cpu_map/meson.build +index 013fc62a02..f45b62619e 100644 +--- a/src/cpu_map/meson.build ++++ b/src/cpu_map/meson.build +@@ -7,6 +7,7 @@ cpumap_data = [ + 'arm_features.xml', + 'arm_Kunpeng-920.xml', + 'arm_Tengyun-S2500.xml', ++ 'arm_Tengyun-S5000C.xml', + 'arm_ThunderX299xx.xml', + 'arm_vendors.xml', + 'index.xml', +-- +2.33.0 + diff --git a/SPECS/libvirt.spec b/SPECS/libvirt.spec index 01ab965..85e5791 100644 --- a/SPECS/libvirt.spec +++ b/SPECS/libvirt.spec @@ -210,7 +210,7 @@ Summary: Library providing a simple virtualization API Name: libvirt Version: 8.0.0 -Release: 23.2%{?dist}%{?extra_release} +Release: 24%{?dist}%{?extra_release} License: LGPLv2+ URL: https://libvirt.org/ @@ -321,6 +321,8 @@ Patch98: libvirt-virnuma-Avoid-integer-overflow-in-virNumaGetPages.patch Patch99: libvirt-remote-check-for-negative-array-lengths-before-allocation.patch Patch100: libvirt-util-Fix-error-return-for-virProcessKillPainfullyDelay.patch Patch101: libvirt-rpc-ensure-temporary-GSource-is-removed-from-client-event-loop.patch +# Add Phytium S5000C cpu model +Patch102: 0001-add-S5000C-cpu-model.patch Requires: libvirt-daemon = %{version}-%{release} Requires: libvirt-daemon-config-network = %{version}-%{release} @@ -2200,6 +2202,9 @@ exit 0 %changelog +* Tue Jul 15 2025 LiQian - 8.0.0-24 +- phytium: Add S5000C CPU model. + * Thu Jun 6 2024 Jiri Denemark - 8.0.0-23.2.el8 - util: Fix error return for virProcessKillPainfullyDelay() (RHEL-36064) - rpc: ensure temporary GSource is removed from client event loop (CVE-2024-4418) -- Gitee