All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sebastian Ene <sebastianene@google.com>
To: Will Deacon <will@kernel.org>
Cc: kvm@vger.kernel.org, qperret@google.com, will@kernel.org,
	julien.thierry.kdev@gmail.com, maz@kernel.org
Subject: Re: [PATCH kvmtool v11 0/3] aarch64: Add stolen time support
Date: Mon, 21 Mar 2022 14:48:18 +0000	[thread overview]
Message-ID: <YjiQMhbPF5oO0ZS8@google.com> (raw)
In-Reply-To: <20220321140039.GA11036@willie-the-truck>

On Mon, Mar 21, 2022 at 02:00:39PM +0000, Will Deacon wrote:
> Hi Sebastian,
> 

Hello Will,

> On Sun, Mar 13, 2022 at 04:19:47PM +0000, Sebastian Ene wrote:
> > This series adds support for stolen time functionality.
> > 
> > Patch #1 moves the vCPU structure initialisation before the target->init()
> > call to allow early access to the kvm structure from the vCPU
> > during target->init().
> > 
> > Patch #2 modifies the memory layout in arm-common/kvm-arch.h and adds a
> > new MMIO device PVTIME after the RTC region. A new flag is added in
> > kvm-config.h that will be used to control [enable/disable] the pvtime
> > functionality. Stolen time is enabled by default when the host
> > supports KVM_CAP_STEAL_TIME.
> > 
> > Patch #3 adds a new command line argument to disable the stolen time
> > functionality(by default is enabled).
> > 
> > Changelog since v10:
> >  - set the return value to -errno on failed exit path from
> >    'kvm_cpu__setup_pvtime' 
> 
> Thanks. I've applied this, but I think it would be worth a patch on top
> to make the new '--no-pvtime' option part of the 'arch-specific' options
> rather than a generic option given that this is only implemented for
> arm64 at the moment.
> 
> Please could you send an extra patch to move the option? You can look at
> how we deal with the other arm64-specific options in
> arm/aarch64/include/kvm/kvm-config-arch.h for inspiration.
>

Thanks for the feedback, I will add it as an arm64-specific option.

> Cheers,
> 
> Will

Thanks,
Sebastian

      reply	other threads:[~2022-03-21 14:48 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-13 16:19 [PATCH kvmtool v11 0/3] aarch64: Add stolen time support Sebastian Ene
2022-03-13 16:19 ` Sebastian Ene
2022-03-13 16:19 ` [PATCH kvmtool v11 1/3] aarch64: Populate the vCPU struct before target->init() Sebastian Ene
2022-03-13 16:19   ` Sebastian Ene
2022-03-13 16:19 ` [PATCH kvmtool v11 2/3] aarch64: Add stolen time support Sebastian Ene
2022-03-13 16:19   ` Sebastian Ene
2022-03-13 16:19 ` [PATCH kvmtool v11 3/3] Add --no-pvtime command line argument Sebastian Ene
2022-03-13 16:19   ` Sebastian Ene
2022-03-21 13:57 ` [PATCH kvmtool v11 0/3] aarch64: Add stolen time support Will Deacon
2022-03-21 13:57   ` Will Deacon
2022-03-21 14:00 ` Will Deacon
2022-03-21 14:00   ` Will Deacon
2022-03-21 14:48   ` Sebastian Ene [this message]

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=YjiQMhbPF5oO0ZS8@google.com \
    --to=sebastianene@google.com \
    --cc=julien.thierry.kdev@gmail.com \
    --cc=kvm@vger.kernel.org \
    --cc=maz@kernel.org \
    --cc=qperret@google.com \
    --cc=will@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 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.