Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp4089742pxf; Tue, 23 Mar 2021 02:19:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwqSZu8fDaZNUoonMS9syrVZZRENOcrun0u4v92xBOv8ek/IGIHMX18PW4dzegs3QOIwFLp X-Received: by 2002:aa7:cf17:: with SMTP id a23mr3805732edy.30.1616491148921; Tue, 23 Mar 2021 02:19:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616491148; cv=none; d=google.com; s=arc-20160816; b=ssODrqJ3b0Qq9+W0A+hJBrSy6fSORiEA9Q9Z6uGtnoM1toud2Zj6uE3Hbpm8QHZj/7 TOZgHbEhZcXRJ+XpaWTxUM33b+y1oCGMWYU/sACbQuzg2v+F1i3c3Qyb4PgT48RltsaG dJ7NdpiSwk1S0g2jAI9HSn1RmhvOT1rcHhn7p0n3ZHOntrftB9w7/wF96acT40+ObQRg hUed+shzw9OYw28UvtQJiDBNPJaW6175OAAsJlizQTon/MSab/CRPyKbwWiXBPvHGEFW Nuwp3+JJtWPCHrIslNEyRxZmzwtvexPU9BmYO8NE5PG+eeDes46fMAYGPwN+qy3TOc0m NVOQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:user-agent:references:in-reply-to :subject:cc:to:from:date:content-transfer-encoding:mime-version; bh=6g1MYaNj9FxB6tJcjpT+W6fuzYRJyCsW3z0EEhDO3rU=; b=kIuJIKW0Jgt3GHuMctjZAQRxnIbepIRUiGuQulmTJYMBOgsmDwvAyzd+qitWGhYG+o u4bGu9oPtvVibuzhN2Ff03Rz0Jhw6Q3UqD2Q18BCB+OMtvXmarQ9GrkIp1zwPR5XOZzo LhJbVXcHt7X4LeNIwjuCkWmZhzS4+LOwxiCQ+MycwWDxQsTs2quQYutRRg6YQVF9Qxa1 2F2FYUTzc1KCBPeuDC3hwv5KYj/LuB6AKLqpiEhforIFiiwYEJI/uDo3tTZgUHsOWWra j9Qafp3kt8ehzCWr58LGuTBteXnYlZ3mmdJsz8OulftQraq/Sx6309ps51/cNDpZs3GF Lejg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g27si13478027ejc.32.2021.03.23.02.18.45; Tue, 23 Mar 2021 02:19:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229913AbhCWJRT (ORCPT + 99 others); Tue, 23 Mar 2021 05:17:19 -0400 Received: from mail.kernel.org ([198.145.29.99]:58882 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229979AbhCWJRC (ORCPT ); Tue, 23 Mar 2021 05:17:02 -0400 Received: from disco-boy.misterjones.org (disco-boy.misterjones.org [51.254.78.96]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 0F1ED61990; Tue, 23 Mar 2021 09:17:02 +0000 (UTC) Received: from disco-boy.misterjones.org ([51.254.78.96] helo=www.loen.fr) by disco-boy.misterjones.org with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94) (envelope-from ) id 1lOd9n-003GRa-JN; Tue, 23 Mar 2021 09:17:00 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Tue, 23 Mar 2021 09:16:59 +0000 From: Marc Zyngier To: Suzuki K Poulose Cc: linux-kernel@vger.kernel.org, mathieu.poirier@linaro.org, mike.leach@linaro.org, anshuman.khandual@arm.com, leo.yan@linaro.org, Will Deacon , Mark Rutland , Catalin Marinas , linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v4 05/19] kvm: arm64: Disable guest access to trace filter controls In-Reply-To: References: <20210225193543.2920532-1-suzuki.poulose@arm.com> <20210225193543.2920532-6-suzuki.poulose@arm.com> User-Agent: Roundcube Webmail/1.4.11 Message-ID: <8cb6eced29d9749d88af6f6d2f649019@kernel.org> X-Sender: maz@kernel.org X-SA-Exim-Connect-IP: 51.254.78.96 X-SA-Exim-Rcpt-To: suzuki.poulose@arm.com, linux-kernel@vger.kernel.org, mathieu.poirier@linaro.org, mike.leach@linaro.org, anshuman.khandual@arm.com, leo.yan@linaro.org, will@kernel.org, mark.rutland@arm.com, catalin.marinas@arm.com, linux-arm-kernel@lists.infradead.org X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Suzuki, On 2021-03-22 22:24, Suzuki K Poulose wrote: > Hi Marc, > > On 25/02/2021 19:35, Suzuki K Poulose wrote: >> Disable guest access to the Trace Filter control registers. >> We do not advertise the Trace filter feature to the guest >> (ID_AA64DFR0_EL1: TRACE_FILT is cleared) already, but the guest >> can still access the TRFCR_EL1 unless we trap it. >> >> This will also make sure that the guest cannot fiddle with >> the filtering controls set by a nvhe host. >> >> Cc: Marc Zyngier >> Cc: Will Deacon >> Cc: Mark Rutland >> Cc: Catalin Marinas >> Signed-off-by: Suzuki K Poulose > > We have already have the v8.4 self hosted tracing support in 5.12-rcX. > Do you think you can pick this up for this 5.12 ? Sure, no problem. Shall I pick patch #3 at the same time? Thanks, M. -- Jazz is not dead. It just smells funny...