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 75085C433F5 for ; Fri, 13 May 2022 14:19:46 +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=Wj/3jt099QRocMLKffRfXtnv0tB7tbPJ9NgyESu7ywI=; b=Ya/I5RLVSpbB7q ujtMsseKpoiBKVOeIXxsnDCP5DtsehjFJQRS4f1GdMbBN3r9gxWl+jFRbgn9jn2lRucFhobuJTCb9 2SdPIi2ZwibvDOvguBZsJuy5hDuqh8+er0RUSLeLiUuJq0BiPlD9+slt4TvnPCS/caRZZro/eJ80m NzYliKuntN+oBLgyzGkc5+pA56ycabq0R9lZUCyVRV9oSduq4wAqXT1yZUDQjBmqrH+5XRUql6xcK tx8uZPgEOtFb4Rryt6LIEvc38bEXlKTAgcvP4o7wk4ECm7oyTDfjs552bpvbymcWHpO/aBLbdA+ze NHEK2/PKBecDRfl9D1Lw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1npW80-00GOz9-Ji; Fri, 13 May 2022 14:18:48 +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 1npW7x-00GOxM-QT for linux-arm-kernel@lists.infradead.org; Fri, 13 May 2022 14:18:47 +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 AD0FA143D; Fri, 13 May 2022 07:18:44 -0700 (PDT) Received: from lakrids (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id D79553F5A1; Fri, 13 May 2022 07:18:43 -0700 (PDT) Date: Fri, 13 May 2022 15:18:41 +0100 From: Mark Rutland To: Mark Brown Cc: Catalin Marinas , Will Deacon , Marc Zyngier , linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v1 06/12] arm64/sysreg: Support generation of RAZ fields Message-ID: References: <20220510161208.631259-1-broonie@kernel.org> <20220510161208.631259-7-broonie@kernel.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20220510161208.631259-7-broonie@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220513_071845_966518_058D0715 X-CRM114-Status: GOOD ( 13.73 ) 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 10, 2022 at 05:12:02PM +0100, Mark Brown wrote: > Add a statement for RAZ bitfields to the automatic register generation > script. Nothing is emitted to the header for these fields. > > Signed-off-by: Mark Brown Makes sense to me: Acked-by: Mark Rutland Mark. > --- > arch/arm64/tools/gen-sysreg.awk | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/arch/arm64/tools/gen-sysreg.awk b/arch/arm64/tools/gen-sysreg.awk > index 3ffd77cbb499..b3f2bc072151 100755 > --- a/arch/arm64/tools/gen-sysreg.awk > +++ b/arch/arm64/tools/gen-sysreg.awk > @@ -226,6 +226,13 @@ END { > next > } > > +/^Raz/ && (block == "Sysreg" || block == "SysregFields") { > + expect_fields(2) > + parse_bitdef(reg, field, $2) > + > + next > +} > + > /^Enum/ { > change_block("Enum", "Sysreg", "Enum") > expect_fields(3) > -- > 2.30.2 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel