Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp1228801rdg; Fri, 13 Oct 2023 14:31:32 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHeYu+/7pfh6wHMY/NZ7hu/wXt72grdU+Xyl+0tobpUFJVrtwdo1aWIycjssV7AMAwcX7rH X-Received: by 2002:a05:6870:1315:b0:1e9:ab99:6b7 with SMTP id 21-20020a056870131500b001e9ab9906b7mr7548275oab.3.1697232692634; Fri, 13 Oct 2023 14:31:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697232692; cv=none; d=google.com; s=arc-20160816; b=HwooU+sxYJNo7OeHNmsOeIERvCwdu31HtpmoU4x5G8yJr6GsT1AmPWFSP2fC+7aP7I KQtyHJf5MRqFELeghWRymE+xqbnC4jEpqElPJ/2m+ud42gDQHFzcL2YXB6RxsQk0EDMn qK33VSggl228dUp+oWxEme5Ul2ZUcGGLWQxBHX+TWsjW6bEmm7sa/gFqploqBx2A8k7H CQNxw2NihW8+H6NXP2XphxjjvtEbR2dXKYHAq+t/l2YCueoKq1li+xlLWbZyoXrZykSt DySqBW7NRmc6YqcROan1PVq2CjxBTqwDPyM2cb6ZPXuZp09d5Y7qq2JuxFWfgG7bMCvv bgNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=eVpQ3hDlWbADmTyQQBrxDg72cVse86BOwz58Fch93vs=; fh=Z0AN1T+vx2UmX7wmE5KIpb895jMG/YXTgOZM/PJjwv4=; b=E/Wvx1v80Cbnei+Ug2IKErB4VcV+84h0gnvPswj+obBHkNX5FXH3DexC13Rywu3CuB OONzokTvI6jUksq7xrInn8hxb8EGgS10UwjQ3fRg5fegCwhbafRA9lJ704YHfjFG4KHn SVix99WcQcJ12cbBk5iKoT4YnIsaO8JCRYpxpGRGM171lTzPYA6XufOxvTXNurA4BJEa 4iGSlhTvNn8ZgebDo385UWDmyOxCjrixXR0p7LJBCuJgmbWou+5mHJn34519u8ruHbtk xJz1mR01QRZb5kftOvLtTLne9ZwzAumJ3JlhfRBzVtt4z4ZxcNwCLaBsjFcepDOjTI/m wCIA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=J7yuVPYJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id e20-20020a63d954000000b005655e87c8aasi5253206pgj.192.2023.10.13.14.31.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Oct 2023 14:31:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=J7yuVPYJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 9B5758279A74; Fri, 13 Oct 2023 14:31:24 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232267AbjJMVbG (ORCPT + 99 others); Fri, 13 Oct 2023 17:31:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36574 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229830AbjJMVbF (ORCPT ); Fri, 13 Oct 2023 17:31:05 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DC33595; Fri, 13 Oct 2023 14:31:02 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7E7C2C433C8; Fri, 13 Oct 2023 21:31:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1697232662; bh=0Gum7gjOtfuDZit2/WIKU/1n82O1xs+XX0sCV0VvldI=; h=From:To:Cc:Subject:Date:From; b=J7yuVPYJzCR6NbD8abpueCRFe/CveVHC96cU21dUsnCAeQwShRM5AkO8xf/Sq4SWL iDqRrdC0eto15WWFm924IklXgogVUqoOEkkKMqiNQhEFE8f96cYhkKEcriVvVas+Tm 5fUAOGsyHkH/vxJFK3qFz/VDGifHUw1F6pGvWVKTHEr+fNrakEtFtUFOsZavB6ZHtD E/IN7DvDVKknRV3EW3jgGZuULcbjopABOSHImWjNI0tV6i1KWIOeOATZ60xqgq3/4T NkZ3JPAAMZFeDvqtKoN9dhmHbXxTsSfWepENek3nk/xEf1tg55N2N8onFCVo6L2zc0 YfDmNdnX/0fqg== 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 1qrPkJ-00403e-Oa; Fri, 13 Oct 2023 22:30:59 +0100 From: Marc Zyngier To: Paolo Bonzini Cc: Anshuman Khandual , Ganapatrao Kulkarni , James Morse , Joey Gouly , kvmarm@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Oliver Upton , Suzuki K Poulose , Zenghui Yu , kvm@vger.kernel.org Subject: [GIT PULL] KVM/arm64 fixes for 6.6, take #2 Date: Fri, 13 Oct 2023 22:30:53 +0100 Message-Id: <20231013213053.3947696-1-maz@kernel.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 185.219.108.64 X-SA-Exim-Rcpt-To: pbonzini@redhat.com, anshuman.khandual@arm.com, gankulkarni@os.amperecomputing.com, james.morse@arm.com, joey.gouly@arm.com, kvmarm@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, oliver.upton@linux.dev, suzuki.poulose@arm.com, yuzenghui@huawei.com, 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 X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Fri, 13 Oct 2023 14:31:24 -0700 (PDT) Paolo, Here's a set of additional fixes for 6.6. The most important part is the fix for a breakage of the Permission Indirection feature, which is a regression. The other (less important) part is a fix for the physical timer offset. Please pull, M. The following changes since commit 373beef00f7d781a000b12c31fb17a5a9c25969c: KVM: arm64: nvhe: Ignore SVE hint in SMCCC function ID (2023-09-12 13:07:37 +0100) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git tags/kvmarm-fixes-6.6-2 for you to fetch changes up to 9404673293b065cbb16b8915530147cac7e80b4d: KVM: arm64: timers: Correctly handle TGE flip with CNTPOFF_EL2 (2023-10-12 16:55:21 +0100) ---------------------------------------------------------------- KVM/arm64 fixes for 6.6, take #2 - Fix the handling of the phycal timer offset when FEAT_ECV and CNTPOFF_EL2 are implemented. - Restore the functionnality of Permission Indirection that was broken by the Fine Grained Trapping rework - Cleanup some PMU event sharing code ---------------------------------------------------------------- Anshuman Khandual (1): KVM: arm64: pmu: Drop redundant check for non-NULL kvm_pmu_events Joey Gouly (2): KVM: arm64: Add nPIR{E0}_EL1 to HFG traps KVM: arm64: POR{E0}_EL1 do not need trap handlers Marc Zyngier (1): KVM: arm64: timers: Correctly handle TGE flip with CNTPOFF_EL2 arch/arm64/include/asm/kvm_arm.h | 4 ++-- arch/arm64/kvm/arch_timer.c | 13 +++--------- arch/arm64/kvm/emulate-nested.c | 2 ++ arch/arm64/kvm/hyp/vhe/switch.c | 44 ++++++++++++++++++++++++++++++++++++++++ arch/arm64/kvm/pmu.c | 4 ++-- arch/arm64/kvm/sys_regs.c | 4 ++-- include/kvm/arm_arch_timer.h | 7 +++++++ 7 files changed, 62 insertions(+), 16 deletions(-)