From patchwork Mon Mar 6 05:54:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Clevenger X-Patchwork-Id: 13160499 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 738AFC61DA4 for ; Mon, 6 Mar 2023 05:55: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:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=/kK+Hmk3EynTUgwLpfFEg7Kes4IMPJI9QkhUv4d6t+c=; b=H8C3/ZHtU1uO2U 34DCpUj4vV5z5GpJ6/uvMvaWfDjjENsaeiJP9a+v7AliGFiMJDt0dbTeJfGIW/4WqjiyBUALt/Zyv H6W59JcUZhE5mSUh2r2yV8Zk5WMns1W5PoaVkIaV7jqLRgn9bllMUNq8V2ExragW3x3BDK7HaBpcT gT7iiAVnma/SnwJ0XiD8L9smeER/BaM1QuC+k5+P+7OKbSYE03/IRI7gGNdIo/Wa4lpOja9oPbLsI J5OddJMGRqcdHvg8n5oUYqs5jyG/71DbpUIW+dl5Zt70JtfecuqZ/CqaMoSftA5mg1Jc4oOyG+aF+ RQNATb7Ocgft7MjJmaAw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pZ3o6-00BR1A-0u; Mon, 06 Mar 2023 05:54:46 +0000 Received: from mail-dm6nam11on2071f.outbound.protection.outlook.com ([2a01:111:f400:7eaa::71f] helo=NAM11-DM6-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pZ3nu-00BQyF-G0 for linux-arm-kernel@lists.infradead.org; Mon, 06 Mar 2023 05:54:36 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NGmJ+LwRHQKDIUmokQE8mMB9ZWeWSTAiUGUhKl3plwnTJX7ebt1+oZqfPGsQHSwt3bRiQdB9uW8GPgOIsKOSVa0U7hCil3Qkq80MlzsA9Q9h6LFTblosNsXC0Q4/GGlkXTnwzPPeQxMTdN7+Kk8USNUtWyfTJudqkCNlgqAORPvvXQ4/dIB/dDshLAKifYIuOd/aCrLDw11+iQnJBrEadlW8z48LIzpl+HkC+6LN5gz25NdadHl50Zvzfkjh3UlnKgAKx3d8lqJIijh3+7rFsmaNAgvG3L/cnMdszCHvcXZYQs5AsCN9FhzRFlsL4+1koAxKBObAh3xCj4LXEsH39w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=XWi1YKctGw/VXVlXWOPgbrKgjMGwV1SICAsJVgxHykg=; b=Hq2VVKAIiePyRi04hIuM2t2JZlUg7eMZyTLH8sISR+ly8EfhLIDpFe17cvHdJf1iNJ9jgeMS3RA6Z8nkIcY+aik2ucWZ3LiLSKXHRDXsSCs54ALPKDsHjTqRhYlv79l+qNYKTu/JTXq/5xvoxhktbqEBUIbL9APRwcvf6XgGyVa48iFodtv8oIsrENCG1HSgyws5yb7b6E6yI2CqTCO5h5IOMUEEmm+yWWMjsAt2dH2A/JzslIVDzyP3tlytsR73giFVDEBr/uCLPCi/KgeVFDoCp/Worsm+cMh75gqzcFFfrEvPO162vDxnXKAXc8TaRNFC/juo9Vkv5tzOE5bfDQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=os.amperecomputing.com; dmarc=pass action=none header.from=os.amperecomputing.com; dkim=pass header.d=os.amperecomputing.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=os.amperecomputing.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=XWi1YKctGw/VXVlXWOPgbrKgjMGwV1SICAsJVgxHykg=; b=KHOU9ftRBK+dKZNeBXAdznz0URnPaqsq0d6wPgiBZax5cPxti0NqGAzjaZseUkwoYoUBWyqn7wgLiYqBXIRf1ehFo4gi8zU0q8cMxwIBmFOh4TnxxReLuBDvIAJrXetpWgjIlpVkKXHKy/dRmYTpqZ98Sntd0pfoFxRgvfYvn9M= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=os.amperecomputing.com; Received: from SA1PR01MB8062.prod.exchangelabs.com (2603:10b6:806:335::13) by SA0PR01MB6460.prod.exchangelabs.com (2603:10b6:806:e1::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6178.15; Mon, 6 Mar 2023 05:54:26 +0000 Received: from SA1PR01MB8062.prod.exchangelabs.com ([fe80::fb0b:d681:8228:bd50]) by SA1PR01MB8062.prod.exchangelabs.com ([fe80::fb0b:d681:8228:bd50%6]) with mapi id 15.20.6178.013; Mon, 6 Mar 2023 05:54:26 +0000 From: Steve Clevenger To: mathieu.poirier@linaro.org, suzuki.poulose@arm.com Cc: mike.leach@linaro.org, leo.yan@linaro.org, coresight@lists.linaro.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 1/3] Add known list of Ampere ETMv4 errata Date: Sun, 5 Mar 2023 22:54:06 -0700 Message-Id: <54c98e4eb9cae60c61576564c84f272785fa0da7.1677881753.git.scclevenger@os.amperecomputing.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: References: X-ClientProxiedBy: CH2PR12CA0003.namprd12.prod.outlook.com (2603:10b6:610:57::13) To SA1PR01MB8062.prod.exchangelabs.com (2603:10b6:806:335::13) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SA1PR01MB8062:EE_|SA0PR01MB6460:EE_ X-MS-Office365-Filtering-Correlation-Id: 7fe28fa7-576b-4e86-bbd4-08db1e073e6e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 7wWjtFBSEefIfeC/9qmA8R1sZyvFcfkgz8miEmw6VDlGGLdBMYla34e+ERI5LrjFT2dmTgo0JB+Q1OE9n3pV4/bI0r7G8cpFmag0kzVMm/zW0kILMwAFenjN5+YoeRIpXgD8sXJdJELKH59AXfKZGGSWGbWDBRj2wSJRS08KCORFsYkMnuKT+W/ayVNKZXHdTmJX23NyY99hAqq4wW6FHj7MAV0g3xHgGQfDdNDCQwSUR5k4ZOV9nY6CFROdkdklfFi0wlDe7gBG0sJCyJFmjZmAyBTHN+odUrXL403maS+GttOB/fvGWi3RhRwm0UTYvHt0f1etDGtbplxTEEO2y/vxU3wZxDh04ktxWz0n0cmiqZB+N3A74eZu9bAFNFWlmKwAaI0a66aGS53ytfHbM00hA0W00P+uSerr7CthahQmdQ+jRjcg/+1Fg+oJMQsAml6eS3eHn/pynqAUiPWG0mIfobVcnCSyGf0vbLGDD4J/QWNCN56KDnp75u3CZS1THXRjuURTVboF8EwlyhH5TlFOqIHGmR9nH3QlKIwRpr1CYFApJfHXzqsW/nshVs6yWbWr99Ykwh6bFlXCttdc4Q+TG2lhaLchs4/hPwxMQx0rzK8i1BL4nlyefqEITNAK6SDF9gL/KGPExNJTVApyZgkmRaHSsFdvYj8I2CXGsOw6Xwb8/I8+W3v2/21CzAlk X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SA1PR01MB8062.prod.exchangelabs.com;PTR:;CAT:NONE;SFS:(13230025)(4636009)(136003)(396003)(366004)(346002)(39850400004)(376002)(451199018)(6512007)(6506007)(6486002)(966005)(6666004)(83380400001)(86362001)(38100700002)(38350700002)(186003)(26005)(2616005)(41300700001)(66476007)(66946007)(66556008)(4326008)(8676002)(2906002)(8936002)(5660300002)(478600001)(52116002)(316002);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: njNJDvrevEXYyYs/BZxV/TgGvHO/NKEiZVcG470Zf5HPH42fR+ZrXBLYbQzN32eX5qMr7VbkHOv+iPGybVjgUFRzJ6ku3ux646ILIjcDw4lo31BXs/6mdeIyxVu4ZzKEqs80jD7NwCBQjieVlcz6oQSJCsx+I0k8YxJqjLTDCBFQI8MDtu9iMwB+oeEw3x1DeRHO7Zq7n97/P6nd6xV/LWhhlkiGT78PUqjA8lQBB6FtuF7hvAMU+z9HX/zRWtoqvLOoLyYrYIi35EhWLcixAOtmsVn2GQUOngzGdruGELtaa289mcIhh9h79JL/gTAU31zPUaJSNpQH0gw5PIzgs4dGkgmOAVPgP4KJypU0ZwNYn4sthFTT7YJMSBgy06o0NmvXAIsXBNWi7lOBaeKQJTrzSNtDyO/Cjw8B8QRAuOKZylGNY5VbrtQiezSGab7m2J1t6MVmt8ujmKpOv3OBFuOGZfzgrR9ei7GyHzBZUjKr4f9OIxRKEGTjJNTdPkqxe+H495MEU8dNYnDLRZoSuVnSx1YNOgqE4CyqMD6x2EPGcf4wiF8WDrPb4qSai6yBm3+Rie87yLPdZOg/fpd5YdMAcMboW0P04qEq7K+yVhemeHAABLndbW+tuEgLys2dZGW41NdN/nJ3LjDO6Q/PiA1QE4NFH3eHA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-Exchange-CrossTenant-AuthSource: SA1PR01MB8062.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Mar 2023 05:54:26.5355 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3bc2b170-fd94-476d-b0ce-4229bdc904a7 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: YtTQ/K2W07RzSndL+JMh5ZZ04vWWRXbb95bFUqhUpfJvFS/OoBVIHpynZJkdOZPhVmwNlJUxY+O8ZTPKLZ/uvWMX4UaeVS21MAh5M1QJCAkRGMO+sEjeOh2vG/Pg0awO X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA0PR01MB6460 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230305_215434_997166_2AC32614 X-CRM114-Status: UNSURE ( 9.80 ) X-CRM114-Notice: Please train this message. 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org An Ampere Computing design decision is MMIO reads are considered the same as an external debug access. If TRCOSLAR.OSLK is left set, a TRCIDR1 access results in a bus fault followed by a kernel panic. A TRCIDR1 read should be valid regardless of TRCOSLAR.OSLK provided MMIO access (now deprecated) is supported. The Ampere work around is to early clear ETM TRCOSLAR.OSLK prior to TRCIDR1 access. Do not distinguish between manufacturers. AC03_DEBUG_06 is described in the AmpereOne Developer Errata document. An Ampere Computing design decision to not support 64-bit read/write access in the ETMv4.6 implementation. The Ampere work around is to split ETMv4.6 64-bit register access into 2 ea. 32-bit read/write accesses. AC03_DEBUG_10 is described in the AmpereOne Developer Errata document: https://solutions.amperecomputing.com/customer-connect/products/AmpereOne-device-documentation Signed-off-by: Steve Clevenger --- Documentation/arm64/silicon-errata.rst | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Documentation/arm64/silicon-errata.rst b/Documentation/arm64/silicon-errata.rst index ec5f889d7681..a4de304a8bd8 100644 --- a/Documentation/arm64/silicon-errata.rst +++ b/Documentation/arm64/silicon-errata.rst @@ -205,7 +205,11 @@ stable kernels. +----------------+-----------------+-----------------+-----------------------------+ | Qualcomm Tech. | Kryo4xx Gold | N/A | ARM64_ERRATUM_1286807 | +----------------+-----------------+-----------------+-----------------------------+ - +----------------+-----------------+-----------------+-----------------------------+ | Fujitsu | A64FX | E#010001 | FUJITSU_ERRATUM_010001 | +----------------+-----------------+-----------------+-----------------------------+ ++----------------+-----------------+-----------------+-----------------------------+ +| Ampere | AmpereOne | AC03_DEBUG_06 | N/A | ++----------------+-----------------+-----------------+-----------------------------+ +| Ampere | AmpereOne | AC03_DEBUG_10 | N/A | ++----------------+-----------------+-----------------+-----------------------------+