All of lore.kernel.org
 help / color / mirror / Atom feed
From: catalin.marinas@arm.com (Catalin Marinas)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v9 4/5] arm64: introduce CONFIG_PARAVIRT, PARAVIRT_TIME_ACCOUNTING and pv_time_ops
Date: Mon, 17 Feb 2014 17:55:52 +0000	[thread overview]
Message-ID: <20140217175552.GB8361@arm.com> (raw)
In-Reply-To: <alpine.DEB.2.02.1402171225000.27926@kaball.uk.xensource.com>

On Mon, Feb 17, 2014 at 12:25:42PM +0000, Stefano Stabellini wrote:
> On Thu, 9 Jan 2014, Stefano Stabellini wrote:
> > Introduce CONFIG_PARAVIRT and PARAVIRT_TIME_ACCOUNTING on ARM64.
> > Necessary duplication of paravirt.h and paravirt.c with ARM.
> > 
> > The only paravirt interface supported is pv_time_ops.steal_clock, so no
> > runtime pvops patching needed.
> > 
> > This allows us to make use of steal_account_process_tick for stolen
> > ticks accounting.
> > 
> > Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
> > CC: will.deacon at arm.com
> > CC: nico at linaro.org
> > CC: marc.zyngier at arm.com
> > CC: cov at codeaurora.org
> > CC: arnd at arndb.de
> > CC: olof at lixom.net
> > CC: Catalin.Marinas at arm.com
> 
> Catalin, Will, are you happy with this patch for 3.15?

It's pretty small and looks fine to me. However, I would like someone
with more virtualisation experience than me to ack it (e.g. Marc Z).

Some nitpicks:

> > +config PARAVIRT
> > +	bool "Enable paravirtualization code"
> > +	---help---
> > +	  This changes the kernel so it can modify itself when it is run
> > +	  under a hypervisor, potentially improving performance significantly
> > +	  over full virtualization.
> > +
> > +config PARAVIRT_TIME_ACCOUNTING
> > +	bool "Paravirtual steal time accounting"
> > +	select PARAVIRT
> > +	default n
> > +	---help---

For consistency with this file, just use "help" rather than
"---help---".

> > --- /dev/null
> > +++ b/arch/arm64/include/asm/paravirt.h
> > @@ -0,0 +1,20 @@
> > +#ifndef _ASM_ARM64_PARAVIRT_H
> > +#define _ASM_ARM64_PARAVIRT_H

__ASM_PARAVIRT_H for consistency.

-- 
Catalin

WARNING: multiple messages have this Message-ID (diff)
From: Catalin Marinas <catalin.marinas@arm.com>
To: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Cc: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"linux-arm-kernel@lists.infradead.org" 
	<linux-arm-kernel@lists.infradead.org>,
	"konrad.wilk@oracle.com" <konrad.wilk@oracle.com>,
	Marc Zyngier <Marc.Zyngier@arm.com>,
	Will Deacon <Will.Deacon@arm.com>,
	Ian Campbell <Ian.Campbell@citrix.com>,
	"linux@arm.linux.org.uk" <linux@arm.linux.org.uk>,
	"olof@lixom.net" <olof@lixom.net>,
	"arnd@arndb.de" <arnd@arndb.de>,
	"nico@linaro.org" <nico@linaro.org>,
	"cov@codeaurora.org" <cov@codeaurora.org>
Subject: Re: [PATCH v9 4/5] arm64: introduce CONFIG_PARAVIRT, PARAVIRT_TIME_ACCOUNTING and pv_time_ops
Date: Mon, 17 Feb 2014 17:55:52 +0000	[thread overview]
Message-ID: <20140217175552.GB8361@arm.com> (raw)
In-Reply-To: <alpine.DEB.2.02.1402171225000.27926@kaball.uk.xensource.com>

On Mon, Feb 17, 2014 at 12:25:42PM +0000, Stefano Stabellini wrote:
> On Thu, 9 Jan 2014, Stefano Stabellini wrote:
> > Introduce CONFIG_PARAVIRT and PARAVIRT_TIME_ACCOUNTING on ARM64.
> > Necessary duplication of paravirt.h and paravirt.c with ARM.
> > 
> > The only paravirt interface supported is pv_time_ops.steal_clock, so no
> > runtime pvops patching needed.
> > 
> > This allows us to make use of steal_account_process_tick for stolen
> > ticks accounting.
> > 
> > Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
> > CC: will.deacon@arm.com
> > CC: nico@linaro.org
> > CC: marc.zyngier@arm.com
> > CC: cov@codeaurora.org
> > CC: arnd@arndb.de
> > CC: olof@lixom.net
> > CC: Catalin.Marinas@arm.com
> 
> Catalin, Will, are you happy with this patch for 3.15?

It's pretty small and looks fine to me. However, I would like someone
with more virtualisation experience than me to ack it (e.g. Marc Z).

