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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 324FDCDB465 for ; Mon, 16 Oct 2023 12:47:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233498AbjJPMrN (ORCPT ); Mon, 16 Oct 2023 08:47:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57634 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233496AbjJPMrL (ORCPT ); Mon, 16 Oct 2023 08:47:11 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 64CF0ED for ; Mon, 16 Oct 2023 05:47:09 -0700 (PDT) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 9DD0DDA7; Mon, 16 Oct 2023 05:47:49 -0700 (PDT) Received: from [10.57.1.186] (unknown [10.57.1.186]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 2218E3F5A1; Mon, 16 Oct 2023 05:47:08 -0700 (PDT) Message-ID: <88ba308b-762f-fb7a-0324-eefae2efe464@arm.com> Date: Mon, 16 Oct 2023 13:47:06 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Subject: Re: [PATCH v2 0/2] KVM: arm64: PMU event filtering fixes To: Oliver Upton , kvmarm@lists.linux.dev Cc: kvm@vger.kernel.org, Marc Zyngier , James Morse , Zenghui Yu References: <20231013052901.170138-1-oliver.upton@linux.dev> From: Suzuki K Poulose In-Reply-To: <20231013052901.170138-1-oliver.upton@linux.dev> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org On 13/10/2023 06:28, Oliver Upton wrote: > Set of fixes to KVM's handling of the exception level event filtering in > the PMU event type registers. > > I dropped the PMU+NV disablement this time around as we need a complete > fix for that problem. At the same time, I want to get a rework of our > sysreg masks upstream soon to avoid any negative interaction with new > PMU features going in on the driver side of things. > > Additionally, I added a fix for the non-secure filtering bits that > Suzuki had spotted (thanks!) > > Oliver Upton (2): > KVM: arm64: Treat PMEVTYPER_EL0.NSH as RES0 > KVM: arm64: Virtualise PMEVTYPER_EL1.{NSU,NSK} > > arch/arm64/kvm/pmu-emul.c | 26 +++++++++++++++++--------- > arch/arm64/kvm/sys_regs.c | 8 ++++++-- > include/kvm/arm_pmu.h | 5 +++++ > include/linux/perf/arm_pmuv3.h | 8 +++++--- > 4 files changed, 33 insertions(+), 14 deletions(-) > > > base-commit: 6465e260f48790807eef06b583b38ca9789b6072 For the series: Reviewed-by: Suzuki K Poulose