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 972B8C433F5 for ; Tue, 10 May 2022 18:08:41 +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:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=AQEZlK4SmYrvbi2QzIaBaT+CQc8R4qgj5mUsZrZXrrE=; b=Emeu7jA6HbUXfN Ya/esG//FZPfI0BSWgFiijBx8yz5iuVZkzsp12OaixN/4fLEMdbzC3QjUXy2+enLzsfqZ0E+pra8V 4apfccaHvp1PwALpa3C9mXtRiLfVWTvL0BejlozklGqyFXGScNitYvR4HyMSQlSZBbNDWi2TGQH/f Akde/M/5fPG+oExP+k/k+vkCEkSDiRTh0XbMMLZAN1L618saJ8ZaiSFuaR5nLHe9A6G9edGO56R0u YLRbd4sMq8U13FGgb8NJaagufYUxVi7WCVZM5++l/FLMfkAn5CIwrP0+kxzwS2Tzf2G8XOBkZeZxI 4EiGvlGSplFZ/eYThS5g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1noUGr-003WjY-N7; Tue, 10 May 2022 18:07:41 +0000 Received: from mail-io1-xd31.google.com ([2607:f8b0:4864:20::d31]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1noUGo-003Wiu-Jb for linux-arm-kernel@lists.infradead.org; Tue, 10 May 2022 18:07:39 +0000 Received: by mail-io1-xd31.google.com with SMTP id i20so19410360ion.0 for ; Tue, 10 May 2022 11:07:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=K3yjKVlbFqZ2m0ikf7GP7NYwaTPazPuG/HX19ZvzGR4=; b=mvIrK5aZSaEzgccQ7HMZOzjcs65nqUBVWAospV07fGM2jJ25DDn6Uz8bKsg5T4iN1E KKDRhziyFpr33N632F6kMYeYI0hzT05J90ElYLTV1HkcGDSHOtFkpbtx/0jF1/BmQ/gu AzMKY2XOb93zX9uqcd8N5ZPHnD4C3R/bOG8aKhIBL4WjX9+t4pp5g5G/wAp8/IQ1CG/+ 4cB3sTVFGvWvN+4qgbileda9Co0VKQ3bOxC+0eEcKsQhvaKfLlnb8EfcZoi34P7d/u6v HYmKTphBbBqxpvHMg5hbiEsrSALA6SvpndBtT8Uw/IWDzwxslWn5B4dvaNh5Nh9tKHyL uIcg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=K3yjKVlbFqZ2m0ikf7GP7NYwaTPazPuG/HX19ZvzGR4=; b=OyWbRoGfQpWO+GVgbdmVvjplWAKT3bqxaMirdbaIXAdO/VGL8iSuhehMjuuEHnkk3R FDAWrT87YRToE8Tz/LvbY8ctsQjBPp7514YrVEmOTTszUdaqnTUmuweGdVsC7sbM/ACX NiIYG9y9eOeA8IxMGnBMHpZyi7DteLBV/USqLlpupV6At0QfwZr4W1i9xonmf1/detHY JPhg+eb9etAx3YvH/wnCt1eu8pPB4Y0smT5tZJQ8AyBpSvhWC4AKNClhOFgBr6sfVhFh EDh+1pNfeJ5yms6iYh2f4ZyX168ouwkKXVvuj3iYWUCHsz3j42XH0LxHHP9UwJyUZknP 4Iaw== X-Gm-Message-State: AOAM532qpZBdINa47y/iCOYYC9cLpA3LGnN0wvCW6lp2UPa8XO5krOiu nDKY0ouMBJe53RtsX2Qy/WKqqA== X-Google-Smtp-Source: ABdhPJxGS8QvTjZKL58nKrvkOUrP/UikCcTqZWe3Hajf/PkVvwSx7CuLWX/jqu4Kaec6IClFGyeO/g== X-Received: by 2002:a05:6602:27c6:b0:657:7e7a:11f3 with SMTP id l6-20020a05660227c600b006577e7a11f3mr9418017ios.40.1652206057295; Tue, 10 May 2022 11:07:37 -0700 (PDT) Received: from google.com (194.225.68.34.bc.googleusercontent.com. [34.68.225.194]) by smtp.gmail.com with ESMTPSA id y8-20020a056638228800b0032b3a7817casm4511095jas.142.2022.05.10.11.07.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 May 2022 11:07:36 -0700 (PDT) Date: Tue, 10 May 2022 18:07:32 +0000 From: Oliver Upton To: Fuad Tabba Cc: kvmarm@lists.cs.columbia.edu, maz@kernel.org, will@kernel.org, qperret@google.com, james.morse@arm.com, alexandru.elisei@arm.com, suzuki.poulose@arm.com, catalin.marinas@arm.com, drjones@redhat.com, linux-arm-kernel@lists.infradead.org, kernel-team@android.com Subject: Re: [PATCH v4 4/4] KVM: arm64: Reenable pmu in Protected Mode Message-ID: References: <20220510095710.148178-1-tabba@google.com> <20220510095710.148178-5-tabba@google.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20220510095710.148178-5-tabba@google.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220510_110738_684351_D3913D97 X-CRM114-Status: GOOD ( 11.24 ) 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 Tue, May 10, 2022 at 09:57:10AM +0000, Fuad Tabba wrote: > Now that the pmu code does not access hyp data, reenable it in > protected mode. > > Once fully supported, protected VMs will not have pmu support, > since that could leak information. However, non-protected VMs in > protected mode should have pmu support if available. > > Signed-off-by: Fuad Tabba Reviewed-by: Oliver Upton _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel