Skip to contentSkip to conversation

PM / devfreq: remove checks for CONFIG_EXYNOS_ASV

PATCH MyungJoo Ham 2 participants 3 messages May 23, 2014 – Mar 15, 2015 Arm Samsung Exynos

lore
Share & tools
lore
#0 lore raw
Quoted 5 lines · Paul Bolle

Checks for CONFIG_EXYNOS_ASV were added in v3.3. But the related Kconfig symbol has never been added to the tree. Remove these checks, as they always evaluate to false.

Thanks for pointing this out.

ASV was supposed to be merged, but it appears it failed or never attempted.

I will merge with the next batch (this week).

Cheers,
MyungJoo.

Quoted 19 lines

---
0) Untested.

1) I do not really care much for this patch. Two years is not very long for dead code to remain in the tree. There is, however, a trivial issue that makes this patch stand out from the other patches in my current sweep of the tree for Kconfig related problems.

See, here the use of an unknown Kconfig macro hides an obvious typo: it should either be "exynos_result_of_asv" or "exynos4_result_of_asv", but not both. Ie, this almost certainly wouldn't have compiled even if the Kconfig symbol EXYNOS_ASV would have been part of the tree.

2) So this makes me wonder whether there are any guidelines for using Kconfig macros before the related Kconfig symbols are merged?

 drivers/devfreq/Kconfig              |  3 +--
 drivers/devfreq/exynos/exynos4_bus.c | 13 -------------
 2 files changed, 1 insertion(+), 15 deletions(-)
#1 lore raw
Quoted 9 lines · MyungJoo Ham
Quoted 5 lines · Paul Bolle

Checks for CONFIG_EXYNOS_ASV were added in v3.3. But the related Kconfig symbol has never been added to the tree. Remove these checks, as they always evaluate to false.

Thanks for pointing this out.

Quoted 7 lines

ASV was supposed to be merged, but it appears it failed or never attempted.

I will merge with the next batch (this week).

Cheers,
MyungJoo.

Uh.. ASV itself affects the power efficiency; thus, I'd like to keep it alive, but not as the current form.

For 3.16, I'll correct the name following your report. (not going for 3.15RCx anyway)

Then, I'll let it merged into struct busfreq_data for later RCx.

Cheers,
MyungJoo.

Quoted 20 lines
Quoted 20 lines

---
0) Untested.

1) I do not really care much for this patch. Two years is not very long for dead code to remain in the tree. There is, however, a trivial issue that makes this patch stand out from the other patches in my current sweep of the tree for Kconfig related problems.

See, here the use of an unknown Kconfig macro hides an obvious typo: it should either be "exynos_result_of_asv" or "exynos4_result_of_asv", but not both. Ie, this almost certainly wouldn't have compiled even if the Kconfig symbol EXYNOS_ASV would have been part of the tree.

2) So this makes me wonder whether there are any guidelines for using Kconfig macros before the related Kconfig symbols are merged?

 drivers/devfreq/Kconfig              |  3 +--
 drivers/devfreq/exynos/exynos4_bus.c | 13 -------------
 2 files changed, 1 insertion(+), 15 deletions(-)
Signature · 2 lines
MyungJoo Ham, Ph.D.
System S/W Lab, S/W Center, Samsung Electronics
#2 lore raw
Quoted 12 lines · MyungJoo Ham
Quoted 11 lines · MyungJoo Ham
Quoted 5 lines · Paul Bolle

Checks for CONFIG_EXYNOS_ASV were added in v3.3. But the related Kconfig symbol has never been added to the tree. Remove these checks, as they always evaluate to false.

Thanks for pointing this out.

ASV was supposed to be merged, but it appears it failed or never attempted.

Quoted 9 lines
Quoted 5 lines

I will merge with the next batch (this week).

Cheers,
MyungJoo.

Uh.. ASV itself affects the power efficiency; thus, I'd like to keep it alive, but not as the current form.

What is the current status of ASV? I've not seen any patches since this was sent.

Cheers,

- Ben

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 472 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20150315/2573aad6/attachment.sig>