All of lore.kernel.org
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Geert Uytterhoeven" <geert@linux-m68k.org>
Cc: dri-devel@lists.freedesktop.org
Subject: Re: [PATCH] gpu: GPU_BUDDY_KUNIT_TEST should not select GPU_BUDDY
Date: Mon, 24 Aug 2026 15:20:08 +0000	[thread overview]
Message-ID: <20260824152009.4C0B51F000E9@smtp.kernel.org> (raw)
In-Reply-To: <1e519fb24aa5521788d69cc7980665ccbc227b14.1787584184.git.geert@linux-m68k.org>

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Medium] Missing `.kunitconfig` update causes `kunit.py` to fail due to unmet dependencies.
--

--- Patch [1]: [PATCH] gpu: GPU_BUDDY_KUNIT_TEST should not select GPU_BUDDY ---
commit cb5627cb79f60b67a5672a81939fd993a20abdd4
Author: Geert Uytterhoeven <geert@linux-m68k.org>

gpu: GPU_BUDDY_KUNIT_TEST should not select GPU_BUDDY

This commit changes the GPU_BUDDY_KUNIT_TEST Kconfig entry to depend on
GPU_BUDDY rather than selecting it. It also adds a dependency on DRM or
COMPILE_TEST to the GPU_BUDDY option.

> diff --git a/drivers/gpu/Kconfig b/drivers/gpu/Kconfig
> index 3bcf08260d73a..d881ab6f7a006 100644
> --- a/drivers/gpu/Kconfig
> +++ b/drivers/gpu/Kconfig

[ ... ]

> @@ -1,14 +1,15 @@
>  # SPDX-License-Identifier: GPL-2.0
>  
>  config GPU_BUDDY
> -       bool
> +       bool "Page based buddy allocator for GPU memory" if KUNIT
> +       depends on DRM || COMPILE_TEST
>         help
>           A page based buddy allocator for GPU memory.
>  
>  config GPU_BUDDY_KUNIT_TEST
>         tristate "KUnit tests for GPU buddy allocator" if !KUNIT_ALL_TESTS
>         depends on KUNIT
> -       select GPU_BUDDY
> +       depends on GPU_BUDDY

[Severity: Medium]
Since this changes from a select to a dependency, does the KUnit configuration
file at drivers/gpu/tests/.kunitconfig also need to be updated?

If CONFIG_COMPILE_TEST=y and CONFIG_GPU_BUDDY=y are not added to 
.kunitconfig, running kunit.py will fail because CONFIG_GPU_BUDDY_KUNIT_TEST 
will be silently dropped from the generated config due to unmet dependencies.

>         default KUNIT_ALL_TESTS
>         help
>           KUnit tests for the GPU buddy allocator.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/1e519fb24aa5521788d69cc7980665ccbc227b14.1787584184.git.geert@linux-m68k.org?part=1

  reply	other threads:[~2026-08-24 15:20 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-24 15:11 [PATCH] gpu: GPU_BUDDY_KUNIT_TEST should not select GPU_BUDDY Geert Uytterhoeven
2026-08-24 15:12 ` Geert Uytterhoeven
2026-08-24 15:20 ` sashiko-bot [this message]
2026-08-25 11:32 ` Krzysztof Niemiec
2026-08-25 12:15   ` Geert Uytterhoeven
2026-08-26 16:39     ` Krzysztof Niemiec
2026-08-27  7:44       ` Geert Uytterhoeven
2026-08-25 14:24 ` Andi Shyti
     [not found] <20260824151230.XuHT5veUT8Oi5un54yAsIsxDMMalaTNf64h7qW1s0ow@z>
2026-08-24 15:22 ` sashiko-bot

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=20260824152009.4C0B51F000E9@smtp.kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=geert@linux-m68k.org \
    --cc=sashiko-reviews@lists.linux.dev \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.