* [PATCH] drm/xe: Don't use absolute path in generated header comment
@ 2025-10-31 14:48 Calvin Owens
2025-11-03 13:20 ` ✗ LGCI.VerificationFailed: failure for " Patchwork
2025-12-21 19:53 ` [PATCH] " Calvin Owens
0 siblings, 2 replies; 7+ messages in thread
From: Calvin Owens @ 2025-10-31 14:48 UTC (permalink / raw)
To: linux-kernel
Cc: Lucas De Marchi, thomas.hellstrom, Rodrigo Vivi, David Airlie,
Simona Vetter, intel-xe, dri-devel
Building the XE driver through Yocto throws this QA warning:
WARNING: mc:house:linux-stable-6.17-r0 do_package_qa: QA Issue: File /usr/src/debug/linux-stable/6.17/drivers/gpu/drm/xe/generated/xe_device_wa_oob.h in package linux-stable-src contains reference to TMPDIR [buildpaths]
WARNING: mc:house:linux-stable-6.17-r0 do_package_qa: QA Issue: File /usr/src/debug/linux-stable/6.17/drivers/gpu/drm/xe/generated/xe_wa_oob.h in package linux-stable-src contains reference to TMPDIR [buildpaths]
...because the comment at the top of the generated header contains the
absolute path to the rules file at build time:
* This file was generated from rules: /home/calvinow/git/meta-house/build/tmp-house/work-shared/nuc14rvhu7/kernel-source/drivers/gpu/drm/xe/xe_device_wa_oob.rules
Fix this minor annoyance by putting the basename of the rules file in
the generated comment instead of the absolute path, so the generated
header contents no longer depend on the location of the kernel source.
Signed-off-by: Calvin Owens <calvin@wbinvd.org>
---
drivers/gpu/drm/xe/xe_gen_wa_oob.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/xe/xe_gen_wa_oob.c b/drivers/gpu/drm/xe/xe_gen_wa_oob.c
index 247e41c1c48d..e7a50b1348b7 100644
--- a/drivers/gpu/drm/xe/xe_gen_wa_oob.c
+++ b/drivers/gpu/drm/xe/xe_gen_wa_oob.c
@@ -195,7 +195,8 @@ int main(int argc, const char *argv[])
}
}
- fprintf(args[ARGS_CHEADER].f, HEADER, args[ARGS_INPUT].fn, prefix, prefix);
+ fprintf(args[ARGS_CHEADER].f, HEADER, xbasename(args[ARGS_INPUT].fn),
+ prefix, prefix);
ret = parse(args[ARGS_INPUT].f, args[ARGS_CSOURCE].f,
args[ARGS_CHEADER].f, prefix);
--
2.47.3
^ permalink raw reply related [flat|nested] 7+ messages in thread
* ✗ LGCI.VerificationFailed: failure for drm/xe: Don't use absolute path in generated header comment
2025-10-31 14:48 [PATCH] drm/xe: Don't use absolute path in generated header comment Calvin Owens
@ 2025-11-03 13:20 ` Patchwork
2025-11-16 16:12 ` Calvin Owens
2025-12-21 19:53 ` [PATCH] " Calvin Owens
1 sibling, 1 reply; 7+ messages in thread
From: Patchwork @ 2025-11-03 13:20 UTC (permalink / raw)
To: Calvin Owens; +Cc: intel-xe
== Series Details ==
Series: drm/xe: Don't use absolute path in generated header comment
URL : https://patchwork.freedesktop.org/series/156919/
State : failure
== Summary ==
Address 'calvin@wbinvd.org' is not on the allowlist, which prevents CI from being triggered for this patch.
If you want Intel GFX CI to accept this address, please contact the script maintainers at i915-ci-infra@lists.freedesktop.org.
Exception occurred during validation, bailing out!
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: ✗ LGCI.VerificationFailed: failure for drm/xe: Don't use absolute path in generated header comment
2025-11-03 13:20 ` ✗ LGCI.VerificationFailed: failure for " Patchwork
@ 2025-11-16 16:12 ` Calvin Owens
0 siblings, 0 replies; 7+ messages in thread
From: Calvin Owens @ 2025-11-16 16:12 UTC (permalink / raw)
To: intel-xe, i915-ci-infra
On Monday 11/03 at 13:20 -0000, Patchwork wrote:
> == Series Details ==
>
> Series: drm/xe: Don't use absolute path in generated header comment
> URL : https://patchwork.freedesktop.org/series/156919/
> State : failure
>
> == Summary ==
>
> Address 'calvin@wbinvd.org' is not on the allowlist, which prevents CI from being triggered for this patch.
> If you want Intel GFX CI to accept this address, please contact the script maintainers at i915-ci-infra@lists.freedesktop.org.
> Exception occurred during validation, bailing out!
Do I need to get myself added to this allowlist and resend the patch?
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] drm/xe: Don't use absolute path in generated header comment
2025-10-31 14:48 [PATCH] drm/xe: Don't use absolute path in generated header comment Calvin Owens
2025-11-03 13:20 ` ✗ LGCI.VerificationFailed: failure for " Patchwork
@ 2025-12-21 19:53 ` Calvin Owens
2025-12-22 16:56 ` Vivi, Rodrigo
1 sibling, 1 reply; 7+ messages in thread
From: Calvin Owens @ 2025-12-21 19:53 UTC (permalink / raw)
To: linux-kernel
Cc: Lucas De Marchi, thomas.hellstrom, Rodrigo Vivi, David Airlie,
Simona Vetter, intel-xe, dri-devel
On Friday 10/31 at 07:48 -0700, Calvin Owens wrote:
> Building the XE driver through Yocto throws this QA warning:
>
> WARNING: mc:house:linux-stable-6.17-r0 do_package_qa: QA Issue: File /usr/src/debug/linux-stable/6.17/drivers/gpu/drm/xe/generated/xe_device_wa_oob.h in package linux-stable-src contains reference to TMPDIR [buildpaths]
> WARNING: mc:house:linux-stable-6.17-r0 do_package_qa: QA Issue: File /usr/src/debug/linux-stable/6.17/drivers/gpu/drm/xe/generated/xe_wa_oob.h in package linux-stable-src contains reference to TMPDIR [buildpaths]
>
> ...because the comment at the top of the generated header contains the
> absolute path to the rules file at build time:
>
> * This file was generated from rules: /home/calvinow/git/meta-house/build/tmp-house/work-shared/nuc14rvhu7/kernel-source/drivers/gpu/drm/xe/xe_device_wa_oob.rules
>
> Fix this minor annoyance by putting the basename of the rules file in
> the generated comment instead of the absolute path, so the generated
> header contents no longer depend on the location of the kernel source.
Hi all,
This is about as trivial as it gets: it's been a couple months, can I
get some eyes on this please?
This is the only place in the entire kernel source where the content of
a generated header depends on the absolute path to the kernel tree. It
makes kernel source packages non-reproducible.
Thanks
Calvin
> Signed-off-by: Calvin Owens <calvin@wbinvd.org>
> ---
> drivers/gpu/drm/xe/xe_gen_wa_oob.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/xe/xe_gen_wa_oob.c b/drivers/gpu/drm/xe/xe_gen_wa_oob.c
> index 247e41c1c48d..e7a50b1348b7 100644
> --- a/drivers/gpu/drm/xe/xe_gen_wa_oob.c
> +++ b/drivers/gpu/drm/xe/xe_gen_wa_oob.c
> @@ -195,7 +195,8 @@ int main(int argc, const char *argv[])
> }
> }
>
> - fprintf(args[ARGS_CHEADER].f, HEADER, args[ARGS_INPUT].fn, prefix, prefix);
> + fprintf(args[ARGS_CHEADER].f, HEADER, xbasename(args[ARGS_INPUT].fn),
> + prefix, prefix);
>
> ret = parse(args[ARGS_INPUT].f, args[ARGS_CSOURCE].f,
> args[ARGS_CHEADER].f, prefix);
> --
> 2.47.3
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] drm/xe: Don't use absolute path in generated header comment
2025-12-21 19:53 ` [PATCH] " Calvin Owens
@ 2025-12-22 16:56 ` Vivi, Rodrigo
2025-12-22 20:26 ` Calvin Owens
0 siblings, 1 reply; 7+ messages in thread
From: Vivi, Rodrigo @ 2025-12-22 16:56 UTC (permalink / raw)
To: calvin@wbinvd.org, linux-kernel@vger.kernel.org
Cc: intel-xe@lists.freedesktop.org, dri-devel@lists.freedesktop.org,
airlied@gmail.com, lucas.demarchi@intel.com,
thomas.hellstrom@linux.intel.com, simona@ffwll.ch
On Sun, 2025-12-21 at 11:53 -0800, Calvin Owens wrote:
> On Friday 10/31 at 07:48 -0700, Calvin Owens wrote:
> > Building the XE driver through Yocto throws this QA warning:
> >
> > WARNING: mc:house:linux-stable-6.17-r0 do_package_qa: QA Issue:
> > File /usr/src/debug/linux-
> > stable/6.17/drivers/gpu/drm/xe/generated/xe_device_wa_oob.h in
> > package linux-stable-src contains reference to TMPDIR [buildpaths]
> > WARNING: mc:house:linux-stable-6.17-r0 do_package_qa: QA Issue:
> > File /usr/src/debug/linux-
> > stable/6.17/drivers/gpu/drm/xe/generated/xe_wa_oob.h in package
> > linux-stable-src contains reference to TMPDIR [buildpaths]
> >
> > ...because the comment at the top of the generated header contains
> > the
> > absolute path to the rules file at build time:
> >
> > * This file was generated from rules: /home/calvinow/git/meta-
> > house/build/tmp-house/work-shared/nuc14rvhu7/kernel-
> > source/drivers/gpu/drm/xe/xe_device_wa_oob.rules
> >
> > Fix this minor annoyance by putting the basename of the rules file
> > in
> > the generated comment instead of the absolute path, so the
> > generated
> > header contents no longer depend on the location of the kernel
> > source.
>
> Hi all,
>
> This is about as trivial as it gets: it's been a couple months, can I
> get some eyes on this please?
>
> This is the only place in the entire kernel source where the content
> of
> a generated header depends on the absolute path to the kernel tree.
> It
> makes kernel source packages non-reproducible.
Sorry about that and for the delay.
I just resent the patch for CI:
https://lore.kernel.org/intel-xe/20251222165441.516102-2-rodrigo.vivi@intel.com/
We can push after passing it.
Thanks,
Rodrigo.
>
> Thanks
> Calvin
>
> > Signed-off-by: Calvin Owens <calvin@wbinvd.org>
> > ---
> > drivers/gpu/drm/xe/xe_gen_wa_oob.c | 3 ++-
> > 1 file changed, 2 insertions(+), 1 deletion(-)
> >
> > diff --git a/drivers/gpu/drm/xe/xe_gen_wa_oob.c
> > b/drivers/gpu/drm/xe/xe_gen_wa_oob.c
> > index 247e41c1c48d..e7a50b1348b7 100644
> > --- a/drivers/gpu/drm/xe/xe_gen_wa_oob.c
> > +++ b/drivers/gpu/drm/xe/xe_gen_wa_oob.c
> > @@ -195,7 +195,8 @@ int main(int argc, const char *argv[])
> > }
> > }
> >
> > - fprintf(args[ARGS_CHEADER].f, HEADER, args[ARGS_INPUT].fn,
> > prefix, prefix);
> > + fprintf(args[ARGS_CHEADER].f, HEADER,
> > xbasename(args[ARGS_INPUT].fn),
> > + prefix, prefix);
> >
> > ret = parse(args[ARGS_INPUT].f, args[ARGS_CSOURCE].f,
> > args[ARGS_CHEADER].f, prefix);
> > --
> > 2.47.3
> >
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] drm/xe: Don't use absolute path in generated header comment
2025-12-22 16:56 ` Vivi, Rodrigo
@ 2025-12-22 20:26 ` Calvin Owens
2025-12-23 15:06 ` Rodrigo Vivi
0 siblings, 1 reply; 7+ messages in thread
From: Calvin Owens @ 2025-12-22 20:26 UTC (permalink / raw)
To: Vivi, Rodrigo
Cc: linux-kernel@vger.kernel.org, intel-xe@lists.freedesktop.org,
dri-devel@lists.freedesktop.org, airlied@gmail.com,
lucas.demarchi@intel.com, thomas.hellstrom@linux.intel.com,
simona@ffwll.ch
On Monday 12/22 at 16:56 +0000, Vivi, Rodrigo wrote:
> On Sun, 2025-12-21 at 11:53 -0800, Calvin Owens wrote:
> > On Friday 10/31 at 07:48 -0700, Calvin Owens wrote:
> > > Building the XE driver through Yocto throws this QA warning:
> > >
> > > WARNING: mc:house:linux-stable-6.17-r0 do_package_qa: QA Issue:
> > > File /usr/src/debug/linux-
> > > stable/6.17/drivers/gpu/drm/xe/generated/xe_device_wa_oob.h in
> > > package linux-stable-src contains reference to TMPDIR [buildpaths]
> > > WARNING: mc:house:linux-stable-6.17-r0 do_package_qa: QA Issue:
> > > File /usr/src/debug/linux-
> > > stable/6.17/drivers/gpu/drm/xe/generated/xe_wa_oob.h in package
> > > linux-stable-src contains reference to TMPDIR [buildpaths]
> > >
> > > ...because the comment at the top of the generated header contains
> > > the
> > > absolute path to the rules file at build time:
> > >
> > > * This file was generated from rules: /home/calvinow/git/meta-
> > > house/build/tmp-house/work-shared/nuc14rvhu7/kernel-
> > > source/drivers/gpu/drm/xe/xe_device_wa_oob.rules
> > >
> > > Fix this minor annoyance by putting the basename of the rules file
> > > in
> > > the generated comment instead of the absolute path, so the
> > > generated
> > > header contents no longer depend on the location of the kernel
> > > source.
> >
> > Hi all,
> >
> > This is about as trivial as it gets: it's been a couple months, can I
> > get some eyes on this please?
> >
> > This is the only place in the entire kernel source where the content
> > of
> > a generated header depends on the absolute path to the kernel tree.
> > It
> > makes kernel source packages non-reproducible.
>
> Sorry about that and for the delay.
>
> I just resent the patch for CI:
> https://lore.kernel.org/intel-xe/20251222165441.516102-2-rodrigo.vivi@intel.com/
>
> We can push after passing it.
No apology necessary, thanks for kicking it for me :)
Calvin
> Thanks,
> Rodrigo.
>
> >
> > Thanks
> > Calvin
> >
> > > Signed-off-by: Calvin Owens <calvin@wbinvd.org>
> > > ---
> > > drivers/gpu/drm/xe/xe_gen_wa_oob.c | 3 ++-
> > > 1 file changed, 2 insertions(+), 1 deletion(-)
> > >
> > > diff --git a/drivers/gpu/drm/xe/xe_gen_wa_oob.c
> > > b/drivers/gpu/drm/xe/xe_gen_wa_oob.c
> > > index 247e41c1c48d..e7a50b1348b7 100644
> > > --- a/drivers/gpu/drm/xe/xe_gen_wa_oob.c
> > > +++ b/drivers/gpu/drm/xe/xe_gen_wa_oob.c
> > > @@ -195,7 +195,8 @@ int main(int argc, const char *argv[])
> > > }
> > > }
> > >
> > > - fprintf(args[ARGS_CHEADER].f, HEADER, args[ARGS_INPUT].fn,
> > > prefix, prefix);
> > > + fprintf(args[ARGS_CHEADER].f, HEADER,
> > > xbasename(args[ARGS_INPUT].fn),
> > > + prefix, prefix);
> > >
> > > ret = parse(args[ARGS_INPUT].f, args[ARGS_CSOURCE].f,
> > > args[ARGS_CHEADER].f, prefix);
> > > --
> > > 2.47.3
> > >
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] drm/xe: Don't use absolute path in generated header comment
2025-12-22 20:26 ` Calvin Owens
@ 2025-12-23 15:06 ` Rodrigo Vivi
0 siblings, 0 replies; 7+ messages in thread
From: Rodrigo Vivi @ 2025-12-23 15:06 UTC (permalink / raw)
To: Calvin Owens
Cc: linux-kernel@vger.kernel.org, intel-xe@lists.freedesktop.org,
dri-devel@lists.freedesktop.org, airlied@gmail.com,
lucas.demarchi@intel.com, thomas.hellstrom@linux.intel.com,
simona@ffwll.ch
On Mon, Dec 22, 2025 at 12:26:15PM -0800, Calvin Owens wrote:
> On Monday 12/22 at 16:56 +0000, Vivi, Rodrigo wrote:
> > On Sun, 2025-12-21 at 11:53 -0800, Calvin Owens wrote:
> > > On Friday 10/31 at 07:48 -0700, Calvin Owens wrote:
> > > > Building the XE driver through Yocto throws this QA warning:
> > > >
> > > > WARNING: mc:house:linux-stable-6.17-r0 do_package_qa: QA Issue:
> > > > File /usr/src/debug/linux-
> > > > stable/6.17/drivers/gpu/drm/xe/generated/xe_device_wa_oob.h in
> > > > package linux-stable-src contains reference to TMPDIR [buildpaths]
> > > > WARNING: mc:house:linux-stable-6.17-r0 do_package_qa: QA Issue:
> > > > File /usr/src/debug/linux-
> > > > stable/6.17/drivers/gpu/drm/xe/generated/xe_wa_oob.h in package
> > > > linux-stable-src contains reference to TMPDIR [buildpaths]
> > > >
> > > > ...because the comment at the top of the generated header contains
> > > > the
> > > > absolute path to the rules file at build time:
> > > >
> > > > * This file was generated from rules: /home/calvinow/git/meta-
> > > > house/build/tmp-house/work-shared/nuc14rvhu7/kernel-
> > > > source/drivers/gpu/drm/xe/xe_device_wa_oob.rules
> > > >
> > > > Fix this minor annoyance by putting the basename of the rules file
> > > > in
> > > > the generated comment instead of the absolute path, so the
> > > > generated
> > > > header contents no longer depend on the location of the kernel
> > > > source.
> > >
> > > Hi all,
> > >
> > > This is about as trivial as it gets: it's been a couple months, can I
> > > get some eyes on this please?
> > >
> > > This is the only place in the entire kernel source where the content
> > > of
> > > a generated header depends on the absolute path to the kernel tree.
> > > It
> > > makes kernel source packages non-reproducible.
> >
> > Sorry about that and for the delay.
> >
> > I just resent the patch for CI:
> > https://lore.kernel.org/intel-xe/20251222165441.516102-2-rodrigo.vivi@intel.com/
> >
> > We can push after passing it.
>
> No apology necessary, thanks for kicking it for me :)
Patch pushed to drm-xe-next
>
> Calvin
>
> > Thanks,
> > Rodrigo.
> >
> > >
> > > Thanks
> > > Calvin
> > >
> > > > Signed-off-by: Calvin Owens <calvin@wbinvd.org>
> > > > ---
> > > > drivers/gpu/drm/xe/xe_gen_wa_oob.c | 3 ++-
> > > > 1 file changed, 2 insertions(+), 1 deletion(-)
> > > >
> > > > diff --git a/drivers/gpu/drm/xe/xe_gen_wa_oob.c
> > > > b/drivers/gpu/drm/xe/xe_gen_wa_oob.c
> > > > index 247e41c1c48d..e7a50b1348b7 100644
> > > > --- a/drivers/gpu/drm/xe/xe_gen_wa_oob.c
> > > > +++ b/drivers/gpu/drm/xe/xe_gen_wa_oob.c
> > > > @@ -195,7 +195,8 @@ int main(int argc, const char *argv[])
> > > > }
> > > > }
> > > >
> > > > - fprintf(args[ARGS_CHEADER].f, HEADER, args[ARGS_INPUT].fn,
> > > > prefix, prefix);
> > > > + fprintf(args[ARGS_CHEADER].f, HEADER,
> > > > xbasename(args[ARGS_INPUT].fn),
> > > > + prefix, prefix);
> > > >
> > > > ret = parse(args[ARGS_INPUT].f, args[ARGS_CSOURCE].f,
> > > > args[ARGS_CHEADER].f, prefix);
> > > > --
> > > > 2.47.3
> > > >
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2025-12-23 15:06 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-31 14:48 [PATCH] drm/xe: Don't use absolute path in generated header comment Calvin Owens
2025-11-03 13:20 ` ✗ LGCI.VerificationFailed: failure for " Patchwork
2025-11-16 16:12 ` Calvin Owens
2025-12-21 19:53 ` [PATCH] " Calvin Owens
2025-12-22 16:56 ` Vivi, Rodrigo
2025-12-22 20:26 ` Calvin Owens
2025-12-23 15:06 ` Rodrigo Vivi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox