RE: Problems using psr.dd

From: Seth, Rohit <>
Date: 2003-11-21 11:55:44
> Arch volume 2, section 5.3 is quite explicit, "A non-faulting
> 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.
> -
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to
More majordomo info at
Received on Thu Nov 20 19:59:25 2003

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:20 EST