Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1205696

Re: linux-next: build failure after merge of the clk tree

From Stephen Boyd <sboyd@codeaurora.org>
Newsgroups linux.kernel
Subject Re: linux-next: build failure after merge of the clk tree
Date 2015-08-12 10:30 +0200
Message-ID <pWzA6-7iu-17@gated-at.bofh.it> (permalink)
References <pWyun-5LM-41@gated-at.bofh.it> <pWyXn-6k2-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 08/12, Geert Uytterhoeven wrote:
> On Wed, Aug 12, 2015 at 9:19 AM, Stephen Rothwell <sfr@canb.auug.org.au> wrote:
> > After merging the clk tree, today's linux-next build (x86_64 allmodconfig)
> > failed like this:
> >
> > ERROR: "pm_genpd_init" [drivers/clk/qcom/clk-qcom.ko] undefined!
> >
> > Caused by commit
> >
> >   0c4172846b0b ("clk: qcom: Add support for GDSCs")
> >
> > I have used the clk tree from next-20150810 for today.
> 
> Missing EXPORT_SYMBOL_GPL(pm_genpd_init)?
> 
> However, having modular PM Domain drivers may cause unpleasant surprises...
> 

Curious what sort of surprises those would be? I suppose
something like power domains being removed from the system would
need some more work to start failing the suspend/resume of
devices in the power domains or possibly unbind the drivers that
are using the power domains provided. And we probably need to
sprinkle some try_module_get()/module_put() too so that the
module isn't easily removed if it's in use by some other drivers.

I hope it's not something that we think is impossible to do
though because we've been able to support the clk driver as
entirely modular on qcom platforms and I'd like to keep it that
way. BTW, it seems that we export __of_genpd_add_provider() so
there's at least some precedence for modular genpd code, albeit a
small one.

-- 
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 | Next in thread | Find similar | Unroll thread


Thread

linux-next: build failure after merge of the clk tree Stephen Rothwell <sfr@canb.auug.org.au> - 2015-08-12 09:20 +0200
  Re: linux-next: build failure after merge of the clk tree Geert Uytterhoeven <geert@linux-m68k.org> - 2015-08-12 09:50 +0200
    Re: linux-next: build failure after merge of the clk tree Stephen Boyd <sboyd@codeaurora.org> - 2015-08-12 10:30 +0200
  Re: linux-next: build failure after merge of the clk tree Stephen Boyd <sboyd@codeaurora.org> - 2015-08-12 10:10 +0200

csiph-web