Skip to contentSkip to conversation

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

DISCUSSION Stephen Rothwell 3 participants 4 messages Aug 12, 2015 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

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.

Signature · 2 lines
Cheers,
Stephen Rothwell                    [email protected]
#1 lore raw
Quoted 10 lines · Stephen Rothwell

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...

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds

#3 lore raw
In reply to Stephen Rothwell
Quoted 5 lines · Stephen Rothwell

Hi all,

After merging the clk tree, today's linux-next build (x86_64 allmodconfig) failed like this:

Quoted 7 lines

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.

Thanks. I've removed these patches from the clk tree until this is resolved.

Signature · 2 lines
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
#2 lore raw
In reply to Geert Uytterhoeven
Quoted 8 lines · Geert Uytterhoeven
Quoted 7 lines · Stephen Rothwell

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

Quoted 8 lines
Quoted 3 lines

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.

Signature · 2 lines
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project