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 31C03C433F5 for ; Wed, 4 May 2022 16:34:16 +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=qxaGPL9H32xVNp/3i41hlSoB7k6zwnMzVTK3EAKxuCE=; b=OA/TAelBB08Pcj dQOC/MfYYCx605GtkfhtznTGTfqvRp1HrOLOQJlvangiM9g9AQhWekuZrZt4Sd1YUM1HZtFbWs1RW DodUct9rgdkndhCu4z3SY7u9RDgo/Q+dLzG0CTHM9Rl2uMUjv40VTpFjn/pQF59ZM2zqjiOMoMz+e gvF3orPFgaFU43E5ylgxsQxHoASipBry90BE3TjX/9HoWMCs0VF1lIV5pt50pPNBMxuCHUT3OH9q5 Mc8KTa3TF7DJK64ccjidQa5mPbYnuXKv7nglzGntH9qFN1OjWaFKfoBRU7et/CRusqYVHsQ+zdtLr JBUYPGD7o2vOIP6WxZgQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nmHw1-00Bftz-4N; Wed, 04 May 2022 16:33:05 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nmHvx-00Bfs5-8L for linux-arm-kernel@lists.infradead.org; Wed, 04 May 2022 16:33:02 +0000 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 276D71042; Wed, 4 May 2022 09:33:00 -0700 (PDT) Received: from FVFF77S0Q05N (unknown [10.57.1.13]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id EDF933FA27; Wed, 4 May 2022 09:32:58 -0700 (PDT) Date: Wed, 4 May 2022 17:32:55 +0100 From: Mark Rutland To: Mark Brown Cc: Catalin Marinas , Will Deacon , Marc Zyngier , Suzuki K Poulose , linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v6 12/12] arm64/sysreg: Generate definitions for SCTLR_EL1 Message-ID: References: <20220503170233.507788-1-broonie@kernel.org> <20220503170233.507788-13-broonie@kernel.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20220503170233.507788-13-broonie@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220504_093301_432320_83524B26 X-CRM114-Status: UNSURE ( 8.32 ) X-CRM114-Notice: Please train this message. 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 Tue, May 03, 2022 at 06:02:33PM +0100, Mark Brown wrote: > Automatically generate register definitions for SCTLR_EL1. No functional > change. > -#define SYS_SCTLR_EL1 sys_reg(3, 0, 1, 0, 0) > +Sysreg SCTLR_EL1 3 0 1 9 9 Looks like the 0s got replaced with 9s somehow? I guess at EL1 we happen to get away with that being completely wrong since we'll use the assembler's version of the register definition, and only KVM notices. I'll go make my boot scripts test EL2 as well... Thanks, Mark. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel