From: mturquette@linaro.org (Mike Turquette)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 02/12] clk: mmp: add spin lock for clk-frac
Date: Wed, 03 Sep 2014 11:04:24 -0700 [thread overview]
Message-ID: <20140903180424.11368.36053@quantum> (raw)
In-Reply-To: <1409027904-21859-3-git-send-email-chao.xie@marvell.com>
Quoting Chao Xie (2014-08-25 21:38:14)
> From: Chao Xie <chao.xie@marvell.com>
>
> The register used by clk-frac may be shared with
> other clocks.
> So it needs to use spin lock to protect the register
> access.
>
> Signed-off-by: Chao Xie <chao.xie@marvell.com>
This patch will break against the latest clk-next due to api changes.
You can see more here[0] and use this script to update your code if you
like[1].
Basically the calls to clk_set_rate need to be changed to
clk_provider_set_rate.
[0] http://lkml.kernel.org/r/<1409758148-20104-1-git-send-email-tomeu.vizoso@collabora.com>
[1] http://cgit.collabora.com/git/user/tomeu/linux.git/commit/?h=clk-refactoring-9&id=ea48c0d655346cce26329523cf24574f9ea8feee
Regards,
Mike
WARNING: multiple messages have this Message-ID (diff)
From: Mike Turquette <mturquette@linaro.org>
To: Chao Xie <chao.xie@marvell.com>,
haojian.zhuang@gmail.com,
haojian.zhuang@linaro.orgchao.xie@marvell.com,
xiechao_mail@163.com, linux-arm-kernel@lists.infradead.org,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 02/12] clk: mmp: add spin lock for clk-frac
Date: Wed, 03 Sep 2014 11:04:24 -0700 [thread overview]
Message-ID: <20140903180424.11368.36053@quantum> (raw)
In-Reply-To: <1409027904-21859-3-git-send-email-chao.xie@marvell.com>
Quoting Chao Xie (2014-08-25 21:38:14)
> From: Chao Xie <chao.xie@marvell.com>
>
> The register used by clk-frac may be shared with
> other clocks.
> So it needs to use spin lock to protect the register
> access.
>
> Signed-off-by: Chao Xie <chao.xie@marvell.com>
This patch will break against the latest clk-next due to api changes.
You can see more here[0] and use this script to update your code if you
like[1].
Basically the calls to clk_set_rate need to be changed to
clk_provider_set_rate.
[0] http://lkml.kernel.org/r/<1409758148-20104-1-git-send-email-tomeu.vizoso@collabora.com>
[1] http://cgit.collabora.com/git/user/tomeu/linux.git/commit/?h=clk-refactoring-9&id=ea48c0d655346cce26329523cf24574f9ea8feee
Regards,
Mike
WARNING: multiple messages have this Message-ID (diff)
From: Mike Turquette <mturquette@linaro.org>
To: Chao Xie <chao.xie@marvell.com>,
haojian.zhuang@gmail.com, haojian.zhuang@linaro.org,
chao.xie@marvell.com, xiechao_mail@163.com,
linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 02/12] clk: mmp: add spin lock for clk-frac
Date: Wed, 03 Sep 2014 11:04:24 -0700 [thread overview]
Message-ID: <20140903180424.11368.36053@quantum> (raw)
In-Reply-To: <1409027904-21859-3-git-send-email-chao.xie@marvell.com>
Quoting Chao Xie (2014-08-25 21:38:14)
> From: Chao Xie <chao.xie@marvell.com>
>
> The register used by clk-frac may be shared with
> other clocks.
> So it needs to use spin lock to protect the register
> access.
>
> Signed-off-by: Chao Xie <chao.xie@marvell.com>
This patch will break against the latest clk-next due to api changes.
You can see more here[0] and use this script to update your code if you
like[1].
Basically the calls to clk_set_rate need to be changed to
clk_provider_set_rate.
[0] http://lkml.kernel.org/r/<1409758148-20104-1-git-send-email-tomeu.vizoso@collabora.com>
[1] http://cgit.collabora.com/git/user/tomeu/linux.git/commit/?h=clk-refactoring-9&id=ea48c0d655346cce26329523cf24574f9ea8feee
Regards,
Mike
next prev parent reply other threads:[~2014-09-03 18:04 UTC|newest]
Thread overview: 60+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-26 4:38 [PATCH 00/12] clk: mmp: clock device tree support Chao Xie
2014-08-26 4:38 ` Chao Xie
2014-08-26 4:38 ` Chao Xie
2014-08-26 4:38 ` [PATCH 01/12] clk: mmp: add prefix "mmp" for structures defined for clk-frac Chao Xie
2014-08-26 4:38 ` Chao Xie
2014-08-26 4:38 ` Chao Xie
2014-08-26 4:38 ` [PATCH 02/12] clk: mmp: add spin lock " Chao Xie
2014-08-26 4:38 ` Chao Xie
2014-08-26 4:38 ` Chao Xie
2014-09-03 18:04 ` Mike Turquette [this message]
2014-09-03 18:04 ` Mike Turquette
2014-09-03 18:04 ` Mike Turquette
2014-09-10 1:30 ` Chao Xie
2014-09-10 1:30 ` Chao Xie
2014-09-10 1:30 ` Chao Xie
2014-08-26 4:38 ` [PATCH 03/12] clk: mmp: add init callback " Chao Xie
2014-08-26 4:38 ` Chao Xie
2014-08-26 4:38 ` Chao Xie
2014-08-26 4:38 ` [PATCH 04/12] clk: mmp: move definiton of mmp_clk_frac to clk.h Chao Xie
2014-08-26 4:38 ` Chao Xie
2014-08-26 4:38 ` Chao Xie
2014-08-26 4:38 ` [PATCH 05/12] clk: mmp: add clock type mix Chao Xie
2014-08-26 4:38 ` Chao Xie
2014-08-26 4:38 ` Chao Xie
2014-08-26 4:38 ` [PATCH 06/12] clk: mmp: add mmp private gate clock Chao Xie
2014-08-26 4:38 ` Chao Xie
2014-08-26 4:38 ` Chao Xie
2014-09-03 17:55 ` Mike Turquette
2014-09-03 17:55 ` Mike Turquette
2014-09-03 17:55 ` Mike Turquette
2014-09-04 4:02 ` Chao Xie
2014-09-04 4:02 ` Chao Xie
2014-09-04 4:02 ` Chao Xie
2014-09-04 4:16 ` Chen-Yu Tsai
2014-09-04 4:16 ` Chen-Yu Tsai
2014-09-04 4:16 ` Chen-Yu Tsai
2014-08-26 4:38 ` [PATCH 07/12] clk: mmp: add basic support functions for DT support Chao Xie
2014-08-26 4:38 ` Chao Xie
2014-08-26 4:38 ` Chao Xie
2014-08-26 4:38 ` [PATCH 08/12] clk: mmp: add pxa168 DT support for clock driver Chao Xie
2014-08-26 4:38 ` Chao Xie
2014-08-26 4:38 ` Chao Xie
2014-08-26 4:38 ` [PATCH 09/12] clk: mmp: add pxa910 " Chao Xie
2014-08-26 4:38 ` Chao Xie
2014-08-26 4:38 ` Chao Xie
2014-08-26 4:38 ` [PATCH 10/12] clk: mmp: add mmp2 " Chao Xie
2014-08-26 4:38 ` Chao Xie
2014-08-26 4:38 ` Chao Xie
2014-08-26 4:38 ` [PATCH 11/12] arm: mmp: Make all the dts file to be compiled by Makefile Chao Xie
2014-08-26 4:38 ` Chao Xie
2014-08-26 4:38 ` Chao Xie
2014-08-26 4:38 ` [PATCH 12/12] arm: mmp: Make use of the DT supported clock Chao Xie
2014-08-26 4:38 ` Chao Xie
2014-08-26 4:38 ` Chao Xie
2014-08-26 4:55 ` [PATCH 00/12] clk: mmp: clock device tree support Haojian Zhuang
2014-08-26 4:55 ` Haojian Zhuang
2014-08-26 4:55 ` Haojian Zhuang
-- strict thread matches above, loose matches on Subject: below --
2014-06-10 1:27 Chao Xie
2014-06-10 1:27 ` [PATCH 02/12] clk: mmp: add spin lock for clk-frac Chao Xie
2014-06-10 1:27 ` Chao Xie
2014-06-10 1:27 ` Chao Xie
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=20140903180424.11368.36053@quantum \
--to=mturquette@linaro.org \
--cc=linux-arm-kernel@lists.infradead.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 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.