Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1177952
| From | Stephen Boyd <sboyd@codeaurora.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v2 1/4] clk: mediatek: mt8173: Fix enabling of critical clocks |
| Date | 2015-07-07 01:00 +0200 |
| Message-ID | <pJnwK-5Vl-1@gated-at.bofh.it> (permalink) |
| References | <pGTW9-5CZ-13@gated-at.bofh.it> <pGU5Q-63s-13@gated-at.bofh.it> <pHVMd-Jf-5@gated-at.bofh.it> <pI2E2-50n-13@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 07/02/2015 11:29 PM, Daniel Kurtz wrote: > Hi Stephen, > > On Fri, Jul 3, 2015 at 7:03 AM, Stephen Boyd <sboyd@codeaurora.org> wrote: >> On 06/30, James Liao wrote: >>> From: Sascha Hauer <s.hauer@pengutronix.de> >>> >>> On the MT8173 the clocks are provided by different units. To enable >>> the critical clocks we must be sure that all parent clocks are already >>> registered, otherwise the parents of the critical clocks end up being >>> unused and get disabled later. To find a place where all parents are >>> registered we try each time after we've registered some clocks if >>> all known providers are present now and only then we enable the critical >>> clocks >>> >>> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> >>> Signed-off-by: James Liao <jamesjj.liao@mediatek.com> >>> --- >> Applied to clk-fixes > I think James plans to send an updated version of this patch. > > Oh right. Well those comments are minor so I'll just fold them in given that I'm rewinding clk-fixes today. I see that comment in init.h about uninitialized variables and __initdata too. I found this 10 year old thread about that [1]. At least with my gcc-4.9 arm compiler I don't see uninitialized __initdata moved to bss. A workaround seems to be to initialize it to NULL in this case, but maybe that doesn't matter because compilers don't have that problem anymore. [1] http://lkml.iu.edu/hypermail/linux/kernel/0512.0/1366.html -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH v2 0/4] Add Mediatek MT8173 subsystem clocks support James Liao <jamesjj.liao@mediatek.com> - 2015-06-30 05:00 +0200
[PATCH v2 2/4] dt-bindings: ARM: Mediatek: Document devicetree bindings for clock controllers James Liao <jamesjj.liao@mediatek.com> - 2015-06-30 05:10 +0200
Re: [PATCH v2 2/4] dt-bindings: ARM: Mediatek: Document devicetree bindings for clock controllers Stephen Boyd <sboyd@codeaurora.org> - 2015-07-03 01:50 +0200
Re: [PATCH v2 2/4] dt-bindings: ARM: Mediatek: Document devicetree bindings for clock controllers Daniel Kurtz <djkurtz@chromium.org> - 2015-07-03 12:50 +0200
[PATCH v2 1/4] clk: mediatek: mt8173: Fix enabling of critical clocks James Liao <jamesjj.liao@mediatek.com> - 2015-06-30 05:10 +0200
Re: [PATCH v2 1/4] clk: mediatek: mt8173: Fix enabling of critical clocks Daniel Kurtz <djkurtz@chromium.org> - 2015-07-02 04:10 +0200
Re: [PATCH v2 1/4] clk: mediatek: mt8173: Fix enabling of critical clocks Stephen Boyd <sboyd@codeaurora.org> - 2015-07-07 01:00 +0200
csiph-web