[PATCH] add phytium FT-2000+ and Tengyun-S2500 support on arm architecture.

Han Han hhan at redhat.com
Wed Nov 18 03:03:48 UTC 2020


Just a reminder: remember to mention that in the NEWS after the patch is
merged.

On Wed, Nov 18, 2020 at 9:06 AM <yangshaojun19 at 163.com> wrote:

> From: Shaojun Yang <yangshaojun at phytium.com.cn>
>
> Signed-off-by: Shaojun Yang <yangshaojun at phytium.com.cn>
> ---
>  src/cpu_map/arm_Phytium.xml | 10 ++++++++++
>  src/cpu_map/arm_vendors.xml |  1 +
>  src/cpu_map/index.xml       |  3 +++
>  3 files changed, 14 insertions(+)
>  create mode 100644 src/cpu_map/arm_Phytium.xml
>
> diff --git a/src/cpu_map/arm_Phytium.xml b/src/cpu_map/arm_Phytium.xml
> new file mode 100644
> index 0000000..f8b4852
> --- /dev/null
> +++ b/src/cpu_map/arm_Phytium.xml
> @@ -0,0 +1,10 @@
> +<cpus>
> +  <model name='FT-2000+'>
> +    <vendor name='Phytium'/>
> +    <pvr value='0x662'/>
> +  </model>
> +  <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 ff799ef..4465463 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 08f052e..e2c454b 100644
> --- a/src/cpu_map/index.xml
> +++ b/src/cpu_map/index.xml
> @@ -103,5 +103,8 @@
>
>      <!-- Hisilicon-based CPU models -->
>      <include filename='arm_Kunpeng-920.xml'/>
> +
> +    <!-- Phytium-based CPU models -->
> +    <include filename='arm_Phytium.xml'/>
>    </arch>
>  </cpus>
> --
> 2.7.4
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20201118/a1916a06/attachment-0001.htm>


More information about the libvir-list mailing list