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 C2CE1C4332F for ; Sat, 19 Nov 2022 05:32:53 +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:Cc:To:Subject:Message-ID:Date:From: In-Reply-To:References:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=dwWBi60s5eTaXoa+eDzIU5XP3WCndGwH+I5m5Wc0LPY=; b=A1GDi6zRqNnPln GbgewDNYPA5ylXv5Q/5JiRqNc7iM5qeQEQYUmOo/+Rlo0ahjfDYCYelehgSFs+NXwUvnWwbc50R4Q hxJL4SlQWxiCDxFr87CwHiXSWnC8kdiO4VEZtiQ8fwyeb6F4+pkbVNYa1ieiTjENE9CLcjEHd51rk HXM+Et5VL4VpyxsYrWD7Tc4Pc64A3A3Mc2XDqSkUVqy/HvdMXO6cNiP7+fu/JZaamK0BIlDG6SZQK VPMrtFlepe50SoRqj4KG4wvrHOErJSTaq35UWuIK1biHYSOU2N5XtFaCRLqBzCnTXSx9YfW80QgLF l3HpW9+4OcxLgDlrLiyw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1owGRw-00BO1l-UI; Sat, 19 Nov 2022 05:31:33 +0000 Received: from mail-pg1-x52e.google.com ([2607:f8b0:4864:20::52e]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1owGRt-00BO19-CZ for linux-arm-kernel@lists.infradead.org; Sat, 19 Nov 2022 05:31:30 +0000 Received: by mail-pg1-x52e.google.com with SMTP id f3so6753453pgc.2 for ; Fri, 18 Nov 2022 21:31:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=zA4MvfCx2wJ6ZC0yAwP3Kt5ez44MPaUUZGSZKLr05qU=; b=OViBe7Prr+WNneb+sFV50YXvGDB4BUPrIn0sCBrBFXjV6NuqIO2ITUpTAlVzYbM7fO A2NsPkpnPIkVBi71AwoceBT1dirH64Fmm0AM4Nrsa+IICdwYwARgMzukzOL+fAt6Dtkm ksr8oomCuHB4tc4g3EtEa8lIMU6XqB00JEOmWX2+atzDS/GVF/qn2JDIiljMGhHhmOVT 6y8QjZuX1sqbBa0vzK6yN1SMxvRYk+xaGlRfyihgQDBBDVBI+z6m4wtEBvla+Bw6Lmnw iNvg9CkwSxC/yrVNd4VW4qTS6S8pJoKg5vt9rUisCnSNnTyh/bah2l25GOT2XjCjt7yr 1M5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=zA4MvfCx2wJ6ZC0yAwP3Kt5ez44MPaUUZGSZKLr05qU=; b=gvhN41s2uISkX6fgZ5mdp3pluYT/SgGpYbmSYzH7xblO5yYGhGxNXlxW1QqOu+QnMO YAB5axO2WFacnVWI5xKgs/eOelKnisz5D6IT3+i+dvWoxsikZ5BdsYoY9oluNbj29PfE Zi6p5fEpt4RqKsDKP8aDwSTqu2hh+eGyqFcx0aA/br5dDqrmdHy99Ty6HG7onNcwl8Fq VbpgFZovLxa5ze9EtTFSNy1OnIpzK4Jd6AQTsgqMEMVZWyJdNHc6XlG2mdwyqjsj5r9p pYnAbJGA9xgh3Q9gB/yrI5u1lLcagbIyj3Deot9iViC3jM3H9bsY47QvJJ+F1+r0k5q7 5rkw== X-Gm-Message-State: ANoB5pm4oBQsN0kj6iFvn98IHDgpDZd09eO0WRz90n419+NnRo0iPIaV f+RfJqVOSGqIofm7cQBue79zCYkrU2xsDQ/Vi6Jdgw== X-Google-Smtp-Source: AA0mqf6QqOtcX601H4y3vkSngjFJKCDeIT0BRH0yTFy+3iR7DMokQILefhm0heQeNptOQNwem6K9h6J9RMChIkJjll8= X-Received: by 2002:aa7:80d8:0:b0:56d:98e3:4df8 with SMTP id a24-20020aa780d8000000b0056d98e34df8mr10899836pfn.37.1668835888263; Fri, 18 Nov 2022 21:31:28 -0800 (PST) MIME-Version: 1.0 References: <20221113163832.3154370-1-maz@kernel.org> <20221113163832.3154370-12-maz@kernel.org> In-Reply-To: <20221113163832.3154370-12-maz@kernel.org> From: Reiji Watanabe Date: Fri, 18 Nov 2022 21:31:12 -0800 Message-ID: Subject: Re: [PATCH v4 11/16] KVM: arm64: PMU: Allow ID_AA64DFR0_EL1.PMUver to be set from userspace To: Marc Zyngier Cc: linux-arm-kernel@lists.infradead.org, kvmarm@lists.cs.columbia.edu, kvmarm@lists.linux.dev, kvm@vger.kernel.org, James Morse , Suzuki K Poulose , Alexandru Elisei , Oliver Upton , Ricardo Koller X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221118_213129_458784_13D40E55 X-CRM114-Status: UNSURE ( 9.14 ) X-CRM114-Notice: Please train this message. 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 On Sun, Nov 13, 2022 at 8:46 AM Marc Zyngier wrote: > > Allow userspace to write ID_AA64DFR0_EL1, on the condition that only > the PMUver field can be altered and be at most the one that was > initially computed for the guest. > > Signed-off-by: Marc Zyngier Reviewed-by: Reiji Watanabe _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel