From: Youngmin Nam <youngmin.nam@samsung.com>
To: Mark Rutland <mark.rutland@arm.com>
Cc: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>,
will@kernel.org, daniel.lezcano@linaro.org, tglx@linutronix.de,
linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-samsung-soc@vger.kernel.org, pullip.cho@samsung.com,
hoony.yu@samsung.com, hajun.sung@samsung.com,
myung-su.cha@samsung.com, kgene@kernel.org,
kwoo.kang@samsung.com
Subject: Re: [PATCH v2 1/2] clocksource/drivers/exynos_mct_v2: introduce Exynos MCT version 2 driver for next Exynos SoC
Date: Fri, 5 Nov 2021 09:46:27 +0900 [thread overview]
Message-ID: <20211105004627.GA24234@perf> (raw)
In-Reply-To: <20211104094453.GA58798@C02TD0UTHF1T.local>
[-- Attachment #1: Type: text/plain, Size: 2329 bytes --]
On Thu, Nov 04, 2021 at 09:44:53AM +0000, Mark Rutland wrote:
> Hi,
>
> On Thu, Nov 04, 2021 at 09:21:02AM +0900, Youngmin Nam wrote:
> > On Wed, Nov 03, 2021 at 10:04:18AM +0000, Mark Rutland wrote:
> > > On Wed, Nov 03, 2021 at 06:57:28PM +0900, Youngmin Nam wrote:
> > > > On Wed, Nov 03, 2021 at 10:04:36AM +0100, Krzysztof Kozlowski wrote:
> > > > > On 03/11/2021 10:24, Youngmin Nam wrote:
> > > > > > On Wed, Nov 03, 2021 at 09:18:07AM +0100, Krzysztof Kozlowski wrote:
> > > > > >> On 03/11/2021 01:09, Youngmin Nam wrote:
> > > > > >>> On Tue, Nov 02, 2021 at 10:28:10AM +0000, Mark Rutland wrote:
>
> > > > > >>>> Previously Will asked you to try CLOCK_EVT_FEAT_PERCPU here, and to set
> > > > > >>>> the C3STOP flag on the arch timer via the DT when necessary, rather than
> > > > > >>>> trying to override the arch timer like this:
>
> > > > > >>> Yes, I believe Will's suggestion definitely will work.
>
> > > > So, how about we control timer rating value with DT ?
> > > > Of course the default rating value should be lower than arm arch timer's.
> > > > Do you agree with this?
> > >
> > > No; placing a rating value in the DT is a hack. That should *not* live
> > > in the DT because it's linux-internal detail and not a description of
> > > the HW.
> >
> > So, how do we use MCTv2 only for clock event device if there are some
> > limitations caused by SoC design implemention ?
>
> What limitations? Are you thinking of a known issue, or just in case
> there is a bug in future HW?
>
> If there is a problem, we'll need to describe that in the DT somehow,
> and we need to know speciifcally what that limitation is.
>
> Above you said that Will's suggestion will definitely work, which
> implies no such limitations.
>
Using arch timer for event device is highly related with Core power down feature so that it is also related with
power saving scheme in SoC.
Core power down and power saving depend on SoC design implemention.
We can't confirm that using only arch timer can cover all scenario at production level.
So we should be able to use MCTv2 as well.
Why do you enforce using *only* arch timer ?
Why aren't we allowed to use own timer of our SoC ?
What I meant that replied to Will was
I think this will work generally, but we can't confirm this will cover all cases.
> Thanks,
> Mark.
>
[-- Attachment #2: Type: text/plain, Size: 0 bytes --]
[-- Attachment #3: Type: text/plain, Size: 176 bytes --]
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2021-11-05 0:21 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CGME20211101234449epcas2p385cd5133ff8ed3a248649b4134bc0113@epcas2p3.samsung.com>
2021-11-02 0:11 ` [PATCH v2 0/2] Indroduce Exynos Multi Core Timer version 2 Youngmin Nam
2021-11-02 0:11 ` [PATCH v2 1/2] clocksource/drivers/exynos_mct_v2: introduce Exynos MCT version 2 driver for next Exynos SoC Youngmin Nam
2021-11-02 10:28 ` Mark Rutland
2021-11-03 0:09 ` Youngmin Nam
2021-11-03 8:18 ` Krzysztof Kozlowski
2021-11-03 9:24 ` Youngmin Nam
2021-11-03 9:04 ` Krzysztof Kozlowski
2021-11-03 9:57 ` Youngmin Nam
2021-11-03 10:04 ` Mark Rutland
2021-11-04 0:21 ` Youngmin Nam
2021-11-04 9:44 ` Mark Rutland
2021-11-05 0:46 ` Youngmin Nam [this message]
2021-11-05 9:31 ` Will Deacon
2021-11-02 0:11 ` [PATCH v2 2/2] dt-bindings: timer: samsung,s5e99xx-mct: Document s5e99xx-mct bindings Youngmin Nam
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20211105004627.GA24234@perf \
--to=youngmin.nam@samsung.com \
--cc=daniel.lezcano@linaro.org \
--cc=hajun.sung@samsung.com \
--cc=hoony.yu@samsung.com \
--cc=kgene@kernel.org \
--cc=krzysztof.kozlowski@canonical.com \
--cc=kwoo.kang@samsung.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-samsung-soc@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=myung-su.cha@samsung.com \
--cc=pullip.cho@samsung.com \
--cc=tglx@linutronix.de \
--cc=will@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).