Skip to contentSkip to conversation

powerpc: kgdb: Remove OUTBUFMAX constant

PATCH In review Miquel Sabaté Solà 2 participants 4 messages Sep 15, 2025 – Oct 15, 2025 PowerPC

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 powerpc: kgdb: Remove OUTBUFMAX constant

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.

---
 arch/powerpc/include/asm/kgdb.h | 1 -
 1 file changed, 1 deletion(-)
arch/powerpc/include/asm/kgdb.h +0 -1
index 715c18b75334..4c0afde87e97 100644
@@ -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 */
 
Signature · 1 line
2.51.0
#1 lore raw

Miquel Sabaté Solà @ 2025-09-15 16:18 +02:

Quoted 14 lines

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.

---
 arch/powerpc/include/asm/kgdb.h | 1 -
 1 file changed, 1 deletion(-)
arch/powerpc/include/asm/kgdb.h +0 -0
index 715c18b75334..4c0afde87e97 100644

arch/powerpc/include/asm/kgdb.h line 29

Quoted 6 lines
arch/powerpc/include/asm/kgdb.h +0 -1
@@ -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 :)

#2 lore raw

Hello,

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

Quoted 17 lines

Miquel Sabaté Solà @ 2025-09-15 16:18 +02:

Quoted 15 lines

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.

---
 arch/powerpc/include/asm/kgdb.h | 1 -
 1 file changed, 1 deletion(-)
arch/powerpc/include/asm/kgdb.h +0 -0
index 715c18b75334..4c0afde87e97 100644
@@ -25,7 +25,6 @@
 
Quoted 7 lines

arch/powerpc/include/asm/kgdb.h line 29

Quoted 5 lines
arch/powerpc/include/asm/kgdb.h +0 -1
 #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

Reviewed-by on v1 1/1
#3 lore raw
In reply to Miquel Sabaté Solà

Le 15/09/2025 à 16:18, Miquel Sabaté Solà a écrit :

Quoted 7 lines

[Vous ne recevez pas souvent de courriers de [email protected]. Découvrez pourquoi ceci est important à https://aka.ms/LearnAboutSenderIdentification ]

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.

Quoted 19 lines
---
  arch/powerpc/include/asm/kgdb.h | 1 -
  1 file changed, 1 deletion(-)
arch/powerpc/include/asm/kgdb.h +0 -2
index 715c18b75334..4c0afde87e97 100644
@@ -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 */
 
--

2.51.0