Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp3648475rdb; Wed, 13 Sep 2023 20:22:34 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGh+iRnLGPaWSoTfBddGhnKUQLbkpZfQuk+cXpHwsXaD4Rn8Mosjq83dDRpUsBoLHtlWBst X-Received: by 2002:a05:6a20:4327:b0:13f:1622:29de with SMTP id h39-20020a056a20432700b0013f162229demr4667776pzk.7.1694661754226; Wed, 13 Sep 2023 20:22:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694661754; cv=none; d=google.com; s=arc-20160816; b=wusG2mm3fKgtuSkU2VaqV68VZcUWMC9smJ2Ibjo/GJFIMszTg+/S5v7OuypEfsHL9t 4n1T/ZZSwDu48ucOoBmWNn9WxmzHeXO64dL/iEnXnqQmTh9h+eTy9LpEe2B80BMbt1hq WCaC2LccUf1nRhTNayJrT3vLVxmUf4n5pIrqM7bCjm05wJeiXcwFH8fOJcL1yPf668c2 Z7VV2Cz4iUv30ErcX5n+7pRPlbmSBbYeiaAAukGw2HGQ2vWjdD8fzBxwXbUaFq3mfOgU 3S5/Izo46g5OmWN7FZxgxWc/mkw8qMlcSwHX4Wp+VIC9M1zu0FKKLTWrFtXm71xem5CH Csmg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=vRAiF2M35t3Fm1RfL1jFJ56QIK7x1hfc6+XjzpyfZN4=; fh=5MAJ6mBaP5kt6onR/gXZnJPUncV5bXMpz0XapGsjH+s=; b=dgQm/Pv0YjDDsMECi+aX12h3fEKSbPiZwVnPYMmnO4JJPQZAT+BMPXgxRu8gx28jGf 6SiwApulchmnaEGvScdKLdsxZpCL5kj8D043zHii1IVP/wj9QqZAcob0H3auyi0gci3R U6TmMY4wMItDfyAxvu70PbAVP3kIJMt50e4K7e4gZj2MslfSi8DaFRoH7+3v6kDKihjj 12u8SeP+ZUSXq5akYwyuuKr2qUXAyng1Ohv0BtCBxtdsrJx31B8DDtKbS1w0z/Ml748a BFyN2r6pxJbMkaoSDmdRtobwH43Ho0ofihE9icWaDkWzLLug8y1FWG/qIMFScO+0lEvv 18Uw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=LalD6Suk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id nv7-20020a17090b1b4700b0026b31ed4895si3219180pjb.29.2023.09.13.20.22.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Sep 2023 20:22:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=LalD6Suk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id B3D21802C640; Tue, 12 Sep 2023 10:02:12 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236201AbjILRCM (ORCPT + 99 others); Tue, 12 Sep 2023 13:02:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32868 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236718AbjILRCH (ORCPT ); Tue, 12 Sep 2023 13:02:07 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 56880173E; Tue, 12 Sep 2023 10:02:00 -0700 (PDT) Received: from [192.168.0.106] (unknown [186.235.7.101]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: koike) by madras.collabora.co.uk (Postfix) with ESMTPSA id CFD3066072B4; Tue, 12 Sep 2023 18:01:51 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1694538119; bh=sm5+is+zMEhHqe7EnrHHFL2UbWWzWkGkszkqR/V7AI0=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=LalD6Suk+Ksvjr+uEeVaKamf2/KVIIRDW+wLkOZj1Iu7g9MT2nSVHIFwGDcF6N5Ua P7EwJ6QhNOmhMxS0DOZfWAcY6sngRbfeRwdVyeS+TRPKOJAHu1svXPveHbTjiYDJlD 0dXZ84byE0SmIZ9GyyIMXwKxDJ7nfxdh64VClNiDXQR1IHqO9RuuZkU0l4sA9L9dPE s1raH+ZGKw8GAXouxv3XUTfm/wHJS7YswMT0esnSAYoYBDgIxk5o6WDsaP9NtVu8E6 Ur5FeEB/ctyIG8LYdtz84KMlh8ewDG0eW6P/AW7vpyO7ceojFdsFlEaS3szgs1CQc0 miKMaoyVbaWmg== Message-ID: Date: Tue, 12 Sep 2023 14:01:46 -0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.0 Subject: Re: [PATCH v3 9/9] drm: ci: Use scripts/config to enable/disable configs Content-Language: en-US To: Vignesh Raman , dri-devel@lists.freedesktop.org Cc: guilherme.gallo@collabora.com, sergi.blanch.torne@collabora.com, david.heidelberg@collabora.com, daniels@collabora.com, gustavo.padovan@collabora.com, angelogioacchino.delregno@collabora.com, emma@anholt.net, robclark@freedesktop.org, robdclark@google.com, anholt@google.com, robdclark@gmail.com, airlied@gmail.com, daniel@ffwll.ch, jani.nikula@linux.intel.com, mripard@kernel.org, dmitry.baryshkov@linaro.org, matthias.bgg@gmail.com, agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, virtualization@lists.linux-foundation.org, linux-arm-msm@vger.kernel.org References: <20230908152225.432139-1-vignesh.raman@collabora.com> <20230908152225.432139-10-vignesh.raman@collabora.com> From: Helen Koike In-Reply-To: <20230908152225.432139-10-vignesh.raman@collabora.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Tue, 12 Sep 2023 10:02:12 -0700 (PDT) On 08/09/2023 12:22, Vignesh Raman wrote: > Instead of modifying files in git to enable/disable > configs, use scripts/config on the .config file which > will be used for building the kernel. > > Suggested-by: Jani Nikula > Signed-off-by: Vignesh Raman Acked-by: Helen Koike > --- > > v2: > - Added a new patch in the series to use scripts/config to enable/disable configs > > v3: > - No changes > > --- > drivers/gpu/drm/ci/build.sh | 14 +++++++------- > 1 file changed, 7 insertions(+), 7 deletions(-) > > diff --git a/drivers/gpu/drm/ci/build.sh b/drivers/gpu/drm/ci/build.sh > index 092c195af242..093929a115de 100644 > --- a/drivers/gpu/drm/ci/build.sh > +++ b/drivers/gpu/drm/ci/build.sh > @@ -70,19 +70,19 @@ if [ -z "$CI_MERGE_REQUEST_PROJECT_PATH" ]; then > fi > fi > > -for opt in $ENABLE_KCONFIGS; do > - echo CONFIG_$opt=y >> drivers/gpu/drm/ci/${KERNEL_ARCH}.config > -done > -for opt in $DISABLE_KCONFIGS; do > - echo CONFIG_$opt=n >> drivers/gpu/drm/ci/${KERNEL_ARCH}.config > -done > - > if [[ -n "${MERGE_FRAGMENT}" ]]; then > ./scripts/kconfig/merge_config.sh ${DEFCONFIG} drivers/gpu/drm/ci/${MERGE_FRAGMENT} > else > make `basename ${DEFCONFIG}` > fi > > +for opt in $ENABLE_KCONFIGS; do > + ./scripts/config --enable CONFIG_$opt > +done > +for opt in $DISABLE_KCONFIGS; do > + ./scripts/config --disable CONFIG_$opt > +done > + > make ${KERNEL_IMAGE_NAME} > > mkdir -p /lava-files/