Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp4665395iob; Sun, 8 May 2022 21:10:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzI13gZps9LQT30NE44ierQwDqhuqzryiujr3xJevtFD0LIviaKCynJBD3Bu97QUqQjaw5i X-Received: by 2002:a17:902:ed82:b0:158:fef8:b501 with SMTP id e2-20020a170902ed8200b00158fef8b501mr14033775plj.47.1652069421290; Sun, 08 May 2022 21:10:21 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1652069421; cv=pass; d=google.com; s=arc-20160816; b=HbUIUjgttHRCjz1S30HjjdNYg3wKpAm5Ql8lpIRuu1biyUL/NySSj3tVYmdBOYtWR6 GtcCjupCwDwVJn2OHd3J1T4avhXa4a0S17ttounIih89lgLYK3YP6AYG/nGCjmH7oEXn inyrny2hL+svYX1JlSr65Y76aJObkW1kvcH5iJjLLbjqlBSCNVXv5/ZasOF0sh5uSpVF +CBS3WZcwmMeJTKN299XbXzsWd0Z5IDR/lEGIXTyITJuTx3NWfhGXxIM0FNverules1k tS7ZUuDzDRjv0n0cKJYHpmIV3j+0NhmP9B3zpA83P1d3CmWbYSiZIP/q6jMMcxpbrEtf 3b8Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=zAwJwAK226raxGh5NoBwO9QVUpnql59xp5WX7VgSuHc=; b=k9Y3Tc05GFDokXz98AgINak/lWpOXojhyTQNnvldfY9Z7h1tXpTjvIGcEwpdssq+uN x9P5SoE2QM+VFFHVaUKUlbZUD+beHnmG3ILMry3GXU54gheglL4ef2N/Pn1rzhf0CuUM LLZP7tuCE9VRP5gp+Y5wIK4Y6uDz5UX0e2DTazy1ZxQ1Eecs893hm84msMcwEmlWVE85 +hrlK6QbTKYLNr7FsjwVambq6SeVBCgeXwQMA3YDXv+4hGMO8mu3/lXocZRFVHEzkI12 QQgxsN6AVGw5bPIjYy4o0ioWoQRyOYsiTxMbqYmudzJnuw9Tkmm3Xd4zr4EzAvUHZ6ad y0yA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@Nvidia.com header.s=selector2 header.b=A52p3K5z; arc=pass (i=1 spf=pass spfdomain=nvidia.com dmarc=pass fromdomain=nvidia.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=nvidia.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id bm18-20020a656e92000000b003ab2603ce1asi13404677pgb.262.2022.05.08.21.10.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 08 May 2022 21:10:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@Nvidia.com header.s=selector2 header.b=A52p3K5z; arc=pass (i=1 spf=pass spfdomain=nvidia.com dmarc=pass fromdomain=nvidia.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=nvidia.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 8193010E3C6; Sun, 8 May 2022 21:09:10 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1382440AbiEERL2 (ORCPT + 99 others); Thu, 5 May 2022 13:11:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60340 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1382505AbiEERKz (ORCPT ); Thu, 5 May 2022 13:10:55 -0400 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2040.outbound.protection.outlook.com [40.107.93.40]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1A1EC167D8; Thu, 5 May 2022 10:07:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YBSaj+HmCxHDFd8KjeYov0T8d7GMg5sNaTviU5e+3JHHealXU0h52a2ZpL8seRPjs6dNjCD7uNmpv1ShTmFxGSXifStKBzKUy4Wh65nwvVK0nRxAjoBybP6v6icHygswwWqkz8GH2y31L27bR7Ms0cNVIxzyYQYSXTkRo2UpqYWXEG7o/Vo/aZgQxT8cF84CMmQqTrpDDSQyJ3lAVPhOZJL5Gz8b1WphJmffCl8fcPiJmVLSTv8IBJBbIQCFGe6C6cW8eY0GJFRg01ZWkrutWJ3IkqX0WK8E/iZl5/M/vR3ZPBS0I0UxZwOL/E3+9608vxual+sf0UFQUss4Pgc1qA== 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=zAwJwAK226raxGh5NoBwO9QVUpnql59xp5WX7VgSuHc=; b=RxQWoFH+aRQntZlNIlRp8tu1rEXoJ3y1bzYkgkV+UxJ3q35OZWMYr4OGmOji/XHeIyO4t7yaBOvDgJiFbVxjkiBy6GO/GZgzjZUb/XEodrMdzyIYygUbRJDWaKtUdtoJftZYPvqCWVU+Z+YPVOod5mV41NKekkw3XR4Zr2LeLW+5BGwYyUbEIl79NLFDwYTeoxgw6W7nxoy/wZGxaaeAsRCl16DzY2ChU+1Rc1a/67CtAWmosrHz6RUrmVu0QMHaMZI9Ch6Cj+VqXgBqUhvdGyNd28Jy6uJE/MYJMXmXCWwTqYYxhjmgiLiia/V9yH1MwAHJo6StyJh3eI6foPgHqg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 12.22.5.235) smtp.rcpttodomain=gmail.com smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=zAwJwAK226raxGh5NoBwO9QVUpnql59xp5WX7VgSuHc=; b=A52p3K5zHZ7aHDpUYeiu055NqqNKDXzJxucRayX8L/WPF6AL87FsZETUxPKSugYoVjfJRQPpSlGrIPS+n3qEmAQgRmkDrkj5qRhi10+aLGjsybPbxA3tL4RkqBY+RQxXgFgNZG7dZxMdSUXP5iel/ZxSFVXbN6ZmFkwVxOM2YhZf5fE+bkokTEGqckoZ3442nXc70OZbJzcoP032eMSbLkspNyQA8DhuploZ5GlHMsT1mZqlCZ7SxIY1s5KrygDtNsS5Nz+6Ivkv3d83+/57n/olik971rrjCrEnfXcHZRmqLNoAEXC+9hNFkoFC8yQg6rGCePRQ/qqXEI+s9AGhVA== Received: from DS7P222CA0012.NAMP222.PROD.OUTLOOK.COM (2603:10b6:8:2e::15) by BY5PR12MB3923.namprd12.prod.outlook.com (2603:10b6:a03:194::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5206.13; Thu, 5 May 2022 17:07:12 +0000 Received: from DM6NAM11FT021.eop-nam11.prod.protection.outlook.com (2603:10b6:8:2e:cafe::f5) by DS7P222CA0012.outlook.office365.com (2603:10b6:8:2e::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5206.14 via Frontend Transport; Thu, 5 May 2022 17:07:12 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 12.22.5.235) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 12.22.5.235 as permitted sender) receiver=protection.outlook.com; client-ip=12.22.5.235; helo=mail.nvidia.com; Received: from mail.nvidia.com (12.22.5.235) by DM6NAM11FT021.mail.protection.outlook.com (10.13.173.76) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.5227.15 via Frontend Transport; Thu, 5 May 2022 17:07:10 +0000 Received: from drhqmail202.nvidia.com (10.126.190.181) by DRHQMAIL107.nvidia.com (10.27.9.16) with Microsoft SMTP Server (TLS) id 15.0.1497.32; Thu, 5 May 2022 17:07:06 +0000 Received: from drhqmail203.nvidia.com (10.126.190.182) by drhqmail202.nvidia.com (10.126.190.181) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.22; Thu, 5 May 2022 10:07:05 -0700 Received: from sumitg-l4t.nvidia.com (10.127.8.10) by mail.nvidia.com (10.126.190.182) with Microsoft SMTP Server id 15.2.986.22 via Frontend Transport; Thu, 5 May 2022 10:07:03 -0700 From: Sumit Gupta To: , , , , , , CC: , , , Subject: [Patch v4 6/9] dt-bindings: arm: tegra: Add NVIDIA Tegra234 CBB2.0 binding Date: Thu, 5 May 2022 22:36:34 +0530 Message-ID: <20220505170637.26538-7-sumitg@nvidia.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220505170637.26538-1-sumitg@nvidia.com> References: <20220505170637.26538-1-sumitg@nvidia.com> X-NVConfidentiality: public MIME-Version: 1.0 Content-Type: text/plain X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 0f0a9f9b-5ba8-42ed-ad3c-08da2eb9b15e X-MS-TrafficTypeDiagnostic: BY5PR12MB3923:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: pBh6EgMm7k1PxWf36Lvoq9k5JfAPhVqp7IM+3DVUt4Vg8RL83Ya1R6SbHGBpLRFRu0GcZnLlHmwi3bnPZ8NkMRji9oCRNNGHqDqdp2Lns0QDZEgpzJjz8lh+waKVxEG3mfioxgs3UBYbPiNb9/89nvU0y69Twz8LVu7xmMmKX7DdY7qDDHB2r1+lT02cHG674v4xhdW7m57lF7tHAKi65xiqdcdNHjTzAqzUKBDcEL+HShfphW0auAkaTXFybVT529S176SQXkM/rWyLCd9V/2gx371O1UOzpaINsQYd7eVDOupwJf/HPUwj488Laj2s8tkQISyWEzNGXqRT5G3jBlJuO3pdcMYplYdsJcjSo1ZCI95Krru4SZqFHZ5wYMt48OBi0EdYtYGe0monhkZBKFuhZwXw7KSpKGgIIzO2jwIOUolGLer8ZzP44EYb1QsCNiUAjGAG5C2wnaZxGu4it59snHxkID1gw6dDSueKvn0vE5RDdq8ehXdjiw1LdF8v0wwAEC5lgMF+PQpUAAV2a0ewRzNiVgH0XH1fI+dSzT2Ns4MazCE27FP6w6N9cpren1PaZosNi4+ARoj8aPAygW0gOKb4wDYzTPfjM7xchazBTtSKhMKmYqPHWhhmcYgSZWHAtYT/a2GXxUhmeG1xQvpMgOvjKmV2Mf8eXsnzXHswugAHMpBRPiLgDhK5FmDLF82F+PuTCNKtO2ReCoGLmy8fRe3dfu6Gqwu5LWsvkmP/4xU/07N5joboNT0qKJHjED4f/PS9Q1q/VE7UFe3ho4+8SJ2QfWuzeGhZ3zdSJyMuWZOSq3P/9M5kQHJPyyGwh7DvxEOi2z9BLUbTw04BRA== X-Forefront-Antispam-Report: CIP:12.22.5.235;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:mail.nvidia.com;PTR:InfoNoRecords;CAT:NONE;SFS:(13230001)(4636009)(40470700004)(36840700001)(46966006)(2616005)(70586007)(47076005)(356005)(4326008)(81166007)(70206006)(8676002)(110136005)(5660300002)(316002)(54906003)(508600001)(336012)(6666004)(40460700003)(426003)(8936002)(7696005)(2906002)(83380400001)(36860700001)(82310400005)(107886003)(36756003)(1076003)(26005)(186003)(86362001)(36900700001);DIR:OUT;SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 May 2022 17:07:10.4696 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 0f0a9f9b-5ba8-42ed-ad3c-08da2eb9b15e X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a;Ip=[12.22.5.235];Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: DM6NAM11FT021.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR12MB3923 X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,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 lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add device-tree binding documentation to represent CBB2.0 (Control Backbone) error handling driver. The driver prints debug information about failed transaction on receiving interrupt from CBB2.0. Signed-off-by: Sumit Gupta --- .../arm/tegra/nvidia,tegra234-cbb.yaml | 70 +++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100644 Documentation/devicetree/bindings/arm/tegra/nvidia,tegra234-cbb.yaml diff --git a/Documentation/devicetree/bindings/arm/tegra/nvidia,tegra234-cbb.yaml b/Documentation/devicetree/bindings/arm/tegra/nvidia,tegra234-cbb.yaml new file mode 100644 index 000000000000..fa4383be19d8 --- /dev/null +++ b/Documentation/devicetree/bindings/arm/tegra/nvidia,tegra234-cbb.yaml @@ -0,0 +1,70 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: "http://devicetree.org/schemas/arm/tegra/nvidia,tegra234-cbb.yaml#" +$schema: "http://devicetree.org/meta-schemas/core.yaml#" + +title: NVIDIA Tegra CBB 2.0 Error handling driver device tree bindings + +maintainers: + - Sumit Gupta + +description: |+ + The Control Backbone (CBB) is comprised of the physical path from an initiator to a target's + register configuration space. CBB 2.0 consists of multiple sub-blocks connected to each other + to create a topology. The Tegra234 SoC has different fabrics based on CBB2.0 architecture which + include cluster fabrics BPMP, AON, PSC, SCE, RCE, DCE, FSI and "CBB central fabric". + + In CBB 2.0, each initiator which can issue transactions connects to a Root Master Node (MN) + before it connects to any other element of the fabric. Each Root MN contains a Error Monitor + (EM) which detects and logs error. Interrupts from various EM blocks are collated by Error + Notifier (EN) which is per fabric and presents a single interrupt from fabric to the SoC + interrupt controller. + + The driver handles errors from CBB due to illegal register accesses and prints debug information + about failed transaction on receiving the interrupt from EN. Debug information includes Error + Code, Error Description, MasterID, Fabric, SlaveID, Address, Cache, Protection, Security Group + etc on receiving error notification. + + If the Error Response Disable (ERD) is set/enabled for an initiator, then SError or Data abort + exception error response is masked and an interrupt is used for reporting errors due to illegal + accesses from that initiator. The value returned on read failures is '0xFFFFFFFF' for + compatibility with PCIE. + +properties: + $nodename: + pattern: "^[a-z]+-fabric@[0-9a-f]+$" + + compatible: + enum: + - nvidia,tegra234-aon-fabric + - nvidia,tegra234-bpmp-fabric + - nvidia,tegra234-cbb-fabric + - nvidia,tegra234-dce-fabric + - nvidia,tegra234-rce-fabric + - nvidia,tegra234-sce-fabric + + reg: + maxItems: 1 + + interrupts: + items: + - description: secure interrupt from error notifier + +additionalProperties: true + +required: + - compatible + - reg + - interrupts + +examples: + - | + #include + + cbb-fabric@1300000 { + compatible = "nvidia,tegra234-cbb-fabric"; + reg = <0x13a00000 0x400000>; + interrupts = ; + status = "okay"; + }; -- 2.17.1