Re: Feedback requested on switching the exception wrapper used for the PMU interrupt on ppc64

2008-05-16 Thread Corey J Ashford
Paul Mackerras <[EMAIL PROTECTED]> wrote on 05/15/2008 06:02:03 PM: > Corey J Ashford writes: > > > Thanks for the feedback. I don't believe I need a separate flag, because > > the PMU interrupt (via the PMAO bit) will still be pending when interrupts > > are

Re: Feedback requested on switching the exception wrapper used for the PMU interrupt on ppc64

2008-05-15 Thread Corey J Ashford
Paul Mackerras <[EMAIL PROTECTED]> wrote on 05/15/2008 06:02:03 PM: > Corey J Ashford writes: > > > Thanks for the feedback. I don't believe I need a separate flag, because > > the PMU interrupt (via the PMAO bit) will still be pending when interrupts > &

Re: Feedback requested on switching the exception wrapper used for the PMU interrupt on ppc64

2008-05-15 Thread Corey J Ashford
Paul Mackerras <[EMAIL PROTECTED]> wrote on 05/15/2008 04:36:02 PM: > Corey J Ashford writes: > > > Ideally, what I'm looking for is something that mimics the operation of > > MASKABLE_EXCEPTION_PSERIES. > > I've been looking at the kernel code (entry_

Re: Feedback requested on switching the exception wrapper used for the PMU interrupt on ppc64

2008-05-15 Thread Corey J Ashford
Just FYI: I just tried out the code I suggested below, and it does not work; it results in a system hang. I have spent some time analyzing why this doesn't work as I expected, but so far I haven't been able to figure it out. Regards, Corey Ashford Software Engineer IBM Linux Technology Center,

Re: Feedback requested on switching the exception wrapper used for the PMU interrupt on ppc64

2008-05-15 Thread Corey J Ashford
Hi Benjamin and Olaf, Thanks for the suggestions. Ideally, what I'm looking for is something that mimics the operation of MASKABLE_EXCEPTION_PSERIES. I've been looking at the kernel code (entry_64.S, exception.h, head_64.S) but am finding it quite complicated and hard to follow, particularly in t