Re: [RFC PATCH 1/2] hw-breakpoints: Separate constraint space for data and instruction breakpoints

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Will Deacon
Date: Friday, April 16, 2010 - 7:35 am

Hello Frederic,

Thanks for this.

On Tue, 2010-04-13 at 00:01 +0100, Frederic Weisbecker wrote:

This looks useful for supporting architectures with separate
data/instruction breakpoints.

A couple of points:

1.) Will this affect the arch backend at all?

2.) On ARM, it is possible to have different numbers of breakpoint registers
    and watchpoint registers [which we do not know until runtime]. This
    means that we have to define HBP_NUM as a potential upper bound,
    which seems a bit wasteful. Perhaps there could be a mechanism to 
    register the available resources at runtime?

Thanks,

Will



--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[RFC PATCH 1/2] hw-breakpoints: Separate constraint space ..., Frederic Weisbecker, (Mon Apr 12, 4:01 pm)
Re: [RFC PATCH 1/2] hw-breakpoints: Separate constraint sp ..., Will Deacon, (Fri Apr 16, 7:35 am)
Re: [RFC PATCH 1/2] hw-breakpoints: Separate constraint sp ..., Frederic Weisbecker, (Fri Apr 16, 7:56 am)