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=-15.3 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 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 EED60C433DB for ; Fri, 5 Mar 2021 19:02:17 +0000 (UTC) Received: from mm01.cs.columbia.edu (mm01.cs.columbia.edu [128.59.11.253]) by mail.kernel.org (Postfix) with ESMTP id 2FB8A650A5 for ; Fri, 5 Mar 2021 19:02:17 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2FB8A650A5 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kvmarm-bounces@lists.cs.columbia.edu Received: from localhost (localhost [127.0.0.1]) by mm01.cs.columbia.edu (Postfix) with ESMTP id AEB9A4B6BB; Fri, 5 Mar 2021 14:02:16 -0500 (EST) X-Virus-Scanned: at lists.cs.columbia.edu Authentication-Results: mm01.cs.columbia.edu (amavisd-new); dkim=softfail (fail, message has been altered) header.i=@kernel.org Received: from mm01.cs.columbia.edu ([127.0.0.1]) by localhost (mm01.cs.columbia.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KF8PCFGoqm5X; Fri, 5 Mar 2021 14:02:15 -0500 (EST) Received: from mm01.cs.columbia.edu (localhost [127.0.0.1]) by mm01.cs.columbia.edu (Postfix) with ESMTP id 461F34B6AF; Fri, 5 Mar 2021 14:02:15 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by mm01.cs.columbia.edu (Postfix) with ESMTP id 15EE14B69B for ; Fri, 5 Mar 2021 14:02:14 -0500 (EST) X-Virus-Scanned: at lists.cs.columbia.edu Received: from mm01.cs.columbia.edu ([127.0.0.1]) by localhost (mm01.cs.columbia.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Pa5LJ4XoaVNi for ; Fri, 5 Mar 2021 14:02:13 -0500 (EST) Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by mm01.cs.columbia.edu (Postfix) with ESMTPS id 2DE6A4B697 for ; Fri, 5 Mar 2021 14:02:13 -0500 (EST) Received: by mail.kernel.org (Postfix) with ESMTPSA id 43CA96509A; Fri, 5 Mar 2021 19:02:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1614970932; bh=+HY4tyg5MEsNmrtevimpEfoDy4PsjuAzV42+G/FLMVQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=c0cXkUhfqGyQIPH14jJKrVOWqS+nkTdjAw7+FncqA/3JiGVSK+/buLmQR5CPX0Lkh dCW7dcorA8Yx48N9S2h9g8R6GdPZXZYvGcN7K0Y5c7YEU2XCqb+THvNf39KKmGJPvg 7SlguW8KOncXG2JrcnBGVpunFHsss2GoyrMFKsQFZP5J3xQ2z4EDXBStFAxnJPxUzg aey5TwsRQzPpuo0eVRH2m/iUb2g8ydUomIz9TElX1hpK5ZM3qVToNjiQU/XknJ3DEC KaxOe0sr57aCvtJqjnsfjIielTW4HTsR6GLfySdzgt5AgvwD20BCAzORpz6fubBLwx lvJZ9Wwx+U9Wg== Date: Fri, 5 Mar 2021 19:02:06 +0000 From: Will Deacon To: Quentin Perret Subject: Re: [PATCH v3 31/32] KVM: arm64: Disable PMU support in protected mode Message-ID: <20210305190205.GA23633@willie-the-truck> References: <20210302150002.3685113-1-qperret@google.com> <20210302150002.3685113-32-qperret@google.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210302150002.3685113-32-qperret@google.com> User-Agent: Mutt/1.10.1 (2018-07-13) Cc: android-kvm@google.com, catalin.marinas@arm.com, mate.toth-pal@arm.com, seanjc@google.com, tabba@google.com, linux-kernel@vger.kernel.org, robh+dt@kernel.org, linux-arm-kernel@lists.infradead.org, maz@kernel.org, kernel-team@android.com, kvmarm@lists.cs.columbia.edu X-BeenThere: kvmarm@lists.cs.columbia.edu X-Mailman-Version: 2.1.14 Precedence: list List-Id: Where KVM/ARM decisions are made List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: kvmarm-bounces@lists.cs.columbia.edu Sender: kvmarm-bounces@lists.cs.columbia.edu On Tue, Mar 02, 2021 at 03:00:01PM +0000, Quentin Perret wrote: > The host currently writes directly in EL2 per-CPU data sections from > the PMU code when running in nVHE. In preparation for unmapping the EL2 > sections from the host stage 2, disable PMU support in protected mode as > we currently do not have a use-case for it. > > Signed-off-by: Quentin Perret > --- > arch/arm64/kvm/perf.c | 3 ++- > arch/arm64/kvm/pmu.c | 8 ++++---- > 2 files changed, 6 insertions(+), 5 deletions(-) Acked-by: Will Deacon Will _______________________________________________ kvmarm mailing list kvmarm@lists.cs.columbia.edu https://lists.cs.columbia.edu/mailman/listinfo/kvmarm