Message ID | 20171204135622.21568-1-cdall@kernel.org |
---|---|
State | New |
Headers | show
Return-Path: <linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org> X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.infradead.org (client-ip=65.50.211.133; helo=bombadil.infradead.org; envelope-from=linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="WaInMiU6"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=christofferdall-dk.20150623.gappssmtp.com header.i=@christofferdall-dk.20150623.gappssmtp.com header.b="wdLD6XMR"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3yr5yt0Hqcz9t16 for <incoming-imx@patchwork.ozlabs.org>; Tue, 5 Dec 2017 00:56:54 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=o7eU4puBuvOmvlin3nd+QHrrRKIVLIlXszH0Dl3szQI=; b=WaInMiU6qgi3Jp yHXZyYDSess/+br4ZkAFzxi0s1Q0J207HtFjpYHF8iYl0zvOUiRCEaOXX7hdplRyELY+jz2bvGz3p XmE2STXVi1IbapEmac/4+cErwYtX/i9BGKKWFJyBNfhkudqV1/lDYkqJHkJV0z3w4hf2gsovvk/f5 ud8wJFs2UUgvUbzs5enyCR4/JDiQZWHdRiLz5IdEqIivzSFrP3wuO8VCJ8cFOiPMzKs0H9IgZkCEr aQzRpL5gSv1lYKu6cPR0JaxYG2LOSOF1m9Iylk59K7LBkXvxQqBC+J34IyFgD8WUPC5Ws4P7Jsi+m 7oGklFsFFQasa8mR9ltg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1eLrEq-0007al-AJ; Mon, 04 Dec 2017 13:56:52 +0000 Received: from mail-wr0-x244.google.com ([2a00:1450:400c:c0c::244]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1eLrEl-0007ZQ-9w for linux-arm-kernel@lists.infradead.org; Mon, 04 Dec 2017 13:56:50 +0000 Received: by mail-wr0-x244.google.com with SMTP id a41so15513717wra.6 for <linux-arm-kernel@lists.infradead.org>; Mon, 04 Dec 2017 05:56:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=christofferdall-dk.20150623.gappssmtp.com; s=20150623; h=sender:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=K30BrS3LfzgqKKicaeLEJ6YX9fNLgLGoLBqOq+nmqac=; b=wdLD6XMRI0AUKDi0pkmu6xf/vSYqoAAp2GJFo7JF4aCnNNPB1gERV+whg69Vqh1Ubu xf1ZaUz6qO7q3YiPDj8KE2XdrJeABKTSq+Yt9Y2Imm7C9CjP4dxHJouDQ7cyJBfbXc1K AagOn9oRTr66/Fu7EtQjRbg9s7oc0CQTD9M1aMsN9SkZenM7ORwrTxdGaeSjQUl8SvOZ lgrnuax1uJKT64eCwJe2DVedAIZ3/UhuJOn/NjLFFaPZ8oJtkmnFxqGK1T7/pgVO+CJJ q6l74slG75PeJ90a3HPKvKuGnh8a0C3Nmi736PqKxZJtGg3kLNyhtEyNMTOG+Q/dWyWW YcQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :mime-version:content-transfer-encoding; bh=K30BrS3LfzgqKKicaeLEJ6YX9fNLgLGoLBqOq+nmqac=; b=Oex2Gwnv9E4s87cVy4bOQGjrX+nFKxMdLk9OV5eqy0Hy+23nBRzp9SnJHD0EnJ5iP1 o3mq1GPYqWBi+T/jrJzAS0eipCFhHnPhBanqjCbcot7z1WNialCP4ydcNkIhNVwt/PtP pTqLe+SC1959WVYO1eAXly5c08+QaoPpu2eA4FQQbSF8ShYJzj0OIcxnDRScwkntbXLI TBOcAoBqxuSMU9kjYOwORbrCkEfG6f+VN9ID2GYF2990dc624jJ6xSIQKXv8OpAgWYor x8YNWw+AWuNg6f7BV1aYWlDwBH1ziPz2NSia9LfS8aQa4WHUjbY1jTlRiMcMvEPCIkNp jhYQ== X-Gm-Message-State: AKGB3mJ3+9dKZGWgrK3oiVAdR+ELRWFPjj96G1J1p7U0uTaccqljgXG1 p8qjGXe/oP4exjGLhaQ4Jut+8Q== X-Google-Smtp-Source: AGs4zMb9e8NtAHPGD5vgql0+NZ4rs952x8KJveITKyeJ5lx7RzTlqaq3FnEC42YwExTPnaZbL+F7bQ== X-Received: by 10.223.199.203 with SMTP id y11mr7413195wrg.37.1512395784959; Mon, 04 Dec 2017 05:56:24 -0800 (PST) Received: from localhost.localdomain (x50d2404e.cust.hiper.dk. [80.210.64.78]) by smtp.gmail.com with ESMTPSA id r14sm12449287wra.71.2017.12.04.05.56.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 04 Dec 2017 05:56:24 -0800 (PST) From: Christoffer Dall <cdall@kernel.org> To: kvmarm@lists.cs.columbia.edu, Paolo Bonzini <pbonzini@redhat.com>, =?utf-8?b?UmFkaW0gS3LEjW3DocWZ?= <rkrcmar@redhat.com> Subject: [PULL 00/19] KVM/ARM Fixes for v4.15 Date: Mon, 4 Dec 2017 14:56:03 +0100 Message-Id: <20171204135622.21568-1-cdall@kernel.org> X-Mailer: git-send-email 2.14.2 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171204_055647_709380_A4A7AC4E X-CRM114-Status: GOOD ( 12.96 ) X-Spam-Score: 0.1 (/) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (0.1 points) pts rule name description ---- ---------------------- -------------------------------------------------- 2.0 URIBL_DBL_ABUSE_SPAM Contains an abused spamvertized URL listed in the DBL blocklist [URIs: linaro.org] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [2a00:1450:400c:c0c:0:0:0:244 listed in] [list.dnswl.org] 0.0 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: Marc Zyngier <marc.zyngier@arm.com>, Christoffer Dall <christoffer.dall@linaro.org>, kvm@vger.kernel.org, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org List-Id: linux-imx-kernel.lists.patchwork.ozlabs.org |
Apologies for sending the cover-letter twice; my connection dropped during my initial attempt to send this pull request, and I thought nothing came through, but apparently that wasn't the case. Thanks, -Christoffer
From: Christoffer Dall <christoffer.dall@linaro.org> Hi Paolo and Radim, Here's the first round of fixes for KVM/ARM for v4.15. This is a fairly large set of fixes, partially because we spotted a handful of issues from running the SMATCH static analysis on the code (thanks to AKASHI Takahiro). In more details, this pull request fixes: - A number of issues in the vgic discovered using SMATCH - A bit one-off calculation in out stage base address mask (32-bit and 64-bit) - Fixes to single-step debugging instructions that trap for other reasons such as MMMIO aborts - Printing unavailable hyp mode as error - Potential spinlock deadlock in the vgic - Avoid calling vgic vcpu free more than once - Broken bit calculation for big endian systems The following changes since commit 4fbd8d194f06c8a3fd2af1ce560ddb31f7ec8323: Linux 4.15-rc1 (2017-11-26 16:01:47 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git tags/kvm-arm-fixes-for-v4.15-1 for you to fetch changes up to fc396e066318c0a02208c1d3f0b62950a7714999: KVM: arm/arm64: Fix broken GICH_ELRSR big endian conversion (2017-12-04 14:25:33 +0100) Thanks, -Christoffer Alex Bennée (5): KVM: arm/arm64: debug: Introduce helper for single-step kvm: arm64: handle single-stepping trapped instructions kvm: arm64: handle single-step of userspace mmio instructions kvm: arm64: handle single-step during SError exceptions kvm: arm64: handle single-step of hyp emulated mmio instructions Andre Przywara (1): KVM: arm/arm64: VGIC: extend !vgic_is_initialized guard Andrew Jones (1): KVM: arm/arm64: kvm_arch_destroy_vm cleanups Ard Biesheuvel (1): kvm: arm: don't treat unavailable HYP mode as an error Christoffer Dall (3): KVM: arm/arm64: Don't enable/disable physical timer access on VHE KVM: arm/arm64: Avoid attempting to load timer vgic state without a vgic KVM: arm/arm64: Fix broken GICH_ELRSR big endian conversion Kristina Martsenko (1): arm64: KVM: fix VTTBR_BADDR_MASK BUG_ON off-by-one Marc Zyngier (7): KVM: arm/arm64: vgic-irqfd: Fix MSI entry allocation KVM: arm/arm64: vgic: Preserve the revious read from the pending table KVM: arm/arm64: vgic-its: Preserve the revious read from the pending table KVM: arm/arm64: vgic-its: Check result of allocation before use KVM: arm/arm64: vgic-v4: Only perform an unmap for valid vLPIs arm: KVM: Fix VTTBR_BADDR_MASK BUG_ON off-by-one KVM: arm/arm64: Fix spinlock acquisition in vgic_set_owner arch/arm/include/asm/kvm_arm.h | 3 +-- arch/arm/include/asm/kvm_host.h | 5 ++++ arch/arm64/include/asm/kvm_arm.h | 3 +-- arch/arm64/include/asm/kvm_host.h | 1 + arch/arm64/kvm/debug.c | 21 +++++++++++++++ arch/arm64/kvm/handle_exit.c | 57 ++++++++++++++++++++++++++++----------- arch/arm64/kvm/hyp/switch.c | 37 ++++++++++++++++++++----- include/kvm/arm_arch_timer.h | 3 --- virt/kvm/arm/arch_timer.c | 11 +++----- virt/kvm/arm/arm.c | 7 +++-- virt/kvm/arm/hyp/timer-sr.c | 48 ++++++++++++++------------------- virt/kvm/arm/hyp/vgic-v2-sr.c | 4 --- virt/kvm/arm/vgic/vgic-irqfd.c | 3 +-- virt/kvm/arm/vgic/vgic-its.c | 4 ++- virt/kvm/arm/vgic/vgic-v3.c | 2 +- virt/kvm/arm/vgic/vgic-v4.c | 6 +++-- virt/kvm/arm/vgic/vgic.c | 8 +++--- 17 files changed, 144 insertions(+), 79 deletions(-)