Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp134223rwl; Thu, 23 Mar 2023 13:47:54 -0700 (PDT) X-Google-Smtp-Source: AKy350ZtlNtblOOZB+C7kdbES0++D3HG/2v75qMnCXIzntbRd4K49Hs5L1jc5cpkZ+V1IAqIkcNL X-Received: by 2002:a17:903:247:b0:1a0:4859:19ea with SMTP id j7-20020a170903024700b001a0485919eamr184362plh.39.1679604474598; Thu, 23 Mar 2023 13:47:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679604474; cv=none; d=google.com; s=arc-20160816; b=uWNwcR6xptiUg7RUGiQe1WO6PsQf/OcvNxmd4AUGGCHBBeVGstTthF4P622Mnk0F4P G42kVkw0B8AKMkdUCvEQpdaRq2FDwJ9WBSaALS2G2u+TTvcDvGriafZ3qh5o+ZITUkGn Yxd/T7coDy9dhFn0e2iQByHBO3rdbAo7GKYzbHsL89fd08NI9vWsvnozieK6Nv9lMVgL AKsSkJceAyYJ5jD8moWgpjFGeSKo/u3GKrTMMrmh0VGQ6zXmCsH4O8fOJuju0AbazpTR OuZdHTpxY2cLZpZQriPVo1hsEs9MTGLVBF0utlI97QIvflcPYuiKxNeG3E9gyduaui6u Ykxw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:content-transfer-encoding:mime-version :message-id:date:subject:from:dkim-signature; bh=e1rQ7wtQcxmZVbc44pwi8anxMHGwDjFdMu2oKHKgTIQ=; b=nkOQNFB6IWHYhiJIkzwiePZzbKdT9E+8mgtua6Ojm8PRbyU2mtkTQKh6s7RN8RkM8m XRFcu++3avest+gci2vcpkET5uKEsuWe5sTN3BHXYxZ/p+mn1IR3bjo4QhRDEjmk+ZA6 KePtqhj2Gqr5yZCGAR2dO7kCswk6SmjmxzBvmfv/XsZvLc2cEAsMBvljR5kCPyzKUS7a /x0oUTALILDGFM8BEMjXbidgd5qYvNsUAKOG1HqwMNO3dQ7HQTMROmgcZpFmtaP37DeD Wuos+MYToJgEOoOk3uWZY0tZLReum/LrxAASdh7JhriVMhvU3/dbdl2aPpnzyOKj5hGr qmVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="g4Iuv/eC"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d22-20020a170902aa9600b0019edbe98164si18691980plr.546.2023.03.23.13.47.42; Thu, 23 Mar 2023 13:47:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="g4Iuv/eC"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231477AbjCWUpm (ORCPT + 99 others); Thu, 23 Mar 2023 16:45:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59536 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231344AbjCWUpj (ORCPT ); Thu, 23 Mar 2023 16:45:39 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D6465199E0 for ; Thu, 23 Mar 2023 13:45:34 -0700 (PDT) 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 77BD1B821F7 for ; Thu, 23 Mar 2023 20:45:33 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A3A69C433D2; Thu, 23 Mar 2023 20:45:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1679604332; bh=C2TqXPrTCQIXt/q+F7TLNiZksg5FjIamJ1O1ngcMKFw=; h=From:Subject:Date:To:Cc:From; b=g4Iuv/eC/tLY0OOo6VXifQtKed7+ZOiC3SF8Fzf8DBRtGQPf0DZZvVg/pAAF+zHp3 T93Lu/zbz57vDwCI8H6OoQeQ3hr4HbYC5mZMZoFmRvnlSL8Nm41DJ4jaqCNbpij26C 5qGZBQj5dBdlMLLEaP5sCCAmTYcHysTja0r8b22Jd9oVXswju44g0mvBWt+lBoFIyg tz+PRfk20SwnbtjHPxPk5fFxhyBfksTfWrALtQlpy/I6NHugtXGPPAvoIG4h7WN5D5 7uWs65EVIq0/1bufLlu4a+AvSbTQ8i5gni4HKpVlASi2H7FCX9r61idDyEV7JztaN+ QZ5+93Y6sMVCg== From: Mark Brown Subject: [PATCH v3 0/2] arm64/sysregs: Generate definitions fine grained traps control registers Date: Thu, 23 Mar 2023 20:44:52 +0000 Message-Id: <20230306-arm64-fgt-reg-gen-v3-0-decba93cbaab@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAEW6HGQC/4WNwQ6CMBAFf4X07JrSQgme/A/joS3b0iiFbAnRE P7dws2LHuclb2ZlCSlgYpdiZYRLSGGMGeSpYLbX0SOELjMTXEguuQJNg6rA+RkIPXiMYJxoZI1 OV51j+Wd0QjCko+335zxM+zoRuvA6Srd75j6keaT3EV7Kff3VWEoooa2N5bZtrMPu+kCK+DyP5 NmuW8RfhciKBkulbG2kqcSXYtu2D3EAhY4MAQAA To: Catalin Marinas , Will Deacon Cc: Joey Gouly , Anshuman Khandual , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Mark Brown X-Mailer: b4 0.13-dev-bd1bf X-Developer-Signature: v=1; a=openpgp-sha256; l=916; i=broonie@kernel.org; h=from:subject:message-id; bh=C2TqXPrTCQIXt/q+F7TLNiZksg5FjIamJ1O1ngcMKFw=; b=owEBbQGS/pANAwAKASTWi3JdVIfQAcsmYgBkHLpn2C0H4Kv6fP9Jkb7mGJghweOh4fsJTEaf9xg7 529ogP6JATMEAAEKAB0WIQSt5miqZ1cYtZ/in+ok1otyXVSH0AUCZBy6ZwAKCRAk1otyXVSH0GjnB/ sEJYeBslnXvvOwIuNs/5/YQKQAA2QAqudmldbDvx0kiXkzhWmDAlZL+b5umDY5ExOuTQfhwtA/7CZc FIV0l9xuyEkWPNMgeFa6E9yAAt6AD8NiJ8cRLqzEjxAlYNxYHxQjpfj3Oib3Mjh+hpdGcrFomAhubg VrS/KyZPJ2kZjf/y6U6th0nbVL8L5Kk5XiRpWD0cxt02JZkHeinBrJCGzwtavZ6uQxKlJZd7ENY1Zm /hs9ZRYZulm4U5tU6D9dX5g4VukQAKADGgakgBS/U14gs2QUh6nY+O5ZIp7qr6V3qG+qJBNKosSypj B2rn09jpCaDKhNRPLRX+LdD5LCo5yC X-Developer-Key: i=broonie@kernel.org; a=openpgp; fpr=3F2568AAC26998F9E813A1C5C3F436CA30F5D8EB X-Spam-Status: No, score=-5.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series converts the fine grained traps control registers to automatic generation as per DDI0601 2022-12. I previously sent this with just the read/write trap registers, there have been no changes in that patch since v2. Changes in v3: - Add HFGITR_EL2. Changes in v2: - Correct naming of nPIRE0_EL1. - Link to v1: https://lore.kernel.org/r/20230306-arm64-fgt-reg-gen-v1-1-95bc0c97cfed@kernel.org --- Mark Brown (2): arm64/sysreg: Convert HFG[RW]TR_EL2 to automatic generation arm64/sysreg: Convert HFGITR_EL2 to automatic generation arch/arm64/include/asm/sysreg.h | 9 --- arch/arm64/tools/sysreg | 140 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 140 insertions(+), 9 deletions(-) --- base-commit: e8d018dd0257f744ca50a729e3d042cf2ec9da65 change-id: 20230306-arm64-fgt-reg-gen-bf2735efa4df Best regards, -- Mark Brown