[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20070307034932.09F5A1801C4@magilla.sf.frob.com>
Date: Tue, 6 Mar 2007 19:49:31 -0800 (PST)
From: Roland McGrath <roland@...hat.com>
To: Alan Stern <stern@...land.harvard.edu>
Cc: Prasanna S Panchamukhi <prasanna@...ibm.com>,
Kernel development list <linux-kernel@...r.kernel.org>
Subject: Re: [RFC] hwbkpt: Hardware breakpoints (was Kwatch)
> > Yeah, I guess that's right. It should still return NOTIFY_STOP when
> > args->err has no other bits set, so notifiers aren't called with zero.
>
> In practice that might not work. On my machine, at least, reads of DR6
> return ones in all the reserved bit positions.
Does that mean asm("mov %1,%%dr6; mov %%dr6,%0" : "=r" (mask) : "r" (0));
puts in mask the set of reserved bits? We could collect that value at CPU
startup and mask it off args->err, then OR it back into vdr6.
Thanks,
Roland
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists