Re: [PATCH v2] powerpc/configs: Add debug configs for debugging

From: Gautam Menghani

Date: Mon Oct 12 2026 - 10:04:17 EST


On Mon, Oct 12, 2026 at 02:35:03PM +0530, Shrikanth Hegde wrote:
> Hi Gautam.
>
> On 10/12/26 2:20 PM, Gautam Menghani wrote:
> > Hi,
> >
> > Can this patch be pulled in? Or is something else needed here?
> >
> > Thanks,
> > Gautam
>
> Why it can't be part of existing debug.config? Why add component specific
> config and merge into def config?
>
> Wouldn't that cause more confusion? If not, could you please add detail in
> changelog on how one can make use of these?

The issue with adding all options to debug.config is that if all options
are enabled at the same time, performance will take a huge hit.
Grouping the options by area will enable devs to only enable a subset of
configs. With this patch, you can just do "make pseries_mm_debug_defconfig"
to enable mm specific options for example.

I'm open to suggestions if there is a cleaner way to accomplish this.

Thanks,
Gautam