From: Kumar Gala <galak@kernel.crashing.org>
To: Bhushan Bharat-R65777 <R65777@freescale.com>
Cc: "linuxppc-dev@lists.ozlabs.org" <linuxppc-dev@lists.ozlabs.org>,
Alexander Graf <agraf@suse.de>,
Wood Scott-B07421 <B07421@freescale.com>
Subject: Re: Clearing DBSR and DBCR0 in host handler.
Date: Wed, 3 Apr 2013 11:10:36 -0500 [thread overview]
Message-ID: <C62C333B-D3CA-4AE2-B9DF-39E3CF73A3C5@kernel.crashing.org> (raw)
In-Reply-To: <6A3DF150A5B70D4F9B66A25E3F7C888D06FBE661@039-SN2MPN1-013.039d.mgd.msft.net>
On Apr 3, 2013, at 10:24 AM, Bhushan Bharat-R65777 wrote:
> Hi All,
>=20
> 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).
>=20
> But I do not same (clearing DBCR0 and DBSR) in 64bit exception =
handler. Is this an issue or I am missing something?
>=20
> 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=
next prev parent reply other threads:[~2013-04-03 16:10 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-03 15:24 Clearing DBSR and DBCR0 in host handler Bhushan Bharat-R65777
2013-04-03 16:10 ` Kumar Gala [this message]
2013-04-03 17:33 ` Bhushan Bharat-R65777
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=C62C333B-D3CA-4AE2-B9DF-39E3CF73A3C5@kernel.crashing.org \
--to=galak@kernel.crashing.org \
--cc=B07421@freescale.com \
--cc=R65777@freescale.com \
--cc=agraf@suse.de \
--cc=linuxppc-dev@lists.ozlabs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox