From: Juergen Gross <jgross@suse.com>
To: Peter Zijlstra <peterz@infradead.org>
Cc: linux-kernel@vger.kernel.org, xen-devel@lists.xenproject.org,
x86@kernel.org, hpa@zytor.com, mingo@redhat.com,
tglx@linutronix.de, boris.ostrovsky@oracle.com,
rusty@rustcorp.com.au, lguest@lists.ozlabs.org
Subject: Re: [PATCH 1/3] paravirt,xen: remove xen_patch()
Date: Thu, 10 Aug 2017 19:30:03 +0200 [thread overview]
Message-ID: <468e9f1c-a3fc-aa86-ee79-da9683f7d926@suse.com> (raw)
In-Reply-To: <20170810162920.a3jkgibz4iygi3g7@hirez.programming.kicks-ass.net>
On 10/08/17 18:29, Peter Zijlstra wrote:
> On Thu, Aug 10, 2017 at 06:24:53PM +0200, Peter Zijlstra wrote:
>> -ENTRY(xen_irq_enable_direct)
>> - FRAME_BEGIN
>> - /* Unmask events */
>> - movb $0, PER_CPU_VAR(xen_vcpu_info) + XEN_vcpu_info_mask
>> -
>> - /*
>> - * Preempt here doesn't matter because that will deal with any
>> - * pending interrupts. The pending check may end up being run
>> - * on the wrong CPU, but that doesn't hurt.
>> - */
>> -
>> - /* Test for pending */
>> - testb $0xff, PER_CPU_VAR(xen_vcpu_info) + XEN_vcpu_info_pending
>> - jz 1f
>> -
>> -2: call check_events
>> -1:
>> -ENDPATCH(xen_irq_enable_direct)
>> - FRAME_END
>> - ret
>> - ENDPROC(xen_irq_enable_direct)
>> - RELOC(xen_irq_enable_direct, 2b+1)
>
> Oh my bad, part of that is still used.
>
> arch/x86/xen/enlighten_pv.c: pv_irq_ops.irq_enable = __PV_IS_CALLEE_SAVE(xen_irq_enable_direct);
>
> It just needs cleanups for the ENDPATCH and such.
Ah yes, of course.
Juergen
next prev parent reply other threads:[~2017-08-10 17:30 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-10 12:52 [PATCH 0/3] x86: paravirt related cleanup Juergen Gross
2017-08-10 12:52 ` [PATCH 1/3] paravirt,xen: remove xen_patch() Juergen Gross
2017-08-10 16:24 ` Peter Zijlstra
2017-08-10 16:29 ` Peter Zijlstra
2017-08-10 17:30 ` Juergen Gross [this message]
2017-08-10 16:29 ` Josh Poimboeuf
2017-08-10 12:52 ` [PATCH 2/3] x86/lguest: remove lguest support Juergen Gross
2017-08-10 12:52 ` [PATCH 3/3] x86/vsmp: remove vsmp paravirt support Juergen Gross
2017-08-10 15:28 ` Shai Fultheim (Shai@ScaleMP.com)
2017-08-10 15:30 ` Juergen Gross
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=468e9f1c-a3fc-aa86-ee79-da9683f7d926@suse.com \
--to=jgross@suse.com \
--cc=boris.ostrovsky@oracle.com \
--cc=hpa@zytor.com \
--cc=lguest@lists.ozlabs.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=peterz@infradead.org \
--cc=rusty@rustcorp.com.au \
--cc=tglx@linutronix.de \
--cc=x86@kernel.org \
--cc=xen-devel@lists.xenproject.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
all inboxes | Powered by JetHome®