Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp1180862rdb; Fri, 1 Dec 2023 08:59:17 -0800 (PST) X-Google-Smtp-Source: AGHT+IFhtZhU3f4MqBmcbNPMRJZqnXM+E1SsPmjGmx2r4+AyxflWH52vcCu1WrmPvudDdMznM3Cs X-Received: by 2002:a05:6a00:3988:b0:6be:25c5:4f74 with SMTP id fi8-20020a056a00398800b006be25c54f74mr29943965pfb.13.1701449956720; Fri, 01 Dec 2023 08:59:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701449956; cv=none; d=google.com; s=arc-20160816; b=Q1AcyAY8xXUuNGzcYSoXHE2325a/8cF0SWZYsn4DTDPVR4b29D9FH+US/3LwgfnSBJ /v+8tz50RqEofl8heeTpRWloa5x+prVPWG7S7Etwx9TWsSUz1c4GP1FqfOx4anUOPYhU cu/QNontbDDMRB4PmmvqWMNVrAhdhoNCwCJyq0FXs4hU1vG0VtaOmq/etB8mNp08FcfD /5YsU89aUUuMLrHZJNnSkruqYV8J1gQspIS2k6SIzhkXFVgmNjHXBE/xcPE6LLLLM3Bj LLm1m4GBZJmjWmB+lMBtxBJyY6pauiawVchovK0JPuL73eNXc3eQUnJWDQ5bW7Xiocz7 G6UQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=VN+UrLj1CpNyXWE54O6fdqWDNBGeWtCswBaegLs+DyA=; fh=u42NS6rBEfRjTmWu2ciMJW2wDrNV1o82VzMWuZF1xxk=; b=n68AbgBgvgEY34z7CVsCH+Yjv9wTcGVpNCr0eIvYX1Qo5fMsheYeWQ1r9HICvArXaY srvmeUhBbki5K1f6sgCQvlvJ8RXl29RwZr7044CaN/8ixZ47yy4swbE9luuJne2NRLeh izK2JzLMB+no3rNtMbSVvMOAVog2WRmuwlJAJN+tkVhpmjP+MEs55OYusucZhXHADL2F S/RpBNGnzjWpJM6KzXX/9Fpy5iSY7fMQWBzOO2gF60OSAVFSKWW5OQyYmnJCIjMcO3FK CAqm46oX/4dWHLJ8NgLnTBIjDYLOmkj8YBNqNNF5bPkhnluHZnEAqPhAdjofnZITgVIq 2zag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=S16GIxoM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 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 howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id a21-20020a656415000000b005bdbea1c477si3622434pgv.203.2023.12.01.08.59.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Dec 2023 08:59:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=S16GIxoM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 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 howler.vger.email (Postfix) with ESMTP id 932B3805FD50; Fri, 1 Dec 2023 08:59:11 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1378533AbjLAQ65 (ORCPT + 99 others); Fri, 1 Dec 2023 11:58:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35192 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229534AbjLAQ64 (ORCPT ); Fri, 1 Dec 2023 11:58:56 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 28555C1 for ; Fri, 1 Dec 2023 08:59:03 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E3BC7C433C9; Fri, 1 Dec 2023 16:58:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1701449942; bh=ySU1Do4RoJYFQTmBppKfMwL1Zs9QJ8j0N4J7GgsQg9A=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=S16GIxoMRd4elQiyuXo8z2fG6ZF6RPsXHnh/XMUeZmtFYmLAW06VSOwXYTkMifDbx fOvjwqokKn4G/HI9ygdQjVbvlljIH6+Z5DeWBhpqJ7Ugplw0po37kAT6Y2l5/Osv9N jdsPF8mTqtd5Uy6yFU66y+dOQKGQxAeaQ4rUhrpOMh6wD/M6w+qiv1Q0bRHVuZ7seF QZLIiv/fZRavvt0T7bLIuWXAnQi6nb2wi4HEL7z/hnVCy6Qrs3W4E6RvWav0NHYSta v+V0OlZweKRyXTkSdguQRy+/qCMV2oFzBaAGntoLQ8eMluGwZ+Kdc2/LRlO9rmljXw OmDzevbcsXuWw== Date: Fri, 1 Dec 2023 16:58:55 +0000 From: Mark Brown To: Anshuman Khandual Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, will@kernel.org, catalin.marinas@arm.com, mark.rutland@arm.com, James Clark , Rob Herring , Marc Zyngier , Suzuki Poulose , Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , linux-perf-users@vger.kernel.org Subject: Re: [PATCH V15 1/8] arm64/sysreg: Add BRBE registers and fields Message-ID: References: <20231201053906.1261704-1-anshuman.khandual@arm.com> <20231201053906.1261704-2-anshuman.khandual@arm.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="JISdTfvGKwhKa25v" Content-Disposition: inline In-Reply-To: <20231201053906.1261704-2-anshuman.khandual@arm.com> X-Cookie: The early worm gets the late bird. 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 howler.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 (howler.vger.email [0.0.0.0]); Fri, 01 Dec 2023 08:59:11 -0800 (PST) --JISdTfvGKwhKa25v Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, Dec 01, 2023 at 11:08:59AM +0530, Anshuman Khandual wrote: This looks good apart from a few small omissions: > +SysregFields BRBINFx_EL1 > +Enum 13:8 TYPE > + 0b000000 UNCOND_DIRECT > + 0b000001 INDIRECT > + 0b000010 DIRECT_LINK > + 0b000011 INDIRECT_LINK > + 0b000101 RET > + 0b000111 ERET > + 0b001000 COND_DIRECT > + 0b100001 DEBUG_HALT > + 0b100010 CALL > + 0b100011 TRAP > + 0b100100 SERROR > + 0b100110 INSN_DEBUG > + 0b100111 DATA_DEBUG > + 0b101010 ALIGN_FAULT > + 0b101011 INSN_FAULT > + 0b101100 DATA_FAULT > + 0b101110 IRQ > + 0b101111 FIQ > + 0b111001 DEBUG_EXIT > +EndEnum DDI0601 2023-09 also defines 0b110000 as an IMPLEMENTATION DEFINED exception to EL3. > +SysregFields BRBCR_ELx > +Res0 63:24 > +Field 23 EXCEPTION > +Field 22 ERTN > +Res0 21:9 DDI0601 2023-09 defines bit 9 as FZPSS. > +Sysreg BRBINFINJ_EL1 2 1 9 1 0 > +Enum 13:8 TYPE > + 0b000000 UNCOND_DIRECT > + 0b000001 INDIRECT > + 0b000010 DIRECT_LINK > + 0b000011 INDIRECT_LINK > + 0b000101 RET > + 0b000111 ERET > + 0b001000 COND_DIRECT > + 0b100001 DEBUG_HALT > + 0b100010 CALL > + 0b100011 TRAP > + 0b100100 SERROR > + 0b100110 INSN_DEBUG > + 0b100111 DATA_DEBUG > + 0b101010 ALIGN_FAULT > + 0b101011 INSN_FAULT > + 0b101100 DATA_FAULT > + 0b101110 IRQ > + 0b101111 FIQ > + 0b111001 DEBUG_EXIT > +EndEnum DDI0601 2023-09 also defines 0b11000 as IMPLEMENTATION DEFINED exception to EL3. --JISdTfvGKwhKa25v Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmVqEM8ACgkQJNaLcl1U h9CdgAf+PuTg+CfzlrPSJrZ9Z36MlL8ZKYtD9hjauM4agzZsJ0u0RLkbkBRi6R+q fcLF3WcaI80+35YGa/1BIyM4qYmO7JJNVDvZNf0E6dL7FzPgf499sOSxYHIn8zWP 5sRunmMDycdZlXGSRVVB+oTf5lFeMT9aKy765546cMNspxDbCOBUBCUcw5I/dxQG nuzCEyADW36yKxodStDCx6Jptz8dO3qF0r02YEoc/xCNSXv4lG9CLrM0acDXxyZ/ BwvWOvSlv66Ta+QM/DL4UhcditW+HXHK71OPD2q/xhSjI41z6tMxKtZwQ02cFO/Z cfl0g+Aj1tfzyQdK6OTLxP+i4lASSw== =Zs5/ -----END PGP SIGNATURE----- --JISdTfvGKwhKa25v--