[Top] [All Lists]

Re: [PATCH] kernelsp on 64-bit kernel

To: "Kip Walker" <>, <>
Subject: Re: [PATCH] kernelsp on 64-bit kernel
From: "Kevin D. Kissell" <>
Date: Wed, 5 Mar 2003 00:08:03 +0100
Cc: "Ralf Baechle" <>
Original-recipient: rfc822;
References: <>
> Is anyone else interested in having the 64-bit kernel *not* use the CP0
> watchpoint registers for storing the kernel stack pointer for the CPU's
> current process?
> I have a couple problems with this:
>  - there are read-only bits in watchhi (according to the MIPS64 spec) so
> hoping to save and restore all high 32 bits (as currently coded) seems
> unjustified.
>  - somebody might want to actually *use* watchpoints (a JTAG debugger,
> in my case)

For whatever it's worth, I've always maintained that stealing the Watchpoint
registers in this way was a pretty questionable hack to be avoided.  Watchpoint
registers are *optional* in MIPS64 and may not even exist.  And yes, someone
might want to use them for their intended purpose some day.  However, please
note that the EJTAG breakpoint registers are completely orthogonal to the
watchpoint registers.


            Kevin K.

<Prev in Thread] Current Thread [Next in Thread>