Clearing DBSR and DBCR0 in host handler.

Bhushan Bharat-R65777 R65777 at freescale.com
Thu Apr 4 02:24:09 EST 2013


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



More information about the Linuxppc-dev mailing list