From patchwork Wed Aug 28 12:07:52 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Joakim Zhang X-Patchwork-Id: 11118785 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id E17C614DE for ; Wed, 28 Aug 2019 12:08:07 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id BC1BD206BB for ; Wed, 28 Aug 2019 12:08:07 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Lhj/uMqY"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="ALRn9tWS" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org BC1BD206BB Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=nxp.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Content-ID:Message-ID:Date :Subject:To:From:Reply-To:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=jK0qTVCJcYvg8aqc/sWZsuFxWubYgT/JoDhwpcgsKfA=; b=Lhj/uMqYpufPsX kXJJKUPSecmDL1XjDV6YUQ6DYvmbux7ADKaGyMTCYFZqi9LloAQZ3reDFekz1KwBj8oDbhFbpfwUc YKV/bVH2lhiztQ7EN2wlpuCr/K3qkEFEiDNpzsDva0ZPhvb/9+usSNFpL9mB4AlM3/VsjsGIRHt1J qkox3V2AJFGu5kOIXSdSFcHZ7dpU4+6OIpdMDDdtrcn218DFOZyYLLyfb1Lx4d47QMbuRNmZKFdy8 N6iS2jegJ2KvRMXdm3DvdJIsVD16b2mXdOTO/ALxK1aI8gvKBgxfspORpRyKyHfq5GxW7pnYcOApW q+yirYcUY8pWbw74zTRA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1i2wk4-0002c4-4i; Wed, 28 Aug 2019 12:08:00 +0000 Received: from mail-eopbgr60082.outbound.protection.outlook.com ([40.107.6.82] helo=EUR04-DB3-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1i2wk0-0002bQ-GN for linux-arm-kernel@lists.infradead.org; Wed, 28 Aug 2019 12:07:58 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JMaijs8sdW7jEWQRakx0NzxyZjs7KGQanlldbafY12wXMucGZ8rWD2sJ2JP4h+ypQwQqsaxu/5+ysN5/5DTdxK54yMnoy9mrLrWwwjYG71oOrXwdW99+MaQsLmL3VVSvjuYX8bqCt8Yqvmr755Mc5QoNdZL29jCQVwRSUjccagtIT90jBMPrHPBo2a+zos8702Xfa/FNPw3H16s5daJL6F/c68ZMX5z+sWACM186bv3tQIUQGwhgxrcbzsn+VPBnVAy77wFCv0oUrZR2oDvwSJQAlhOy6hbbaurPPhawe0WjVi5mXOoncovGIuZ9E+zhjYyswMbKIyY7cPbGEQJ91A== 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-SenderADCheck; bh=sZCb+7v4xvGyNOYDyUeS2o1VgVcX7OJYn9IYP6mpNqc=; b=LkYjazep4dLBoJtb0i7r2DZvOWScQS0eh4XGIcBI7Cb/KcyxglOhrJF3MN0un1fl76XRpsDPnbnOPI+QARH0EGYiraQDsAH/WEO6CXzODtWKearG3pUoMnqMthvNgAbhMOK0ISCGqLTKpQgZGHqqHKl24Os+/M+2owHt7NWIr2KMtJqT1cHKBf3ZGjjw3GyBzXKAGcIDPuLKKrCu4yfhCzRWDREzSEbEhkxw6p8NE9+7TOJ24iOpuS0I6q1PMhpjK5s9HDr5iSt+kJqd7OVJ3PuYtOdwI0E9OjxrmCxsVCrKzkfGCGfNlGtJ0NKJc6Eeo+1NeH9F1yarGpbRPsQLyw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=sZCb+7v4xvGyNOYDyUeS2o1VgVcX7OJYn9IYP6mpNqc=; b=ALRn9tWSHKVKby9X1rkbcjLKfogLyY4oYgrtudGQAALfybQYCy4Qg+OLfeV2qP4fh3dPMHN/NsDqeEhEvkrZm/Pbsft7+/yUS7FRU1qvpFJJeF/tJuCvZjEo1DbCVerUOtsnLO3JiuWVFGE2yR4tA8P6kMFoc2H5sqmuA+8s1Zk= Received: from DB7PR04MB4618.eurprd04.prod.outlook.com (52.135.139.151) by DB7PR04MB4666.eurprd04.prod.outlook.com (52.135.133.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2199.19; Wed, 28 Aug 2019 12:07:52 +0000 Received: from DB7PR04MB4618.eurprd04.prod.outlook.com ([fe80::c8ca:1c9c:6c3:fb6f]) by DB7PR04MB4618.eurprd04.prod.outlook.com ([fe80::c8ca:1c9c:6c3:fb6f%4]) with mapi id 15.20.2199.021; Wed, 28 Aug 2019 12:07:52 +0000 From: Joakim Zhang To: "mark.rutland@arm.com" , "will@kernel.org" , "robin.murphy@arm.com" Subject: [PATCH V9 1/3] perf: imx8_ddr_perf: add AXI ID filter support Thread-Topic: [PATCH V9 1/3] perf: imx8_ddr_perf: add AXI ID filter support Thread-Index: AQHVXZk3TFiKcreeDke9EMwXd/wkAw== Date: Wed, 28 Aug 2019 12:07:52 +0000 Message-ID: <20190828120524.9038-1-qiangqing.zhang@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: git-send-email 2.17.1 x-clientproxiedby: SG2PR01CA0127.apcprd01.prod.exchangelabs.com (2603:1096:4:40::31) To DB7PR04MB4618.eurprd04.prod.outlook.com (2603:10a6:5:38::23) authentication-results: spf=none (sender IP is ) smtp.mailfrom=qiangqing.zhang@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [119.31.174.71] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 87ad85e2-3273-43e6-63b8-08d72bb05a49 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600166)(711020)(4605104)(1401327)(4618075)(2017052603328)(7193020); SRVR:DB7PR04MB4666; x-ms-traffictypediagnostic: DB7PR04MB4666: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8882; x-forefront-prvs: 014304E855 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(396003)(376002)(39860400002)(346002)(136003)(366004)(189003)(199004)(54534003)(50226002)(99286004)(6116002)(81156014)(14444005)(2906002)(53936002)(8676002)(81166006)(6512007)(66066001)(1076003)(71190400001)(8936002)(3846002)(52116002)(6506007)(6486002)(386003)(7736002)(478600001)(14454004)(110136005)(476003)(316002)(25786009)(86362001)(71200400001)(486006)(305945005)(6436002)(2501003)(36756003)(4326008)(54906003)(64756008)(102836004)(26005)(186003)(66946007)(66556008)(256004)(66446008)(66476007)(5660300002)(2201001)(2616005); DIR:OUT; SFP:1101; SCL:1; SRVR:DB7PR04MB4666; H:DB7PR04MB4618.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: mChaWJ/4WfT/DK8gT/KQeIIdIZiCChXQam5Cj94tn9hVTvqiX216ZUn9tFG3hOKe4fj32ByP7BB8A77FgZIQAx1P7QbKq5qsPIqkY1uWvlCvCoNbaSY5Lr3aRX7+KYs68sldxGl7FIHN/H4utnyEbTDM3wnRH5JibfeqRUWOhNkoBYl7b4mN5WpdDnzsWflnK9mNe/mPcTm0PFcx8GIFnS2x6DiwHjV//Mll9mZOJJWKwhG267cvsBWQokHwhCKXnnYMpLG5KJI0Jhjr7zVH/9nI6BIVvK2jMFbEMXomVvgGDLlMl7rSbHfYJxoklzDYDiqc4+wy8DFqYI1arYFPXTzPi9a6e+LtHj4pDIOX4AYT6RZI/Jh0Uc6Xq6jhokjjsc9s2Ui2+gpft/T0EpRmxmIv8fOoWaffY2wwKUu2zHE= Content-ID: <0FEDB34D32A71247BB0A99993DD34ABE@eurprd04.prod.outlook.com> MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 87ad85e2-3273-43e6-63b8-08d72bb05a49 X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Aug 2019 12:07:52.7540 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 1V3AuOnWvyBz9A3xSGGdzrN36WUuYVJH001nubaUVrLkh64yinGf5BeoF/5zDVUHOhndVM2HYYAEEi5EukLkrQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR04MB4666 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190828_050756_680742_178B2913 X-CRM114-Status: GOOD ( 20.11 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [40.107.6.82 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Frank Li , dl-linux-imx , "linux-arm-kernel@lists.infradead.org" , Joakim Zhang Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org AXI filtering is used by CSV modes 0x41 and 0x42 to count reads or writes with an ARID or AWID matching filter setting. Granularity is at subsystem level. Implementation does not allow filtring between masters within a subsystem. Filter is defined with 2 configuration parameters. --AXI_ID defines AxID matching value --AXI_MASKING defines which bits of AxID are meaningful for the matching 0:corresponding bit is masked 1: corresponding bit is not masked, i.e. used to do the matching When non-masked bits are matching corresponding AXI_ID bits then counter is incremented. This filter allows counting read or write access from a subsystem or multiple subsystems. Perf counter is incremented if AxID && AXI_MASKING == AXI_ID && AXI_MASKING AXI_ID and AXI_MASKING are mapped on DPCR1 register in performance counter. Read and write AXI ID filter should write same value to DPCR1 if want to specify at the same time as this filter is shared between counters. e.g. perf stat -a -e imx8_ddr0/axid-read,axi_mask=0xMMMM,axi_id=0xDDDD/ cmd perf stat -a -e imx8_ddr0/axid-write,axi_mask=0xMMMM,axi_id=0xDDDD/ cmd NOTE: axi_mask is inverted in userspace(i.e. set bits are bits to mask), and it will be reverted in driver automatically. so that the user can just specify axi_id to monitor a specific id, rather than having to specify axi_mask. e.g. perf stat -a -e imx8_ddr0/axid-read,axi_id=0x12/ cmd, which will monitor ARID=0x12 Signed-off-by: Joakim Zhang --- ChangeLog: V1 -> V2: * add error log if user specifies read/write AXI ID filter at the same time. * of_device_get_match_data() instead of of_match_device(), and remove the check of return value. V2 -> V3: * move the AXI ID check to event_add(). * add support for same value of axi_id. V3 -> V4: * move the AXI ID check to event_init(). V4 -> V5: * reject event group if AXI ID not consistent in event_init(). V5 -> V6: * change the event name: axi-id-read->axid-read; axi-id-write->axid-write * add another helper: ddr_perf_filters_compatible() * drop the dev_dbg() V6 -> V7: * revert AXI_MASKING at driver. V7 -> V8: * separate axi_id to axi_mask and axi_id these two fileds. V8 -> V9: * only program DPCR1 for filtered events. --- drivers/perf/fsl_imx8_ddr_perf.c | 74 +++++++++++++++++++++++++++++++- 1 file changed, 72 insertions(+), 2 deletions(-) diff --git a/drivers/perf/fsl_imx8_ddr_perf.c b/drivers/perf/fsl_imx8_ddr_perf.c index 0e3310dbb145..ce7345745b42 100644 --- a/drivers/perf/fsl_imx8_ddr_perf.c +++ b/drivers/perf/fsl_imx8_ddr_perf.c @@ -35,6 +35,8 @@ #define EVENT_CYCLES_COUNTER 0 #define NUM_COUNTERS 4 +#define AXI_MASKING_REVERT 0xffff0000 /* AXI_MASKING(MSB 16bits) + AXI_ID(LSB 16bits) */ + #define to_ddr_pmu(p) container_of(p, struct ddr_pmu, pmu) #define DDR_PERF_DEV_NAME "imx8_ddr" @@ -42,9 +44,22 @@ static DEFINE_IDA(ddr_ida); +/* DDR Perf hardware feature */ +#define DDR_CAP_AXI_ID_FILTER 0x1 /* support AXI ID filter */ + +struct fsl_ddr_devtype_data { + unsigned int quirks; /* quirks needed for different DDR Perf core */ +}; + +static const struct fsl_ddr_devtype_data imx8_devtype_data; + +static const struct fsl_ddr_devtype_data imx8m_devtype_data = { + .quirks = DDR_CAP_AXI_ID_FILTER, +}; + static const struct of_device_id imx_ddr_pmu_dt_ids[] = { - { .compatible = "fsl,imx8-ddr-pmu",}, - { .compatible = "fsl,imx8m-ddr-pmu",}, + { .compatible = "fsl,imx8-ddr-pmu", .data = &imx8_devtype_data}, + { .compatible = "fsl,imx8m-ddr-pmu", .data = &imx8m_devtype_data}, { /* sentinel */ } }; MODULE_DEVICE_TABLE(of, imx_ddr_pmu_dt_ids); @@ -58,6 +73,7 @@ struct ddr_pmu { struct perf_event *events[NUM_COUNTERS]; int active_events; enum cpuhp_state cpuhp_state; + const struct fsl_ddr_devtype_data *devtype_data; int irq; int id; }; @@ -129,6 +145,8 @@ static struct attribute *ddr_perf_events_attrs[] = { IMX8_DDR_PMU_EVENT_ATTR(refresh, 0x37), IMX8_DDR_PMU_EVENT_ATTR(write, 0x38), IMX8_DDR_PMU_EVENT_ATTR(raw-hazard, 0x39), + IMX8_DDR_PMU_EVENT_ATTR(axid-read, 0x41), + IMX8_DDR_PMU_EVENT_ATTR(axid-write, 0x42), NULL, }; @@ -138,9 +156,13 @@ static struct attribute_group ddr_perf_events_attr_group = { }; PMU_FORMAT_ATTR(event, "config:0-7"); +PMU_FORMAT_ATTR(axi_id, "config1:0-15"); +PMU_FORMAT_ATTR(axi_mask, "config1:16-31"); static struct attribute *ddr_perf_format_attrs[] = { &format_attr_event.attr, + &format_attr_axi_id.attr, + &format_attr_axi_mask.attr, NULL, }; @@ -190,6 +212,26 @@ static u32 ddr_perf_read_counter(struct ddr_pmu *pmu, int counter) return readl_relaxed(pmu->base + COUNTER_READ + counter * 4); } +static bool ddr_perf_is_filtered(struct perf_event *event) +{ + return event->attr.config == 0x41 || event->attr.config == 0x42; +} + +static u32 ddr_perf_filter_val(struct perf_event *event) +{ + return event->attr.config1; +} + +static bool ddr_perf_filters_compatible(struct perf_event *a, + struct perf_event *b) +{ + if (!ddr_perf_is_filtered(a)) + return true; + if (!ddr_perf_is_filtered(b)) + return true; + return ddr_perf_filter_val(a) == ddr_perf_filter_val(b); +} + static int ddr_perf_event_init(struct perf_event *event) { struct ddr_pmu *pmu = to_ddr_pmu(event->pmu); @@ -216,6 +258,15 @@ static int ddr_perf_event_init(struct perf_event *event) !is_software_event(event->group_leader)) return -EINVAL; + if (pmu->devtype_data->quirks & DDR_CAP_AXI_ID_FILTER) { + if (!ddr_perf_filters_compatible(event, event->group_leader)) + return -EINVAL; + for_each_sibling_event(sibling, event->group_leader) { + if (!ddr_perf_filters_compatible(event, sibling)) + return -EINVAL; + } + } + for_each_sibling_event(sibling, event->group_leader) { if (sibling->pmu != event->pmu && !is_software_event(sibling)) @@ -288,6 +339,23 @@ static int ddr_perf_event_add(struct perf_event *event, int flags) struct hw_perf_event *hwc = &event->hw; int counter; int cfg = event->attr.config; + int cfg1 = event->attr.config1; + + if (pmu->devtype_data->quirks & DDR_CAP_AXI_ID_FILTER) { + int i; + + for (i = 1; i < NUM_COUNTERS; i++) { + if (pmu->events[i] && + !ddr_perf_filters_compatible(event, pmu->events[i])) + return -EINVAL; + } + + if (ddr_perf_is_filtered(event)) { + /* revert axi id masking(axi_mask) value */ + cfg1 ^= AXI_MASKING_REVERT; + writel(cfg1, pmu->base + COUNTER_DPCR1); + } + } counter = ddr_perf_alloc_counter(pmu, cfg); if (counter < 0) { @@ -473,6 +541,8 @@ static int ddr_perf_probe(struct platform_device *pdev) if (!name) return -ENOMEM; + pmu->devtype_data = of_device_get_match_data(&pdev->dev); + pmu->cpu = raw_smp_processor_id(); ret = cpuhp_setup_state_multi(CPUHP_AP_ONLINE_DYN, DDR_CPUHP_CB_NAME, From patchwork Wed Aug 28 12:07:56 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Joakim Zhang X-Patchwork-Id: 11118787 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 49C8E14F7 for ; Wed, 28 Aug 2019 12:08:22 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 24F75206BB for ; Wed, 28 Aug 2019 12:08:22 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="HU5BAcX4"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="V7VozV9l" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 24F75206BB Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=nxp.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Content-ID:In-Reply-To: References:Message-ID:Date:Subject:To:From:Reply-To:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Z9Yr9d/9WQqy9wlMXKg1eBKZ8y2KePNNdjKfdYAv4zE=; b=HU5BAcX4E5wYbP uVtyDsInur9/bvcY4gIetGT/q3NVyGP0Q/q81y1AQ5rFTLYHOmkTtabLlTpAJWT/O50bQ+i2MULI+ j/4wKclw35QnH7deyQWazvb+2daSwkjf7kC9iWXmzyEUNW452MRhCjl7n3yIPl9kFAFK/gOoCE5c9 VY6WXKKxvmwQ5Le403AjVJXv92Cpum0yPT6YIUQgh/wAtTsaipU9rBlGxgoWTe8dPI730xk4WktLo eT11lQgVu6mbmpx5i1J8qcT5zFQo+WHfbrwiOpdYFD+Kf49ZJuPp20y1oepVnrQTg7fSe6d42xF11 o/FMyK/BQ7HEspBeojmQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1i2wkG-0002lw-Fo; Wed, 28 Aug 2019 12:08:12 +0000 Received: from mail-eopbgr150054.outbound.protection.outlook.com ([40.107.15.54] helo=EUR01-DB5-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1i2wk3-0002bi-Hr for linux-arm-kernel@lists.infradead.org; Wed, 28 Aug 2019 12:08:01 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ChadZg9qJNAzmKJgFIrxVfYgCqzl47L989DqOVNrHp0tnd1kIsdsGnKYu1BSoato64NoO+QuOfkgkSGdpVbQiz7ORTTdODdY9w5GthbAWb//pDrRKxz8wWROpud2esdrq74cNiPzuDeJPsXBP3EEV27pLYOp+kvkWfjj96EiUqhADaiGbDI3/riqdGoE+9fo5nHgDg3Y9SPj+MNibOuA2TOJ82apcpY3sAmG4iHg2CIV6cMBCmTVFfyk+6RgmFIb7w6qxe74WjkozYg+VrCHtgNpqzZKWEHfS/nNjYjLi797zSRM3MvlHZj0ht579zrCq6P+hQAT91JWvekGz8uA8w== 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-SenderADCheck; bh=splZpLRIg307YZ8ZzcSuD2I78HnOFmZqTKJvaamvXK4=; b=k5vlJdjRk2kiokbiEXhwMwwPToVwAXQf6OLQqigNZsj+yVEeUUIQ4mCsYJvVPjX9aeB0V9lE/Qvn/5hQ/YdyvoXLr5/vxVr38Y4qYxfYO8lVkSfhzfXfw2MlQKJntKiQi5tv0J7Znhwbo44EagtG4sJHMUIXDyZDvDRQQPiAXrY+kThvSHGQddtboN582mklP+PB/TnzC6d7j0snROe+aXjX++MBmPyssYFvGCbeQ22z1u/fSsKjeaS+kk3nUDWejmVzNtK0mz7JgKVkAj3WEdepaVnFMyP88wyFZ1ihqAJKGKuGRwYmCOQzROcMDW+0wb+V/Jj0Mo1gj4V0Ki7eDQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=splZpLRIg307YZ8ZzcSuD2I78HnOFmZqTKJvaamvXK4=; b=V7VozV9lKyzci6mgns9XdUIAG5Ar3fOTu6ExyhoEqYORqVRdO9xREVbnlZQ8/aRDkzkGOyPRBsN8WWYtkmzKFBjOozcP0wH7kcU2bfLfVeOhNkVtw5qMoNBVXSzZayZlZrV3Gep015QpTcpXsm49ZHancDefULeSsMQvQtdiBRM= Received: from DB7PR04MB4618.eurprd04.prod.outlook.com (52.135.139.151) by DB7PR04MB5402.eurprd04.prod.outlook.com (20.178.104.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2199.19; Wed, 28 Aug 2019 12:07:56 +0000 Received: from DB7PR04MB4618.eurprd04.prod.outlook.com ([fe80::c8ca:1c9c:6c3:fb6f]) by DB7PR04MB4618.eurprd04.prod.outlook.com ([fe80::c8ca:1c9c:6c3:fb6f%4]) with mapi id 15.20.2199.021; Wed, 28 Aug 2019 12:07:56 +0000 From: Joakim Zhang To: "mark.rutland@arm.com" , "will@kernel.org" , "robin.murphy@arm.com" Subject: [PATCH V9 2/3] Documentation: admin-guide: perf: add i.MX8 ddr pmu user doc Thread-Topic: [PATCH V9 2/3] Documentation: admin-guide: perf: add i.MX8 ddr pmu user doc Thread-Index: AQHVXZk5JlxofySHm0WNpgZ0+Op51w== Date: Wed, 28 Aug 2019 12:07:56 +0000 Message-ID: <20190828120524.9038-2-qiangqing.zhang@nxp.com> References: <20190828120524.9038-1-qiangqing.zhang@nxp.com> In-Reply-To: <20190828120524.9038-1-qiangqing.zhang@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: git-send-email 2.17.1 x-clientproxiedby: SG2PR01CA0127.apcprd01.prod.exchangelabs.com (2603:1096:4:40::31) To DB7PR04MB4618.eurprd04.prod.outlook.com (2603:10a6:5:38::23) authentication-results: spf=none (sender IP is ) smtp.mailfrom=qiangqing.zhang@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [119.31.174.71] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 5ec4d1b6-52eb-4e84-645d-08d72bb05c41 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(5600166)(711020)(4605104)(1401327)(4618075)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7193020); SRVR:DB7PR04MB5402; x-ms-traffictypediagnostic: DB7PR04MB5402: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8882; x-forefront-prvs: 014304E855 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(136003)(396003)(39860400002)(366004)(376002)(346002)(54534003)(199004)(189003)(110136005)(25786009)(86362001)(6512007)(2501003)(256004)(2201001)(36756003)(3846002)(53936002)(6116002)(66946007)(66446008)(66556008)(66476007)(66066001)(1076003)(71190400001)(71200400001)(316002)(14444005)(64756008)(2616005)(81156014)(186003)(6486002)(478600001)(54906003)(486006)(8676002)(11346002)(8936002)(446003)(7736002)(6436002)(305945005)(99286004)(52116002)(76176011)(476003)(386003)(81166006)(6506007)(2906002)(102836004)(50226002)(5660300002)(4326008)(14454004)(26005); DIR:OUT; SFP:1101; SCL:1; SRVR:DB7PR04MB5402; H:DB7PR04MB4618.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: iiffY2tl64IrohhwtQfFbxGCXytHdgQHZezCnHCjJVmOcTCuS0Z/MuBjvxYtmPZk6jshu6UwVkQQAZXt8ZsrhAQ8YxGsL1PcYr9+ge65Z/wNCq7wHE9megO2twmos5zoZjT5N+EkUK6XS2yNXO6fmAdDy4v6fMY+c0dVvt6lfISLzAwgk4JdLprvfl3Jn4sgIkNUUk1/qQwmWYej7avxbU5ChDIvUeE0lw9RuGHlkmkJkzi4Za5wp7O1GngqG2PN/iGG/EOsmj/kuiu1beJvyWlR8Hnj4x1juAV/5Ia3zXMkPlybJMuw7jyP1gYFAJebY8wtaEDDe5OlPtzyr+cAiL0OCVokQFm/erkNSnJYzGiekV3PwHo9kljJndhTZNFr8QaMc2zqa/8ixoAfShxtPtJreDrkCrWctrQCgXS4Srg= Content-ID: <13E7EB8CC8632742B82CC28E5BEF1FCF@eurprd04.prod.outlook.com> MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5ec4d1b6-52eb-4e84-645d-08d72bb05c41 X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Aug 2019 12:07:56.0451 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: EJlnLSHgFQeuZTFxd32/5X1MYeeSgq4Q9vDVlfJeA0yXRaInjQ872Vu5gfcBZo4DOuMIT9e0GDQMtLuijW+ITQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR04MB5402 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190828_050759_593131_A44AD9C2 X-CRM114-Status: GOOD ( 16.62 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [40.107.15.54 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Frank Li , dl-linux-imx , "linux-arm-kernel@lists.infradead.org" , Joakim Zhang Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Add i.MX8 ddr pmu user doc. Signed-off-by: Joakim Zhang --- ChangeLog: V1 -> V4: * new add in V4. V4 -> V5: * no change. V5 -> V6: * change the event name V6 -> V7: * no change. V7 -> V8: * improve the doc, add more details. V8 -> V9: * improve the doc. --- Documentation/admin-guide/perf/imx-ddr.rst | 52 ++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 Documentation/admin-guide/perf/imx-ddr.rst diff --git a/Documentation/admin-guide/perf/imx-ddr.rst b/Documentation/admin-guide/perf/imx-ddr.rst new file mode 100644 index 000000000000..517a205abad6 --- /dev/null +++ b/Documentation/admin-guide/perf/imx-ddr.rst @@ -0,0 +1,52 @@ +===================================================== +Freescale i.MX8 DDR Performance Monitoring Unit (PMU) +===================================================== + +There are no performance counters inside the DRAM controller, so performance +signals are brought out to the edge of the controller where a set of 4 x 32 bit +counters is implemented. This is controlled by the CSV modes programed in counter +control register which causes a large number of PERF signals to be generated. + +Selection of the value for each counter is done via the config registers. There +is one register for each counter. Counter 0 is special in that it always counts +“time” and when expired causes a lock on itself and the other counters and an +interrupt is raised. If any other counter overflows, it continues counting, and +no interrupt is raised. + +The "format" directory describes format of the config (event ID) and config1 +(AXI filtering) fields of the perf_event_attr structure, see /sys/bus/event_source/ +devices/imx8_ddr0/format/. The "events" directory describes the events types +hardware supported that can be used with perf tool, see /sys/bus/event_source/ +devices/imx8_ddr0/events/. + e.g.:: + perf stat -a -e imx8_ddr0/cycles/ cmd + perf stat -a -e imx8_ddr0/read/,imx8_ddr0/write/ cmd + +AXI filtering is only used by CSV modes 0x41 (axid-read) and 0x42 (axid-write) +to count reading or writing matches filter setting. Filter setting is various +from different DRAM controller implementations, which is distinguished by quirks +in the driver. + +* With DDR_CAP_AXI_ID_FILTER quirk. + Filter is defined with two configuration parts: + --AXI_ID defines AxID matching value. + --AXI_MASKING defines which bits of AxID are meaningful for the matching. + 0:corresponding bit is masked. + 1: corresponding bit is not masked, i.e. used to do the matching. + + AXI_ID and AXI_MASKING are mapped on DPCR1 register in performance counter. + When non-masked bits are matching corresponding AXI_ID bits then counter is + incremented. Perf counter is incremented if + AxID && AXI_MASKING == AXI_ID && AXI_MASKING + + This filter doesn't support filter different AXI ID for axid-read and axid-write + event at the same time as this filter is shared between counters. + e.g.:: + perf stat -a -e imx8_ddr0/axid-read,axi_mask=0xMMMM,axi_id=0xDDDD/ cmd + perf stat -a -e imx8_ddr0/axid-write,axi_mask=0xMMMM,axi_id=0xDDDD/ cmd + + NOTE: axi_mask is inverted in userspace(i.e. set bits are bits to mask), and + it will be reverted in driver automatically. so that the user can just specify + axi_id to monitor a specific id, rather than having to specify axi_mask. + e.g.:: + perf stat -a -e imx8_ddr0/axid-read,axi_id=0x12/ cmd, which will monitor ARID=0x12 From patchwork Wed Aug 28 12:07:59 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joakim Zhang X-Patchwork-Id: 11118789 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 569B714F7 for ; Wed, 28 Aug 2019 12:08:43 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 322C120828 for ; Wed, 28 Aug 2019 12:08:43 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="pKOnmCKO"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="obr/h3yi" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 322C120828 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=nxp.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:In-Reply-To:References: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=xuquSpAMU7QZ4abzStfjupW0P940xMyuxUOP/azkcqM=; b=pKOnmCKOEXMz9s U0T7ARsRXKUffzn+zNnJWRaT2x+pDvraWvDoNi/arlCDiVXdeXRrY8AOk4TrpQ7djaueCdYKMtgf7 VDmx/Wz9K++zG0Cko862Zv5cRH5G8lawmoib1sYVpgPlYxG63hj2cRjjaW1atOR04+Pw8dbPTG+H5 8FMzgka3IzBgPL0QxzfSY8U8R/DVTiuAGEGPnKYlDZ/Hjj4bhgoUtO8HMY3nChR+0M8h0WqLbXEzJ 3ZSdmCfC8zE4+iaHxTnkWxUFkFnxCNgT96VIhuU82nVUhVHEwy+qgev3Iyi48nNXHhp24O8I/FDPD Dqx5T8gZ79IvHxM8IHlQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1i2wkc-00034Q-IS; Wed, 28 Aug 2019 12:08:34 +0000 Received: from mail-eopbgr20081.outbound.protection.outlook.com ([40.107.2.81] helo=EUR02-VE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1i2wkA-0002cr-1C for linux-arm-kernel@lists.infradead.org; Wed, 28 Aug 2019 12:08:08 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XaqLqzCvsyqdIv6R+efCT76DkN7IU86eLz5Nj+P7PzPFIcfLQ3GTP00ONUUcaOpYud0g4QfPtxyk07VX0obhb+DVsZgw6zpwcgi9hEP6jIQSjilhztUQU5j9oci2X7s96bQcV04qFExAL4PCbPHS6fF4ydtAzJU4xXBL6jmSbFhHjtDibOq/we7N90+3/y5Ppx6Cbd93zpWcAENWMObURJwxgw3MbBmndqAyYK+AU8slbegevLw5KUBU9a+bQpuaZ0XqirwEugC4d85JdEqOdTAmQkWY8v3LiKAnc2ysBWhAf5wjMlnu+bKDIA+8x/hvORT6nQJ3w8x2L0ZESX5J3A== 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-SenderADCheck; bh=OQu1tsGKuFkiCuONTH+5spD7dMVPGRoYIzXYR9RRCrY=; b=C+B4Lubxn4CLJEgzDtXEfwA4CVVtfTKK79TNY1AZjVT2Re4hv0kHb0NTY43h1BHmBu9cQ3ccQQhw2kG/p9IzzphzxCptnCPxDVfwbhM7+vFl55n7GPU07uXRDn6qpnx62rV1U7fWEgChITZ8i/fo6kZ9p9xgp2mCPWoixU//dbI+mBDP/wVHA/yGlK3jqCbNoAa+/4x6UPxPV4lmOg/RjahbJoXx0XL8EGTa0bfipSU6CfTs7p4UUH1RpyZkDD4S7IRQ8Ik1YuSgdhbsXIVzFam4GU9VBODorLpTSGMLP/nBLPFQyPDnccsKxl1xI+tP7of06OIyZrnkSEN2mopVkA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=OQu1tsGKuFkiCuONTH+5spD7dMVPGRoYIzXYR9RRCrY=; b=obr/h3yiaba5XYJNbfWDiYIJtfPxdi2wJsTRql8XXGK1tdokQO/GypKKsX8spFopjNSzpJfoyhOIY+PTFoAfpL4g2Keb01eEsad/j5Kg2sowKqd+3ecP2dCTAZFNr6t2nG5Z/soHqxnU67ATOZQVocn1xvYYlzTRaTafPNo/JTA= Received: from DB7PR04MB4618.eurprd04.prod.outlook.com (52.135.139.151) by DB7PR04MB4666.eurprd04.prod.outlook.com (52.135.133.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2199.19; Wed, 28 Aug 2019 12:07:59 +0000 Received: from DB7PR04MB4618.eurprd04.prod.outlook.com ([fe80::c8ca:1c9c:6c3:fb6f]) by DB7PR04MB4618.eurprd04.prod.outlook.com ([fe80::c8ca:1c9c:6c3:fb6f%4]) with mapi id 15.20.2199.021; Wed, 28 Aug 2019 12:07:59 +0000 From: Joakim Zhang To: "mark.rutland@arm.com" , "will@kernel.org" , "robin.murphy@arm.com" Subject: [PATCH V9 3/3] MAINTAINERS: add imx8 ddr perf admin-guide maintainer information Thread-Topic: [PATCH V9 3/3] MAINTAINERS: add imx8 ddr perf admin-guide maintainer information Thread-Index: AQHVXZk70BTIqR84qUq7E/rjo3whwg== Date: Wed, 28 Aug 2019 12:07:59 +0000 Message-ID: <20190828120524.9038-3-qiangqing.zhang@nxp.com> References: <20190828120524.9038-1-qiangqing.zhang@nxp.com> In-Reply-To: <20190828120524.9038-1-qiangqing.zhang@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: git-send-email 2.17.1 x-clientproxiedby: SG2PR01CA0127.apcprd01.prod.exchangelabs.com (2603:1096:4:40::31) To DB7PR04MB4618.eurprd04.prod.outlook.com (2603:10a6:5:38::23) authentication-results: spf=none (sender IP is ) smtp.mailfrom=qiangqing.zhang@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [119.31.174.71] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 62eded31-cbc5-4638-7868-08d72bb05e1f x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600166)(711020)(4605104)(1401327)(4618075)(2017052603328)(7193020); SRVR:DB7PR04MB4666; x-ms-traffictypediagnostic: DB7PR04MB4666: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:854; x-forefront-prvs: 014304E855 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(396003)(376002)(39860400002)(346002)(136003)(366004)(189003)(199004)(54534003)(50226002)(99286004)(6116002)(81156014)(2906002)(53936002)(8676002)(81166006)(6512007)(66066001)(1076003)(71190400001)(76176011)(8936002)(3846002)(52116002)(6506007)(6486002)(386003)(7736002)(478600001)(4744005)(11346002)(14454004)(446003)(110136005)(476003)(316002)(25786009)(86362001)(71200400001)(486006)(305945005)(6436002)(2501003)(36756003)(4326008)(54906003)(64756008)(102836004)(26005)(186003)(66946007)(66556008)(256004)(66446008)(66476007)(5660300002)(2201001)(2616005); DIR:OUT; SFP:1101; SCL:1; SRVR:DB7PR04MB4666; H:DB7PR04MB4618.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: IdPfUVruYOwry4wCFyphTg9/VVACcp6Sc3igBpkkZxyvqzdMeiVdC7H88SdYNW9FZQn4zBCHHp1YZ8PX/f0dGhywlFDMfx53X3GYCk8lCnY8kRw3DftCLRzyjPpOhM3XqIxYipyzaxuWELIYjM7ZnwrTd7t1SHglSgd+X0kPvodRcFg+C5C5ZUkyB9o3MeBeK4MrNjVRFdw4mb/EduAtQ7TkAu2DHN0GamwWIP1rgG61zKp0dEybouGilCsEbvhYKXpJWfAapzk251DLOawD5LMh056Q62EZztNG2fMA1UaQpU8bR6+tUcMqkBdWDVWyb55yzJ+YsJEq3XoQGxbsGHJcqPM944B8CpUoNRiofR0SCTqkGhrjP145w9U5reC5D0bdlCIQ0yk61qZtQfuMnYu4xwr7+4K7jvmzG5bMGC4= MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 62eded31-cbc5-4638-7868-08d72bb05e1f X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Aug 2019 12:07:59.3291 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: UZJyq5rzUwE9px8XLECnuowViv2mkAEr5EvSzOUK/PIw0og3SN0ByXiIAkEcsbXrZDHHvTFKtehEx/6YcKv2zA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR04MB4666 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190828_050806_104970_E0E7529D X-CRM114-Status: UNSURE ( 9.81 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [40.107.2.81 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Frank Li , dl-linux-imx , "linux-arm-kernel@lists.infradead.org" , Joakim Zhang Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Add imx8 ddr perf admin-guide maintainer information. Signed-off-by: Joakim Zhang --- ChangeLog: V1 -> V5: * new add in V5. V5 -> V6: * no change. V6 -> V7: * no change. V7 -> V8: * no change. V8 -> V9: * no change. --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index e60f5c361969..2ba378e806c7 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -6462,6 +6462,7 @@ M: Frank Li L: linux-arm-kernel@lists.infradead.org S: Maintained F: drivers/perf/fsl_imx8_ddr_perf.c +F: Documentation/admin-guide/perf/imx-ddr.rst F: Documentation/devicetree/bindings/perf/fsl-imx-ddr.txt FREESCALE IMX LPI2C DRIVER