Skip to contentSkip to conversation

sparc32,leon: Uart polling support, KGDB with SPARC32 SMP.

PATCH In review Konrad Eisele 2 participants 4 messages Sep 30, 2011

lore
Share & tools
lore
#0 lore raw

cover sparc32,leon: Uart polling support, KGDB with SPARC32 SMP.

I have some patches that are used by SPARC_LEON to connect to
KGDB.
0001-apbuart-add-polling-callbacks-to-apbuart-driver.patch adds polling functions
to apbuart.c
0002-apbuart-add-support-for-virtual-KGDB-GRMON-channel.patch is a bit special: when
the user doesnt have a hardware serial device he can use the debug monitor GRMON as a tunnel. GRMON will poll a memory region to put/get characters.
0003-sparc32-leon-Add-support-for-KGDB-when-SMP-and-SPARC.patch this adds KGDB when
SMP is enabled. Inplemented only for SPARC_LEON, on other SPARC32 platforms KGDB wont still be enabled.

Sorry for sending this 2 times.

Greetings Konrad

#1 lore raw

Hi Konrad,

Quoted 10 lines · Konrad Eisele

I have some patches that are used by SPARC_LEON to connect to
KGDB.
0001-apbuart-add-polling-callbacks-to-apbuart-driver.patch adds polling functions to apbuart.c 0002-apbuart-add-support-for-virtual-KGDB-GRMON-channel.patch is a bit special: when the user doesnt have a hardware serial device he can use the debug monitor GRMON as a tunnel. GRMON will poll a memory region to put/get characters. 0003-sparc32-leon-Add-support-for-KGDB-when-SMP-and-SPARC.patch this adds KGDB when SMP is enabled. Inplemented only for SPARC_LEON, on other SPARC32 platforms KGDB wont still be enabled.

Stupid question: is there a fourth patch? The subject line implies there might be.

Thanks,

Signature · 5 lines
Julian Calaby

Email: [email protected]
Profile: http://www.google.com/profiles/julian.calaby/
.Plan: http://sites.google.com/site/juliancalaby/
#2 lore raw

Re: [PATCH 0/4] sparc32,leon: Uart polling support, KGDB with SPARC32

In reply to Konrad Eisele
Quoted 14 lines · Julian Calaby

Hi Konrad,

Quoted 10 lines · Konrad Eisele

I have some patches that are used by SPARC_LEON to connect to
KGDB.
0001-apbuart-add-polling-callbacks-to-apbuart-driver.patch adds polling functions
to apbuart.c
0002-apbuart-add-support-for-virtual-KGDB-GRMON-channel.patch is a bit special: when
the user doesnt have a hardware serial device he can use the debug monitor GRMON as a tunnel. GRMON will poll a memory region to put/get characters.
0003-sparc32-leon-Add-support-for-KGDB-when-SMP-and-SPARC.patch this adds KGDB when
SMP is enabled. Inplemented only for SPARC_LEON, on other SPARC32 platforms KGDB wont still be enabled.

Quoted 2 lines

Stupid question: is there a fourth patch? The subject line implies there might be.

No, I've created the numbering by hand and added a 0000-m.patch file "[PATCH 0/4] sparc32,leon: Uart polling support, KGDB with SPARC32 SMP." to have an introduction text.
Then I used "git send-email ... 00*.patch" to send them.
-- Konrad

Quoted 3 lines

Thanks,

#3 lore raw

cover sparc32,leon: Uart polling support, KGDB with SPARC32 SMP.

In reply to Konrad Eisele

Here are the patches again with fixes suggested by Julian Calaby:

0001-apbuart-add-polling-callbacks-to-apbuart-driver.patch adds polling functions
to apbuart.c
0002-apbuart-add-support-for-virtual-KGDB-GRMON-channel.patch is a bit special: when
the user doesnt have a hardware serial device he can use the debug monitor GRMON as a tunnel. GRMON will poll a memory region to put/get characters. => remove Lindent formating diffs
0003-sparc32-leon-Add-support-for-KGDB-when-SMP-and-SPARC.patch this adds KGDB when
SMP is enabled. Inplemented only for SPARC_LEON, on other SPARC32 platforms KGDB wont still be enabled.
=> split into 2
0004-kernel-debug-SPARC-KGDB-stub-strcpy-fix.patch
strcpy return value error fix

Greetings Konrad