Re: questions around Book III-E and branch trace

2013-04-17 Thread Benjamin Herrenschmidt
On Wed, 2013-04-17 at 12:44 -0600, Chris Friesen wrote: > Hi, > > I'm trying to wrap my head around how linux handles branch tracing on > Book III-E. I think I understand how we set MSR[DE] and DBCR0[IDM|BT], > and how we handle fixing things up if an instruction being traced causes > an excep

BUG: branch trace support for 64-bit Book-E (was Re: questions around Book III-E and branch trace)

2013-04-17 Thread Chris Friesen
On 04/17/2013 12:44 PM, Chris Friesen wrote: Hi, I'm trying to wrap my head around how linux handles branch tracing on Book III-E. I think I understand how we set MSR[DE] and DBCR0[IDM|BT], and how we handle fixing things up if an instruction being traced causes an exception. While poking arou

questions around Book III-E and branch trace

2013-04-17 Thread Chris Friesen
Hi, I'm trying to wrap my head around how linux handles branch tracing on Book III-E. I think I understand how we set MSR[DE] and DBCR0[IDM|BT], and how we handle fixing things up if an instruction being traced causes an exception. I have a few questions though: 1) Does user_enable_block_s