mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-18 10:35:20 +00:00
cpu_map: Introduce ARM cpu models
Introduce vendors and some commonly used models for ARM arch, these will be used for virConnectionGetCapabilities for ARM CPUs. Signed-off-by: Zhenyu Zheng <zheng.zhenyu@outlook.com> Message-Id: <TY2PR01MB3113973DDB36C7A5E18F451299BF0@TY2PR01MB3113.jpnprd01.prod.outlook.com> Reviewed-by: Jiri Denemark <jdenemar@redhat.com>
This commit is contained in:
parent
424c760730
commit
5955851800
@ -2,7 +2,14 @@
|
||||
|
||||
cpumapdir = $(pkgdatadir)/cpu_map
|
||||
cpumap_DATA = \
|
||||
cpu_map/arm_cortex-a53.xml \
|
||||
cpu_map/arm_cortex-a57.xml \
|
||||
cpu_map/arm_cortex-a72.xml \
|
||||
cpu_map/arm_features.xml \
|
||||
cpu_map/arm_Kunpeng-920.xml \
|
||||
cpu_map/arm_ThunderX299xx.xml \
|
||||
cpu_map/arm_Falkor.xml \
|
||||
cpu_map/arm_vendors.xml \
|
||||
cpu_map/index.xml \
|
||||
cpu_map/ppc64_vendors.xml \
|
||||
cpu_map/ppc64_POWER7.xml \
|
||||
|
6
src/cpu_map/arm_Falkor.xml
Normal file
6
src/cpu_map/arm_Falkor.xml
Normal file
@ -0,0 +1,6 @@
|
||||
<cpus>
|
||||
<model name='Falkor'>
|
||||
<vendor name='Qualcomm'/>
|
||||
<pvr value='0xc00'/>
|
||||
</model>
|
||||
</cpus>
|
6
src/cpu_map/arm_Kunpeng-920.xml
Normal file
6
src/cpu_map/arm_Kunpeng-920.xml
Normal file
@ -0,0 +1,6 @@
|
||||
<cpus>
|
||||
<model name='Kunpeng-920'>
|
||||
<vendor name='HiSilicon'/>
|
||||
<pvr value='0xd01'/>
|
||||
</model>
|
||||
</cpus>
|
6
src/cpu_map/arm_ThunderX299xx.xml
Normal file
6
src/cpu_map/arm_ThunderX299xx.xml
Normal file
@ -0,0 +1,6 @@
|
||||
<cpus>
|
||||
<model name='ThunderX2 99xx'>
|
||||
<vendor name='Cavium'/>
|
||||
<pvr value='0x0af'/>
|
||||
</model>
|
||||
</cpus>
|
6
src/cpu_map/arm_cortex-a53.xml
Normal file
6
src/cpu_map/arm_cortex-a53.xml
Normal file
@ -0,0 +1,6 @@
|
||||
<cpus>
|
||||
<model name='cortex-a53'>
|
||||
<vendor name='ARM'/>
|
||||
<pvr value='0xd03'/>
|
||||
</model>
|
||||
</cpus>
|
6
src/cpu_map/arm_cortex-a57.xml
Normal file
6
src/cpu_map/arm_cortex-a57.xml
Normal file
@ -0,0 +1,6 @@
|
||||
<cpus>
|
||||
<model name='cortex-a57'>
|
||||
<vendor name='ARM'/>
|
||||
<pvr value='0xd07'/>
|
||||
</model>
|
||||
</cpus>
|
6
src/cpu_map/arm_cortex-a72.xml
Normal file
6
src/cpu_map/arm_cortex-a72.xml
Normal file
@ -0,0 +1,6 @@
|
||||
<cpus>
|
||||
<model name='cortex-a72'>
|
||||
<vendor name='ARM'/>
|
||||
<pvr value='0xd08'/>
|
||||
</model>
|
||||
</cpus>
|
14
src/cpu_map/arm_vendors.xml
Normal file
14
src/cpu_map/arm_vendors.xml
Normal file
@ -0,0 +1,14 @@
|
||||
<cpus>
|
||||
<vendor name="ARM" value="0x41"/>
|
||||
<vendor name="Broadcom" value="0x42"/>
|
||||
<vendor name="Cavium" value="0x43"/>
|
||||
<vendor name="DigitalEquipment" value="0x44"/>
|
||||
<vendor name="HiSilicon" value="0x48"/>
|
||||
<vendor name="Infineon" value="0x49"/>
|
||||
<vendor name="Freescale" value="0x4D"/>
|
||||
<vendor name="NVIDIA" value="0x4E"/>
|
||||
<vendor name="APM" value="0x50"/>
|
||||
<vendor name="Qualcomm" value="0x51"/>
|
||||
<vendor name="Marvell" value="0x56"/>
|
||||
<vendor name="Intel" value="0x69"/>
|
||||
</cpus>
|
@ -85,6 +85,21 @@
|
||||
</arch>
|
||||
|
||||
<arch name='arm'>
|
||||
<include filename="arm_vendors.xml"/>
|
||||
<include filename='arm_features.xml'/>
|
||||
|
||||
<!-- ARM-based CPU models -->
|
||||
<include filename="arm_cortex-a53.xml"/>
|
||||
<include filename="arm_cortex-a57.xml"/>
|
||||
<include filename="arm_cortex-a72.xml"/>
|
||||
|
||||
<!-- Qualcomm-based CPU models -->
|
||||
<include filename='arm_Falkor.xml'/>
|
||||
|
||||
<!-- Cavium-based CPU models -->
|
||||
<include filename='arm_ThunderX299xx.xml'/>
|
||||
|
||||
<!-- Hisilicon-based CPU models -->
|
||||
<include filename="arm_Kunpeng-920.xml"/>
|
||||
</arch>
|
||||
</cpus>
|
||||
|
Loading…
x
Reference in New Issue
Block a user