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 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 2DC60C4332F for ; Thu, 13 Oct 2022 13:47:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :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=B418XGHwjTFGS6mRNwPOskKwrxu7D0RCCg2UMmNgQbQ=; b=VDgkA1ULBvpL+s vFR4aEyO8ahEte4zNI70hTEATjxI7J3/YBeXpsrTb5j7cM4bHILKvNMhTsK43BtW6gh/jb4ZGdk7w PQQ49Q7h6bm7qPLT6e28xlb2STr3XiwdU6rok+xbc+IgyyNkhNkrDxBMJYKJQxysuophfb2MFovYt 1p658rFXJ51lr0fn/DQvwE7oHKCqo5XaawPTkM0/1CRAfa+np1fqsgtpMaqlDMCYzKhTQ8wdiHpP0 OIClRmtm5hnkeOGm4HFi9DdnLjXE2IPnZI10AM39B01KgiXPDt84KbvHP2craozbgRK/U1m6DmJP2 vsLU8KdTx2PUUY/K4IoQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oiyXW-00ByKc-JT; Thu, 13 Oct 2022 13:46:23 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oiyGO-00BsMd-FH for linux-arm-kernel@lists.infradead.org; Thu, 13 Oct 2022 13:28:42 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id A57AA617B0; Thu, 13 Oct 2022 13:28:39 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 143B6C433D6; Thu, 13 Oct 2022 13:28:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1665667719; bh=7qXYLfXPY0mId4qeNUYUUP+ocY1lWzzGimuibv53pf8=; h=From:To:Cc:Subject:Date:From; b=QvN6AmRAzltS5HKUQE0RXOLnSQb7prK5hOldTl9Ue51CAVa3AXFgUbeRlzkbf2FEj FTdrupsmEW426bZ6oKCYzW9cKqjC/ZrfqPUS6y5Zff3+GmUrvDCY5AaxWtC6ufFxA/ hMd/DBSY3MdKoweB8FZcV//s02sQgwRaJ78xbEVGdEKw4Vs14S8g83mB8sPkzpxlNr hG2bgsMM8B7tjcvp3KnGibybQ7SJxFNxeVRlkNve+SkdxvkC1gV5HiRrEUe30+1uru 3bOtwLqu1nnxnxtZw8Q13q0qSrWxVrzIhDXtcmQwN1/Cctrldga+f3BfJAk7SjYhYu Xquq7TnLCkDzQ== Received: from sofa.misterjones.org ([185.219.108.64] helo=valley-girl.lan) by disco-boy.misterjones.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1oiyGK-00GJJF-RC; Thu, 13 Oct 2022 14:28:36 +0100 From: Marc Zyngier To: Paolo Bonzini Cc: Gavin Shan , Oliver Upton , Quentin Perret , Vincent Donnefort , Zenghui Yu , James Morse , Suzuki K Poulose , Alexandru Elisei , , , kvm@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [GIT PULL] KVM/arm64 fixes for 6.1, take #1 Date: Thu, 13 Oct 2022 14:28:30 +0100 Message-Id: <20221013132830.1304947-1-maz@kernel.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-SA-Exim-Connect-IP: 185.219.108.64 X-SA-Exim-Rcpt-To: pbonzini@redhat.com, gshan@redhat.com, oliver.upton@linux.dev, qperret@google.com, vdonnefort@google.com, yuzenghui@huawei.com, james.morse@arm.com, suzuki.poulose@arm.com, alexandru.elisei@arm.com, kvmarm@lists.cs.columbia.edu, kvmarm@lists.linux.dev, kvm@vger.kernel.org, linux-arm-kernel@lists.infradead.org X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221013_062840_625900_04E30BE2 X-CRM114-Status: GOOD ( 14.07 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Paolo, Here's the first set of fixes for 6.1. The most interesting bit is Oliver's fix limiting the S2 invalidation batch size the the largest block mapping, solving (at least for now) the RCU stall problems we have been seeing for a while. We may have to find another solution when (and if) we decide to allow 4TB mapping at S2... The rest is a set of minor selftest fixes as well as enabling stack protection and profiling in the VHE code. Please pull, M. The following changes since commit b302ca52ba8235ff0e18c0fa1fa92b51784aef6a: Merge branch kvm-arm64/misc-6.1 into kvmarm-master/next (2022-10-01 10:19:36 +0100) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git tags/kvmarm-fixes-6.1-1 for you to fetch changes up to 05c2224d4b049406b0545a10be05280ff4b8ba0a: KVM: selftests: Fix number of pages for memory slot in memslot_modification_stress_test (2022-10-13 11:46:51 +0100) ---------------------------------------------------------------- KVM/arm64 fixes for 6.1, take #1 - Fix for stage-2 invalidation holding the VM MMU lock for too long by limiting the walk to the largest block mapping size - Enable stack protection and branch profiling for VHE - Two selftest fixes ---------------------------------------------------------------- Gavin Shan (1): KVM: selftests: Fix number of pages for memory slot in memslot_modification_stress_test Oliver Upton (2): KVM: arm64: Work out supported block level at compile time KVM: arm64: Limit stage2_apply_range() batch size to largest block Vincent Donnefort (1): KVM: arm64: Enable stack protection and branch profiling for VHE Zenghui Yu (1): KVM: arm64: selftests: Fix multiple versions of GIC creation arch/arm64/include/asm/kvm_pgtable.h | 18 +++++++++++++----- arch/arm64/include/asm/stage2_pgtable.h | 20 -------------------- arch/arm64/kvm/hyp/Makefile | 5 +---- arch/arm64/kvm/hyp/nvhe/Makefile | 3 +++ arch/arm64/kvm/mmu.c | 9 ++++++++- tools/testing/selftests/kvm/aarch64/vgic_init.c | 4 ++-- .../selftests/kvm/memslot_modification_stress_test.c | 2 +- 7 files changed, 28 insertions(+), 33 deletions(-) _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel