Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3514909pxj; Tue, 15 Jun 2021 02:37:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzYxsc7QGJXusRFApOlWt+Jll6nuF/hlkK9XE1igEst8d5lifPKVaqxVnzFDKhUjmS4iEoh X-Received: by 2002:aa7:c0d3:: with SMTP id j19mr22603123edp.196.1623749826273; Tue, 15 Jun 2021 02:37:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623749826; cv=none; d=google.com; s=arc-20160816; b=06yEqBouuVBhEoQUuFmV75ceubQTCJW+1tGdq6ePqyrvJIFtP4/15i2NRpDgri/2Yq D5cWOOqv5emWALp0YncWm47R95owmblQeM+n56vV8wXUpWNgf2wUgKOS2b1c+cu2pyva ArGpA8x5N4yWlbCj7dqFwaIzuB4LrFb/rCDUFfNa4zjF+AjED5c8HetK/6u18VlcsHzH tFshNBhSj3YC2DbIqEd4b7WNmRZg+ILFomjIscGp3BA5zL9/vzaYVw4ZJpK44Qby1BNp A8ULUShveGwgen3dH2U6D6WooGBETYRwnjreUuflU/p3oRUjh33562cirAHxLPuJupDc GyDA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=iZpsFS116GO1V+IxLi1NTqyQqiGPYbO2yVvCGfmvLnE=; b=VO2vd/ws8RgcC8blNDGJRiSFVH8AsEuA1l001SuJEnux9aM5e+JU/Ng0Klw4QCyxzI BhjMrefmHUN52WveE5jq+8cjGrH1XcEu1hAJnpQHoFlQrNe6GFtQWDn9yAqbxuvXMxUM qbkpkpuAejdop+i84cQ6W2yTrXWsPogd5rMX7TlhZ0+GlkfjXbPSoXGUAmYv3AbVtELx iH3n+onZWkv1zXi724Sudys+CepqLcXvijGdTQRUhJYFkp50PuQg9R4+uPyltmkDuozN 70LMhD7I6RGYJAi/opcJvAwbvIovVDqRUcZFK7JuUciy6oyB8eTFTSazmyV7Fum24juL G3JQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h93si15705450edd.605.2021.06.15.02.36.43; Tue, 15 Jun 2021 02:37:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231355AbhFOJhR (ORCPT + 99 others); Tue, 15 Jun 2021 05:37:17 -0400 Received: from szxga02-in.huawei.com ([45.249.212.188]:4914 "EHLO szxga02-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231187AbhFOJhQ (ORCPT ); Tue, 15 Jun 2021 05:37:16 -0400 Received: from dggemv711-chm.china.huawei.com (unknown [172.30.72.57]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4G434K6VvQz6yhV; Tue, 15 Jun 2021 17:32:01 +0800 (CST) Received: from dggema757-chm.china.huawei.com (10.1.198.199) by dggemv711-chm.china.huawei.com (10.1.198.66) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.2176.2; Tue, 15 Jun 2021 17:35:10 +0800 Received: from localhost.localdomain (10.69.192.56) by dggema757-chm.china.huawei.com (10.1.198.199) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2; Tue, 15 Jun 2021 17:35:10 +0800 From: Qi Liu To: , , , , CC: , , , Subject: [RFC PATCH 0/4] Add support for Ultrasoc Trace Module Date: Tue, 15 Jun 2021 17:34:40 +0800 Message-ID: <1623749684-65432-1-git-send-email-liuqi115@huawei.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.69.192.56] X-ClientProxiedBy: dggems703-chm.china.huawei.com (10.3.19.180) To dggema757-chm.china.huawei.com (10.1.198.199) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patchset adds support for Ultrasoc Trace Module on Hip08 and Hip09 platform. It includes core layer framework, AXI Communicator(AXI-COM) and System Memory Buffer(SMB). Qi Liu (4): Documentation: tracing: Documentation for ultrasoc framework and drivers ultrasoc: add ultrasoc core layer framework ultrasoc: Add ultrasoc AXI Communicator driver ultrasoc: Add System Memory Buffer driver Documentation/trace/ultrasoc-trace.rst | 209 ++++++++ MAINTAINERS | 7 + drivers/Makefile | 1 + drivers/hwtracing/Kconfig | 2 + drivers/hwtracing/ultrasoc/Kconfig | 34 ++ drivers/hwtracing/ultrasoc/Makefile | 13 + drivers/hwtracing/ultrasoc/ultrasoc-axi-com.c | 334 +++++++++++++ drivers/hwtracing/ultrasoc/ultrasoc-axi-com.h | 66 +++ drivers/hwtracing/ultrasoc/ultrasoc-smb.c | 663 ++++++++++++++++++++++++++ drivers/hwtracing/ultrasoc/ultrasoc-smb.h | 182 +++++++ drivers/hwtracing/ultrasoc/ultrasoc.c | 518 ++++++++++++++++++++ drivers/hwtracing/ultrasoc/ultrasoc.h | 168 +++++++ 12 files changed, 2197 insertions(+) create mode 100644 Documentation/trace/ultrasoc-trace.rst create mode 100644 drivers/hwtracing/ultrasoc/Kconfig create mode 100644 drivers/hwtracing/ultrasoc/Makefile create mode 100644 drivers/hwtracing/ultrasoc/ultrasoc-axi-com.c create mode 100644 drivers/hwtracing/ultrasoc/ultrasoc-axi-com.h create mode 100644 drivers/hwtracing/ultrasoc/ultrasoc-smb.c create mode 100644 drivers/hwtracing/ultrasoc/ultrasoc-smb.h create mode 100644 drivers/hwtracing/ultrasoc/ultrasoc.c create mode 100644 drivers/hwtracing/ultrasoc/ultrasoc.h -- 2.7.4