From: "Seth, Rohit" <rohit.seth@intel.com>
To: linux-ia64@vger.kernel.org
Subject: RE: Problems using psr.dd
Date: Fri, 21 Nov 2003 00:55:44 +0000 [thread overview]
Message-ID: <marc-linux-ia64-106937636521403@msgid-missing> (raw)
In-Reply-To: <marc-linux-ia64-106879020623297@msgid-missing>
> Arch volume 2, section 5.3 is quite explicit, "A non-faulting
mandatory
> RSE load will clear PSR.da and PSR.dd". This does not appear to be a
> problem when returning to user space with these bits set, probably
> because the context switch does loadrs. AFAICT it is only an issue
> when using hardware debug registers on the kernel itself. traps.c has
> to detect that it is returning to kernel state with either of these
> bits set and issue loadrs to ensure that the rfi does not require RSE
> loads. Patch in progress.
>
I think you meant the kernel return path (and not context switch) while
referring to loadrs above. It is true that loadrs operation is done
only while transitioning to user space from kernel and not when you are
going back to kernel mode. So for the kernel->kernel case rfi can lead
to mandatory RSE activity and thus clearing the da and dd bits.
> -
prev parent reply other threads:[~2003-11-21 0:55 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-14 6:09 Problems using psr.dd Keith Owens
2003-11-20 2:39 ` David Mosberger
2003-11-20 4:32 ` Keith Owens
2003-11-20 7:18 ` Matt Chapman
2003-11-20 7:52 ` Keith Owens
2003-11-20 18:47 ` David Mosberger
2003-11-20 20:29 ` Seth, Rohit
2003-11-20 21:24 ` David Mosberger
2003-11-20 23:15 ` Keith Owens
2003-11-20 23:32 ` David Mosberger
2003-11-21 0:55 ` Seth, Rohit [this message]
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=marc-linux-ia64-106937636521403@msgid-missing \
--to=rohit.seth@intel.com \
--cc=linux-ia64@vger.kernel.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