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

Re: [PATCH v8 2/7] automation: introduce fixed randconfig for RISC-V


  • To: Oleksii Kurochko <oleksii.kurochko@xxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Michal Orzel <michal.orzel@xxxxxxx>
  • Date: Mon, 12 Feb 2024 09:39:33 +0100
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=gmail.com 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)
  • 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=uIe52IwIOMwVyiVD4eWenPEgNR+wB6cKnopL2Nq3piI=; b=VfSITWes851O4+5oMWU4KnLL+nTDyn42y4geMOa5zL808Jctr6Zq9Ex9Hp3yur4GfySGtmADxnrysTFnKKRjp+36pHDYcI+k1u4sWoUSQgtC851GjftEE8peeUChJT8M7PqbU0gzwM5BHXTtx7y/bWhZ4fbjvov/rh5EjdL61OMSj+rKW4YJd9V9s3UjJaQzbd+la1Rne6U2U+bQoa+YkRpdxahXtny73SW6JmOGaR6v5b0tkEPFvu1aCYTu/Dqq54SGylIzmncPf2a4FxHi/r8Y5v0CeR6hdzfcld9Q+z4EwUV8ONBiDXxpC+vdAo3n8+Se6wanZmg9uUGxNkVa5Q==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HI7eeQk5UNzIYRwUMH2l5HT+BEs5/WWav6ZSd3y++YBze+ylAvpayKWiYDNrv+lBW28vMQWrHx/cIYPUnNhvXsJ9Vd2Tf6mKkTlydHSoLwyEvjwweLmCVyiU7kN/q206Yywuh2AnjTVSCfsK/8U23cYwBZTbbpcVb038huvZsdq/vqzeOf5Iu42If1sPpDOhRr/B9mp6LY0PX9vhQVeyM8n6ZiMFLM9Fnt3qv4WsnJqJ0/wYesx+mAQbxpCw/PdpKthfNbhskhSc0QETC092JddwV07CQ8Nff4WgV7rGjHK52QLaIJx7HM5TXhR62+V+t/jImy94ThHxrymZLRvlHQ==
  • Cc: Doug Goldstein <cardoe@xxxxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>
  • Delivery-date: Mon, 12 Feb 2024 08:39:53 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

Hi Oleksii,

On 09/02/2024 19:00, Oleksii Kurochko wrote:
> 
> 
> This patch introduces the file riscv-fixed-randconfig.yaml,
> which includes all configurations that should be disabled for
> randconfig builds.
> 
> Suggested-by: Stefano Stabellini <sstabellini@xxxxxxxxxx>
> Signed-off-by: Oleksii Kurochko <oleksii.kurochko@xxxxxxxxx>
> ---
> The patch were introduced after discussion in a topic:
>  
> https://lore.kernel.org/xen-devel/cover.1701966261.git.oleksii.kurochko@xxxxxxxxx/
>  ---
> Changes in V8:
>  - Nothing changed. Only rebase
> ---
> Changes in V7:
>  - Nothing changed. Only rebase
> ---
> Changes in V6:
>  - The patch was introduced in this version of patch series.
> ---
>  automation/gitlab-ci/build.yaml                  | 8 ++++----
>  automation/gitlab-ci/riscv-fixed-randconfig.yaml | 7 +++++++
>  2 files changed, 11 insertions(+), 4 deletions(-)
>  create mode 100644 automation/gitlab-ci/riscv-fixed-randconfig.yaml
> 
> diff --git a/automation/gitlab-ci/build.yaml b/automation/gitlab-ci/build.yaml
> index 6d2cb18b88..376eb17f9c 100644
> --- a/automation/gitlab-ci/build.yaml
> +++ b/automation/gitlab-ci/build.yaml
> @@ -512,6 +512,8 @@ alpine-3.18-gcc-debug-arm64-boot-cpupools:
>        CONFIG_BOOT_TIME_CPUPOOLS=y
> 
>  # RISC-V 64 cross-build
> +include: 'automation/gitlab-ci/riscv-fixed-randconfig.yaml'
I don't think there is a need to create a new file for that.
You could define an anchor in build.yaml:

# RISC-V 64 cross-build
.riscv-fixed-randconfig:
  variables: &riscv-fixed-randconfig
    EXTRA_FIXED_RANDCONFIG: |
      CONFIG_COVERAGE=n
      CONFIG_EXPERT=y
      CONFIG_GRANT_TABLE=n
      CONFIG_MEM_ACCESS=n

and reference it in the job:

archlinux-current-gcc-riscv64-randconfig:
  extends: .gcc-riscv64-cross-build
  variables:
    CONTAINER: archlinux:current-riscv64
    KBUILD_DEFCONFIG: tiny64_defconfig
    RANDCONFIG: y
    <<: *riscv-fixed-randconfig

~Michal




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.