Re: how to creat watchpoint in kernel for data access debug

2014-06-16 Thread Will Deacon
On Thu, Jun 05, 2014 at 04:40:02AM +0100, Wang, Yalin wrote: > Hi Will, > > Thanks for your point out very much , > I see your meaning , > And I do a try , > But Seems it can just work when you register a > Perf event with a NULL callback function, > > https://git.kernel.org/cgit/linux/kernel/g

Re: how to creat watchpoint in kernel for data access debug

2014-06-04 Thread Will Deacon
On Wed, Jun 04, 2014 at 04:05:03AM +0100, Wang, Yalin wrote: > Hi Will, > > Thanks for your proposal, > The patch google made is just like > The one I tried before , > Then the problems come : > After register the perf_event callback, > In the callback function , > In google's patch , it is func

Re: how to creat watchpoint in kernel for data access debug

2014-06-03 Thread Will Deacon
On Sat, May 24, 2014 at 04:48:20AM +0100, Wang, Yalin wrote: > Hi Will, Hello, Sorry for the delayed reply, it took me a while to work out what your issue is. > Thanks for your suggestion, > The scenario that I encounter is a little special : > I found our kernel memory will be corrupt in stabi

Re: how to creat watchpoint in kernel for data access debug

2014-05-23 Thread Will Deacon
On Fri, May 23, 2014 at 03:51:17AM +0100, Wang, Yalin wrote: > I have a problems that I want create a watchpoint to monitor a data for > Debug in kernel , but I don't know how to do it , I try the kprobes , but > seems it only support create .text section probe , Can't monitor data > access , then

Re: [PATCH] mmc: mmci: reduce max_blk_count to avoid overflowing max_req_size

2012-02-29 Thread Will Deacon
[adding Pierre with the correct email address] On Fri, Feb 24, 2012 at 11:25:21AM +, Will Deacon wrote: > On a system with large pages (64k in my case), the following BUG is > triggered in MMC core: > > [2.338023] BUG: failure at > drivers/mmc/core/core.c:221/mm

[PATCH] mmc: mmci: reduce max_blk_count to avoid overflowing max_req_size

2012-02-24 Thread Will Deacon
a div without encoding the shift explicitly. Cc: Pierre Ossman Cc: Chris Ball Signed-off-by: Will Deacon --- drivers/mmc/host/mmci.c |7 --- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/mmc/host/mmci.c b/drivers/mmc/host/mmci.c index 0d955ff..11e589c 100644

Re: [PATCH 21/31] ARM: amba: realview: get rid of private platform amba_device initializer

2012-01-26 Thread Will Deacon
_PB1176_GPIO0 } > > +#define PB1176_GPIO0_IRQ { IRQ_DC1176_GPIO0 } > > #define GPIO1_IRQ { IRQ_PB1176_GPIO1 } > > #define PB1176_RTC_IRQ { IRQ_DC1176_RTC } > > #define SCI_IRQ{ IRQ_PB1176_SCI } This looks fine to me. It matches what I posted originally, which was the intention. Acked-by: Will Deacon Will -- To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH 21/31] ARM: amba: realview: get rid of private platform amba_device initializer

2012-01-25 Thread Will Deacon
On Wed, Jan 25, 2012 at 10:22:02AM +, Russell King - ARM Linux wrote: > On Wed, Jan 25, 2012 at 09:58:00AM +0000, Will Deacon wrote: > > Sure. Which branch shall I take it against (before or after your amba > > changes)? > > If it's before them, we can think ab

Re: [PATCH 21/31] ARM: amba: realview: get rid of private platform amba_device initializer

2012-01-25 Thread Will Deacon
On Tue, Jan 24, 2012 at 09:45:31PM +, Russell King - ARM Linux wrote: > On Tue, Jan 24, 2012 at 05:26:00PM +0000, Will Deacon wrote: > > diff --git a/arch/arm/mach-realview/include/mach/irqs-pb1176.h > > b/arch/arm/mach-realview/include/mach/irqs-pb1176.h > > index 5c

Re: [PATCH 21/31] ARM: amba: realview: get rid of private platform amba_device initializer

2012-01-24 Thread Will Deacon
On Tue, Jan 24, 2012 at 04:23:28PM +, Russell King - ARM Linux wrote: > On Tue, Jan 24, 2012 at 04:00:44PM +0000, Will Deacon wrote: > > but then I see a warning during boot: > > > > [1.669654] [ cut here ] > > [1.684021] WARNING

Re: [PATCH 22/31] ARM: amba: integrator: use common amba device initializers

2012-01-24 Thread Will Deacon
files changed, 22 insertions(+), 97 deletions(-) Seems happy enough on my Integrator-CP w/ 1136 core tile. Tested-by: Will Deacon Will -- To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to majord...@vger.kernel.org More majordomo info at http

Re: [PATCH 21/31] ARM: amba: realview: get rid of private platform amba_device initializer

2012-01-24 Thread Will Deacon
Hi Russell, On Fri, Jan 20, 2012 at 09:29:30AM +, Russell King - ARM Linux wrote: > Signed-off-by: Russell King > --- > arch/arm/mach-realview/core.h| 20 --- > arch/arm/mach-realview/realview_eb.c | 38 > +++--- > arch/arm/mach-realvi

Re: [PATCH 20/31] ARM: amba: versatile: get rid of private platform amba_device initializer

2012-01-24 Thread Will Deacon
tch though; I suspect it's related to the recent VIC changes and removal of MULTI_IRQ_HANDLER (especially since the ethernet interrupts lives on the secondary controller). So for this patch: Tested-by: Will Deacon I'll investigate the other problem separately. Will -- To unsub

Re: [PATCH 19/31] ARM: amba: vexpress: get rid of private platform amba_device initializer

2012-01-24 Thread Will Deacon
-- > 3 files changed, 14 insertions(+), 31 deletions(-) Looks good to me, and I've boot-tested it on my board as well. Acked-by: Will Deacon Will -- To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to majord...@vger.kernel