From: Andy Lutomirski <luto@kernel.org>
To: Peter Zijlstra <peterz@infradead.org>
Cc: Andy Lutomirski <luto@kernel.org>, X86 ML <x86@kernel.org>,
Kyle Huey <me@kylehuey.com>,
Alexandre Chartre <alexandre.chartre@oracle.com>,
"Robert O'Callahan" <rocallahan@gmail.com>,
LKML <linux-kernel@vger.kernel.org>,
"Paul E. McKenney" <paulmck@kernel.org>,
Frederic Weisbecker <frederic@kernel.org>,
Paolo Bonzini <pbonzini@redhat.com>,
Sean Christopherson <sean.j.christopherson@intel.com>,
Masami Hiramatsu <mhiramat@kernel.org>,
Petr Mladek <pmladek@suse.com>,
Steven Rostedt <rostedt@goodmis.org>,
Joel Fernandes <joel@joelfernandes.org>,
Boris Ostrovsky <boris.ostrovsky@oracle.com>,
Juergen Gross <jgross@suse.com>, Brian Gerst <brgerst@gmail.com>,
Mathieu Desnoyers <mathieu.desnoyers@efficios.com>,
Will Deacon <will@kernel.org>,
Josh Poimboeuf <jpoimboe@redhat.com>,
stable <stable@vger.kernel.org>
Subject: Re: [PATCH] x86/debug: Allow a single level of #DB recursion
Date: Thu, 20 Aug 2020 15:43:07 -0700 [thread overview]
Message-ID: <CALCETrXkZdR4Vvk1UXeWapHrBug+d6Nr-=VcbFHzw8PKzvLJCw@mail.gmail.com> (raw)
In-Reply-To: <20200820084427.GO2674@hirez.programming.kicks-ass.net>
On Thu, Aug 20, 2020 at 1:44 AM <peterz@infradead.org> wrote:
>
> On Wed, Aug 19, 2020 at 05:15:43PM -0700, Andy Lutomirski wrote:
> > +static __always_inline void debug_enter(unsigned long *dr6, unsigned long *dr7)
> > +{
> > + *dr6 = debug_read_clear_dr6();
> > }
> >
> > static __always_inline void debug_exit(unsigned long dr7)
> > {
> > - local_db_restore(dr7);
> > }
>
> That's all unused after this patch, might as well remove it.
Whoops.
next prev parent reply other threads:[~2020-08-20 22:43 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-20 0:15 [PATCH] x86/debug: Allow a single level of #DB recursion Andy Lutomirski
2020-08-20 8:44 ` peterz
2020-08-20 22:43 ` Andy Lutomirski [this message]
2020-09-04 13:16 ` [tip: x86/urgent] " tip-bot2 for Andy Lutomirski
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='CALCETrXkZdR4Vvk1UXeWapHrBug+d6Nr-=VcbFHzw8PKzvLJCw@mail.gmail.com' \
--to=luto@kernel.org \
--cc=alexandre.chartre@oracle.com \
--cc=boris.ostrovsky@oracle.com \
--cc=brgerst@gmail.com \
--cc=frederic@kernel.org \
--cc=jgross@suse.com \
--cc=joel@joelfernandes.org \
--cc=jpoimboe@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mathieu.desnoyers@efficios.com \
--cc=me@kylehuey.com \
--cc=mhiramat@kernel.org \
--cc=paulmck@kernel.org \
--cc=pbonzini@redhat.com \
--cc=peterz@infradead.org \
--cc=pmladek@suse.com \
--cc=rocallahan@gmail.com \
--cc=rostedt@goodmis.org \
--cc=sean.j.christopherson@intel.com \
--cc=stable@vger.kernel.org \
--cc=will@kernel.org \
--cc=x86@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;
as well as URLs for NNTP newsgroup(s).