From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.1 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,INCLUDES_PULL_REQUEST,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 78CCDC2D0DB for ; Thu, 30 Jan 2020 13:26:11 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 40409214D8 for ; Thu, 30 Jan 2020 13:26:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1580390771; bh=wwlEwadKKbbQ4/WckEF80j+eU2hpJMPZGA/aKsa3POQ=; h=From:To:Cc:Subject:Date:List-ID:From; b=zhmYH4QxsaZrlC1mkFMlpZ4z6W33qwlRBkT7aGvliIBdiYJvK/4JEkxskDPahZZ2Y rsvaMOCgJDYV9snJtu0Yu27OCaYtxOI86UEBMbiCdT6P9w2W0fFF896jQ7M+g0/Qgj Q2UMLFNI9XIB2goJC2jJ1BhawxX1B4aN/RFj+1Ro= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727199AbgA3N0K (ORCPT ); Thu, 30 Jan 2020 08:26:10 -0500 Received: from mail.kernel.org ([198.145.29.99]:45502 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726996AbgA3N0K (ORCPT ); Thu, 30 Jan 2020 08:26:10 -0500 Received: from disco-boy.misterjones.org (disco-boy.misterjones.org [51.254.78.96]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 2754A206D3; Thu, 30 Jan 2020 13:26:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1580390769; bh=wwlEwadKKbbQ4/WckEF80j+eU2hpJMPZGA/aKsa3POQ=; h=From:To:Cc:Subject:Date:From; b=jSqZF95ckvt9gdNJuT243V8zugVLpABPUMBdW4NqpSyGGVpFU/aHtSZGYVcNPdvE8 w5kmbUEAyxiu94L5y3jA6U7tsKcKDNnG96HWp1K4wJCTn5rvEoKOiUfEIrbyAymjIH vNznXx3SiApMGAXzuCuPydw82vsVIcd36oCzEO+Q= Received: from 78.163-31-62.static.virginmediabusiness.co.uk ([62.31.163.78] helo=why.lan) by disco-boy.misterjones.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ix9pf-002BmW-5a; Thu, 30 Jan 2020 13:26:07 +0000 From: Marc Zyngier To: Paolo Bonzini Cc: Alexandru Elisei , Andrew Jones , Andrew Murray , Beata Michalska , Christoffer Dall , Eric Auger , Gavin Shan , Haibin Wang , James Morse , Mark Brown , Mark Rutland , Russell King , Shannon Zhao , Steven Price , Will Deacon , YueHaibing , Zenghui Yu , Julien Thierry , Suzuki K Poulose , linux-arm-kernel@lists.infradead.org, kvmarm@lists.cs.columbia.edu, kvm@vger.kernel.org Subject: [GIT PULL 00/23] KVM/arm updates for 5.6 Date: Thu, 30 Jan 2020 13:25:35 +0000 Message-Id: <20200130132558.10201-1-maz@kernel.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 62.31.163.78 X-SA-Exim-Rcpt-To: pbonzini@redhat.com, alexandru.elisei@arm.com, drjones@redhat.com, andrew.murray@arm.com, beata.michalska@linaro.org, christoffer.dall@arm.com, eric.auger@redhat.com, gshan@redhat.com, wanghaibin.wang@huawei.com, james.morse@arm.com, broonie@kernel.org, mark.rutland@arm.com, rmk+kernel@armlinux.org.uk, shannon.zhao@linux.alibaba.com, steven.price@arm.com, will@kernel.org, yuehaibing@huawei.com, yuzenghui@huawei.com, julien.thierry.kdev@gmail.com, suzuki.poulose@arm.com, linux-arm-kernel@lists.infradead.org, kvmarm@lists.cs.columbia.edu, kvm@vger.kernel.org X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org Hi Paolo, Please find below the pull request for KVM/arm for Linux 5.6. No new feature this time around, but a large spectrum of interesting fixes. I'm certainly pleased that people are focussing on these corner cases, as some of them are pretty hard to debug. So kudos to them! Please pull, M. The following changes since commit fd6988496e79a6a4bdb514a4655d2920209eb85d: Linux 5.5-rc4 (2019-12-29 15:29:16 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git tags/kvmarm-5.6 for you to fetch changes up to 4a267aa707953a9a73d1f5dc7f894dd9024a92be: KVM: arm64: Treat emulated TVAL TimerValue as a signed 32-bit integer (2020-01-28 13:09:31 +0000) ---------------------------------------------------------------- KVM/arm updates for Linux 5.6 - Fix MMIO sign extension - Fix HYP VA tagging on tag space exhaustion - Fix PSTATE/CPSR handling when generating exception - Fix MMU notifier's advertizing of young pages - Fix poisoned page handling - Fix PMU SW event handling - Fix TVAL register access - Fix AArch32 external abort injection - Fix ITS unmapped collection handling - Various cleanups ---------------------------------------------------------------- Alexandru Elisei (1): KVM: arm64: Treat emulated TVAL TimerValue as a signed 32-bit integer Andrew Jones (1): arm64: KVM: Add UAPI notes for swapped registers Christoffer Dall (1): KVM: arm64: Only sign-extend MMIO up to register width Eric Auger (5): KVM: arm/arm64: vgic-its: Fix restoration of unmapped collections KVM: arm64: pmu: Don't increment SW_INCR if PMCR.E is unset KVM: arm64: pmu: Don't mark a counter as chained if the odd one is disabled KVM: arm64: pmu: Fix chained SW_INCR counters KVM: arm64: pmu: Only handle supported event counters Gavin Shan (1): KVM: arm/arm64: Fix young bit from mmu notifier James Morse (3): KVM: arm/arm64: Re-check VMA on detecting a poisoned page KVM: arm: Fix DFSR setting for non-LPAE aarch32 guests KVM: arm: Make inject_abt32() inject an external abort instead Marc Zyngier (1): KVM: arm/arm64: Cleanup MMIO handling Mark Brown (1): arm64: KVM: Annotate guest entry/exit as a single function Mark Rutland (3): KVM: arm64: Correct PSTATE on exception entry KVM: arm/arm64: Correct CPSR on exception entry KVM: arm/arm64: Correct AArch32 SPSR on exception entry Russell King (1): arm64: kvm: Fix IDMAP overlap with HYP VA Shannon Zhao (1): KVM: ARM: Call hyp_cpu_pm_exit at the right place YueHaibing (1): KVM: arm: Remove duplicate include Zenghui Yu (3): KVM: arm/arm64: vgic: Handle GICR_PENDBASER.PTZ filed as RAZ KVM: arm/arm64: vgic-its: Properly check the unmapped coll in DISCARD handler KVM: arm/arm64: vgic: Drop the kvm_vgic_register_mmio_region() Documentation/virt/kvm/api.txt | 9 +++ arch/arm/include/asm/kvm_emulate.h | 27 +++++++- arch/arm/include/asm/kvm_host.h | 12 ++-- arch/arm/include/asm/kvm_hyp.h | 1 + arch/arm/include/asm/kvm_mmio.h | 26 ------- arch/arm64/include/asm/kvm_emulate.h | 40 ++++++++++- arch/arm64/include/asm/kvm_host.h | 12 ++-- arch/arm64/include/asm/kvm_mmio.h | 29 -------- arch/arm64/include/asm/ptrace.h | 1 + arch/arm64/include/uapi/asm/kvm.h | 12 +++- arch/arm64/include/uapi/asm/ptrace.h | 1 + arch/arm64/kvm/hyp/entry.S | 7 +- arch/arm64/kvm/inject_fault.c | 70 +++++++++++++++++-- arch/arm64/kvm/va_layout.c | 56 +++++++-------- virt/kvm/arm/aarch32.c | 131 ++++++++++++++++++++++++++++++----- virt/kvm/arm/arch_timer.c | 3 +- virt/kvm/arm/arm.c | 4 +- virt/kvm/arm/mmio.c | 68 +++++++----------- virt/kvm/arm/mmu.c | 24 +++---- virt/kvm/arm/pmu.c | 114 ++++++++++++++++++------------ virt/kvm/arm/vgic/vgic-its.c | 6 +- virt/kvm/arm/vgic/vgic-mmio-v3.c | 5 +- virt/kvm/arm/vgic/vgic-mmio.h | 5 -- 23 files changed, 421 insertions(+), 242 deletions(-) delete mode 100644 arch/arm/include/asm/kvm_mmio.h delete mode 100644 arch/arm64/include/asm/kvm_mmio.h