Some nitpicks:

> > +config PARAVIRT
> > +	bool "Enable paravirtualization code"
> > +	---help---
> > +	  This changes the kernel so it can modify itself when it is run
> > +	  under a hypervisor, potentially improving performance significantly
> > +	  over full virtualization.
> > +
> > +config PARAVIRT_TIME_ACCOUNTING
> > +	bool "Paravirtual steal time accounting"
> > +	select PARAVIRT
> > +	default n
> > +	---help---

For consistency with this file, just use "help" rather than
"---help---".

> > --- /dev/null
> > +++ b/arch/arm64/include/asm/paravirt.h
> > @@ -0,0 +1,20 @@
> > +#ifndef _ASM_ARM64_PARAVIRT_H
> > +#define _ASM_ARM64_PARAVIRT_H

__ASM_PARAVIRT_H for consistency.

-- 
Catalin

  reply	other threads:[~2014-02-17 17:55 UTC|newest]

Thread overview: 52+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-09 18:15 [PATCH v9 0/5] xen/arm/arm64: CONFIG_PARAVIRT and stolen ticks accounting Stefano Stabellini
2014-01-09 18:15 ` Stefano Stabellini
2014-01-09 18:15 ` Stefano Stabellini
2014-01-09 18:32 ` [PATCH v9 1/5] xen: move xen_setup_runstate_info and get_runstate_snapshot to drivers/xen/time.c Stefano Stabellini
2014-01-09 18:32   ` Stefano Stabellini
2014-01-09 18:32   ` Stefano Stabellini
2014-01-09 18:32 ` [PATCH v9 2/5] kernel: missing include in cputime.c Stefano Stabellini
2014-01-09 18:32   ` Stefano Stabellini
2014-01-09 18:32   ` Stefano Stabellini
2014-03-25 12:06   ` Stefano Stabellini
2014-03-25 12:06     ` Stefano Stabellini
2014-03-25 12:06     ` Stefano Stabellini
2014-03-25 16:51     ` Stefano Stabellini
2014-03-25 16:51       ` Stefano Stabellini
2014-03-25 16:51       ` Stefano Stabellini
2014-01-09 18:32 ` [PATCH v9 3/5] arm: introduce CONFIG_PARAVIRT, PARAVIRT_TIME_ACCOUNTING and pv_time_ops Stefano Stabellini
2014-01-09 18:32   ` Stefano Stabellini
2014-01-09 18:32   ` Stefano Stabellini
2014-01-17 15:24   ` Stefano Stabellini
2014-01-17 15:24     ` Stefano Stabellini
2014-01-17 15:24     ` Stefano Stabellini
2014-02-17 12:24   ` Stefano Stabellini
2014-02-17 12:24     ` Stefano Stabellini
2014-02-17 12:24     ` Stefano Stabellini
2014-03-25 12:07   ` Stefano Stabellini
2014-03-25 12:07     ` Stefano Stabellini
2014-03-25 12:07     ` Stefano Stabellini
2014-01-09 18:32 ` [PATCH v9 4/5] arm64: " Stefano Stabellini
2014-01-09 18:32   ` Stefano Stabellini
2014-01-09 18:32   ` Stefano Stabellini
2014-01-10 17:00   ` Catalin Marinas
2014-01-10 17:00     ` Catalin Marinas
2014-02-17 12:25   ` Stefano Stabellini
2014-02-17 12:25     ` Stefano Stabellini
2014-02-17 12:25     ` Stefano Stabellini
2014-02-17 17:55     ` Catalin Marinas [this message]
2014-02-17 17:55       ` Catalin Marinas
2014-03-25 11:19       ` Stefano Stabellini
2014-03-25 11:19         ` Stefano Stabellini
2014-03-25 11:19         ` Stefano Stabellini
2014-03-25 11:48         ` Marc Zyngier
2014-03-25 11:48           ` Marc Zyngier
2014-03-25 12:12           ` Stefano Stabellini
2014-03-25 12:12             ` Stefano Stabellini
2014-01-09 18:32 ` [PATCH v9 5/5] xen/arm: account for stolen ticks Stefano Stabellini
2014-01-09 18:32   ` Stefano Stabellini
2014-01-09 18:32   ` Stefano Stabellini
2014-02-04 15:07 ` [Xen-devel] [PATCH v9 0/5] xen/arm/arm64: CONFIG_PARAVIRT and stolen ticks accounting Konrad Rzeszutek Wilk
2014-02-04 15:07   ` Konrad Rzeszutek Wilk
2014-02-17 12:22   ` Stefano Stabellini
2014-02-17 12:22     ` Stefano Stabellini
2014-02-17 12:22     ` Stefano Stabellini

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=20140217175552.GB8361@arm.com \
    --to=catalin.marinas@arm.com \
    --cc=linux-arm-kernel@lists.infradead.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.