Clearing DBSR and DBCR0 in host handler.

Kumar Gala galak at kernel.crashing.org
Thu Apr 4 03:10:36 EST 2013


On Apr 3, 2013, at 10:24 AM, Bhushan Bharat-R65777 wrote:

> Hi All,
> 
> The kernel exception handling code for 32 bit (transfer_to_handler in entry_32.S) clear DBSR and load DBCR0 with 0 (global_dbcr0 variable, which is zero) if user space used debug (DBCR0.IDM set).
> 
> But I do not same (clearing DBCR0 and DBSR) in 64bit exception handler. Is this an issue or I am missing something?
> 
> Thanks
> -Bharat

Are you having a problem with debug w/the 64-bit kernel?  The 32-bit kernel supports several kernel level debug features that the 64-bit doesn't support.  So if you are having an issue that might be more helpful to convey that just asking about exception code path.

- k


More information about the Linuxppc-dev mailing list