Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp4510020rdb; Tue, 12 Dec 2023 01:11:52 -0800 (PST) X-Google-Smtp-Source: AGHT+IFfgEy2D1uhIWClZVZfdYreB/1WfzWvcJLFuf+zjZxPVepjg0cg/FR7GMyJZcPVT6i8uEHz X-Received: by 2002:a05:6a00:a01:b0:6ce:82bd:93ea with SMTP id p1-20020a056a000a0100b006ce82bd93eamr8207886pfh.26.1702372311937; Tue, 12 Dec 2023 01:11:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702372311; cv=none; d=google.com; s=arc-20160816; b=exWNqRNFdtS0VWFU8ggZuC+GCD7aL46Y7pW1lSOgM7S/aCoJBCNH8VjS3L3Ca67hLY BpJmxgIY+hcxjATQ6sLDl8WGKkrxDN+ZY9BRldBsUCpoi4mmI0CeFzYHZSzjgVlyQiql hU4/9gn9JM32oKzc0tznFgMndgNE5IvIo/tHlrG7NPH8bknWXAsRCHYEp3if4GmFwNKv XHHaojF94J63klCZCKBEoOmBkh7VHK33TpLGRDRbQnRFaKqd+K0yZYoWXh6y4CGAGz+D rUlc2q2Irj3fNzhqXSgQ/Die4IBlODzu4sD6xCBBqgMUC+kNsV9cqSSWR9gsiF5Eu1S/ jGDw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=DM+3JFTOvySmSh3Ce0y1l6LV3icPJ6bviQfcREcOuKo=; fh=iMgYpoC6PSgOojNTrdV6mpVEogaqhr0m6C+LbBwPP0U=; b=JdG8Uq2dUbZSHvLAi6IboZZ1ITa4luXRT9LdIRGd1MVUtK5LDUjzYJaUl+nsxRkml2 edTc59CgE64ZGHYuEPYqGKtt0kABcAgaCAhfHaIc9Q2vOrhmZPFaW/v9aYW3pJz65Ffo 82S3VU01gP9ona0cWm/LNEvWvQ3ucKZhhrFYduhQ1LXYewnCCCUHwACYM9/gk3nrlZo+ ocGR3Z/7EsDH7ubU0xO+Wa/ITSu9ZUJeiWcU7AwyxlHGv2Kk5uCiWZvoAUwOG8RcR+bN MQQWKbTL2GJzEC65rxO5pYorpfQb0SZlq7axAi29VE3Te/uYjPeLd4ImfVaD8h4CSZw0 ZQ/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=myE58hcw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id c2-20020a056a000ac200b006cb6fc94847si7523605pfl.172.2023.12.12.01.11.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Dec 2023 01:11:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=myE58hcw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id EDF42804D7E6; Tue, 12 Dec 2023 01:11:45 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346329AbjLLJLJ (ORCPT + 99 others); Tue, 12 Dec 2023 04:11:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56056 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235141AbjLLJKs (ORCPT ); Tue, 12 Dec 2023 04:10:48 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6039CD9 for ; Tue, 12 Dec 2023 01:10:54 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 54090C433C8; Tue, 12 Dec 2023 09:10:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1702372253; bh=G/e1xpm/hKZ3MJDkHyeCRQZimxBoNiwGH3pKX4ZM1l4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=myE58hcwneBqlyVp/egwnurAOc9Clyi2m0qALmtMNnq8zzcv07S2f9ihk/MnTsKep VB6akC5LYtaXHfrdDBqJMeqneEeJ6055MY/x3sD7Khq2nYqKqxlrCuIbhOKUEE/9VB QgPTKHBImkTpUq+MqzlrLddgCHfRsZKJ+Q2GkII81Dw6Xoh/IosssZNZy5BKlB53/q 2VF5o1KvZVWbEMtG+Y+JrrGgPy3aITdGBt5gEe3sYGYeOYFp5oPmbxG/06O864z+0s njkry0BA5XVwm79TPpo0JBxBRj+k1hMqyrDRx9rDt2PXjG5HwVca2mRGOxBHK8JemW /0KPuALAhIu6g== Date: Tue, 12 Dec 2023 09:10:48 +0000 From: Will Deacon To: Fuad Tabba Cc: Mark Brown , Catalin Marinas , Joey Gouly , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 06/13] arm64/sysreg: Update ID_AA64ISAR2_EL1 defintion for DDI0601 2023-09 Message-ID: <20231212091047.GA28147@willie-the-truck> References: <20231209-b4-arm64-sysreg-additions-v1-0-45284e538474@kernel.org> <20231209-b4-arm64-sysreg-additions-v1-6-45284e538474@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Tue, 12 Dec 2023 01:11:46 -0800 (PST) On Mon, Dec 11, 2023 at 09:07:25AM +0000, Fuad Tabba wrote: > On Sat, Dec 9, 2023 at 1:03 AM Mark Brown wrote: > > > > DDI0601 2023-09 defines some new fields in previously RES0 space in > > ID_AA64ISAR2_EL1, together with one new enum value. Update the system > > register definition to reflect this. > > > > Signed-off-by: Mark Brown > > > --- > > arch/arm64/tools/sysreg | 24 ++++++++++++++++++++++-- > > 1 file changed, 22 insertions(+), 2 deletions(-) > > > > diff --git a/arch/arm64/tools/sysreg b/arch/arm64/tools/sysreg > > index c48a3b8d00ad..3f382f8d0f4a 100644 > > --- a/arch/arm64/tools/sysreg > > +++ b/arch/arm64/tools/sysreg > > @@ -1365,7 +1365,14 @@ EndEnum > > EndSysreg > > > > Sysreg ID_AA64ISAR2_EL1 3 0 0 6 2 > > -Res0 63:56 > > +UnsignedEnum 63:60 ATS1A > > + 0b0000 NI > > + 0b0001 IMP > > +EndEnum > > +UnsignedEnum 59:56 LUT > > + 0b0000 NI > > + 0b0001 IMP > > +EndEnum > > UnsignedEnum 55:52 CSSC > > 0b0000 NI > > 0b0001 IMP > > @@ -1374,7 +1381,19 @@ UnsignedEnum 51:48 RPRFM > > 0b0000 NI > > 0b0001 IMP > > EndEnum > > -Res0 47:32 > > +Res0 47:44 > > +UnsignedEnum 43:40 PRFMSLC > > + 0b0000 NI > > + 0b0001 IMP > > +EndEnum > > +UnsignedEnum 39:36 SYSINSTR_128 > > + 0b0000 NI > > + 0b0001 IMP > > +EndEnum > > +UnsignedEnum 35:32 SYSREG_128 > > + 0b0000 NI > > + 0b0001 IMP > > +EndEnum > > UnsignedEnum 31:28 CLRBHB > > 0b0000 NI > > 0b0001 IMP > > @@ -1398,6 +1417,7 @@ UnsignedEnum 15:12 APA3 > > 0b0011 PAuth2 > > 0b0100 FPAC > > 0b0101 FPACCOMBINE > > + 0b0110 PAUTH_LR > > Nit: PAuth and PAuth2 only have the PA as uppercase in this file, > which matches the spec. Should PAuth_LR be the same? I renamed it to PAuth_LR following your comment, but it looks like ID_AA64ISAR1_EL1 is still missing this field entirely for the API and APA fields. Will