From patchwork Fri Jul 10 19:11:20 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lukasz Luba X-Patchwork-Id: 11657283 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 DCA566C1 for ; Fri, 10 Jul 2020 19:13:07 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (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 B537F2075D for ; Fri, 10 Jul 2020 19:13: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="VVcj0jxP" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B537F2075D Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arm.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=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:MIME-Version:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id: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:In-Reply-To:References:List-Owner; bh=7QHnM2LYdBJltpxIUmWR32aZdCqfQ7L+vuAkcVLoDi0=; b=VVcj0jxPQIRXPyIRRc0gwQgu/b 7VHFEmgK0UpPFv8LEPwXzMj/s9BCpTvj7B4NmoJa9ES39LR58sfEVpcCKfiNK1h2UB44eyFbpzZf5 Q1nNhv5Bgw4GLLdgHLQQZy4DNJOqWg8jo6sqhHiRo9lXoH1bJqRGkNkVb9rfUFrG0bqkXms4TknMb gy2ASWhQyGK8L4FAXaT6OuMjF5jd9MAg9EJ7MwznnOcOOVQ5j3Boioa4/j6E+WhvUDesoBf/EQyHU 73fjcjUdJ3911YR7/eBsEWNVdVmJNEsOG6PW7lxBuGthOy3gxRiFfVOTOefczd/MCo3KAYPXRu+qX DVnrSq1Q==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jtyQx-0005Dy-Af; Fri, 10 Jul 2020 19:11:43 +0000 Received: from foss.arm.com ([217.140.110.172]) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jtyQu-0005DN-BF for linux-arm-kernel@lists.infradead.org; Fri, 10 Jul 2020 19:11:41 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 0B3E231B; Fri, 10 Jul 2020 12:11:38 -0700 (PDT) Received: from e123648.arm.com (unknown [10.37.12.58]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 53B003FA00; Fri, 10 Jul 2020 12:11:34 -0700 (PDT) From: Lukasz Luba To: linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org Subject: [PATCH v2 0/2] Exynos5422 DMC: adjust to new devfreq monitoring mechanism Date: Fri, 10 Jul 2020 20:11:20 +0100 Message-Id: <20200710191122.11029-1-lukasz.luba@arm.com> X-Mailer: git-send-email 2.17.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200710_151140_450572_0DF96672 X-CRM114-Status: UNSURE ( 9.37 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.3 (--) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-2.3 points) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [217.140.110.172 listed in list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 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: s.nawrocki@samsung.com, b.zolnierkie@samsung.com, k.konieczny@samsung.com, krzk@kernel.org, cw00.choi@samsung.com, kyungmin.park@samsung.com, willy.mh.wolff.ml@gmail.com, myungjoo.ham@samsung.com, chanwoo@kernel.org, kgene@kernel.org, lukasz.luba@arm.com MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Hi all, This is a v2 patch set adjusting Exynos5422 DMC to the new devfreq monitoring mechanism. This time the IRQ mode is explicitly controlled using module parameter (in default the driver uses polling mode = devfreq monitoring). The detailed cover letter describing the topic can be found here [1]. The patches should apply on top of Chanwoo's devfreq-next branch, where the new devfreq mechanism is queued [2]. If there is no objections I think they can go via this tree, since they logically use it. Changes: v2: - added Reviewed-by from Chanwoo for patch 1/2 - added module_param which controls the mode in which the driver operates - switched in default to devfreq monitoring mechanism instead of interrupts Regards, Lukasz Luba [1] https://lore.kernel.org/linux-pm/20200708153420.29484-1-lukasz.luba@arm.com/ [2] https://git.kernel.org/pub/scm/linux/kernel/git/chanwoo/linux.git/log/?h=devfreq-next Lukasz Luba (2): memory: samsung: exynos5422-dmc: Adjust polling interval and uptreshold memory: samsung: exynos5422-dmc: Add module param to control IRQ mode drivers/memory/samsung/exynos5422-dmc.c | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-)