Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2104082yba; Fri, 19 Apr 2019 12:11:53 -0700 (PDT) X-Google-Smtp-Source: APXvYqzLotmBIBr2tdBrFDTqDwkIr0kWhcJx4ehg9Jq+hLG6RNcvDRVL3kGm0eoircpDkg5NJjW0 X-Received: by 2002:a65:5184:: with SMTP id h4mr5459159pgq.109.1555701113895; Fri, 19 Apr 2019 12:11:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555701113; cv=none; d=google.com; s=arc-20160816; b=zZFC+69vSXwXvSUaqSW0cB+LX7WjyqJQaLHQH8tWUJL0bD0w+rSZ+2zjWjS2z8AY24 /mPsgVtVIJX2W7/CNgYg3QPVvk/O5ViBdCiGqbiTId5gseiQ+VSH3kA7XpE2GGtEnAgq 9IFbRiAfpVRUC9AtFvjCnTA0XDW2+XonHvLWkUAd32/Idlg2gRoH9lQyqI8lEpxYS2Yk nxhq6TzY/JjelRa15Sx3LYUUAwjApavYdawSz3FAMVlq4atRmy60iGhaPv6rKA+zPcrj rEufrSu+J6FaGB56j/Ptem4DKnA7yG1yJvK03IaJwe5GxTdsmf+aGTKoqbc0s4L1ozYq YeiQ== 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=8KYk6Wu+VGNS7Bd7ddkeqgSBm1dne421Ukn42iWD658=; b=W5gHQoPCJ4Oy333YFRbVLBICjcp0D8Uj6JgCOXlwg6VzuoLPX99rvztLkYcxI+xRFD Nu1TdqlLDQxEiAdZKYiqqGACkt7dzsbjIxBm884KrHMZ2hYSX3L9uC4wzgg25kYz1InU A4RxSNl1J99E6kTL4b3J2UcKfcP/hwMaPdnOxTRhny5hcFHo6uZNSQYFntAljSXJNizV t9GVtvm9/Nr7jHLgZnp1+wBkpTi05LySLGE7xR7CHpgYp0nN849AD/mxAcrHM/tCBln+ 4GEPOdpdOTBlFRrNOaK0bWpqGVrr8JTEKDWsoEjf06dGivRt/EBmWmMRd3VowDUh/MOU e5jA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=WLbnphCb; 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 v21si5762948plo.34.2019.04.19.12.11.39; Fri, 19 Apr 2019 12:11:53 -0700 (PDT) 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=WLbnphCb; 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 S1728443AbfDSTJZ (ORCPT + 99 others); Fri, 19 Apr 2019 15:09:25 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:54680 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729204AbfDSTHz (ORCPT ); Fri, 19 Apr 2019 15:07:55 -0400 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20190419141952euoutp02fce2867a2c3e9427a05805d1e8d77256~W5fwjzBoW2305123051euoutp02Q for ; Fri, 19 Apr 2019 14:19:52 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20190419141952euoutp02fce2867a2c3e9427a05805d1e8d77256~W5fwjzBoW2305123051euoutp02Q DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1555683592; bh=8KYk6Wu+VGNS7Bd7ddkeqgSBm1dne421Ukn42iWD658=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=WLbnphCbLiCVYnyce1U6dc8UKMPjVRqL6elAPYZyN6yRPCtLemYR6RR0vvmKYHwC6 ErDr5Vo7Ep75RyOddS6bU42iphlKOLiAcjtTRdXAhQmypcjtdfYWTygh2ugL+JXJHy WOw4X1EsY7jAnjfMddmapTdg9sZEbmQFI/dQyhQw= Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20190419141951eucas1p28b8df2ee819b1342ab760adab7646ebf~W5fv4YelW2300423004eucas1p2s; Fri, 19 Apr 2019 14:19:51 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id 6B.72.04298.709D9BC5; Fri, 19 Apr 2019 15:19:51 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20190419141950eucas1p2e810215d1ceaf75fc9e807bbaa78e003~W5fvMYqjt2099920999eucas1p27; Fri, 19 Apr 2019 14:19:50 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20190419141950eusmtrp1c09ee400302e83a3a4a1f42076deaed5~W5fu_UazO1759317593eusmtrp1h; Fri, 19 Apr 2019 14:19:50 +0000 (GMT) X-AuditID: cbfec7f2-f2dff700000010ca-2d-5cb9d907d17d Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id DF.02.04146.609D9BC5; Fri, 19 Apr 2019 15:19:50 +0100 (BST) Received: from AMDC3778.DIGITAL.local (unknown [106.120.51.20]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20190419141949eusmtip2aed1e8d2298b4e5f78ccba4496794f84~W5ft_p8qf2872728727eusmtip2U; Fri, 19 Apr 2019 14:19:49 +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, keescook@chromium.org, tony@atomide.com, jroedel@suse.de, treding@nvidia.com, digetx@gmail.com, willy.mh.wolff.ml@gmail.com, Lukasz Luba Subject: [PATCH v6 08/10] drivers: devfreq: events: add Exynos PPMU new events Date: Fri, 19 Apr 2019 16:19:26 +0200 Message-Id: <1555683568-20882-9-git-send-email-l.luba@partner.samsung.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1555683568-20882-1-git-send-email-l.luba@partner.samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA0WSWUwTURSGvZ3pzLSxZCxGbhDR1GhcIkvCw3UJkcSHSX3xwQejJFhhAmhb oQMq4kMRXBAqShNBRRDrggVBoGmg0VpLYw20ZRNZq0aUGmQJVAhoMFKm6tt///Od85+cXAqT OoThVLo6i9WoFUoZIcbNbxY9u8jB1sQYW3UYaixvEKL+Hz4hqnJ4hKh2ZhQgffs9AXIVqVDJ 6HcMdXY+J5H74gSJhrQRqNdSQSC/zgFQeadVgJ45vCQazqshUNvEFSF69U6Ohn+FoPm3n8H+ UGZ+rhRn7mq7cab1jpdkmoyFBKPLnyKY11MvBMx1kxEwzR25jL8p8pDoqHhfCqtMP8NqouOP i9OsPXlExhRxzmA3EVowLbwGRBSk46Cr2QWuATElpWsArMjvwfnHDwBnLJVYgJLSfgAnC7C/ HZ5LL4Q89ATAK4992L+Oae3X5QpFEXQUbDFmBhrW0rlwpP/VCoPREwLo/rmABwqh9C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hAbCGgmg3X9jJNYORbwMiwilEktbQ4Nz232FCvODG3uDQvXS85P3cTIzCSth37 uXkH46WNwYcYBTgYlXh4D0zaGSPEmlhWXJl7iFGCg1lJhNcxZUuMEG9KYmVValF+fFFpTmrx IUZToJsmMkuJJucDozyvJN7Q1NDcwtLQ3Njc2MxCSZz3vEFllJBAemJJanZqakFqEUwfEwen VAMji+G+qeu/TLovXRiwetl3ptmdrMaFf5ne9no7q9/ca/0gRDjvTnH1jvPF+8wtQpys+DY/ Tgp1kMlfZ5fwsXviol9P2fyXWJ/kyk/Q5umeEVHTxiItMi/s2Jy38m3li3ISrfnmB7DtNS7m KGg49bw6J+i7aWHov9T/z9V9dvudXlZ29/Vlth9KLMUZiYZazEXFiQBlbPxFugIAAA== X-CMS-MailID: 20190419141950eucas1p2e810215d1ceaf75fc9e807bbaa78e003 X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-RootMTR: 20190419141950eucas1p2e810215d1ceaf75fc9e807bbaa78e003 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190419141950eucas1p2e810215d1ceaf75fc9e807bbaa78e003 References: <1555683568-20882-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. 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 073bf2c..dca97ca 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