Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp8351401rwr; Wed, 10 May 2023 23:18:41 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7QRJN89ixHLjmk1WXfc3vTpd9HLI3wy1r1NT+GxwZKR371oKSIPUwbsuFVqREo7wfe9+Gw X-Received: by 2002:a05:6a00:13a8:b0:63d:6744:8cae with SMTP id t40-20020a056a0013a800b0063d67448caemr26391561pfg.2.1683785921018; Wed, 10 May 2023 23:18:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683785921; cv=none; d=google.com; s=arc-20160816; b=FL4WXMLT2+2/jB3qmL4bOkIpRBKVkpLX7CsrgirBqAnoPVAZZXCSs/jg3b3YkqXkj6 m8WQ9y9HgaHybXWsraldKi23APRUALMLHTmGixLG17F8zgeFfOC6+u4VJ3XN4qINXLRW ozxodDQsUDgHmTQPYG4RTZdFtp/NRVONTYDXBGUSPa6sjtcqIYVwOcvRZ9E129ozIm2i PJ7VpfgUeEN9P4XBHv2xGQVtnlwc5qATQZBt4Py5Z8G6mKrhL0pTb0kAWJbMDCLB0FP9 JhrmKHo6Qz0NJKx7GGWpCKTQFYN9r/Su+UJRSkwCcP+N0JA+AenKDTu9t5n9IY2/8+rO UnXQ== 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=zyL5R1s19SxqN7H6FaFlhv+VwuA19E35MaBvyY2Ce24=; b=ZqRHEVMmaLKRSvxxGkpOLMjOVd+U0yU6U7qlLknFDlBOLyNv32oWClH9EqquU0JVkI 5iXRzqRATfk866fi0FbMEbGw80R+LiQyFMTXB7X/3/gRGb2Tn2UbqYfTDvRbWWWeEnQN ro94/yolQixhVGx7C+94PP6JtLx4sf6DY29razcxAh7EdjWAiWeIy/7JPiErKgfv5T9e 8N9jXHkcos1N4Sr8KPUg5eNPLcfuo8DjY0EZgw0smUdn1rUMtA3G4Dq3M93j698lFOku qAnKG1gZUYu07N2c+fvmuQGsEghdCHsBvhiRJYVsflAuV/D2mzYRyzvagGIfr0ipZjRW eyWw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=pCa5XPoC; 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 y19-20020aa79433000000b0064388918719si6372068pfo.85.2023.05.10.23.18.26; Wed, 10 May 2023 23:18:40 -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=pCa5XPoC; 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 S236717AbjEKGFY (ORCPT + 99 others); Thu, 11 May 2023 02:05:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36574 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235540AbjEKGFX (ORCPT ); Thu, 11 May 2023 02:05:23 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3F3B2184 for ; Wed, 10 May 2023 23:05:22 -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 dfw.source.kernel.org (Postfix) with ESMTPS id B053D64AEB for ; Thu, 11 May 2023 06:05:21 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 89FE1C433EF; Thu, 11 May 2023 06:05:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1683785121; bh=GuYjeo//7p/ec0S34Gs3dF2pDfOrQTrtaV3XxSG4X2w=; h=From:Subject:Date:To:Cc:From; b=pCa5XPoCE/aDASwJ/8pJ8aNq+scllgoFhXsgXgImfyn4y9osy1pcuOzOoE5PWsUzO gmkMnVm75+mnWoXoxzRUywnhbl0Q8Sg48xojaOmxTxuvRd0Zfwd87yRCdt2ijSMljA gOThui2EtQnuc3xE+5nKiH13QgWqUkt3PEbuFJOMKefjZL7ItVeY0yUNMwkz/wCZkP 6iFsruBDkIfLgMDzWJ8d+EIPjuspWpsC/EQ1XtD/476yWO1hnw8Nyx3aSnC+xoQ7bD jtIXM31mnOSKvgUQYHjjtOfmnFEPWGi/lfJ8lI9KHIGjJILevMQXRVmDo5pshIueYm hwzPDr0bTlhfg== From: Mark Brown Subject: [PATCH v3 0/2] arm64: Add decode of ISS2 to data abort reports Date: Thu, 11 May 2023 15:05:13 +0900 Message-Id: <20230417-arm64-iss2-dabt-decode-v3-0-c1fa503e503a@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAJmFXGQC/42Nyw6CMBBFf4V07Rj6sIAr/8O46GOEBqVmSlBD+ HcLO1e6PDe558wsIQVM7FjMjHAKKcQhg9wVzHVmaBGCz8xEKWSpeAWG7lpBSEmAN3YEjy56BHS NVdo1tWk4y2drEoIlM7huvT8j9ev8ILyG19Y7XzJ3IY2R3lt+4uv6szRxKEFwWduD1nVVVacea cDbPlLLVuck/vOI7KkVcseVll6WX55lWT7OiKrFHAEAAA== To: Catalin Marinas , Will Deacon Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Mark Brown X-Mailer: b4 0.13-dev-bfdf5 X-Developer-Signature: v=1; a=openpgp-sha256; l=1156; i=broonie@kernel.org; h=from:subject:message-id; bh=GuYjeo//7p/ec0S34Gs3dF2pDfOrQTrtaV3XxSG4X2w=; b=owEBbQGS/pANAwAKASTWi3JdVIfQAcsmYgBkXIWcWXeszBHILpQYFxPFnHWtvp7iuCa2hxyXm +JQfNNq1RaJATMEAAEKAB0WIQSt5miqZ1cYtZ/in+ok1otyXVSH0AUCZFyFnAAKCRAk1otyXVSH 0D27CACBYZUm8aeC4ZNw8JVYrhGbmkdd/d6Kdtiut+J//6iMi3lJfTfYbI43ZTl6iIaebdijz13 N2hiv9dVJvShqamzzR4nNkXX17I+XzfJuvtOzRqGcb5oxqFuwgUAN2Wnfu+4mRvNJmOdSVhjjG9 lcpe5aae7m0FUXpxuXUgKTG2AhS7UolT4XPas0RBD4DC0iQ3DmcowDzV9wrKFiATGpk9Vqf7QaA 64Q4l4GjnOjWp/3XpJfdgTdPcpgFBPPRKmjSbHW+E7uPwiz1taUg2j9Co7o98FwhsZQ24L21IdW Djmzijoclq0LmKwT76F1qXmU42IuJsnYOJnsE5E/zb4W4Sid X-Developer-Key: i=broonie@kernel.org; a=openpgp; fpr=3F2568AAC26998F9E813A1C5C3F436CA30F5D8EB X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 We provide fairly detailed decode of ESR for data aborts but do not currently cover the information reported in ISS2 which has had quite a bit of additional information added to it by recent architecture extensions. Add decode for this information to aid in debugging, for completeness including features we don't actually use yet. Signed-off-by: Mark Brown --- Changes in v3: - Correct ISS->ISS2 typo. - Link to v2: https://lore.kernel.org/r/20230417-arm64-iss2-dabt-decode-v2-0-84e1c1463d30@kernel.org Changes in v2: - Rebase onto v6.4-rc1. - Link to v1: https://lore.kernel.org/r/20230417-arm64-iss2-dabt-decode-v1-0-2138b5668777@kernel.org --- Mark Brown (2): arm64/esr: Use GENMASK() for the ISS mask arm64/esr: Add decode of ISS2 to data abort reporting arch/arm64/include/asm/esr.h | 19 ++++++++++++++++++- arch/arm64/mm/fault.c | 17 ++++++++++++++--- 2 files changed, 32 insertions(+), 4 deletions(-) --- base-commit: ac9a78681b921877518763ba0e89202254349d1b change-id: 20230417-arm64-iss2-dabt-decode-ec9b46c98a91 Best regards, -- Mark Brown,,,