Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3819858imu; Mon, 28 Jan 2019 11:22:44 -0800 (PST) X-Google-Smtp-Source: ALg8bN56YO0iqCcHD5qI4C+GCyVJVm4QRj9L3Ulo/OVnqas/0O6NxEl2gwrgQhbop0tWnIv7+AyK X-Received: by 2002:a63:6506:: with SMTP id z6mr14346345pgb.334.1548703364567; Mon, 28 Jan 2019 11:22:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548703364; cv=none; d=google.com; s=arc-20160816; b=aJlb6wQPtmd96QYLIdRAMy+Hda2S4ad5wvxr7ILC9cdmgnuWSuz/7UcY6DvD0Hp2cX PSAGuFQHcHmYhcpYXH4KI6PYlKjX2wokASm1P9c0NXZ++nnbmWDAnerAWF2bDnS+LG/S 2TPQLlHeNnEPR3ezNDwCRHE9lUBLzfha1ze6dnkiFA8SBuHTry8II0wG/5eYOAGuw4/D ZtX/3I+fOBLx8S/QvtAwxCPdcei8aia9XcQzk0YWugiwEF9pj8tO99b51wemtw/KERQ1 1qCNzsUJjbrizR5/H7lvQtdKFfH2G42Z7PRZ+Zrk8sglDoMD4Ze4xZQj+a+RzdEUeeIi n4oQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:cms-type:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature:dkim-filter; bh=cwdR9PeB9U1fbRaysP0X7KBDHK6TquXGExqnRLFnqnA=; b=fpYf7eoVszT6XVm+G8nTxtZ3C6of5gqXsyAYfsbv3/1/UK9oe8V/zH0r2m0Sk+5vuF lBC9iXAbQtXP3oCIpT8tz8gxJEW9+Vfy0nOdrcLBpy2xMMQ99f2cyLWsBqquf1h74011 ydKI3fV8RsCa7uKktxkC1NsD3UVYhtoJP/DNq8txHL8VzYNTk56rtkwjcOZ4oIQSbAYs 2NMQ9MrjCNG5Py1lRBeFamHUylKh6VL6FX7Gzd1DaLdnYqFEuk2lpa7y4pA9R4r5ooG1 j6uAfc0g5LRsFbTg+vyq5cj3meieN0H++a77mVUD/I4rWhTNbLeaAiaDJ+Uw4VlNvEyX hxsg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=co2x3nxV; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d39si33118843pla.278.2019.01.28.11.22.28; Mon, 28 Jan 2019 11:22:44 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=co2x3nxV; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727893AbfA1TWF (ORCPT + 99 others); Mon, 28 Jan 2019 14:22:05 -0500 Received: from mailout1.w1.samsung.com ([210.118.77.11]:58484 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727771AbfA1TV5 (ORCPT ); Mon, 28 Jan 2019 14:21:57 -0500 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20190128192156euoutp01b89abc3cb037bbb8e98082275b223aa5~_GXX1HcQj2889728897euoutp01O for ; Mon, 28 Jan 2019 19:21:56 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20190128192156euoutp01b89abc3cb037bbb8e98082275b223aa5~_GXX1HcQj2889728897euoutp01O DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1548703316; bh=cwdR9PeB9U1fbRaysP0X7KBDHK6TquXGExqnRLFnqnA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=co2x3nxV3MBoF/rhldeOwICfi3OwrPxcmprvCZv3zmB7sA++Bf/n10e7DdBX4vhTk 5JtctMIZlNL9P2uZvZnLn9GGKQlQg4577TOsZDHy9GX9y5JV9TsWiVOmoBKcjJ/u9X NDxaaEt4CdQbnx1Iyi3X8kaFi1F52mdXrtjIne/w= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20190128192155eucas1p249d2972b148df85114a9bc89e141808d~_GXXTGe5_1921719217eucas1p2z; Mon, 28 Jan 2019 19:21:55 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id 7B.C5.04294.3565F4C5; Mon, 28 Jan 2019 19:21:55 +0000 (GMT) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20190128192154eucas1p2719b339d9dd0d11468fd8e8ab171e84e~_GXWbYCST3048430484eucas1p2T; Mon, 28 Jan 2019 19:21:54 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20190128192154eusmtrp1ff41b44eeca953815d194c1c0fdf90a1~_GXWHiIiS2976329763eusmtrp1Q; Mon, 28 Jan 2019 19:21:54 +0000 (GMT) X-AuditID: cbfec7f4-835ff700000010c6-9d-5c4f56536d3c Received: from eusmtip1.samsung.com ( [203.254.199.221]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 5B.F8.04284.2565F4C5; Mon, 28 Jan 2019 19:21:54 +0000 (GMT) Received: from AMDC3778.DIGITAL.local (unknown [106.120.51.20]) by eusmtip1.samsung.com (KnoxPortal) with ESMTPA id 20190128192153eusmtip1e5f2511b307e1602204973764579fb8d~_GXVmQPGc0144001440eusmtip1K; Mon, 28 Jan 2019 19:21:53 +0000 (GMT) From: Lukasz Luba To: devicetree@vger.kernel.org Cc: b.zolnierkie@samsung.com, myungjoo.ham@samsung.com, krzk@kernel.org, Lukasz Luba , Chanwoo Choi , Kyungmin Park , Kukjin Kim , linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 7/8] drivers: devfreq: events: add Exynos PPMU new events Date: Mon, 28 Jan 2019 20:21:38 +0100 Message-Id: <1548703299-15806-8-git-send-email-l.luba@partner.samsung.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1548703299-15806-1-git-send-email-l.luba@partner.samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFupnleLIzCtJLcpLzFFi42LZduzned3gMP8Yg4t/JS02zljPanH9y3NW i/lHzrFa9D9+zWxx/vwGdouzTW/YLW41yFhsenyN1eLyrjlsFp97jzBazDi/j8niduMKNgce j02rOtk8Ni+p9zj4bg+TR9+WVYwenzfJBbBGcdmkpOZklqUW6dslcGUcmDiFpeAyZ8XSL2/Y GhjXc3QxcnJICJhING2cwdzFyMUhJLCCUWL31G+MEM4XRolbi39DZT4zSvw//5MJpmXHsefs EInljBLPdixjgmvpeLmNrYuRg4NNQE9ix6pCkAYRATmJm1/vsoHUMAu8YZK49/QFK0hCWMBT 4sSOC+wgNouAqsSivq9gG3gFvCS+/1vHDLENqPlcJ5jNKeAtcbpvAdh9EgKT2SUmP17CDrJM QsBF4vvsPIh6YYlXx7ewQ9gyEqcn97BA2MUSZztWsUHYNRLtJ3dA1VhLHD5+kRVkDLOApsT6 XfoQEx0lJjwwgjD5JG68FQQpZgYyJ22bzgwR5pXoaBOCmKEhsaXnAjR0xCSWr5kGNdtD4sr9 I2C2kMA8RomHZz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HrfeGNmJ758mfvPApraxws0nDY6mUwJWy6mcVXj6d LZ569kZMe940HjP7VWnCnQstP5/OD76UWCkxPyWSNSJIPMRoLavG6/KcF6euZ0yaY/Tl/80X C4Q37W9cO3vWlwdXJ8elf8tWt7vgXPCgOVbxxVslluKMREMt5qLiRADGXib7hwIAAA== X-CMS-MailID: 20190128192154eucas1p2719b339d9dd0d11468fd8e8ab171e84e X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-RootMTR: 20190128192154eucas1p2719b339d9dd0d11468fd8e8ab171e84e X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190128192154eucas1p2719b339d9dd0d11468fd8e8ab171e84e References: <1548703299-15806-1-git-send-email-l.luba@partner.samsung.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Define new performance events supported by Exynos5422 SoC counters. The counters are built-in in Dynamic Memory Controller and provide information regarding memory utilization. CC: Chanwoo Choi CC: MyungJoo Ham CC: Kyungmin Park CC: Kukjin Kim CC: Krzysztof Kozlowski CC: linux-pm@vger.kernel.org CC: linux-arm-kernel@lists.infradead.org CC: linux-samsung-soc@vger.kernel.org CC: linux-kernel@vger.kernel.org Signed-off-by: Lukasz Luba --- drivers/devfreq/event/exynos-ppmu.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/drivers/devfreq/event/exynos-ppmu.c b/drivers/devfreq/event/exynos-ppmu.c index c61de0b..67d6674 100644 --- a/drivers/devfreq/event/exynos-ppmu.c +++ b/drivers/devfreq/event/exynos-ppmu.c @@ -89,6 +89,12 @@ static struct __exynos_ppmu_events { PPMU_EVENT(d1-cpu), PPMU_EVENT(d1-general), PPMU_EVENT(d1-rt), + + /* For Exynos5422 SoC */ + PPMU_EVENT(dmc0_0), + PPMU_EVENT(dmc0_1), + PPMU_EVENT(dmc1_0), + PPMU_EVENT(dmc1_1), }; static int exynos_ppmu_find_ppmu_id(struct devfreq_event_dev *edev) -- 2.7.4