[PATCH V2 0/5] Introduce getHost support for ARM CPU driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Introduce getHost support for ARM CPU driver. First add
some data about commonly used ARM CPU models, and their
vendors into cpu_map, then added some helper methods as
callbacks to load them. Read and parse vendor_id, part_id
and CPU flags of local CPU from corresponding registers.

Signed-off-by: Zhenyu Zheng <zhengzhenyulixi@xxxxxxxxx>

Zhenyu Zheng (5):
  cpu_map: Introduce ARM cpu models
  cpu: Introduce virCPUarmData to virCPUData
  cpu: Introduce ARM related structs
  cpu: Add helper funtions to parse vendor and model
  cpu: Introduce getHost support for ARM CPU driver

 src/cpu/Makefile.inc.am           |   1 +
 src/cpu/cpu.h                     |   2 +
 src/cpu/cpu_arm.c                 | 445 +++++++++++++++++++++++++++++-
 src/cpu/cpu_arm_data.h            |  31 +++
 src/cpu_map/Makefile.inc.am       |   7 +
 src/cpu_map/arm_Falkor.xml        |  16 ++
 src/cpu_map/arm_Kunpeng-920.xml   |  24 ++
 src/cpu_map/arm_ThunderX299xx.xml |  16 ++
 src/cpu_map/arm_cortex-a53.xml    |  16 ++
 src/cpu_map/arm_cortex-a57.xml    |  15 +
 src/cpu_map/arm_cortex-a72.xml    |  15 +
 src/cpu_map/arm_vendors.xml       |  14 +
 src/cpu_map/index.xml             |  15 +
 13 files changed, 614 insertions(+), 3 deletions(-)
 create mode 100644 src/cpu/cpu_arm_data.h
 create mode 100644 src/cpu_map/arm_Falkor.xml
 create mode 100644 src/cpu_map/arm_Kunpeng-920.xml
 create mode 100644 src/cpu_map/arm_ThunderX299xx.xml
 create mode 100644 src/cpu_map/arm_cortex-a53.xml
 create mode 100644 src/cpu_map/arm_cortex-a57.xml
 create mode 100644 src/cpu_map/arm_cortex-a72.xml
 create mode 100644 src/cpu_map/arm_vendors.xml

-- 
2.26.0.windows.1






[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux