ARM: OMAP4: Fix definition of IS_PM44XX_ERRATUM
PATCH 1/1 ARM: OMAP4: Fix definition of IS_PM44XX_ERRATUM
Just like IS_PM34XX_ERRATUM, IS_PM44XX_ERRATUM is valid only if CONFIG_PM is enabled, else, disabling CONFIG_PM results in build failure complaining about the following:arch/arm/mach-omap2/built-in.o: In function `omap4_boot_secondary':
:(.text+0x8a70): undefined reference to `pm44xx_errata'
---
Patch based on: v3.14-rc6
Reported originally with a randconfig defconfig: http://slexy.org/view/s21U7eF4k1
arch/arm/mach-omap2/pm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/mach-omap2/pm.h +1 -1
@@ -103,7 +103,7 @@ static inline void enable_omap3630_toggle_l2_on_restore(void) { }#define PM_OMAP4_ROM_SMP_BOOT_ERRATUM_GICD (1 << 0) -#if defined(CONFIG_ARCH_OMAP4 ) +#if defined(CONFIG_PM ) && defined(CONFIG_ARCH_OMAP4 )extern u16 pm44xx_errata;#define IS_PM44XX_ERRATUM (id) (pm44xx_errata & (id))#else
Signature · 1 line
1.7.9.5
PATCH 1/1 ARM: OMAP4: Fix definition of IS_PM44XX_ERRATUM
Quoted 6 lines · Nishanth Menon
Just like
IS_PM34XX_ERRATUM,IS_PM44XX_ERRATUMis valid only ifCONFIG_PMis enabled, else, disablingCONFIG_PMresults in build failure complaining about the following:arch/arm/mach-omap2/built-in.o: In function `omap4_boot_secondary':
:(.text+0x8a70): undefined reference to `pm44xx_errata'
Not entirely accurate since CPU hotplug doesn't depend on CONFIG_PM
Quoted 8 lines
Fixes c962184 (ARM: OMAP4: PM: add errata support)Reported-by Tony Lindgren <[email protected]>Signed-off-by Nishanth Menon <[email protected]>---
Patch based on: v3.14-rc6
Reported originally with a randconfig defconfig: http://slexy.org/view/s21U7eF4k1
But without the PM sleep code, hotplug won't work either. SO I think its ok assumption in this particular case
Quoted 17 lines
arch/arm/mach-omap2/pm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)arch/arm/mach-omap2/pm.h +1
-1@@ -103,7 +103,7 @@ static inline void enable_omap3630_toggle_l2_on_restore(void) { }#define PM_OMAP4_ROM_SMP_BOOT_ERRATUM_GICD (1 << 0) -#if defined(CONFIG_ARCH_OMAP4 ) +#if defined(CONFIG_PM ) && defined(CONFIG_ARCH_OMAP4 )extern u16 pm44xx_errata;#define IS_PM44XX_ERRATUM (id) (pm44xx_errata & (id))#else
PATCH 1/1 ARM: OMAP4: Fix definition of IS_PM44XX_ERRATUM
Quoted 8 lines · Santosh Shilimkar
Quoted 6 lines · Nishanth Menon
Just like
IS_PM34XX_ERRATUM,IS_PM44XX_ERRATUMis valid only ifCONFIG_PMis enabled, else, disablingCONFIG_PMresults in build failure complaining about the following:arch/arm/mach-omap2/built-in.o: In function `omap4_boot_secondary':
:(.text+0x8a70): undefined reference to `pm44xx_errata'Not entirely accurate since CPU hotplug doesn't depend on
CONFIG_PM
Just reporting the build error here.
Quoted 10 lines
Quoted 9 lines
Fixes c962184 (ARM: OMAP4: PM: add errata support)Reported-by Tony Lindgren <[email protected]>Signed-off-by Nishanth Menon <[email protected]>---
Patch based on: v3.14-rc6
Reported originally with a randconfig defconfig: http://slexy.org/view/s21U7eF4k1But without the PM sleep code, hotplug won't work either.
yep - agreed,
Quoted 1 line
SO I think its ok assumption in this particular case
Can I take that as an Ack here? or would you suggest any improvements?
Quoted 19 lines
Quoted 18 lines
arch/arm/mach-omap2/pm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)arch/arm/mach-omap2/pm.h +1
-1@@ -103,7 +103,7 @@ static inline void enable_omap3630_toggle_l2_on_restore(void) { }#define PM_OMAP4_ROM_SMP_BOOT_ERRATUM_GICD (1 << 0) -#if defined(CONFIG_ARCH_OMAP4 ) +#if defined(CONFIG_PM ) && defined(CONFIG_ARCH_OMAP4 )extern u16 pm44xx_errata;#define IS_PM44XX_ERRATUM (id) (pm44xx_errata & (id))#else
Signature · 2 lines
Regards, Nishanth Menon
PATCH 1/1 ARM: OMAP4: Fix definition of IS_PM44XX_ERRATUM
Quoted 17 lines · Nishanth Menon
Quoted 8 lines · Santosh Shilimkar
Quoted 6 lines · Nishanth Menon
Just like
IS_PM34XX_ERRATUM,IS_PM44XX_ERRATUMis valid only ifCONFIG_PMis enabled, else, disablingCONFIG_PMresults in build failure complaining about the following:arch/arm/mach-omap2/built-in.o: In function `omap4_boot_secondary':
:(.text+0x8a70): undefined reference to `pm44xx_errata'Not entirely accurate since CPU hotplug doesn't depend on
CONFIG_PMJust reporting the build error here.
Quoted 6 lines
Quoted 6 lines
Fixes c962184 (ARM: OMAP4: PM: add errata support)Reported-by Tony Lindgren <[email protected]>Signed-off-by Nishanth Menon <[email protected]>---
Quoted 9 lines
Quoted 4 lines
Quoted 3 lines
Patch based on: v3.14-rc6
Reported originally with a randconfig defconfig: http://slexy.org/view/s21U7eF4k1But without the PM sleep code, hotplug won't work either.
yep - agreed,
Quoted 1 line
SO I think its ok assumption in this particular case
Can I take that as an Ack here? or would you suggest any improvements?
yep. Acked-by: Santosh Shilimkar <[email protected]>
PATCH 1/1 ARM: OMAP4: Fix definition of IS_PM44XX_ERRATUM
In reply to Nishanth MenonQuoted 9 lines · Nishanth Menon
Just like
IS_PM34XX_ERRATUM,IS_PM44XX_ERRATUMis valid only ifCONFIG_PMis enabled, else, disablingCONFIG_PMresults in build failure complaining about the following:arch/arm/mach-omap2/built-in.o: In function `omap4_boot_secondary':
:(.text+0x8a70): undefined reference to `pm44xx_errata'Fixes c962184 (ARM: OMAP4: PM: add errata support)Reported-by Tony Lindgren <[email protected]>Signed-off-by Nishanth Menon <[email protected]>
Tony Lindgren
maintainerPATCH 1/1 ARM: OMAP4: Fix definition of IS_PM44XX_ERRATUM
Quoted 8 lines · Kevin Hilman
Quoted 6 lines · Nishanth Menon
Just like
IS_PM34XX_ERRATUM,IS_PM44XX_ERRATUMis valid only ifCONFIG_PMis enabled, else, disablingCONFIG_PMresults in build failure complaining about the following:arch/arm/mach-omap2/built-in.o: In function `omap4_boot_secondary':
:(.text+0x8a70): undefined reference to `pm44xx_errata'
Quoted 5 lines
Quoted 3 lines
Fixes c962184 (ARM: OMAP4: PM: add errata support)Reported-by Tony Lindgren <[email protected]>Signed-off-by Nishanth Menon <[email protected]>Acked-by Kevin Hilman <[email protected]>
Applying this into omap-for-v3.15/fixes thanks.
Tony