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 CF71DC433EF for ; Mon, 25 Jul 2022 10:45:33 +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:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=yuCaWibl4l0NdYzw2o5blsJo4NJ7v+a1OTb/7530ZjI=; b=44EuPFvTP6GUUN qp7020IrOfwU+idrUJQcf3QKtzle4N8su8t7plzoSxR5X9XxBQ5mAArsKBH4qFeT/HB33CWjkY1cq jkNT1Mgxd5GHkEhnowFLXL9f6pD9Ogr3Jztg4cX0AVJbvmg7qQXWpCe99k/KeSnLG/zXBGolsKgOi 0AdpUTNgyOcIEBXMRc6nH56HC3UGJUz7zc2WwKv2qNISQAXEX9i8Dvfvwyplun9rMvhR3GJeDL7GX msyuzjqpOPuW1bFDgnNBL0Vy6cgNihegLlWtjdQScxUa+TlUBLwZhfJ2L0NQrxI2TTDcVG6wsr9hX r7Nq59Y8Ps4phQl/DzPg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oFvZk-008Ot4-06; Mon, 25 Jul 2022 10:44:36 +0000 Received: from ams.source.kernel.org ([2604:1380:4601:e00::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oFvZg-008Opu-V5 for linux-arm-kernel@lists.infradead.org; Mon, 25 Jul 2022 10:44:34 +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 95788B80E38; Mon, 25 Jul 2022 10:44:31 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7FFD4C341C8; Mon, 25 Jul 2022 10:44:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1658745870; bh=vej/fDnIM7sOZO6s9jRoes+oNOQZCkTUCCZgkooUd3s=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=bhpZl/FajK8JCbyXoCqbVdj5DWXT3AWcX7x3H8f1zkMtS7Aw7b05oIocVtQlVsxXT /wAqbYk17twzosypdLuECgjpZuSMtHfNY8TWLqrXJvfOmf3z0mrUyct0OLfgBm8gXR CfmU6YAvlSL+4cgo/0++e1UTUnfdj814QW4A3K+wP8rDKFeQ64Xi7sYr8+fsNiuH/I vOEfrEJgD4Q486OdDi2EH0nc7qL9d1javj5EmekKrXBj1Hupye/8m+CZMumwwQGxWi wY757cvbZ0C7mVKLl1QB1NQMnjpKEtJ+d6vDB5Yj2deB32DpgRJ78nHsHfjlAK5Npr gKNHnOWuWsMdw== From: Will Deacon To: linux-arm-kernel@lists.infradead.org, Marc Zyngier Cc: catalin.marinas@arm.com, kernel-team@android.com, Will Deacon , Mark Rutland , Peter Collingbourne , Mark Brown Subject: Re: [PATCH] arm64: Delay initialisation of cpuinfo_arm64::reg_{zcr,smcr} Date: Mon, 25 Jul 2022 11:44:24 +0100 Message-Id: <165874333261.20439.108708091509171244.b4-ty@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20220720105219.1755096-1-maz@kernel.org> References: <20220720105219.1755096-1-maz@kernel.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220725_034433_170164_54C4A6AD X-CRM114-Status: GOOD ( 12.01 ) 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 Wed, 20 Jul 2022 11:52:19 +0100, Marc Zyngier wrote: > Even if we are now able to tell the kernel to avoid exposing SVE/SME > from the command line, we still have a couple of places where we > unconditionally access the ZCR_EL1 (resp. SMCR_EL1) registers. > > On systems with broken firmwares, this results in a crash even if > arm64.nosve (resp. arm64.nosme) was passed on the command-line. > > [...] Applied to arm64 (for-next/core), thanks! [1/1] arm64: Delay initialisation of cpuinfo_arm64::reg_{zcr,smcr} https://git.kernel.org/arm64/c/892f7237b3ff Cheers, -- Will https://fixes.arm64.dev https://next.arm64.dev https://will.arm64.dev _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel