Subject: Re: [PATCH] powerpc: kgdb: Remove OUTBUFMAX constant

From: Miquel Sabaté Solà <[email-masked]>
Date: Wed, 15 Oct 2025 11:37:53 +0200

Hello,

Miquel Sabaté Solà @ 2025-09-29 10:08 +02:

> Miquel Sabaté Solà @ 2025-09-15 16:18 +02:
>
>> This constant was introduced in commit 17ce452f7ea3 ("kgdb, powerpc:
>> arch specific powerpc kgdb support"), but it is no longer used anywhere
>> in the source tree.
>>
>> Signed-off-by: Miquel Sabaté Solà <[email-masked]>
>> ---
>>  arch/powerpc/include/asm/kgdb.h | 1 -
>>  1 file changed, 1 deletion(-)
>>
>> diff --git a/arch/powerpc/include/asm/kgdb.h b/arch/powerpc/include/asm/kgdb.h
>> index 715c18b75334..4c0afde87e97 100644
>> --- a/arch/powerpc/include/asm/kgdb.h
>> +++ b/arch/powerpc/include/asm/kgdb.h
>> @@ -25,7 +25,6 @@
>>
>>  #define BREAK_INSTR_SIZE	4
>>  #define BUFMAX			((NUMREGBYTES * 2) + 512)
>> -#define OUTBUFMAX		((NUMREGBYTES * 2) + 512)
>>
>>  #define BREAK_INSTR		0x7d821008	/* twge r2, r2 */
>
> Gently ping :)

Ping again :)

Does anyone have some time to review this patch?

Thanks!
Miquel