From: "Helen Mae Koike Fornazier" <helen.koike@collabora.com>
To: "Jani Nikula" <jani.nikula@linux.intel.com>
Cc: "Vignesh Raman" <vignesh.raman@collabora.com>,
dri-devel@lists.freedesktop.org, 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,
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 15:09:04 +0100 [thread overview]
Message-ID: <29c7-64e8b600-1-6afffd8@162524228> (raw)
In-Reply-To: <87pm3b2pkz.fsf@intel.com>
Hi Jani, thanks for your comments
On Friday, August 25, 2023 10:56 -03, Jani Nikula <jani.nikula@linux.intel.com> wrote:
> 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.
Is it bad?
The other option was to work with device tree overlays (but we still need to spend some time to
see how to fit it all together)
>
> I think it would be better to do out-of-tree builds and assume the
> source is read-only.
I'm not sure I get what do you call out-of-tree builds.
Another option would be to apply .patch file, or to have another branch
just with fix ups for ci that would be applied in the tree before building.
>
> > 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.
Probably these changes could go directly into drivers/gpu/drm/ci/${KERNEL_ARCH}.config
files, no need to modify them on the fly here
>
> Shouldn't this use something like 'scripts/config --enable' or
> 'scripts/config --disable' on the .config file to be used for building
> instead?
I wasn't aware about this possibility, looks cleaner indeed.
Regards,
Helen
>
>
> BR,
> Jani.
>
>
> --
> Jani Nikula, Intel Open Source Graphics Center
_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic
next prev parent reply other threads:[~2023-08-25 14:09 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
2023-08-25 14:09 ` Helen Mae Koike Fornazier [this message]
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=29c7-64e8b600-1-6afffd8@162524228 \
--to=helen.koike@collabora.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=jani.nikula@linux.intel.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
all inboxes | Powered by JetHome®