Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp6874475imu; Thu, 31 Jan 2019 00:51:29 -0800 (PST) X-Google-Smtp-Source: ALg8bN4NqU1wQBVp4WCwWZu4c0U08dpS7+Afv/e7LozyY91Hm0LeGlVOjQTeBZdULCeipxfGUBuJ X-Received: by 2002:a63:5761:: with SMTP id h33mr30598804pgm.283.1548924689056; Thu, 31 Jan 2019 00:51:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548924689; cv=none; d=google.com; s=arc-20160816; b=WN+aPX5g2eLQu6CdbdMdW5/7c/xD0Y4c6QWrsqjqKBUhmyAXGb5/x8NS5S8Gs6NSTb PP5EUiorxl+bQ6BgF7JvF1q3OaZDa+bawZLUHvFqC1x5oqMVnqhGqBJDFRRyROaYZUcf n45k1kxLEJInK3QY8NigJ8alYLqUSxxOWqifUf5mootWgPYz691ZndQHfl/KF4PhOiqT pMWyBlspOuZAYrjnQU5KtfFLnOs37s7UUfWLI+fr5yNtGSVebMV9ejIzCJEtGr2wl3aS GFeXxanfFaUUDniX8n7h0zE7HAspE5jhxs4nLeAelPieHuw2+KLpOtXan0Hx54G937GT H87Q== 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=qo/WCvcdqYiUyyvPA4zbAqQxY5B7reEvVeD5l0aZuF3JPsvsjj+02PdgJAhgzlvWnD 6KIR5mGSZoOafMQFeY25/9g0ZhuVHGB5FEMRSdmHRVR2HFxB/J10uIG7ghy1T07rUE71 eN1kw1fMVIPRZ+ltiJQh8Ql+pzJVLymxCxT+wBLEWB5vDJ3Nd8VCcM4wULZALZ/bq9s+ Ckk4GV6g0V/0eOPbYBU9wLXRvm40B0SrdTGLXMfgyd0QWq/h0kkMTUrJwEN8WtTS3Vgi inSdSqD4knndPSIvYRPFlMtRMUO0AwOojSYDe3lgBUkKYxc7uAZEjEwzB4OD/UFY6stu sE0A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=jxoj6rZI; 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 z12si4104415plk.90.2019.01.31.00.51.14; Thu, 31 Jan 2019 00:51:29 -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=jxoj6rZI; 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 S1730750AbfAaIup (ORCPT + 99 others); Thu, 31 Jan 2019 03:50:45 -0500 Received: from mailout2.w1.samsung.com ([210.118.77.12]:50894 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728831AbfAaIuN (ORCPT ); Thu, 31 Jan 2019 03:50:13 -0500 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20190131085012euoutp025c25b8a63c441da5dfb06673c80f58f9~_4rpuJXoq1148011480euoutp02Z for ; Thu, 31 Jan 2019 08:50:12 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20190131085012euoutp025c25b8a63c441da5dfb06673c80f58f9~_4rpuJXoq1148011480euoutp02Z DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1548924612; bh=cwdR9PeB9U1fbRaysP0X7KBDHK6TquXGExqnRLFnqnA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=jxoj6rZID3jf6syTNLUXLFE85TivizoDB3xJ9a+9nH0WG56Y/OuOSlldYzFtrtFm7 +nI97+Skr7+NRD0Y+5tQbXWILtTClpc/xd1cOIH0K8IRHnk0nhFbvcMg2g38KPX2h9 u9jCXSnHNvg7RkMuXZD9/LRVrgNVW86Qsy56mZRg= Received: from eusmges3new.samsung.com (unknown [203.254.199.245]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20190131085011eucas1p2e11a07fb6bbd9e6930feca08c6467f60~_4rpMaSZj0245502455eucas1p2I; Thu, 31 Jan 2019 08:50:11 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges3new.samsung.com (EUCPMTA) with SMTP id E9.1E.04806.3C6B25C5; Thu, 31 Jan 2019 08:50:11 +0000 (GMT) Received: from eusmtrp2.samsung.com (unknown [182.198.249.139]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20190131085010eucas1p2b2bdc90be27dfd73f13d41ed0d725bb2~_4roWgiwr2509225092eucas1p2q; Thu, 31 Jan 2019 08:50:10 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp2.samsung.com (KnoxPortal) with ESMTP id 20190131085010eusmtrp2632965bdc6036b14cee1ae06c625e338~_4roDrVaI2341223412eusmtrp2j; Thu, 31 Jan 2019 08:50:10 +0000 (GMT) X-AuditID: cbfec7f5-34dff700000012c6-6e-5c52b6c3e60e Received: from eusmtip1.samsung.com ( [203.254.199.221]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 9A.7B.04128.2C6B25C5; Thu, 31 Jan 2019 08:50:10 +0000 (GMT) Received: from AMDC3778.DIGITAL.local (unknown [106.120.51.20]) by eusmtip1.samsung.com (KnoxPortal) with ESMTPA id 20190131085009eusmtip1de17dacb18bc4399c64a183fc19ecf0a~_4rnLSLiF1303413034eusmtip1H; Thu, 31 Jan 2019 08:50:09 +0000 (GMT) From: Lukasz Luba To: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, linux-samsung-soc@vger.kernel.org Cc: b.zolnierkie@samsung.com, krzk@kernel.org, kgene@kernel.org, cw00.choi@samsung.com, kyungmin.park@samsung.com, m.szyprowski@samsung.com, s.nawrocki@samsung.com, myungjoo.ham@samsung.com, Lukasz Luba , linux-arm-kernel@lists.infradead.org Subject: [PATCH v3 7/8] drivers: devfreq: events: add Exynos PPMU new events Date: Thu, 31 Jan 2019 09:49:53 +0100 Message-Id: <1548924594-19084-8-git-send-email-l.luba@partner.samsung.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1548924594-19084-1-git-send-email-l.luba@partner.samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprNKsWRmVeSWpSXmKPExsWy7djPc7qHtwXFGOxcIG6xccZ6VovrX56z Wsw/co7Vov/xa2aL8+c3sFucbXrDbnGrQcZi0+NrrBaXd81hs/jce4TRYsb5fUwWa4/cZbe4 3biCzeLwm3ZWBz6PTas62Tw2L6n3OPhuD5NH35ZVjB6fN8kFsEZx2aSk5mSWpRbp2yVwZRyY OIWl4DJnxdIvb9gaGNdzdDFyckgImEhcbu9j7GLk4hASWMEo8ejfBzYI5wujxJbT65khnM+M Em1P5rLBtNzpXsACkVjOKLH6/A9GuJZpV54wdTFycLAJ6EnsWFUI0iAiUC1x5/p+sEnMApOZ JBad7mYCSQgL+Eh0rzrAAmKzCKhK3Ln1EyzOK+Al8XfnZnaIbXISN891MoPYnALeEku6/oIN khBYxC6xcOVtFogiF4kDz/uhzhOWeHV8C1SzjMT/nfOZIOxiibMdq6BqaiTaT+6AqrGWOHz8 IivI0cwCmhLrd+lDhB0l5l8+wwYSlhDgk7jxVhAkz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0NzY3NrNQEuc9b1AZJSSQnliSmp2a WpBaBNPHxMEp1cCoHbf9yDvfS3/tj254LjGvUFx/I3/nJeuET7bH9iVFlMT7TuIJOfQvNmiy 2/olvWvLv4icEMpi8BLduE999x1dU+fIaGbp5c+79lbHlazeYb79VuezT6bnrwkk3T7g+u/J l9W2Th7WKpv+HrAI0dsnfjGfKZ7x+57dZhI6+QwT1Jnkcg5lpFopsRRnJBpqMRcVJwIApfer V5ECAAA= X-CMS-MailID: 20190131085010eucas1p2b2bdc90be27dfd73f13d41ed0d725bb2 X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-RootMTR: 20190131085010eucas1p2b2bdc90be27dfd73f13d41ed0d725bb2 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190131085010eucas1p2b2bdc90be27dfd73f13d41ed0d725bb2 References: <1548924594-19084-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