Re: [PATCH] kdb: print real address of pointers instead of hashed addresses

2018-10-01 Thread Jason Wessel
On 09/27/2018 12:17 PM, Christophe Leroy wrote: Since commit ad67b74d2469 ("printk: hash addresses printed with %p"), all pointers printed with %p are printed with hashed addresses instead of real addresses in order to avoid leaking addresses in dmesg and syslog. But this applies to kdb too, with

Re: [PATCH] kdb: use correct pointer when 'btc' calls 'btt'

2018-10-01 Thread Jason Wessel
On 09/28/2018 07:57 AM, Michael Ellerman wrote: Christophe LEROY writes: Le 27/09/2018 à 13:09, Michael Ellerman a écrit : Christophe LEROY writes: Le 26/09/2018 à 13:11, Daniel Thompson a écrit : The Fixes: and now your Reviewed-by: appear automatically in patchwork (https://patchwork.ozla

Re: [PATCH] powerpc: kernel/kgdb.c: fix memory leakage

2013-01-31 Thread Jason Wessel
On 01/14/2013 11:26 AM, Cong Ding wrote: > the variable backup_current_thread_info isn't freed before existing the > function. > > Signed-off-by: Cong Ding > --- > arch/powerpc/kernel/kgdb.c |5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > > diff --git a/arch/powerpc/kernel/kgd

Re: [PATCH] kgdb, ppc: Corrected the address using of current->thread.evr register

2010-11-17 Thread Jason Wessel
.c: In function 'dbg_set_reg': arch/powerpc/kernel/kgdb.c:366: error: passing argument 1 of 'memcpy' makes pointer from integer without a cast [jason.wes...@windriver.com: Remove void * casts and fix patch header] Reported-by: Milton Miller Signed-off-by: Dongdong Deng Sig

Re: [PATCH] kgdb, ppc: Corrected the address using of current->thread.evr register

2010-11-16 Thread Jason Wessel
On 11/16/2010 06:58 AM, Dongdong Deng wrote: > Passing the address of current->thread.evr register to memcpy function. > > It turns out that out of all of my test configs and targets I did not have any that defined both CONFIG_FSL_BOOKE and CONFIG_SPE else this would have been caught in testing

[PATCH 7/7] kgdb,ppc: Individual register get/set for ppc

2010-10-29 Thread Jason Wessel
From: Dongdong Deng commit 534af1082329392bc29f6badf815e69ae2ae0f4c(kgdb,kdb: individual register set and and get API) introduce dbg_get_reg/dbg_set_reg API for individual register get and set. This patch implement those APIs for ppc. Signed-off-by: Dongdong Deng Signed-off-by: Jason Wessel

[PATCH 10/15] powerpc: Replace hardcoded offset by BREAK_INSTR_SIZE

2010-07-30 Thread Jason Wessel
ned-off-by: Michal Simek Signed-off-by: Jason Wessel CC: Benjamin Herrenschmidt CC: linuxppc-...@ozlabs.org --- arch/powerpc/kernel/kgdb.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/powerpc/kernel/kgdb.c b/arch/powerpc/kernel/kgdb.c index 82a7b22..7f61a3a 100644

Re: [PATCH] powerpc: Replace hardcoded offset by BREAK_INSTR_SIZE

2010-07-28 Thread Jason Wessel
ead of hardcoded > non-described offset. > > Seems fine to me. I'll add this to the kgdb merge queue for 2.6.36. Jason. > Signed-off-by: Michal Simek > CC: Jason Wessel > CC: Benjamin Herrenschmidt > CC: linuxppc-...@ozlabs.org > --- > arch/powerpc/kernel/k

Re: [Kgdb-bugreport] 2.6.23-rc3-mm1: kgdb build failure on powerpc

2007-08-29 Thread Jason Wessel
Pete/Piet Delaney wrote: > We are getting a problem with VMware where kernel text is the schedler > is getting wacked with four null bytes into the code. Thought I'd use > the current linux-2.6-kgdb.git tree and possible the CONFIG_DEBUG_RODATA > patch to make kernel text readonly: > > https://www

Re: [Kgdb-bugreport] 2.6.23-rc3-mm1: kgdb build failure on powerpc

2007-08-29 Thread Jason Wessel
Pete/Piet Delaney wrote: > Why am I getting this when I do: > > git clone > http://master.kernel.org/pub/scm/linux/kernel/git/jwessel/linux-2.6-kgdb.git > I have only ever used: git clone git://git.kernel.org/pub/scm/linux/kernel/git/jwessel/linux-2.6-kgdb.git Jason. ___

Re: [Kgdb-bugreport] 2.6.23-rc3-mm1: kgdb build failure on powerpc

2007-08-22 Thread Jason Wessel
Andrew Morton wrote: > On Wed, 22 Aug 2007 17:44:12 -0500 > Jason Wessel <[EMAIL PROTECTED]> wrote: > > >> +while (!atomic_read(&debugger_active)); >> > > eek. We're in the process of hunting down and eliminating exactly this > cons

Re: [Kgdb-bugreport] 2.6.23-rc3-mm1: kgdb build failure on powerpc

2007-08-22 Thread Jason Wessel
hat's pretty ugly-looking stuff anyway. Perhaps there is a cleaner way to do the same thing and avoid the cmpxchg all together. I used the attached patch to eliminate the cmpxchg operation. Jason. Signed-off-by: Jason Wessel <[EMAIL PROTECTED]> --- kernel/kgdb.c

Re: 2.6.22-rc6-mm1

2007-07-02 Thread Jason Wessel
he fix that needs to be used for the time being. Attached is the patch I put in the for_mm branch in the linux-2.6-kgdb git tree. Jason. xmon_or_kgdb.patch From: Jason Wessel <[EMAIL PROTECTED]> Subject: [PATCH] Turn off xmon if kgdb is active on ppc and powerpc Xmon and kgdb are mutua

Re: 2.6.22-rc6-mm1

2007-07-02 Thread Jason Wessel
Sergei Shtylyov wrote: > Hello. > > Jason Wessel wrote: > >>>> allmodconfig on powerpc (iMac g3) fails due to >>>> git-kgdb.patch. allmodconfig defaults should be changed? > >>>> CC arch/powerpc/kernel/kgdb.o >>>> arc