From patchwork Wed Apr 3 10:19:55 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Oleksii Kurochko X-Patchwork-Id: 13615660 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 0A2EACD1297 for ; Wed, 3 Apr 2024 10:20:33 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.700394.1093459 (Exim 4.92) (envelope-from ) id 1rrxjC-0007ia-Tq; Wed, 03 Apr 2024 10:20:22 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 700394.1093459; Wed, 03 Apr 2024 10:20:22 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1rrxjC-0007iR-PB; Wed, 03 Apr 2024 10:20:22 +0000 Received: by outflank-mailman (input) for mailman id 700394; Wed, 03 Apr 2024 10:20:21 +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 1rrxjB-0007Ob-1I for xen-devel@lists.xenproject.org; Wed, 03 Apr 2024 10:20:21 +0000 Received: from mail-lf1-x136.google.com (mail-lf1-x136.google.com [2a00:1450:4864:20::136]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id c52a6276-f1a3-11ee-a1ef-f123f15fe8a2; Wed, 03 Apr 2024 12:20:18 +0200 (CEST) Received: by mail-lf1-x136.google.com with SMTP id 2adb3069b0e04-513d717269fso7354648e87.0 for ; Wed, 03 Apr 2024 03:20:18 -0700 (PDT) Received: from fedora.. ([94.75.70.14]) by smtp.gmail.com with ESMTPSA id k33-20020a0565123da100b00516a18f9080sm1161237lfv.257.2024.04.03.03.20.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Apr 2024 03:20:16 -0700 (PDT) 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: c52a6276-f1a3-11ee-a1ef-f123f15fe8a2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1712139618; x=1712744418; darn=lists.xenproject.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=+q1lzVVayfJQfryGUoGKVQmKUoZ09Tze7sgRd9CVypw=; b=RfjbFOD3h8qcQh2LXEkjD6CkMxGnsRtF8w8Dz9w6XgDGmFr3EQ3Y+oHxFiN6mFBVwL u8yVaDoaE6f9ZRKjOAfFJzA1ZNm6ordnSRqr8lEq4JdmXLRbsHK5vZZMAFw0B+w/r5Fo Dcn6s+oZCzM2YkRGezAHfzZ9nD7NmCtVDO0cNrfYfD+PtAeVifo2A/oMikg6x0xTuRzi ukvgE31nOomJ6kE6bEYwGvwRVn7gSlIebH7mo7De5B3geUeylalzABj0xYwm8ZRmdgGj n5YjZnxWOF8sNaDpE/gLxDx3Y0RMqmL3/yrGLJycXjXiAb/J05rGID1M0jQD0YITpkjo xHSA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712139618; x=1712744418; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=+q1lzVVayfJQfryGUoGKVQmKUoZ09Tze7sgRd9CVypw=; b=qD3jT5eBPfojqNdLwQiQxxynQoXj2sC3n3gyP3TngaKSzFBGbmeUrTyvlyN1s0TXdn 5dBQBkoqGLoKf2jLzkCKICUvbV4zPybNXHiAKi+Igizx3oPL5QfA+6FtJ5IBoAsjcqZy rY4RfAciZQFhvWbcyWllkcNxOaJDemqmQBrkOo+xFKz4xWMZq7ii9F+Ja1mEEtq+obEG e7y/0rW3BzsBvp3H5tMPyIwir5wjqoO3AOgrfiSiGY7akM0unY6df6vZ82PMOa4cK0ul Wv0XB1gFIe0A//0PV8QYuYxdTk/+cYCMkEVHu7uE59eNqw5oUhJe4up71JsRqjh6dvbA POsg== X-Gm-Message-State: AOJu0Yzz+/8+AcWtEwCItTpatpXX20Y7Tm0KoRooArDibszo9w4sB96H 5I+nTFt+e2N02cPEHbpRAIWVvXnuTUiZ8jC0jU1rtTceC2kVKudoeVU9EIeZ X-Google-Smtp-Source: AGHT+IENkPD+aoYc4Lx3IomE4ZxDGyfeG9JVCynYmKOErkp5iEBTi4pP1Z6aRzD2x8c0P6wK+o6w1w== X-Received: by 2002:a05:6512:3b0f:b0:516:ae65:73d4 with SMTP id f15-20020a0565123b0f00b00516ae6573d4mr6391538lfv.56.1712139617829; Wed, 03 Apr 2024 03:20:17 -0700 (PDT) From: Oleksii Kurochko To: xen-devel@lists.xenproject.org Cc: Oleksii Kurochko , Doug Goldstein , Stefano Stabellini , Alistair Francis , Bob Eshleman , Connor Davis Subject: [PATCH v7 02/19] xen/riscv: disable unnecessary configs Date: Wed, 3 Apr 2024 12:19:55 +0200 Message-ID: X-Mailer: git-send-email 2.43.0 In-Reply-To: References: MIME-Version: 1.0 This patch disables unnecessary configs for two cases: 1. By utilizing EXTRA_FIXED_RANDCONFIG for randconfig builds (GitLab CI jobs). 2. By using tiny64_defconfig for non-randconfig builds. Only configs which lead to compilation issues were disabled. Signed-off-by: Oleksii Kurochko --- Changes in V7: - Disable only configs which cause compilation issues. - Update the commit message. --- Changes in V6: - Nothing changed. Only rebase. --- Changes in V5: - Rebase and drop duplicated configs in EXTRA_FIXED_RANDCONFIG list - Update the commit message --- Changes in V4: - Nothing changed. Only rebase --- Changes in V3: - Remove EXTRA_FIXED_RANDCONFIG for non-randconfig jobs. For non-randconfig jobs, it is sufficient to disable configs by using the defconfig. - Remove double blank lines in build.yaml file before archlinux-current-gcc-riscv64-debug --- Changes in V2: - update the commit message. - remove xen/arch/riscv/Kconfig changes. --- automation/gitlab-ci/build.yaml | 5 +++++ xen/arch/riscv/configs/tiny64_defconfig | 11 +++++------ 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/automation/gitlab-ci/build.yaml b/automation/gitlab-ci/build.yaml index aac29ee13a..43faeaed9c 100644 --- a/automation/gitlab-ci/build.yaml +++ b/automation/gitlab-ci/build.yaml @@ -519,6 +519,11 @@ alpine-3.18-gcc-debug-arm64-boot-cpupools: CONFIG_EXPERT=y CONFIG_GRANT_TABLE=n CONFIG_MEM_ACCESS=n + CONFIG_HYPFS=n + CONFIG_ARGO=n + CONFIG_PERF_COUNTERS=n + CONFIG_LIVEPATCH=n + CONFIG_XSM=n archlinux-current-gcc-riscv64: extends: .gcc-riscv64-cross-build diff --git a/xen/arch/riscv/configs/tiny64_defconfig b/xen/arch/riscv/configs/tiny64_defconfig index 09defe236b..24a807a5f9 100644 --- a/xen/arch/riscv/configs/tiny64_defconfig +++ b/xen/arch/riscv/configs/tiny64_defconfig @@ -1,12 +1,11 @@ -# CONFIG_SCHED_CREDIT is not set -# CONFIG_SCHED_RTDS is not set -# CONFIG_SCHED_NULL is not set -# CONFIG_SCHED_ARINC653 is not set -# CONFIG_TRACEBUFFER is not set # CONFIG_HYPFS is not set # CONFIG_GRANT_TABLE is not set -# CONFIG_SPECULATIVE_HARDEN_ARRAY is not set # CONFIG_MEM_ACCESS is not set +# CONFIG_ARGO is not set +# CONFIG_PERF_COUNTERS is not set +# CONFIG_COVERAGE is not set +# CONFIG_LIVEPATCH is not set +# CONFIG_XSM is not set CONFIG_RISCV_64=y CONFIG_DEBUG=y