Hi Geert,

On Tue, Aug 25, 2026 at 05:29:59PM +0200, Geert Uytterhoeven wrote:
> Enabling a (modular) test should not silently enable additional kernel
> functionality, as that may increase the attack vector for a product.
> 
> Fix this by reverting the select to a dependency.  Make sure the GPU
> buddy allocator can be tested without enabling another driver that uses
> DRM_BUDDY by making GPU_BUDDY visible if KUNIT is enabled.
> 
> The page based buddy allocator for GPU memory is only used by DRM.
> Hence add a dependency on DRM to GPU_BUDDY, to prevent asking the user
> about this code when configuring a kernel without DRM support.
> 
> Update drivers/gpu/tests/.kunitconfig accordingly.
> 
> Fixes: 8fe3fc37564920ae ("gpu: Fix dependencies in 
> CONFIG_GPU_BUDDY_KUNIT_TEST")
> Signed-off-by: Geert Uytterhoeven <[email protected]>

I tested sashiko's statement and I guess it got it wrong.

Reviewed-by: Andi Shyti <[email protected]>

Thanks,
Andi

Reply via email to