| Date | Sat, 31 Jul 2010 14:04:54 +0200 | From | Frederic Weisbecker <> | Subject | Re: [070/140] x86: Send a SIGTRAP for user icebp traps |
| |
On Sat, Jul 31, 2010 at 01:39:19AM -0400, Chuck Ebbert wrote: > On Fri, 30 Jul 2010 10:30:35 -0700 > Greg KH <gregkh@suse.de> wrote: > > > 2.6.33-stable review patch. If anyone has any objections, please let us know. > > > > ------------------ > > > > From: Frederic Weisbecker <fweisbec@gmail.com> > > > > commit a1e80fafc9f0742a1776a0490258cb64912411b0 upstream. > > > > This backport will not work. Instead of fixing up the context of this > patch to make it apply, commit 40f9249a73f6c251adea492b1c3d19d39e2a9bda > ("x86/debug: Clear reserved bits of DR6 in do_debug()") should be > applied first, followed by an unmodified version of this commit.
It works because the 2.6.33 backport is slightly different from the 2.6.34 one. We are dealing with (dr6 & ~0xffff0ff0) rather than dr6.
Backporting the commit you describe seemed too invasive and risky for me, so I preferred to use that mask to ignore the dr6 reserved bits while checking the icebp origin, only.
Thanks.
|