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 6204FC4332F for ; Tue, 1 Nov 2022 19:08:44 +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=AqYNQuJG3ALyNwgy00KEl7k16Q9bHCEMCpH7Mt01K8M=; b=UlLRuOv+sNeNfA CEB44NEqSC+B2mddVNFRzXAwWZiEUG5sS7aHYlrnCSAa1/9aLxesHuudvU36AwtKJrW+Y8f9jyMAp 20axWNVsj8215bJv5EC1NQpoQkBLnwn7ywrzH+njoLaqZpQYDrUWd7XXHgYdGZTiGgS5PkhP8Q2Ux Z3v8snMJsifHUOZ5YHugEpP03gYhy+jaRrN4ZMK3UZBd/Fqgc2daBP6TAPbXPRvaGookRbqNI6dDw MgdreLddKqxXHHxdkEwEK5o2VUIE4+iNOm6PMRqa1ErJ/FadTDh+LsobImaIlqSqMEVbXHHs1RERN ABcp3LNALNecLa+tzydA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1opwby-006cdz-Ly; Tue, 01 Nov 2022 19:07:46 +0000 Received: from ams.source.kernel.org ([145.40.68.75]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1opwbv-006ccC-MI for linux-arm-kernel@lists.infradead.org; Tue, 01 Nov 2022 19:07:45 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id E73E5B81F3F; Tue, 1 Nov 2022 19:07:39 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id AC330C433D6; Tue, 1 Nov 2022 19:07:37 +0000 (UTC) Date: Tue, 1 Nov 2022 19:07:34 +0000 From: Catalin Marinas To: Amit Daniel Kachhap Cc: linux-arm-kernel@lists.infradead.org, Will Deacon , James Morse Subject: Re: [PATCH 1/8] arm64: cpufeature: Fix the visibility of compat hwcaps Message-ID: References: <20221026055813.13484-1-amit.kachhap@arm.com> <20221026055813.13484-2-amit.kachhap@arm.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20221026055813.13484-2-amit.kachhap@arm.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221101_120743_900286_B439E54C X-CRM114-Status: GOOD ( 13.43 ) 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 Hi Amit, On Wed, Oct 26, 2022 at 11:28:06AM +0530, Amit Kachhap wrote: > Commit 237405ebef58 ("arm64: cpufeature: Force HWCAP to be based on the > sysreg visible to user-space") forced the hwcaps to use sanitised > user-space view of the id registers. However, the ID register structures > used to select few compat cpufeatures (vfp, crc32, ...) are masked and > hence such hwcaps do not appear in /proc/cpuinfo anymore for PER_LINUX32 > personality. > > Add the ID register structures explicitly and set them as visible for > the compat hwcaps. > > Fixes: 237405ebef58 ("arm64: cpufeature: Force HWCAP to be based on the sysreg visible to user-space") > Cc: James Morse > Signed-off-by: Amit Daniel Kachhap As James mentioned, could you please post this as a separate patch (and update it with some of the comments that James had). Unless it was posted and I missed it. Thanks. -- Catalin _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel