[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20191002060455.3834-1-l.luba@partner.samsung.com>
Date: Wed, 2 Oct 2019 08:04:51 +0200
From: Lukasz Luba <l.luba@...tner.samsung.com>
To: devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-pm@...r.kernel.org, linux-samsung-soc@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org
Cc: b.zolnierkie@...sung.com, krzk@...nel.org, kgene@...nel.org,
mark.rutland@....com, cw00.choi@...sung.com,
kyungmin.park@...sung.com, m.szyprowski@...sung.com,
s.nawrocki@...sung.com, myungjoo.ham@...sung.com,
robh+dt@...nel.org, willy.mh.wolff.ml@...il.com,
Lukasz Luba <l.luba@...tner.samsung.com>
Subject: [PATCH v3 0/4] Exynos5 DMC interrupt mode
Hi all,
This is a v3 patch set for the Exynos5 Dynamic Memory Controller
driver which could be found in Krzysztof's for-next branch [1].
It adds interrupt mode which does not relay on devfreq polling.
Instead of checking the device state by the framework, driver uses local
performance event counters which could trigger interrupt when overflow.
Thanks to this approach the driver avoids issues present in devfreq framework,
when default polling check does not occur.
The algorithm calculates 'busy_time' and 'total_time' needed for devfreq
governors (simple_ondemand) based on requests transactions traffic.
Changes:
v3:
- added information in bindings about interrupt names, since the code is
sensitive for it as pointed out by Krzysztof
v2:
changes suggested by Krzysztof
- added interrupt line for the channel 1
- added description for bindings with interrupt lines
- fixed fallback path in probe function
- added comments, blank lines, removed unneeded dev_dbg() in irq handler
Regards,
Lukasz Luba
[1] https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux.git/log/?h=for-next
Lukasz Luba (4):
dt-bindings: memory-controllers: Add Exynos5422 DMC interrupts
description
ARM: dts: exynos: Add interrupt to DMC controller in Exynos5422
ARM: dts: exynos: map 0x10000 SFR instead of 0x100 in DMC Exynos5422
memory: samsung: exynos5422-dmc: Add support for interrupt from
performance counters
.../memory-controllers/exynos5422-dmc.txt | 11 +
arch/arm/boot/dts/exynos5420.dtsi | 5 +-
drivers/memory/samsung/exynos5422-dmc.c | 345 ++++++++++++++++--
3 files changed, 335 insertions(+), 26 deletions(-)
--
2.17.1
Powered by blists - more mailing lists