From: Waiman Long <waiman.long@hpe.com>
To: Pan Xinhui <xinhui@linux.vnet.ibm.com>
Cc: <linux-kernel@vger.kernel.org>,
<virtualization@lists.linux-foundation.org>,
<linuxppc-dev@lists.ozlabs.org>, <peterz@infradead.org>,
Boqun Feng <boqun.feng@gmail.com>,
Paul Mackerras <paulus@samba.org>,
"Paul E. McKenney" <paulmck@linux.vnet.ibm.com>,
"Michael Ellerman" <mpe@ellerman.id.au>, <jeremy@goop.org>,
<chrisw@sous-sol.org>, <akataria@vmware.com>,
<rusty@rustcorp.com.au>, <gwshan@linux.vnet.ibm.com>,
<adam.buchbinder@gmail.com>, <tglx@linutronix.de>,
<marc.zyngier@arm.com>
Subject: Re: [PATCH resend] powerpc: enable qspinlock and its virtualization support
Date: Thu, 28 Apr 2016 17:07:54 -0400 [thread overview]
Message-ID: <57227BAA.7040807@hpe.com> (raw)
In-Reply-To: <5721EC0E.8040506@linux.vnet.ibm.com>
On 04/28/2016 06:55 AM, Pan Xinhui wrote:
> From: Pan Xinhui<xinhui.pan@linux.vnet.ibm.com>
>
> This patch aims to enable qspinlock on PPC. And on pseries platform, it also support
> paravirt qspinlock.
>
> Signed-off-by: Pan Xinhui<xinhui.pan@linux.vnet.ibm.com>
> ---
> arch/powerpc/include/asm/qspinlock.h | 37 +++++++++++++++
> arch/powerpc/include/asm/qspinlock_paravirt.h | 36 +++++++++++++++
> .../powerpc/include/asm/qspinlock_paravirt_types.h | 13 ++++++
> arch/powerpc/include/asm/spinlock.h | 31 ++++++++-----
> arch/powerpc/include/asm/spinlock_types.h | 4 ++
> arch/powerpc/kernel/paravirt.c | 52 ++++++++++++++++++++++
> arch/powerpc/lib/locks.c | 32 +++++++++++++
> arch/powerpc/platforms/pseries/setup.c | 5 +++
> 8 files changed, 198 insertions(+), 12 deletions(-)
> create mode 100644 arch/powerpc/include/asm/qspinlock.h
> create mode 100644 arch/powerpc/include/asm/qspinlock_paravirt.h
> create mode 100644 arch/powerpc/include/asm/qspinlock_paravirt_types.h
> create mode 100644 arch/powerpc/kernel/paravirt.c
>
>
This is just an enablement patch. You will also need a patch to activate
qspinlock for, at lease, some PPC configs. Right?
It has dependency on the pv_wait() patch that I sent out extend the
parameter list. Some performance data on how PPC system will perform
with and without qspinlock will also be helpful data points.
Cheers,
Longman
next prev parent reply other threads:[~2016-04-28 21:42 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-28 10:55 [PATCH resend] powerpc: enable qspinlock and its virtualization support Pan Xinhui
2016-04-28 21:07 ` Waiman Long [this message]
2016-04-29 2:34 ` Pan Xinhui
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=57227BAA.7040807@hpe.com \
--to=waiman.long@hpe.com \
--cc=adam.buchbinder@gmail.com \
--cc=akataria@vmware.com \
--cc=boqun.feng@gmail.com \
--cc=chrisw@sous-sol.org \
--cc=gwshan@linux.vnet.ibm.com \
--cc=jeremy@goop.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=marc.zyngier@arm.com \
--cc=mpe@ellerman.id.au \
--cc=paulmck@linux.vnet.ibm.com \
--cc=paulus@samba.org \
--cc=peterz@infradead.org \
--cc=rusty@rustcorp.com.au \
--cc=tglx@linutronix.de \
--cc=virtualization@lists.linux-foundation.org \
--cc=xinhui@linux.vnet.ibm.com \
/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).