From: @kuhnchen18 Reviewed-by: @imxcc Signed-off-by: @imxcc
This commit is contained in:
commit
a0c68ac493
81
add-phytium-2000plus-and-s2500-support-on-arm-archit.patch
Normal file
81
add-phytium-2000plus-and-s2500-support-on-arm-archit.patch
Normal file
@ -0,0 +1,81 @@
|
||||
From a26baed5dd515430c710dc1cfa6561b7beb48639 Mon Sep 17 00:00:00 2001
|
||||
From: root <root@openeuleropenstack.dev01>
|
||||
Date: Thu, 4 Feb 2021 17:35:46 +0800
|
||||
Subject: [PATCH] add phytium 2000plus and s2500 support on arm architecture
|
||||
for capability
|
||||
|
||||
Signed-off-by: imxcc <xingchaochao@huawei.com>
|
||||
---
|
||||
src/cpu_map/Makefile.inc.am | 2 ++
|
||||
src/cpu_map/arm_FT-2000plus.xml | 6 ++++++
|
||||
src/cpu_map/arm_Tengyun-S2500.xml | 6 ++++++
|
||||
src/cpu_map/arm_vendors.xml | 1 +
|
||||
src/cpu_map/index.xml | 4 ++++
|
||||
5 files changed, 19 insertions(+)
|
||||
create mode 100644 src/cpu_map/arm_FT-2000plus.xml
|
||||
create mode 100644 src/cpu_map/arm_Tengyun-S2500.xml
|
||||
|
||||
diff --git a/src/cpu_map/Makefile.inc.am b/src/cpu_map/Makefile.inc.am
|
||||
index 3059e2b5b7..8eb818706a 100644
|
||||
--- a/src/cpu_map/Makefile.inc.am
|
||||
+++ b/src/cpu_map/Makefile.inc.am
|
||||
@@ -73,6 +73,8 @@ cpumap_DATA = \
|
||||
cpu_map/arm_cortex-a57.xml \
|
||||
cpu_map/arm_cortex-a72.xml \
|
||||
cpu_map/arm_Kunpeng-920.xml \
|
||||
+ cpu_map/arm_FT-2000plus.xml \
|
||||
+ cpu_map/arm_Tengyun-S2500.xml \
|
||||
$(NULL)
|
||||
|
||||
EXTRA_DIST += $(cpumap_DATA)
|
||||
diff --git a/src/cpu_map/arm_FT-2000plus.xml b/src/cpu_map/arm_FT-2000plus.xml
|
||||
new file mode 100644
|
||||
index 0000000000..b532f65f68
|
||||
--- /dev/null
|
||||
+++ b/src/cpu_map/arm_FT-2000plus.xml
|
||||
@@ -0,0 +1,6 @@
|
||||
+<cpus>
|
||||
+ <model name='FT-2000+'>
|
||||
+ <vendor name='Phytium'/>
|
||||
+ <pvr value='0x662'/>
|
||||
+ </model>
|
||||
+</cpus>
|
||||
diff --git a/src/cpu_map/arm_Tengyun-S2500.xml b/src/cpu_map/arm_Tengyun-S2500.xml
|
||||
new file mode 100644
|
||||
index 0000000000..22b865e368
|
||||
--- /dev/null
|
||||
+++ b/src/cpu_map/arm_Tengyun-S2500.xml
|
||||
@@ -0,0 +1,6 @@
|
||||
+<cpus>
|
||||
+ <model name='Tengyun-S2500'>
|
||||
+ <vendor name='Phytium'/>
|
||||
+ <pvr value='0x663'/>
|
||||
+ </model>
|
||||
+</cpus>
|
||||
diff --git a/src/cpu_map/arm_vendors.xml b/src/cpu_map/arm_vendors.xml
|
||||
index 840bf9a2f8..05175495a0 100644
|
||||
--- a/src/cpu_map/arm_vendors.xml
|
||||
+++ b/src/cpu_map/arm_vendors.xml
|
||||
@@ -11,4 +11,5 @@
|
||||
<vendor name="Qualcomm" value="0x51"/>
|
||||
<vendor name="Marvell" value="0x56"/>
|
||||
<vendor name="Intel" value="0x69"/>
|
||||
+ <vendor name='Phytium' value='0x70'/>
|
||||
</cpus>
|
||||
diff --git a/src/cpu_map/index.xml b/src/cpu_map/index.xml
|
||||
index c7bbd501fd..3ccc76b9ed 100644
|
||||
--- a/src/cpu_map/index.xml
|
||||
+++ b/src/cpu_map/index.xml
|
||||
@@ -96,5 +96,9 @@
|
||||
|
||||
<!-- Hisilicon-based CPU models -->
|
||||
<include filename="arm_Kunpeng-920.xml"/>
|
||||
+
|
||||
+ <!-- Phytium-based CPU models -->
|
||||
+ <include filename='arm_FT-2000plus.xml'/>
|
||||
+ <include filename='arm_Tengyun-S2500.xml'/>
|
||||
</arch>
|
||||
</cpus>
|
||||
--
|
||||
2.27.0
|
||||
|
||||
@ -99,7 +99,7 @@
|
||||
Summary: Library providing a simple virtualization API
|
||||
Name: libvirt
|
||||
Version: 6.2.0
|
||||
Release: 14
|
||||
Release: 15
|
||||
License: LGPLv2+
|
||||
URL: https://libvirt.org/
|
||||
|
||||
@ -146,6 +146,7 @@ Patch0035: cpu_map-Distribute-x86_Cooperlake.xml.patch
|
||||
Patch0036: conf-domain_conf-pin-the-retry_interval-and-retry_ti.patch
|
||||
Patch0037: storage_driver-Unlock-object-on-ACL-fail-in-storageP.patch
|
||||
Patch0038: security-fix-SELinux-label-generation-logic.patch
|
||||
Patch0039: add-phytium-2000plus-and-s2500-support-on-arm-archit.patch
|
||||
|
||||
Requires: libvirt-daemon = %{version}-%{release}
|
||||
Requires: libvirt-daemon-config-network = %{version}-%{release}
|
||||
@ -1878,6 +1879,9 @@ exit 0
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Dec 08 2021 Euler Robot <euler.robot@huawei.com>
|
||||
- add phytium 2000plus and s2500 support on arm architecture for capability
|
||||
|
||||
* Sun Sep 26 2021 Euler Robot <euler.robot@huawei.com>
|
||||
- storage_driver: Unlock object on ACL fail in storagePoolLookupByTargetPath
|
||||
- security: fix SELinux label generation logic
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user