From: Jani Nikula <jani.nikula@linux.intel.com>
To: Vignesh Raman <vignesh.raman@collabora.com>,
dri-devel@lists.freedesktop.org
Cc: emma@anholt.net, linux-doc@vger.kernel.org,
david.heidelberg@collabora.com,
linux-amlogic@lists.infradead.org, jbrunet@baylibre.com,
robdclark@google.com, corbet@lwn.net, khilman@baylibre.com,
sergi.blanch.torne@collabora.com, gustavo.padovan@collabora.com,
linux-rockchip@lists.infradead.org, daniels@collabora.com,
martin.blumenstingl@googlemail.com, robclark@freedesktop.org,
helen.koike@collabora.com, anholt@google.com,
linux-mediatek@lists.infradead.org, mripard@kernel.org,
matthias.bgg@gmail.com, linux-arm-kernel@lists.infradead.org,
angelogioacchino.delregno@collabora.com,
neil.armstrong@linaro.org, guilherme.gallo@collabora.com,
linux-kernel@vger.kernel.org, tzimmermann@suse.de
Subject: Re: [PATCH 2/6] drm: ci: Force db410c to host mode
Date: Fri, 25 Aug 2023 16:56:12 +0300 [thread overview]
Message-ID: <87pm3b2pkz.fsf@intel.com> (raw)
In-Reply-To: <20230825122435.316272-3-vignesh.raman@collabora.com>
On Fri, 25 Aug 2023, Vignesh Raman <vignesh.raman@collabora.com> wrote:
> Force db410c to host mode to fix network issue which results in failure
> to mount root fs via NFS.
> See https://gitlab.freedesktop.org/gfx-ci/linux/-/commit/cb72a629b8c15c80a54dda510743cefd1c4b65b8
>
> Since this fix is not sent upstream, add it to build.sh script
> before building the kernel and dts. Better approach would be
> to use devicetree overlays.
>
> Signed-off-by: Vignesh Raman <vignesh.raman@collabora.com>
> ---
> drivers/gpu/drm/ci/build.sh | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/drivers/gpu/drm/ci/build.sh b/drivers/gpu/drm/ci/build.sh
> index 7b014287a041..c39834bd6bd7 100644
> --- a/drivers/gpu/drm/ci/build.sh
> +++ b/drivers/gpu/drm/ci/build.sh
> @@ -70,6 +70,10 @@ if [ -z "$CI_MERGE_REQUEST_PROJECT_PATH" ]; then
> fi
> fi
>
> +# Force db410c to host mode to fix network issue which results in failure to mount root fs via NFS.
> +# See https://gitlab.freedesktop.org/gfx-ci/linux/-/commit/cb72a629b8c15c80a54dda510743cefd1c4b65b8
> +sed -i '/&usb {/,/status = "okay";/s/status = "okay";/&\n\tdr_mode = "host";/' arch/arm64/boot/dts/qcom/apq8016-sbc.dts
> +
It seems like a really bad idea to me to have the CI build modify the
source tree before building.
The kernel being built will have a dirty git repo, and the localversion
will have -dirty in it.
I think it would be better to do out-of-tree builds and assume the
source is read-only.
> for opt in $ENABLE_KCONFIGS; do
> echo CONFIG_$opt=y >> drivers/gpu/drm/ci/${KERNEL_ARCH}.config
> done
Ditto for the config changes in the context here. Those are files in
git, don't change them.
Shouldn't this use something like 'scripts/config --enable' or
'scripts/config --disable' on the .config file to be used for building
instead?
BR,
Jani.
--
Jani Nikula, Intel Open Source Graphics Center
next prev parent reply other threads:[~2023-08-25 13:56 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-25 12:24 [PATCH 0/6] drm: ci: fixes Vignesh Raman
2023-08-25 12:24 ` [PATCH 1/6] drm: ci: igt_runner: remove todo Vignesh Raman
2023-08-25 12:24 ` [PATCH 2/6] drm: ci: Force db410c to host mode Vignesh Raman
2023-08-25 13:56 ` Jani Nikula [this message]
2023-08-25 14:09 ` Helen Mae Koike Fornazier
2023-08-25 14:27 ` Maxime Ripard
2023-08-25 17:50 ` Jani Nikula
2023-08-25 14:30 ` Rob Clark
2023-08-25 14:34 ` Helen Mae Koike Fornazier
2023-08-25 14:41 ` Rob Clark
2023-08-25 15:06 ` Helen Mae Koike Fornazier
2023-08-25 18:15 ` Rob Clark
2023-08-25 12:24 ` [PATCH 3/6] drm: ci: virtio: update ci variables Vignesh Raman
2023-08-25 12:24 ` [PATCH 4/6] drm: ci: Enable configs to fix mt8173 boot hang issue Vignesh Raman
2023-09-07 10:46 ` AngeloGioacchino Del Regno
2023-09-08 7:53 ` Vignesh Raman
2023-09-08 12:26 ` David Heidelberg
2023-08-25 12:24 ` [PATCH 5/6] drm: ci: Update xfails Vignesh Raman
2023-08-25 12:24 ` [PATCH 6/6] drm: ci: Remove rules Vignesh Raman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87pm3b2pkz.fsf@intel.com \
--to=jani.nikula@linux.intel.com \
--cc=angelogioacchino.delregno@collabora.com \
--cc=anholt@google.com \
--cc=corbet@lwn.net \
--cc=daniels@collabora.com \
--cc=david.heidelberg@collabora.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=emma@anholt.net \
--cc=guilherme.gallo@collabora.com \
--cc=gustavo.padovan@collabora.com \
--cc=helen.koike@collabora.com \
--cc=jbrunet@baylibre.com \
--cc=khilman@baylibre.com \
--cc=linux-amlogic@lists.infradead.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=linux-rockchip@lists.infradead.org \
--cc=martin.blumenstingl@googlemail.com \
--cc=matthias.bgg@gmail.com \
--cc=mripard@kernel.org \
--cc=neil.armstrong@linaro.org \
--cc=robclark@freedesktop.org \
--cc=robdclark@google.com \
--cc=sergi.blanch.torne@collabora.com \
--cc=tzimmermann@suse.de \
--cc=vignesh.raman@collabora.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).