From patchwork Tue Apr 23 16:11:19 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Orzel X-Patchwork-Id: 13640315 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D6907C4345F for ; Tue, 23 Apr 2024 16:11:48 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.710907.1110469 (Exim 4.92) (envelope-from ) id 1rzIk8-0000zR-3z; Tue, 23 Apr 2024 16:11:40 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 710907.1110469; Tue, 23 Apr 2024 16:11:40 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1rzIk8-0000zK-1B; Tue, 23 Apr 2024 16:11:40 +0000 Received: by outflank-mailman (input) for mailman id 710907; Tue, 23 Apr 2024 16:11:38 +0000 Received: from se1-gles-flk1-in.inumbo.com ([94.247.172.50] helo=se1-gles-flk1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1rzIk6-0000jr-DM for xen-devel@lists.xenproject.org; Tue, 23 Apr 2024 16:11:38 +0000 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (mail-bn7nam10on20600.outbound.protection.outlook.com [2a01:111:f403:2009::600]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id 28e8001a-018c-11ef-b4bb-af5377834399; Tue, 23 Apr 2024 18:11:36 +0200 (CEST) Received: from BL1PR13CA0270.namprd13.prod.outlook.com (2603:10b6:208:2ba::35) by DS7PR12MB8201.namprd12.prod.outlook.com (2603:10b6:8:ef::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7472.44; Tue, 23 Apr 2024 16:11:31 +0000 Received: from BL02EPF00021F69.namprd02.prod.outlook.com (2603:10b6:208:2ba:cafe::95) by BL1PR13CA0270.outlook.office365.com (2603:10b6:208:2ba::35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7519.21 via Frontend Transport; Tue, 23 Apr 2024 16:11:28 +0000 Received: from SATLEXMB03.amd.com (165.204.84.17) by BL02EPF00021F69.mail.protection.outlook.com (10.167.249.5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.7519.19 via Frontend Transport; Tue, 23 Apr 2024 16:11:28 +0000 Received: from SATLEXMB08.amd.com (10.181.40.132) by SATLEXMB03.amd.com (10.181.40.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Tue, 23 Apr 2024 11:11:25 -0500 Received: from SATLEXMB03.amd.com (10.181.40.144) by SATLEXMB08.amd.com (10.181.40.132) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Tue, 23 Apr 2024 09:11:24 -0700 Received: from XIR-MICHALO-L1.xilinx.com (10.180.168.240) by SATLEXMB03.amd.com (10.181.40.144) with Microsoft SMTP Server id 15.1.2507.35 via Frontend Transport; Tue, 23 Apr 2024 11:11:23 -0500 X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 28e8001a-018c-11ef-b4bb-af5377834399 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bFy4EEzZMNLkwyoUE/gOG0ZoZoFYyr1o26Ck3jFdExCTSrXz3R1yR54hW9ROWPlcmtx+Mq9q2RVlD5hxDvaLUGx2hqEX+m/88+BRs70oDyeSwPsEn7tb8p2EX1ej/GutScJqOA9NYhHcv/4F9QdHDYahetmdIuiRFPzjb+MwU/6E83I+4yEmFs7u6r7V7B7i42KWxH6QynsKvxCBbSOjN/pGfrCm+lEjfH32httLZzO1MsbcDWJqZmKIbYU3eiJjMkD8l4nsdlQYJovTaw779ksrcdCHV8mZM+I+gIePtLz79n178FOObIXOJW7FhxM6HZ/tR6GBumwOT8TGsg8lLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=JjdVbcN1C9Efa16EYslsbc9VOceVtWp5Bqy/1aQNcBs=; b=PTsDIO4+El0sCwidfqB4qCKjcbUsHFt9ihgw3ZQ6ZGB3+gMKdXo6jcvN0fm8sT3snfE/wD+LjyMTly9rFJcrEtZP/pw6lv8rnQJMrLVJ8HazTRxQVENVEPSZD3ereLbCjquxk2fZkowA1LUaKQJSSWLOLQbnW9RTe9QqggiuS4yJ4tA9PoOC7TjD5z6TF+onyFbDSd99nfLrVbM91cuz9qx6gvcS6odMfFTEY5eoj9hdLVPNOCf3YzP1GQS2K+40TZwff9eQWavaoKFn2Isv7VrAmuPjxPb3MSck4uJjr0f0BrL8oMILpVdxw1gEy0Q5lApmUnJryXty98N8LE9Dbg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=lists.xenproject.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=JjdVbcN1C9Efa16EYslsbc9VOceVtWp5Bqy/1aQNcBs=; b=HLSoKL07HNT6dsRUzzcdBJ6+YcqfzPPluB4JKPyKORzqU3kVWkK/WrbsH1YbTgeYwmQDNT3J0FEs35ssgDkEdeG0GDjlk9u5twPrNMFUnm5hd/qxsrJQ+wQZLg2VOAlPkZl6OeixT0/zW+QlpPEGrU13d5dXOnMpHomGqsdrTtI= X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB03.amd.com; pr=C From: Michal Orzel To: CC: Michal Orzel , Doug Goldstein , Stefano Stabellini Subject: [PATCH 1/3] automation: Drop some of the non-debug variants of the same Arm jobs Date: Tue, 23 Apr 2024 18:11:19 +0200 Message-ID: <20240423161121.138536-2-michal.orzel@amd.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240423161121.138536-1-michal.orzel@amd.com> References: <20240423161121.138536-1-michal.orzel@amd.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BL02EPF00021F69:EE_|DS7PR12MB8201:EE_ X-MS-Office365-Filtering-Correlation-Id: aed470c3-b726-4ad1-f252-08dc63b0085d X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: EppKgblmDfnMuAGGpQPnF993bM7mlaSHPVIERaW1vIcIBjp8mOlfJgQaubD9CR62B4qKx79l1aKrorjUgX85qv7+1KX/KcaM9VT0RWx+HOGemqqF0uTJN1xJR9l1mPAtPhBRp8Pmw7HIwaEGcM97PxBU7lakvHiAXzaWKASGItSRXmWKPCk4fTiRtq7gmAdeCmiqnNaGN8ebaV6pgakAHdxY3EDcHOeUEwrQUD4hogPWy682JVie6/5wF7UAJMYd47Ydb2HiFvcMbFh6UDh1VXGzAihh4c55Nb/zFbwRDcs0K+PWoKUjSQWuf/CD+v9Kt2qLv3KK7IEocUL9hGR4TbpCXwjkpCPXfG2yRoMX21CQQQv/+IjbIDuJ4wW2CLTXncIHSCQKEL1w1mUdGiAktduFlWCPLDmGTXTplrsmyHks7qJvega9xoXwL2pCzry4KIJa1WSGLbjrI9gQU/4JKQIgyoZl2YgYR5vHxUVRLqcLoi5k8MDEpoDjmDBl4WF5+CCVh4AAOUcNjyTCeongtbgTN9MIPKHKSDKcKFhSgPpT6v1guy+xgWYEHxRLbDXMCduN2WJ2YLu23wOvw1DrUzKU9m7GltBvo42D2ijN+qR+3v6IagzGrP8kb/YMeXUtOxEP2E3unQdiGP20/LVUHf5kVMxEgJYgvGoZskVHQHDWqWNnpivQVXv6Cs0qf8zaUXTpciZ2qDlS0PKJ/azVzw1rkdUcHY5Ngu+VsWTMy35+1jC5k2i8Jn/8otugu9U/WX7/NyIzmMGYaLzzsQts2Mce2ziBq12KUjAk3hNgYHz7Zc0KxiX9pXWwEhjZY7FQ/GKgVnn8rPluLBQeJVJkD4y4nKE5bAGTqWJgoacFcJ9jsga7VnTEVRL5OH+6l1fChmrmrUtGnq+xKdZu3cdIxjZNPYM9Xdo850inJL+ZKJdOuecn+jo8GBRW8S60ytlpgTAEpZGFJoMIX0ZxwOaRcQqc/qOV3ytSAg71N512XPyn3FOQompCyh/r/mrRyl4RbuiLD1JBGJFBQA/AydZ2yX+91aVSV2Ue9xYG4117z41+vrndA6g5J0oqHaDVpEEi4zIy4dzPq2FEVAHUH1WVAGdyXPcMCOygqkj6TLojYrrEdowXb2hlW5fNaLgO9MmHx59QUdLO/oEAuRi4yOwWFoZSnK7J5QOjMR45d6PVZptL0TpbWn6DvCsfaEbWg513nil8bM/fbBV5km81FiF+Xw3r+EX2+JvHp6TN/gMEF/coORL8WhUcETNGwRIaJtv5HmdrdlZeTNqhbF30kH9iIxiCQNfUH9BCwV7ytLWHLJMkSKSCzONeRN7v8o8qBimSmPHq0Q7gkyBFFp7tBPU6DLQ0EOVguV9BVo3oqfyze6qO3XdJrqRDkD7jOHm6j25F X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:SATLEXMB03.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230031)(1800799015)(36860700004)(82310400014)(376005);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Apr 2024 16:11:28.5067 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: aed470c3-b726-4ad1-f252-08dc63b0085d X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXMB03.amd.com] X-MS-Exchange-CrossTenant-AuthSource: BL02EPF00021F69.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS7PR12MB8201 To save some bandwith that can be later on used to increase the test coverage by adding new tests, drop the following non-debug test/build jobs existing in both debug and non-debug variants: - static memory (arm64, arm32) - static shared memory (arm64) - static heap (arm64) - boot cpupools (arm64) - gzip (arm32) More generic tests existing in both variants were left unmodified. Signed-off-by: Michal Orzel Acked-by: Stefano Stabellini --- automation/gitlab-ci/build.yaml | 38 -------------------------- automation/gitlab-ci/test.yaml | 48 --------------------------------- 2 files changed, 86 deletions(-) diff --git a/automation/gitlab-ci/build.yaml b/automation/gitlab-ci/build.yaml index aac29ee13ab6..f3c934471f32 100644 --- a/automation/gitlab-ci/build.yaml +++ b/automation/gitlab-ci/build.yaml @@ -392,16 +392,6 @@ debian-bookworm-gcc-arm32-debug-randconfig: HYPERVISOR_ONLY: y RANDCONFIG: y -debian-bookworm-gcc-arm32-staticmem: - extends: .gcc-arm32-cross-build - variables: - CONTAINER: debian:bookworm-arm64v8-arm32-gcc - HYPERVISOR_ONLY: y - EXTRA_XEN_CONFIG: | - CONFIG_EXPERT=y - CONFIG_UNSUPPORTED=y - CONFIG_STATIC_MEMORY=y - debian-bookworm-gcc-arm32-debug-staticmem: extends: .gcc-arm32-cross-build-debug variables: @@ -458,15 +448,6 @@ alpine-3.18-gcc-debug-arm64-randconfig: CONTAINER: alpine:3.18-arm64v8 RANDCONFIG: y -alpine-3.18-gcc-arm64-staticmem: - extends: .gcc-arm64-build - variables: - CONTAINER: alpine:3.18-arm64v8 - EXTRA_XEN_CONFIG: | - CONFIG_EXPERT=y - CONFIG_UNSUPPORTED=y - CONFIG_STATIC_MEMORY=y - alpine-3.18-gcc-debug-arm64-staticmem: extends: .gcc-arm64-build-debug variables: @@ -476,15 +457,6 @@ alpine-3.18-gcc-debug-arm64-staticmem: CONFIG_UNSUPPORTED=y CONFIG_STATIC_MEMORY=y -alpine-3.18-gcc-arm64-static-shared-mem: - extends: .gcc-arm64-build - variables: - CONTAINER: alpine:3.18-arm64v8 - EXTRA_XEN_CONFIG: | - CONFIG_UNSUPPORTED=y - CONFIG_STATIC_MEMORY=y - CONFIG_STATIC_SHM=y - alpine-3.18-gcc-debug-arm64-static-shared-mem: extends: .gcc-arm64-build-debug variables: @@ -494,16 +466,6 @@ alpine-3.18-gcc-debug-arm64-static-shared-mem: CONFIG_STATIC_MEMORY=y CONFIG_STATIC_SHM=y -alpine-3.18-gcc-arm64-boot-cpupools: - extends: .gcc-arm64-build - variables: - CONTAINER: alpine:3.18-arm64v8 - EXTRA_XEN_CONFIG: | - CONFIG_EXPERT=y - CONFIG_UNSUPPORTED=y - CONFIG_SCHED_NULL=y - CONFIG_BOOT_TIME_CPUPOOLS=y - alpine-3.18-gcc-debug-arm64-boot-cpupools: extends: .gcc-arm64-build-debug variables: diff --git a/automation/gitlab-ci/test.yaml b/automation/gitlab-ci/test.yaml index 8b7b2e4da92d..55a7831ad292 100644 --- a/automation/gitlab-ci/test.yaml +++ b/automation/gitlab-ci/test.yaml @@ -255,14 +255,6 @@ qemu-smoke-dom0less-arm64-gcc-debug: - *arm64-test-needs - alpine-3.18-gcc-debug-arm64 -qemu-smoke-dom0less-arm64-gcc-staticmem: - extends: .qemu-arm64 - script: - - ./automation/scripts/qemu-smoke-dom0less-arm64.sh static-mem 2>&1 | tee ${LOGFILE} - needs: - - *arm64-test-needs - - alpine-3.18-gcc-arm64-staticmem - qemu-smoke-dom0less-arm64-gcc-debug-staticmem: extends: .qemu-arm64 script: @@ -271,14 +263,6 @@ qemu-smoke-dom0less-arm64-gcc-debug-staticmem: - *arm64-test-needs - alpine-3.18-gcc-debug-arm64-staticmem -qemu-smoke-dom0less-arm64-gcc-staticheap: - extends: .qemu-arm64 - script: - - ./automation/scripts/qemu-smoke-dom0less-arm64.sh static-heap 2>&1 | tee ${LOGFILE} - needs: - - *arm64-test-needs - - alpine-3.18-gcc-arm64 - qemu-smoke-dom0less-arm64-gcc-debug-staticheap: extends: .qemu-arm64 script: @@ -287,14 +271,6 @@ qemu-smoke-dom0less-arm64-gcc-debug-staticheap: - *arm64-test-needs - alpine-3.18-gcc-debug-arm64 -qemu-smoke-dom0less-arm64-gcc-static-shared-mem: - extends: .qemu-arm64 - script: - - ./automation/scripts/qemu-smoke-dom0less-arm64.sh static-shared-mem 2>&1 | tee ${LOGFILE} - needs: - - *arm64-test-needs - - alpine-3.18-gcc-arm64-static-shared-mem - qemu-smoke-dom0less-arm64-gcc-debug-static-shared-mem: extends: .qemu-arm64 script: @@ -303,14 +279,6 @@ qemu-smoke-dom0less-arm64-gcc-debug-static-shared-mem: - *arm64-test-needs - alpine-3.18-gcc-debug-arm64-static-shared-mem -qemu-smoke-dom0less-arm64-gcc-boot-cpupools: - extends: .qemu-arm64 - script: - - ./automation/scripts/qemu-smoke-dom0less-arm64.sh boot-cpupools 2>&1 | tee ${LOGFILE} - needs: - - *arm64-test-needs - - alpine-3.18-gcc-arm64-boot-cpupools - qemu-smoke-dom0less-arm64-gcc-debug-boot-cpupools: extends: .qemu-arm64 script: @@ -359,14 +327,6 @@ qemu-smoke-dom0less-arm32-gcc-debug: - *arm32-test-needs - debian-bookworm-gcc-arm32-debug -qemu-smoke-dom0less-arm32-gcc-staticmem: - extends: .qemu-arm32 - script: - - ./automation/scripts/qemu-smoke-dom0less-arm32.sh static-mem 2>&1 | tee ${LOGFILE} - needs: - - *arm32-test-needs - - debian-bookworm-gcc-arm32-staticmem - qemu-smoke-dom0less-arm32-gcc-debug-staticmem: extends: .qemu-arm32 script: @@ -375,14 +335,6 @@ qemu-smoke-dom0less-arm32-gcc-debug-staticmem: - *arm32-test-needs - debian-bookworm-gcc-arm32-debug-staticmem -qemu-smoke-dom0less-arm32-gcc-gzip: - extends: .qemu-arm32 - script: - - ./automation/scripts/qemu-smoke-dom0less-arm32.sh gzip 2>&1 | tee ${LOGFILE} - needs: - - *arm32-test-needs - - debian-bookworm-gcc-arm32 - qemu-smoke-dom0less-arm32-gcc-debug-gzip: extends: .qemu-arm32 script: From patchwork Tue Apr 23 16:11:20 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Orzel X-Patchwork-Id: 13640318 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D83A1C4345F for ; Tue, 23 Apr 2024 16:12:00 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.710909.1110489 (Exim 4.92) (envelope-from ) id 1rzIkG-0001bS-Mu; Tue, 23 Apr 2024 16:11:48 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 710909.1110489; Tue, 23 Apr 2024 16:11:48 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1rzIkG-0001bL-JT; Tue, 23 Apr 2024 16:11:48 +0000 Received: by outflank-mailman (input) for mailman id 710909; Tue, 23 Apr 2024 16:11:47 +0000 Received: from se1-gles-sth1-in.inumbo.com ([159.253.27.254] helo=se1-gles-sth1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1rzIkF-0001Zp-Nd for xen-devel@lists.xenproject.org; Tue, 23 Apr 2024 16:11:47 +0000 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on20618.outbound.protection.outlook.com [2a01:111:f400:7e88::618]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id 2df11c43-018c-11ef-909a-e314d9c70b13; Tue, 23 Apr 2024 18:11:46 +0200 (CEST) Received: from BYAPR21CA0025.namprd21.prod.outlook.com (2603:10b6:a03:114::35) by PH7PR12MB5926.namprd12.prod.outlook.com (2603:10b6:510:1d9::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7472.44; Tue, 23 Apr 2024 16:11:35 +0000 Received: from SJ1PEPF00001CE6.namprd03.prod.outlook.com (2603:10b6:a03:114:cafe::1e) by BYAPR21CA0025.outlook.office365.com (2603:10b6:a03:114::35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7544.8 via Frontend Transport; Tue, 23 Apr 2024 16:11:35 +0000 Received: from SATLEXMB04.amd.com (165.204.84.17) by SJ1PEPF00001CE6.mail.protection.outlook.com (10.167.242.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.7519.19 via Frontend Transport; Tue, 23 Apr 2024 16:11:34 +0000 Received: from SATLEXMB08.amd.com (10.181.40.132) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Tue, 23 Apr 2024 11:11:26 -0500 Received: from SATLEXMB03.amd.com (10.181.40.144) by SATLEXMB08.amd.com (10.181.40.132) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Tue, 23 Apr 2024 09:11:25 -0700 Received: from XIR-MICHALO-L1.xilinx.com (10.180.168.240) by SATLEXMB03.amd.com (10.181.40.144) with Microsoft SMTP Server id 15.1.2507.35 via Frontend Transport; Tue, 23 Apr 2024 11:11:25 -0500 X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 2df11c43-018c-11ef-909a-e314d9c70b13 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=igjo4Uzm6h2sHhG/pkSpdgG/XpaHs5UQ1VIXuwCreOasEZq0/PrnjmYGlCVQ5DkpPbnX7llcDsKYxXgLzAP/hZGBULgxlBUJRDRNfB3HEpIu7Ol9Akhpx1T+onwky5r3ckh9b1dSQx+IMBEg6+yfW0/LaskDnTYW/kMqKuxIRVl5i6w72FJW2QLOTCTmbQizofbd6FolDaC6oi+gJUe2Y1Ptt1+fJOBz+4vZie+XeKUfCd7AhCFQXAUmK0ziBw4ofAOtSRUMl6wBTQRkJ+Ns6rgzwE2aLFHKXT2ByTzTWu0mu1nDJF1gUedjKD/KVVadNYKr6pHsXYlYCAhmQ7El3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=x02jqpzQR1c1xv7L9dBTsmFCQM3ycPibIahZ0tRyspE=; b=KH2m0rrkzyCUZXT1TE2sm8d58CnfLPoltCuaI1VxrLMzvWZn8On041hz14Aq5cKsNFBQsVtGRaAu4aeHhGOJ6vnb2Lu3jGT9EDobWDI0SsY01vmoXvfaJwzQcCsmDb3Ulx0EPLn99cLKDqZ4b+qhUg8hPryB8qIWKEQjKjXY+1ztP8oe/7mNhFj1DUwuaEYQJAQrlzhcliZJBfPaT+fXLemjcSgMYNxl+fLr+LcLnHasL6RGABQNLOh6HsQM/w3h/WR3KgJyVRw5n9Y9idEjAsxanzucvf+EbGtz+D0+oORg2iVGhcR+/ccNf+kPCg6ZcnAtZE4hqP6IY4UXF7k/gg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=lists.xenproject.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=x02jqpzQR1c1xv7L9dBTsmFCQM3ycPibIahZ0tRyspE=; b=OJTygNL+aPE4CP+HizGt6zJv64WC+0DVtUEJUrdBB8Mp0GbfCPBiMTgxH7Clx4QyqfUrw1yxjumkcgsSiPQQOArfrR8wwWpCCsTuA/gGp9RFIYm40FYshB1/MQyfA2CT1qlQEBvpAt/S26zgflkNVN5J+f0yZ3+WB8apqmHxouI= X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C From: Michal Orzel To: CC: Michal Orzel , Doug Goldstein , Stefano Stabellini Subject: [PATCH 2/3] automation: Add arm{64,32} earlyprintk jobs Date: Tue, 23 Apr 2024 18:11:20 +0200 Message-ID: <20240423161121.138536-3-michal.orzel@amd.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240423161121.138536-1-michal.orzel@amd.com> References: <20240423161121.138536-1-michal.orzel@amd.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ1PEPF00001CE6:EE_|PH7PR12MB5926:EE_ X-MS-Office365-Filtering-Correlation-Id: 93faab0b-3499-4327-5573-08dc63b00c46 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: uJikoYZvFIz2lMFagoqlgBgQh6O/uocdmSzim0m1MgNPMTG8BdRcJ0BB8gU8F8nEmNj4B2wMeb5+PiE9pvzPqJfzbF4oYDTJ1/C/BInuFP7qwBkwRXVUsh8H79FP29WOzsGrrDGBX4zgn5PyIQjAdXLuDYl7f2ymCvOmZHtokkaJwURGdg2OqUtjyRMTaMgN3OfMCTe4w1kW//H6UP1fVKpeY2Y3OsFtIB10KaAcf7ugbUOwH7u1eVMu84VMs6gs5cB+A7ezRV/2WpvxQGfPVqf+lGuzLnWajqmm4qHOXr4IdkAXHjq3zSH4YVB506/pwsc2K07hj5zxxv1c30ATUL3Kf/EN2D8W+kiuNDWNvklKiBMX/1nFQr9gaSd5yQaaK7chFdsYBvjb4KwyVr8jlJcSVVqi0M1rrfACygsWRPAjj9NC0z5NS1e49vQLxp/GOLu6DzW4GXuH+n7c//p6gHPr/QD7TbBlmjnFeKqQetgfZ3+1Kyjv6bkPgRHibYyoGVMdZ4xnOzJnqUH99mxhdJOTSnK3vxjg57cPV7UHQLAL+NK3V91LJFIwrLk1XNVY9hW9ZsXm/G7poKrGfB4LifZ44CyjgQEanFutt448gOiKmblRjk+ZjrcLhiYMPMsPGpJtTwIQBFW8UZ3TmQzngGSNOmf6Lp5ZDcDQt1iOjiZ2CT216TtQVBKi9PfsT0nAVWDtS4MpSs6jF4hDBSrv0gbe9E3UXEK3kMh6gW2dotXmAEbBsSWeAHRgGMnaEB5zz624K5JiO7wkTbzzMzFoG2oZq/A5JpMrMdywW7oFWElZUkWJQ4Nv1EV9lxhl+6hGeErwp8nULqpSqVqUX/RUV2hADN1r344jMdTVbULx2O309Qgg1fnBIkpVdNsGD8FSE30jlZ/MNZZnVpbsmpb7kZi47GCp7fB4hqHZgLXuYON8M4FlGeMugoMYXatdvfQyZRMlmHnUD/4SNU6goz34pGoVXjpox501QH6CRD4qYBI4y0rOZ6/3Teg4L+LXYjvdnfBt2h9umbVrBFHqcJKSzCaUWr/FWaAmTsWp4V9fwCzyWB2dcsIfCNNoYTBfdlZl1kuCT5RjuL5nAVLsSNrso8eUSEfq6VtoowWO4Ywa91qWb2Unqwh9Vcpz5npgSfPgzeGVY3X8UCDz6uVqVrAGbLD69/6Z3zEnueBZmHGvNRUxN6oMug9g4DfRuNE3EbLDLulSDpiXHusUeB6DkrZPL7HpaI812ndWfpTaAyXJKVTlXsGUvPu7KNh9Mf0GEOCbC5lsbkAOzq9AnRjPnnwWENe8KtBjIFt34N6Q8ZSLd1A499yylc5+dp7NcxR1wzpcZDhPpDZgkVTeloWdSXByJgWk3OFxFv6ZbNo+f0V2QmerGk1VOIklAFlcV6dHvrPw X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:SATLEXMB04.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230031)(36860700004)(376005)(82310400014)(1800799015);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Apr 2024 16:11:34.9847 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 93faab0b-3499-4327-5573-08dc63b00c46 X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: SJ1PEPF00001CE6.namprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR12MB5926 Introduce qemu based Arm earlyprintk test and build jobs to cover this feature in debug variant. The tests simply check for the presence of the last message printed by the bootstrap code before entering the C world. Signed-off-by: Michal Orzel Reviewed-by: Stefano Stabellini --- automation/gitlab-ci/build.yaml | 17 +++++++++++++++++ automation/gitlab-ci/test.yaml | 16 ++++++++++++++++ automation/scripts/qemu-smoke-dom0less-arm32.sh | 7 +++++++ automation/scripts/qemu-smoke-dom0less-arm64.sh | 5 +++++ 4 files changed, 45 insertions(+) diff --git a/automation/gitlab-ci/build.yaml b/automation/gitlab-ci/build.yaml index f3c934471f32..49d6265ad5b4 100644 --- a/automation/gitlab-ci/build.yaml +++ b/automation/gitlab-ci/build.yaml @@ -402,6 +402,15 @@ debian-bookworm-gcc-arm32-debug-staticmem: CONFIG_UNSUPPORTED=y CONFIG_STATIC_MEMORY=y +debian-bookworm-gcc-arm32-debug-earlyprintk: + extends: .gcc-arm32-cross-build-debug + variables: + CONTAINER: debian:bookworm-arm64v8-arm32-gcc + HYPERVISOR_ONLY: y + EXTRA_XEN_CONFIG: | + CONFIG_EARLY_UART_CHOICE_PL011=y + CONFIG_EARLY_UART_BASE_ADDRESS=0x9000000 + # Arm builds debian-bookworm-gcc-arm64: @@ -473,6 +482,14 @@ alpine-3.18-gcc-debug-arm64-boot-cpupools: EXTRA_XEN_CONFIG: | CONFIG_BOOT_TIME_CPUPOOLS=y +alpine-3.18-gcc-debug-arm64-earlyprintk: + extends: .gcc-arm64-build-debug + variables: + CONTAINER: alpine:3.18-arm64v8 + EXTRA_XEN_CONFIG: | + CONFIG_EARLY_UART_CHOICE_PL011=y + CONFIG_EARLY_UART_BASE_ADDRESS=0x9000000 + # RISC-V 64 cross-build .riscv-fixed-randconfig: variables: &riscv-fixed-randconfig diff --git a/automation/gitlab-ci/test.yaml b/automation/gitlab-ci/test.yaml index 55a7831ad292..1e5d86763f6c 100644 --- a/automation/gitlab-ci/test.yaml +++ b/automation/gitlab-ci/test.yaml @@ -287,6 +287,14 @@ qemu-smoke-dom0less-arm64-gcc-debug-boot-cpupools: - *arm64-test-needs - alpine-3.18-gcc-debug-arm64-boot-cpupools +qemu-smoke-dom0less-arm64-gcc-debug-earlyprintk: + extends: .qemu-arm64 + script: + - ./automation/scripts/qemu-smoke-dom0less-arm64.sh earlyprintk 2>&1 | tee ${LOGFILE} + needs: + - *arm64-test-needs + - alpine-3.18-gcc-debug-arm64-earlyprintk + qemu-xtf-dom0less-arm64-gcc-hyp-xen-version: extends: .qemu-arm64 script: @@ -359,6 +367,14 @@ qemu-smoke-dom0less-arm32-gcc-debug-without-dom0: - *arm32-test-needs - debian-bookworm-gcc-arm32-debug +qemu-smoke-dom0less-arm32-gcc-debug-earlyprintk: + extends: .qemu-arm32 + script: + - ./automation/scripts/qemu-smoke-dom0less-arm32.sh earlyprintk 2>&1 | tee ${LOGFILE} + needs: + - *arm32-test-needs + - debian-bookworm-gcc-arm32-debug-earlyprintk + qemu-alpine-x86_64-gcc: extends: .qemu-x86-64 script: diff --git a/automation/scripts/qemu-smoke-dom0less-arm32.sh b/automation/scripts/qemu-smoke-dom0less-arm32.sh index e31b6b9014e1..1e2b939aadf7 100755 --- a/automation/scripts/qemu-smoke-dom0less-arm32.sh +++ b/automation/scripts/qemu-smoke-dom0less-arm32.sh @@ -53,6 +53,13 @@ echo \"${passed}\" " fi +if [[ "${test_variant}" == "earlyprintk" ]]; then + # Clear dom0 prompt + dom0_prompt="" + # Last early printk message before entering C world + passed="\- Ready \-" +fi + # dom0/domU rootfs # We are using the same rootfs for dom0 and domU. The only difference is # that for the former, we set explictly rdinit to /bin/sh, whereas for the diff --git a/automation/scripts/qemu-smoke-dom0less-arm64.sh b/automation/scripts/qemu-smoke-dom0less-arm64.sh index e748b8ef1699..fc943a1a622c 100755 --- a/automation/scripts/qemu-smoke-dom0less-arm64.sh +++ b/automation/scripts/qemu-smoke-dom0less-arm64.sh @@ -61,6 +61,11 @@ fi " fi +if [[ "${test_variant}" == "earlyprintk" ]]; then + # Last early printk message before entering C world + passed="\- Ready \-" +fi + # XXX QEMU looks for "efi-virtio.rom" even if it is unneeded curl -fsSLO https://github.com/qemu/qemu/raw/v5.2.0/pc-bios/efi-virtio.rom ./binaries/qemu-system-aarch64 \ From patchwork Tue Apr 23 16:11:21 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Orzel X-Patchwork-Id: 13640316 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 106D8C04FFE for ; Tue, 23 Apr 2024 16:11:51 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.710906.1110458 (Exim 4.92) (envelope-from ) id 1rzIk4-0000kQ-Tu; Tue, 23 Apr 2024 16:11:36 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 710906.1110458; Tue, 23 Apr 2024 16:11:36 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1rzIk4-0000kJ-RA; Tue, 23 Apr 2024 16:11:36 +0000 Received: by outflank-mailman (input) for mailman id 710906; Tue, 23 Apr 2024 16:11:35 +0000 Received: from se1-gles-flk1-in.inumbo.com ([94.247.172.50] helo=se1-gles-flk1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1rzIk3-0000jr-6E for xen-devel@lists.xenproject.org; Tue, 23 Apr 2024 16:11:35 +0000 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11on20601.outbound.protection.outlook.com [2a01:111:f403:2416::601]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id 25f64e7f-018c-11ef-b4bb-af5377834399; Tue, 23 Apr 2024 18:11:33 +0200 (CEST) Received: from BL0PR0102CA0065.prod.exchangelabs.com (2603:10b6:208:25::42) by CY8PR12MB8215.namprd12.prod.outlook.com (2603:10b6:930:77::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7472.44; Tue, 23 Apr 2024 16:11:29 +0000 Received: from BL02EPF00021F68.namprd02.prod.outlook.com (2603:10b6:208:25:cafe::3b) by BL0PR0102CA0065.outlook.office365.com (2603:10b6:208:25::42) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7519.22 via Frontend Transport; Tue, 23 Apr 2024 16:11:28 +0000 Received: from SATLEXMB03.amd.com (165.204.84.17) by BL02EPF00021F68.mail.protection.outlook.com (10.167.249.4) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.7519.19 via Frontend Transport; Tue, 23 Apr 2024 16:11:28 +0000 Received: from SATLEXMB08.amd.com (10.181.40.132) by SATLEXMB03.amd.com (10.181.40.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Tue, 23 Apr 2024 11:11:27 -0500 Received: from SATLEXMB03.amd.com (10.181.40.144) by SATLEXMB08.amd.com (10.181.40.132) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Tue, 23 Apr 2024 09:11:27 -0700 Received: from XIR-MICHALO-L1.xilinx.com (10.180.168.240) by SATLEXMB03.amd.com (10.181.40.144) with Microsoft SMTP Server id 15.1.2507.35 via Frontend Transport; Tue, 23 Apr 2024 11:11:26 -0500 X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 25f64e7f-018c-11ef-b4bb-af5377834399 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GL1MXw3v3krDKeXNohm5oVubMUFY4YgPWIAb6SBNxqgipah2RfAHj+ET9aWj72uBakS0OfNbWdQtADLXzMvU0w+e4dAycuqGVtE0BrJexZxG3V/fiBMpjPLXOhnINIPE9vc8aE3I7cvy1VYLd9t7FCx0Trg0fwnJxbSnQMrmMNq1EzCA02lGUpardRueam+Mc5Uyk9VssKXNH9V13M33js4OXEi32d+C/PeGkiYboqhQw/r/QVBsGXXATHEpkV4bOncQCvxPUzts8xc0/MQtjIzNwKfu7K8JJiTGGBZCsPqdPCJXId+jzU1KwgG8gdsgT4dkblb6MCCbfvm4ADFgfg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=r2zWqE04jldfd294CAby8dj98qrqQ+RxFMatI9jhagI=; b=oclH5efEiNTlQywMfRD28meMUxm8nkPJwzzBcNzFAK/xWWicRxA13134tcKvSoJ6w+Xg8EGj+U0kKIvPJQCO0JhhJBQ4Ey1vV7dyUfyiDzCpeu7PuLlcm1lVmqH97xJeMGWf9W8y3Vftvy427eC0MYuGGTdCXa+BK0+PBnuJJOpYAaXJ5ZbKmNGHjnjvBCytG0x+8JWNKnMi1oRzsDahqsNxohzMtdY9/9flcXYBYKweI9WR77/4XlG09v26iqZiLOuQ/hnaptkPzyQNbdRA71ElaQXeBbrSsJoeGxvaK3r23pAlg+quoTotQZCF1S3OEiI08VYec5XtpWhfhf6eJg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=lists.xenproject.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=r2zWqE04jldfd294CAby8dj98qrqQ+RxFMatI9jhagI=; b=lRAFrthl8yE+PyPV/0F8U2CsCzWZ+brvFrTQdZ/1Cy4ZqTnYGsp74ftUbfTPigiF2sj9HAnzuQL6A+QejHt7quuC0hAV4IJz4Z7YBdX7QHPxTT1QBHnmiRiEljz8PgqgLFVTp9tYJjUHBr79lI3pO5t3jyVIwjzTGxfhzw0J0eA= X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB03.amd.com; pr=C From: Michal Orzel To: CC: Michal Orzel , Doug Goldstein , Stefano Stabellini Subject: [PATCH 3/3] automation: Add arm64 test for running Xen with GICv3 Date: Tue, 23 Apr 2024 18:11:21 +0200 Message-ID: <20240423161121.138536-4-michal.orzel@amd.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240423161121.138536-1-michal.orzel@amd.com> References: <20240423161121.138536-1-michal.orzel@amd.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BL02EPF00021F68:EE_|CY8PR12MB8215:EE_ X-MS-Office365-Filtering-Correlation-Id: 65d1dc0f-25d2-4bc7-9f72-08dc63b0086e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Tz5biQftIAWAfIAS7xWVGRRZ4DTSF+xwPXp76iFbWIxa+P2yeJR0zVKT4o6khcpBNcYl7SrDL06cVu3F/2CcBJZWxvUNQ6ACshd+MEcJ2Hg3zaRTD3XLAeSftAoJkZLyvmRt8r39Zfac4x1voI98qwhzr3zkmlfYnRlee2nS/6pjY6IRb4T+ZxitD9urmWI3osLzj+elyzh0jy3TpaA7IwvaFM3jCPN8yyOEZ7HS8dsvCsATfMvrp6u+fHNV68Yjxr0byI+hPJvJWztKfefhiIWEJCuv1/mHLD5cpL/HOrZ3mugJOPKW6gu4mBcMxK9pq6WHW+YJHUle5Ahp30OFF5vO4uSldX3ygaaUIoQ3ZckRZ14sUQ3YE5VzvfC9+Tg5kf2VLBhbj01DeMYXiQJjEE6vdrmAgL91VtFEgJfg6nxdh7TdDZUKHWzAIF8qDUHkQdMxwQigX7GwYmJnaCHejUxA26yUmjtvV6kCGYUGkKX+BRbMKNzlFLT8vs+OEIBajaLRMJuQsGXeyHBPVPJAV9/kXyyTRitkECLWQkxchtkTainHwfkCMn1UDiSPFHuzgIiq7Pokas6GoQMPUv+S6aunTHZLmzTtW315AHyzkCuSAINyElomFZFSuNDkSBHQjusEFYCQqt2MSGFfEI2+Z3Qql2ADq4IOXH5YstOTHC/KdT2/n7RBCD3VQeAZboW18X6YA8dbM3/+w/tFGvgzwNwbaLa2dft6X/tinIf7lAFHE4H7hdSQvhHTJnijSolBI8qALuzVMg5FfWWJOjHssKaofcf3dnrmeSuymtP2/uAL584GF27xhzQyQAl9ZaPm1FhjhcIOZlUD9CCHKuQUaeX269G0sfpsesY5SzZ6QV3GJJSIMXvO+1IpQc34OPTWFZPXxAAkuTS2uCYbkW8ZgG6xlgnWQC1BL23qywCFLuFFocPn1cxF1SIImwf5RnR/bzUkovewGe9xKA64/VVy5eSDd/UErSZdgVJipvTTqCyNu/1M8iD+Pk09lz/wQgiy93livRIahh+x6Eeow5ymjk+7epsRBKlnwiOAUZ5z0GaL7pMNdmgG35fRNES14ZZ3FptbzmFzaT+L6EBSr41355qX4YWlJfZGKbNZvskbXCZOa2B/IA0DrbEUCoXKFP/nEx8UFu3R1zKU6Pt/pGrb4zRGlYeyjOmXjA03nMcv5E5smKbtIpUwS0E80EdnjEMWyRSbwzyl6VMy2UVvg6q9Vc9P2k5q2FoWx7mHI/33Owjl5X/SjD5vw412CAkavNlZPPYpByaitxzCENZtTjjHwk7n8Gs8Hd31Co0zdVSGkm8mkngWiCisyz1db0DXoGRoDpUsLjb7NDEPNzlxtF5NAzzY91knvxDr7QmrTgGlTU/53/RuvjfSrmDHOKo7AUKA X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:SATLEXMB03.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230031)(82310400014)(376005)(1800799015)(36860700004);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Apr 2024 16:11:28.6316 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 65d1dc0f-25d2-4bc7-9f72-08dc63b0086e X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXMB03.amd.com] X-MS-Exchange-CrossTenant-AuthSource: BL02EPF00021F68.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY8PR12MB8215 At the moment, all the Arm64 Qemu tests use GICv2 which is the default GIC version used by Qemu. Improve the coverage by adding a new test in which Qemu will be configured to have GICv3. Rename host device tree name to "virt.dtb" to be GIC version agnostic. Use "gic-version" Qemu option to select the version to use. Unless the test variant is set to "gicv3", version 2 will be used. Signed-off-by: Michal Orzel Reviewed-by: Stefano Stabellini --- automation/gitlab-ci/test.yaml | 8 ++++++++ .../scripts/qemu-smoke-dom0less-arm64.sh | 19 ++++++++++++++----- 2 files changed, 22 insertions(+), 5 deletions(-) diff --git a/automation/gitlab-ci/test.yaml b/automation/gitlab-ci/test.yaml index 1e5d86763f6c..ad249fa0a5d9 100644 --- a/automation/gitlab-ci/test.yaml +++ b/automation/gitlab-ci/test.yaml @@ -255,6 +255,14 @@ qemu-smoke-dom0less-arm64-gcc-debug: - *arm64-test-needs - alpine-3.18-gcc-debug-arm64 +qemu-smoke-dom0less-arm64-gcc-debug-gicv3: + extends: .qemu-arm64 + script: + - ./automation/scripts/qemu-smoke-dom0less-arm64.sh gicv3 2>&1 | tee ${LOGFILE} + needs: + - *arm64-test-needs + - alpine-3.18-gcc-debug-arm64 + qemu-smoke-dom0less-arm64-gcc-debug-staticmem: extends: .qemu-arm64 script: diff --git a/automation/scripts/qemu-smoke-dom0less-arm64.sh b/automation/scripts/qemu-smoke-dom0less-arm64.sh index fc943a1a622c..292c38a56147 100755 --- a/automation/scripts/qemu-smoke-dom0less-arm64.sh +++ b/automation/scripts/qemu-smoke-dom0less-arm64.sh @@ -4,6 +4,9 @@ set -ex test_variant=$1 +# Default GIC version +gic_version="2" + if [ -z "${test_variant}" ]; then passed="ping test passed" domU_check=" @@ -66,16 +69,22 @@ if [[ "${test_variant}" == "earlyprintk" ]]; then passed="\- Ready \-" fi +if [[ "${test_variant}" == "gicv3" ]]; then + gic_version=3 + passed="${test_variant} test passed" + domU_check="echo \"${passed}\"" +fi + # XXX QEMU looks for "efi-virtio.rom" even if it is unneeded curl -fsSLO https://github.com/qemu/qemu/raw/v5.2.0/pc-bios/efi-virtio.rom ./binaries/qemu-system-aarch64 \ -machine virtualization=true \ - -cpu cortex-a57 -machine type=virt \ + -cpu cortex-a57 -machine type=virt,gic-version=$gic_version \ -m 2048 -smp 2 -display none \ - -machine dumpdtb=binaries/virt-gicv2.dtb + -machine dumpdtb=binaries/virt.dtb # XXX disable pl061 to avoid Linux crash -fdtput binaries/virt-gicv2.dtb -p -t s /pl061@9030000 status disabled +fdtput binaries/virt.dtb -p -t s /pl061@9030000 status disabled # Busybox mkdir -p initrd @@ -138,7 +147,7 @@ cd .. echo 'MEMORY_START="0x40000000" MEMORY_END="0x50000000" -DEVICE_TREE="virt-gicv2.dtb" +DEVICE_TREE="virt.dtb" XEN="xen" DOM0_KERNEL="Image" DOM0_RAMDISK="dom0-rootfs.cpio.gz" @@ -200,7 +209,7 @@ echo " virtio scan; dhcp; tftpb 0x40000000 boot.scr; source 0x40000000"| \ timeout -k 1 240 \ ./binaries/qemu-system-aarch64 \ -machine virtualization=true \ - -cpu cortex-a57 -machine type=virt \ + -cpu cortex-a57 -machine type=virt,gic-version=$gic_version \ -m 2048 -monitor none -serial stdio \ -smp 2 \ -no-reboot \