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 A82C1C43334 for ; Sun, 5 Jun 2022 13:15:38 +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-Type: Content-Transfer-Encoding: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=EDTZtTIIpI930oAYJrwqaDonww4LMW7uALin/8Z6z2Y=; b=1WpqaDO/1zx/u3EotokSmN56iZ gf0GXTgSuDD81eQ/Icx9PQ88Ab6AzYdMiNRnjTUE2OpgrfaKdz1SJcTYY1KuIITW94bxuByoxouH0 yG5dCAmbeQsj2FutKtagsOZxjRbLnd+7QOkCC6Cey0hnDWmAtVAn+F8cfy+as2vMX/PgDnaumx1k5 0mFyRloytH4lLPtGodce9lAoKOsf4npewdihUR/jF9NlHtAPOqOvptqVSe1k+AKwj3RAjoyNJsIe9 xpnJO1sYrNJLyPqh2WtJvrlrpBGzf0QtJk7qjiyAfXeWd2uf3bk/LX3PXVM6sdrEi1kBqfUCxBxbQ qmaub0SQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nxq4h-00EVkw-8i; Sun, 05 Jun 2022 13:13:47 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nxq4d-00EVii-H5 for linux-arm-kernel@lists.infradead.org; Sun, 05 Jun 2022 13:13:44 +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 dfw.source.kernel.org (Postfix) with ESMTPS id D7CD660F08; Sun, 5 Jun 2022 13:13:39 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 19BDFC385A5; Sun, 5 Jun 2022 13:13:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1654434819; bh=3gGqiMBbXGxl3q4yQTV4NpmAtxp/iBlB95Ney2h/cMA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=fvU75XAA2vEmCMdWAnT6Sh0TXPgodeguA501Rc2xGvDE+asBuIa75JtWMnA1MgbJm c/nw58DHlxd/cE1pq6lJHImsgpcG4uZ/EDzbM8j9lnpOL631AIREfUs1LORtyRu7L4 jiXBjxRIna3go0Oqugujalv0t4rKYd9/PHL/ooHSDkxL434khZJXJfFb54oRNZBiE9 FGOYBIzIMYqyRzpETrgNufosY6PbQ27ZNp5FACC8lM4llTBUFV3CBNKQXfGuJapcyx P+ZSVRKHLG7mzbyGpBOxZ7O/UxsXsZdjz7GyhvgCJ4FnnFBdHS2Zu6lkcDiAmFEIsp nfjbLPbHLZAEg== Date: Sun, 5 Jun 2022 09:13:37 -0400 From: Sasha Levin To: Mark Brown Cc: linux-kernel@vger.kernel.org, stable@vger.kernel.org, Marek Szyprowski , Catalin Marinas , will@kernel.org, maz@kernel.org, mark.rutland@arm.com, vladimir.murzin@arm.com, joey.gouly@arm.com, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH AUTOSEL 5.18 063/159] arm64/sme: Add ID_AA64SMFR0_EL1 to __read_sysreg_by_encoding() Message-ID: References: <20220530132425.1929512-1-sashal@kernel.org> <20220530132425.1929512-63-sashal@kernel.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220605_061343_644114_BC1CA3DF X-CRM114-Status: GOOD ( 12.77 ) 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-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon, May 30, 2022 at 04:17:19PM +0200, Mark Brown wrote: >On Mon, May 30, 2022 at 09:22:48AM -0400, Sasha Levin wrote: >> From: Mark Brown >> >> [ Upstream commit 8a58bcd00e2e8d46afce468adc09fcd7968f514c ] >> >> We need to explicitly enumerate all the ID registers which we rely on >> for CPU capabilities in __read_sysreg_by_encoding(), ID_AA64SMFR0_EL1 was >> missed from this list so we trip a BUG() in paths which rely on that >> function such as CPU hotplug. Add the register. > >> + read_sysreg_case(SYS_ID_AA64SMFR0_EL1); > >This won't build on v5.18 since it does not contain SME support >and therefore lacks the definition for the SME feature register. Dropped, thanks! -- Thanks, Sasha _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel