From: Marc Zyngier Subject: Re: [PATCH] KVM: arm/arm64: VGIC MMIO: add missing irq_lock Date: Wed, 7 Mar 2018 13:09:16 +0000 Message-ID: <20a9983c-6e66-1fc6-6901-1748fcc3226e@arm.com> References: <20180306092106.13044-1-andre.przywara@arm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20180306092106.13044-1-andre.przywara@arm.com> Content-Language: en-GB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=m.gmane.org@lists.infradead.org To: Andre Przywara , Christoffer Dall Cc: Eric Auger , kvmarm@lists.cs.columbia.edu, linux-arm-kernel@lists.infradead.org List-Id: kvmarm@lists.cs.columbia.edu On 06/03/18 09:21, Andre Przywara wrote: > Our irq_is_pending() helper function accesses multiple members of the > vgic_irq struct, so we need to hold the lock when calling it. > Add that requirement as a comment to the definition and take the lock > around the call in vgic_mmio_read_pending(), where we were missing it > before. > > Signed-off-by: Andre Przywara Queued for 4.16-rc5. Thanks, M. -- Jazz is not dead. It just smells funny...