Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp981423ybb; Fri, 20 Mar 2020 11:17:16 -0700 (PDT) X-Google-Smtp-Source: ADFU+vuHNufBQz1zN9+IedU82MaTjC2tfJ2UH0op3PXQG/WNOvlr4HUqwsmQrrFKk2g50PgwE7jp X-Received: by 2002:a05:6830:196:: with SMTP id q22mr7887301ota.98.1584728236283; Fri, 20 Mar 2020 11:17:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584728236; cv=none; d=google.com; s=arc-20160816; b=irXjLCo5kUVji8YTfDpVR81Y9JzBTl1jt/Vd9LS3wJs2c4AXItyxAE+3jrW0ZO3X+b wUhfY0I8S0m8S3Qsx8AvIQDl+CA5mwv92kJa1intSHk0DU/Fei3QZ3z9nnAFmhVF4b/q +cY3Pq4Phf593P6+wEZ0NuMzJm5b1Yn5aW0bjsWuCeON1mHy8pSweyHpJfCsZ4OS1Bgj IsIcYa72qVBd3UacmMXyvp78teaFSqqhradnb/QxG6mu93+2pvXEMs/pyv5YLuwsxK+W q0M6Ao2LiRfQXEXlIoq1xyyYqqNVU7SLVwRyjzqXimdHrelyjKxggji+3VdgETf7rOOj x/5w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=II6dnHwPfeE3YAi2jWpF/1y8CWmXTfe4vcxn1XmN+kQ=; b=ChoWf6fPcD1OHyA3R6lXZmXkc//+j2yJOsyCIN5fYRmlm5TrxmwoQgr99+XLHQW0hZ AUiMsqkQKx6Yk2nux+qwbBFvXCBA+gPJq776KBqrtRiahrygBO79ob7uXt1hn9dhKJUD jZI3Wyt1tn653ScOPeKJwT/mLXQj6IpU1/jTz0sFpRUxZowj3sKg5pMVeZnzFrMJg+SE OZ3yTAl74/xtk5YiZJZL91RNVrKVTUeQZdGRYGVvqUmXqySMOAv7/+udTF97yr7NyGPD y+8G1DMJaQAANH43gAKvjp4dyvIeFsVUcpULqOvIfiyOJMWL7Ddr8mXOWTS2mpq9v52R semQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x14si3540638oto.47.2020.03.20.11.16.52; Fri, 20 Mar 2020 11:17:16 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726970AbgCTSOj (ORCPT + 99 others); Fri, 20 Mar 2020 14:14:39 -0400 Received: from foss.arm.com ([217.140.110.172]:55296 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726738AbgCTSOj (ORCPT ); Fri, 20 Mar 2020 14:14:39 -0400 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 2C0DE1FB; Fri, 20 Mar 2020 11:14:39 -0700 (PDT) Received: from [10.37.12.158] (unknown [10.37.12.158]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 4D3FF3F305; Fri, 20 Mar 2020 11:14:37 -0700 (PDT) Subject: Re: [PATCH 5/6] arm64/cpufeature: Drop TraceFilt feature exposure from ID_DFR0 register To: anshuman.khandual@arm.com, linux-arm-kernel@lists.infradead.org Cc: catalin.marinas@arm.com, will@kernel.org, james.morse@arm.com, maz@kernel.org, mark.rutland@arm.com, linux-kernel@vger.kernel.org References: <1580215149-21492-1-git-send-email-anshuman.khandual@arm.com> <1580215149-21492-6-git-send-email-anshuman.khandual@arm.com> From: Suzuki K Poulose Message-ID: Date: Fri, 20 Mar 2020 18:19:21 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <1580215149-21492-6-git-send-email-anshuman.khandual@arm.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 01/28/2020 12:39 PM, Anshuman Khandual wrote: > ID_DFR0 based TraceFilt feature should not be exposed. ... to guests. Hence lets drop it. Reviewed-by: Suzuki K Poulose > > Cc: Catalin Marinas > Cc: Will Deacon > Cc: James Morse > Cc: Suzuki K Poulose > Cc: Marc Zyngier > Cc: Mark Rutland > Cc: linux-kernel@vger.kernel.org > Signed-off-by: Anshuman Khandual > --- > arch/arm64/kernel/cpufeature.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/arch/arm64/kernel/cpufeature.c b/arch/arm64/kernel/cpufeature.c > index 2726bd6441da..a8ded1f0eeaf 100644 > --- a/arch/arm64/kernel/cpufeature.c > +++ b/arch/arm64/kernel/cpufeature.c > @@ -374,7 +374,6 @@ static const struct arm64_ftr_bits ftr_id_pfr2[] = { > }; > > static const struct arm64_ftr_bits ftr_id_dfr0[] = { > - ARM64_FTR_BITS(FTR_HIDDEN, FTR_STRICT, FTR_LOWER_SAFE, 28, 4, 0), > S_ARM64_FTR_BITS(FTR_HIDDEN, FTR_STRICT, FTR_LOWER_SAFE, 24, 4, 0xf), /* PerfMon */ > ARM64_FTR_BITS(FTR_HIDDEN, FTR_STRICT, FTR_LOWER_SAFE, 20, 4, 0), > ARM64_FTR_BITS(FTR_HIDDEN, FTR_STRICT, FTR_LOWER_SAFE, 16, 4, 0), >