From: Mike Turquette <mturquette@linaro.org>
To: Sylwester Nawrocki <sylvester.nawrocki@gmail.com>
Cc: Sylwester Nawrocki <s.nawrocki@samsung.com>,
kyungmin.park@samsung.com, linux-samsung-soc@vger.kernel.org,
linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH v2] clk: exynos4: Add CLK_GET_RATE_NOCACHE flag for the Exynos4x12 ISP clocks
Date: Fri, 26 Jul 2013 15:19:02 -0700 [thread overview]
Message-ID: <20130726221902.7598.22707@quantum> (raw)
In-Reply-To: <51F2F26E.4090909@gmail.com>
Quoting Sylwester Nawrocki (2013-07-26 15:04:30)
> On 07/26/2013 10:30 PM, Mike Turquette wrote:
> > Quoting Sylwester Nawrocki (2013-07-25 14:07:05)
> >> From: Sylwester Nawrocki<s.nawrocki@samsung.com>
> >>
> >> The ISP clock registers belong to the ISP power domain and may change
> >> their values if this power domain is switched off/on. Add
> >> CLK_GET_RATE_NOCACHE flags to ensure we do not rely on invalid cached
> >> data when setting or getting frequency of those clocks.
> >>
> >> Signed-off-by: Sylwester Nawrocki<s.nawrocki@samsung.com>
> >> Signed-off-by: Kyungmin Park<kyungmin.park@samsung.com>
> >
> > Thanks for the fix. I've taken into clk-fixes. Is there a specific
> > regression this fixes (besides just having wrong clock rates). I can
> > amend the changelog if you have an example (e.g. device X explodes).
>
> Hmm, yes, this fixes a pretty serious problem. There is a companion
> commit [1] already in Linus' tree, more details can be found there.
>
> Perhaps something like this could be added:
>
> "Otherwise the FIMC-IS Cortex-A5 core and AXI bus clocks have
> incorrect frequencies, which breaks the ISP operation and starting
> the video pipeline fails with timeouts reported by the FIMC-IS
> firmware.
>
> See related commit 722a860ecb29aa34ec6f7d7f32b949209e8
> "[media] exynos4-is: Fix FIMC-IS clocks initialization" for more
> details."
That's great.
Thanks,
Mike
>
> [1]
> https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit?id=722a860ecb29aa34ec6f7d7f32b949209e86a2f3
>
> Thanks,
> Sylwester
WARNING: multiple messages have this Message-ID (diff)
From: mturquette@linaro.org (Mike Turquette)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2] clk: exynos4: Add CLK_GET_RATE_NOCACHE flag for the Exynos4x12 ISP clocks
Date: Fri, 26 Jul 2013 15:19:02 -0700 [thread overview]
Message-ID: <20130726221902.7598.22707@quantum> (raw)
In-Reply-To: <51F2F26E.4090909@gmail.com>
Quoting Sylwester Nawrocki (2013-07-26 15:04:30)
> On 07/26/2013 10:30 PM, Mike Turquette wrote:
> > Quoting Sylwester Nawrocki (2013-07-25 14:07:05)
> >> From: Sylwester Nawrocki<s.nawrocki@samsung.com>
> >>
> >> The ISP clock registers belong to the ISP power domain and may change
> >> their values if this power domain is switched off/on. Add
> >> CLK_GET_RATE_NOCACHE flags to ensure we do not rely on invalid cached
> >> data when setting or getting frequency of those clocks.
> >>
> >> Signed-off-by: Sylwester Nawrocki<s.nawrocki@samsung.com>
> >> Signed-off-by: Kyungmin Park<kyungmin.park@samsung.com>
> >
> > Thanks for the fix. I've taken into clk-fixes. Is there a specific
> > regression this fixes (besides just having wrong clock rates). I can
> > amend the changelog if you have an example (e.g. device X explodes).
>
> Hmm, yes, this fixes a pretty serious problem. There is a companion
> commit [1] already in Linus' tree, more details can be found there.
>
> Perhaps something like this could be added:
>
> "Otherwise the FIMC-IS Cortex-A5 core and AXI bus clocks have
> incorrect frequencies, which breaks the ISP operation and starting
> the video pipeline fails with timeouts reported by the FIMC-IS
> firmware.
>
> See related commit 722a860ecb29aa34ec6f7d7f32b949209e8
> "[media] exynos4-is: Fix FIMC-IS clocks initialization" for more
> details."
That's great.
Thanks,
Mike
>
> [1]
> https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit?id=722a860ecb29aa34ec6f7d7f32b949209e86a2f3
>
> Thanks,
> Sylwester
next prev parent reply other threads:[~2013-07-26 22:19 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-25 21:07 [PATCH v2] clk: exynos4: Add CLK_GET_RATE_NOCACHE flag for the Exynos4x12 ISP clocks Sylwester Nawrocki
2013-07-25 21:07 ` Sylwester Nawrocki
2013-07-26 20:30 ` Mike Turquette
2013-07-26 20:30 ` Mike Turquette
2013-07-26 22:04 ` Sylwester Nawrocki
2013-07-26 22:04 ` Sylwester Nawrocki
2013-07-26 22:19 ` Mike Turquette [this message]
2013-07-26 22:19 ` Mike Turquette
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=20130726221902.7598.22707@quantum \
--to=mturquette@linaro.org \
--cc=kyungmin.park@samsung.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-samsung-soc@vger.kernel.org \
--cc=s.nawrocki@samsung.com \
--cc=sylvester.nawrocki@gmail.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.