From patchwork Wed May 13 10:48:36 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhenyu Zheng X-Patchwork-Id: 186591 Delivered-To: patch@linaro.org Received: by 2002:a92:5b0a:0:0:0:0:0 with SMTP id p10csp343653ilb; Wed, 13 May 2020 03:51:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzcS4MYNafHHhXDk9bg2aUHCrth1o9ci0YPuD4NeO6ok5XRWq4v40RYm+of9u2gHW0a0sHh X-Received: by 2002:a50:9f66:: with SMTP id b93mr8416310edf.376.1589367097979; Wed, 13 May 2020 03:51:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589367097; cv=none; d=google.com; s=arc-20160816; b=NGCHkUTjK6iR4FumnKHJw0lCMP0LK0OwUJxmzBiRq0IHvRQQGRwbRTD+wO9ZLOOPfq AubFj2HzM5wC1JzvUyql3Hkfuw7e+ltxwyZEz8qg8xUDp1cmfrEABw9WrlgK53We5ByL sKpqPTqL+Tt2+CZwzv5CW5VUq0XEv8frI5fpyQFHXhR7bihJOSLbFYOgVU85+oIq6W9o wuCY+eFyG9cH819dLyOJUaPU0Ao8l2S1HlHHuXKCAceU6EVTpNUonXgxn8zssL6fzhFD p4TNUIR3Cfie4ZTJvke9xMWIqFktrx17qoDn5k15e0gVuMZNRlFVHfeGejmzknZV4xNb m2NQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:errors-to:sender:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:cc :mime-version:references:in-reply-to:message-id:date:subject:to:from :delivered-to:dkim-signature; bh=83tFQNI4FBbohfGzymQYWHU2ElN22/RG+HJe+2kpYx4=; b=CvOaqbd9CJi84gnUv3gr5K3t7aJfHjBwHLvSj+rEcx7WSspC8ynfWdbDfHpWZqa9b7 QQh6Vkoydf9bI1uDidf+GqR+OmXz/FsXOiRLLjKfFvcEpveON+yNUSww1aDsEI7Ir2bI ljfKEVSAsl6Y/6wTnT4RZzRyrTGK6/x0Wli//QuRsO/b3pOKbOtNM8Q40K0oYyQXytMG tMBC9tAZcBIFoKEJC+zhS4q/IbdFIhcEEZkFEegArT4wuXAdIzK839DZPUq0RrNG7886 LPbOeXI+id5wvQbIwR1DAbkQtGU9NPsOrjaS1ZGxQgnPWLHw0J5w9izXyeOHMyPhWZ0S Z0pg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=HRI81Jir; spf=pass (google.com: domain of libvir-list-bounces@redhat.com designates 207.211.31.120 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=outlook.com Return-Path: Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com. [207.211.31.120]) by mx.google.com with ESMTPS id a18si9852162ejy.194.2020.05.13.03.51.37 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 13 May 2020 03:51:37 -0700 (PDT) Received-SPF: pass (google.com: domain of libvir-list-bounces@redhat.com designates 207.211.31.120 as permitted sender) client-ip=207.211.31.120; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=HRI81Jir; spf=pass (google.com: domain of libvir-list-bounces@redhat.com designates 207.211.31.120 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=outlook.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1589367096; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=83tFQNI4FBbohfGzymQYWHU2ElN22/RG+HJe+2kpYx4=; b=HRI81JirNhyq6yhkPwcifkeT/ZCCpFE+smZtytVzxMYNqnbu/OZaz8w7cvnH2ZCp2djB5R bx116+sKuiCLqxqkGid+BFi98F/lYvHWZj8PzrsE0/3qZfcLLqbDJz+7n4EqnYLV7e7hBM a7Qy5R3tD88qWq43r16YQZ1Kxdbsm0w= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-245-rrubFMofNxa-Vfj6a6IJ4g-1; Wed, 13 May 2020 06:51:34 -0400 X-MC-Unique: rrubFMofNxa-Vfj6a6IJ4g-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 823BE1005510; Wed, 13 May 2020 10:51:29 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 617845D9C5; Wed, 13 May 2020 10:51:29 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 323581809543; Wed, 13 May 2020 10:51:29 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 04DApRSp010367 for ; Wed, 13 May 2020 06:51:27 -0400 Received: by smtp.corp.redhat.com (Postfix) id BCF542026972; Wed, 13 May 2020 10:51:27 +0000 (UTC) Delivered-To: libvir-list@redhat.com Received: from mimecast-mx02.redhat.com (mimecast03.extmail.prod.ext.rdu2.redhat.com [10.11.55.19]) by smtp.corp.redhat.com (Postfix) with ESMTPS id B8224202696C for ; Wed, 13 May 2020 10:51:25 +0000 (UTC) Received: from us-smtp-1.mimecast.com (us-smtp-1.mimecast.com [207.211.31.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id C2AE0811768 for ; Wed, 13 May 2020 10:51:25 +0000 (UTC) Received: from APC01-SG2-obe.outbound.protection.outlook.com (mail-oln040092253073.outbound.protection.outlook.com [40.92.253.73]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-379-rAwyeX_wM0uIrmYn7svLkw-1; Wed, 13 May 2020 06:51:23 -0400 X-MC-Unique: rAwyeX_wM0uIrmYn7svLkw-1 Received: from SG2APC01FT003.eop-APC01.prod.protection.outlook.com (2a01:111:e400:7ebd::44) by SG2APC01HT095.eop-APC01.prod.protection.outlook.com (2a01:111:e400:7ebd::421) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2979.27; Wed, 13 May 2020 10:51:19 +0000 Received: from TY2PR01MB3113.jpnprd01.prod.outlook.com (10.152.250.56) by SG2APC01FT003.mail.protection.outlook.com (10.152.250.130) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3000.19 via Frontend Transport; Wed, 13 May 2020 10:51:19 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:69379E7DED599AF8BACB4CD4EEE50F1AFFDCF46C40665CB2F887F7C11D665EAC; UpperCasedChecksum:8A90DCE5C7E7B168AD8940342A119446404A6F6D9CF374EE70D3994371D80CD5; SizeAsReceived:7578; Count:50 Received: from TY2PR01MB3113.jpnprd01.prod.outlook.com ([fe80::b9e6:3960:1f6:7d81]) by TY2PR01MB3113.jpnprd01.prod.outlook.com ([fe80::b9e6:3960:1f6:7d81%7]) with mapi id 15.20.2979.033; Wed, 13 May 2020 10:51:19 +0000 From: Zhenyu Zheng To: libvir-list@redhat.com Subject: [PATCH V5 4/4] cpu_map: Introduce ARM cpu models Date: Wed, 13 May 2020 18:48:36 +0800 Message-ID: In-Reply-To: <20200513104832.7390-1-zheng.zhenyu@outlook.com> References: <20200513104832.7390-1-zheng.zhenyu@outlook.com> X-ClientProxiedBy: HK2PR0401CA0023.apcprd04.prod.outlook.com (2603:1096:202:2::33) To TY2PR01MB3113.jpnprd01.prod.outlook.com (2603:1096:404:78::22) X-Microsoft-Original-Message-ID: <20200513104832.7390-5-zheng.zhenyu@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from localhost.localdomain (119.8.114.27) by HK2PR0401CA0023.apcprd04.prod.outlook.com (2603:1096:202:2::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3000.24 via Frontend Transport; Wed, 13 May 2020 10:51:18 +0000 X-Microsoft-Original-Message-ID: <20200513104832.7390-5-zheng.zhenyu@outlook.com> X-TMN: [4nlUi0P0v3n1tIZTLOWIEFPmChbFO6Bi] X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 50 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: 4f1108cf-441c-4dfe-78f2-08d7f72b9156 X-MS-Exchange-SLBlob-MailProps: 7MJMDUNTCty0fTAjqHZNxEFXAS6g32bIo7O1Ng7ycYWrNqcZQxaLwYKMMMv3Q0stpVZK9gbCIALGtm52qg+L/yMkzmBF/bvZ4gGjiY/RaklYTfVWgg2Aj0LL1nOodzmsGyst4sWQhHZAV2h/Yz6UuHGJ2aIL/upLHgBzJBluflPaGS8m5v9sOCcGBTxkSI+2K5ErVPk5DHkpUDJB/cSgXSuddibXzy6TDngjgpc9n24NKGC6bZrDpMQw/M/ApYShIDtF+4kqGih4GmJKDruAhmljIC1qDiJSwY5+b/QUpL8NLCAPGqm2ShHE0WzqGxSIcT30BU0gG8h56pWH+fn632W/6psC3D3TJZz72YU+IwoOTO3L1feMLLU9wf9qoby0bDR0mBik77Wf5Y6UQ47OCJDLDyXrec5oTm1O9fbCPHVPzoSwdtJLaRuwuJ3OEFfwlAVVjwm3ZxUnFyERv9n7A8+dxVmtkpv86ziHsmQatXaS4LonWce8XXQET4DJ8DieXKEG1pg3YD1F538XkscgwFaboe7fYQucWQV3tISlezXH3Y2Cs6DI26gHBBZzjv+sOQVrGg0p3vvCPqgEka6jxBJ3cSWPhacFk+t5fNivmO+sS2fdiSql7e+PTSVUuAFfL9/GImFxqwdsUDMtbs+Ks5s7Hh0fulxfVG1UR5dEk8hzpyiEXY9p6Kuudku0PUmjgX2dp45NAk4D5qJpi9K2Ri3DyhkvC3dFCSgJEJoSgRB+T8hYMZowoA== X-MS-TrafficTypeDiagnostic: SG2APC01HT095: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ze88j1aSbNCkls5AghcMaclKbrpRcSYkw4qaOrWLxfJhGzt9ztCDqZd+FFGAZpxZ+2HU2pRAx6/ffCoarCKOCAhczqv7CUarNVSVTPQ9MXzwITmC/ph+2hwECRJ1nqNwcwIVaYWdmgPexkXv6cSpWTGW0xikzX9phYJt9VuMSWUERDqC8uyw6iPWcc8cznek142zVDVynW4eEbfuzyF2Sw== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:0; SRV:; IPV:NLI; SFV:NSPM; H:TY2PR01MB3113.jpnprd01.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:; DIR:OUT; SFP:1901; X-MS-Exchange-AntiSpam-MessageData: r5ftcojuwddiODEkc09sI/UxB1MQmHP1GKZZa5U8p4O7ExPiSo08YCSC0VZ15llTDX+nnVRFEBP5bfONrcvWuncYPnJwiJ33Qy87CbG1qbBVXO9ApVkTNlctkbaGF3JzFgLmnbLg+NACjG9QReDDTg== X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4f1108cf-441c-4dfe-78f2-08d7f72b9156 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 May 2020 10:51:19.7667 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-FromEntityHeader: Internet X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: SG2APC01HT095 X-Scanned-By: MIMEDefang 2.78 on 10.11.54.4 X-MIME-Autoconverted: from quoted-printable to 8bit by lists01.pubmisc.prod.ext.phx2.redhat.com id 04DApRSp010367 X-loop: libvir-list@redhat.com Cc: Zhenyu Zheng X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Introduce vendors and some commonly used models for ARM arch, these will be used for virConnectionGetCapabilities for ARM CPUs. Signed-off-by: Zhenyu Zheng --- src/cpu_map/Makefile.inc.am | 7 +++++++ src/cpu_map/arm_Falkor.xml | 6 ++++++ src/cpu_map/arm_Kunpeng-920.xml | 6 ++++++ src/cpu_map/arm_ThunderX299xx.xml | 6 ++++++ src/cpu_map/arm_cortex-a53.xml | 6 ++++++ src/cpu_map/arm_cortex-a57.xml | 6 ++++++ src/cpu_map/arm_cortex-a72.xml | 6 ++++++ src/cpu_map/arm_vendors.xml | 14 ++++++++++++++ src/cpu_map/index.xml | 15 +++++++++++++++ 9 files changed, 72 insertions(+) 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.20.1 Signed-off-by: Zhenyu Zheng <zheng.zhenyu@outlook.com>
diff --git a/src/cpu_map/Makefile.inc.am b/src/cpu_map/Makefile.inc.am index be64c9a0d4..5d9190e27d 100644 --- a/src/cpu_map/Makefile.inc.am +++ b/src/cpu_map/Makefile.inc.am @@ -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 \ diff --git a/src/cpu_map/arm_Falkor.xml b/src/cpu_map/arm_Falkor.xml new file mode 100644 index 0000000000..b8f34bbc02 --- /dev/null +++ b/src/cpu_map/arm_Falkor.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/src/cpu_map/arm_Kunpeng-920.xml b/src/cpu_map/arm_Kunpeng-920.xml new file mode 100644 index 0000000000..e06d4744fc --- /dev/null +++ b/src/cpu_map/arm_Kunpeng-920.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/src/cpu_map/arm_ThunderX299xx.xml b/src/cpu_map/arm_ThunderX299xx.xml new file mode 100644 index 0000000000..6c0864f601 --- /dev/null +++ b/src/cpu_map/arm_ThunderX299xx.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/src/cpu_map/arm_cortex-a53.xml b/src/cpu_map/arm_cortex-a53.xml new file mode 100644 index 0000000000..3580236253 --- /dev/null +++ b/src/cpu_map/arm_cortex-a53.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/src/cpu_map/arm_cortex-a57.xml b/src/cpu_map/arm_cortex-a57.xml new file mode 100644 index 0000000000..3bc4324173 --- /dev/null +++ b/src/cpu_map/arm_cortex-a57.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/src/cpu_map/arm_cortex-a72.xml b/src/cpu_map/arm_cortex-a72.xml new file mode 100644 index 0000000000..c509a40567 --- /dev/null +++ b/src/cpu_map/arm_cortex-a72.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/src/cpu_map/arm_vendors.xml b/src/cpu_map/arm_vendors.xml new file mode 100644 index 0000000000..703c2112b1 --- /dev/null +++ b/src/cpu_map/arm_vendors.xml @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/src/cpu_map/index.xml b/src/cpu_map/index.xml index 50b030de29..20646a031c 100644 --- a/src/cpu_map/index.xml +++ b/src/cpu_map/index.xml @@ -85,6 +85,21 @@ + + + + + + + + + + + + + + +