All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marc Zyngier <marc.zyngier@arm.com>
To: Christoffer Dall <cdall@kernel.org>,
	linux-arm-kernel@lists.infradead.org,
	kvmarm@lists.cs.columbia.edu
Cc: kvm@vger.kernel.org
Subject: Re: [PATCH] KVM: arm/arm64: Reset mapped IRQs on VM reset
Date: Wed, 7 Mar 2018 13:02:07 +0000	[thread overview]
Message-ID: <a5dbae97-7ab8-4f60-723f-d3599297f396@arm.com> (raw)
In-Reply-To: <20180305103638.1633-1-cdall@kernel.org>

On 05/03/18 10:36, Christoffer Dall wrote:
> We currently don't allow resetting mapped IRQs from userspace, because
> their state is controlled by the hardware.  But we do need to reset the
> state when the VM is reset, so we provide a function for the 'owner' of
> the mapped interrupt to reset the interrupt state.
> 
> Currently only the timer uses mapped interrupts, so we call this
> function from the timer reset logic.
> 
> Signed-off-by: Christoffer Dall <cdall@kernel.org>
> ---
> This depends on "KVM: arm/arm64: Avoid vcpu_load for other vcpu ioctls
> than KVM_RUN" from the VHE optimization series so that the reset doesn't
> get called while vtimer->loaded is true.

Queued for 4.16-rc5.

Thanks,

	M.
-- 
Jazz is not dead. It just smells funny...

WARNING: multiple messages have this Message-ID (diff)
From: marc.zyngier@arm.com (Marc Zyngier)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] KVM: arm/arm64: Reset mapped IRQs on VM reset
Date: Wed, 7 Mar 2018 13:02:07 +0000	[thread overview]
Message-ID: <a5dbae97-7ab8-4f60-723f-d3599297f396@arm.com> (raw)
In-Reply-To: <20180305103638.1633-1-cdall@kernel.org>

On 05/03/18 10:36, Christoffer Dall wrote:
> We currently don't allow resetting mapped IRQs from userspace, because
> their state is controlled by the hardware.  But we do need to reset the
> state when the VM is reset, so we provide a function for the 'owner' of
> the mapped interrupt to reset the interrupt state.
> 
> Currently only the timer uses mapped interrupts, so we call this
> function from the timer reset logic.
> 
> Signed-off-by: Christoffer Dall <cdall@kernel.org>
> ---
> This depends on "KVM: arm/arm64: Avoid vcpu_load for other vcpu ioctls
> than KVM_RUN" from the VHE optimization series so that the reset doesn't
> get called while vtimer->loaded is true.

Queued for 4.16-rc5.

Thanks,

	M.
-- 
Jazz is not dead. It just smells funny...

  reply	other threads:[~2018-03-07 13:02 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-05 10:36 [PATCH] KVM: arm/arm64: Reset mapped IRQs on VM reset Christoffer Dall
2018-03-05 10:36 ` Christoffer Dall
2018-03-07 13:02 ` Marc Zyngier [this message]
2018-03-07 13:02   ` Marc Zyngier

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=a5dbae97-7ab8-4f60-723f-d3599297f396@arm.com \
    --to=marc.zyngier@arm.com \
    --cc=cdall@kernel.org \
    --cc=kvm@vger.kernel.org \
    --cc=kvmarm@lists.cs.columbia.edu \
    --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.