Skip to contentSkip to conversation

Samsung fixes for v3.2

GIT PULL Kukjin Kim 4 participants 5 messages Nov 21, 2011 – Dec 7, 2011 Arm Samsung Exynos

lore
Share & tools
lore

Kukjin Kim

author
#0 lore raw

Hi Arnd,

Please pull samsung-fixes for v3.2 from:

git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung.git
samsung-fixes

This includes fix of inclusion header.
If any problems, please let me know.

Thanks.

Best regards,
Kgene.
--
Kukjin Kim <[email protected]>, Senior Engineer, SW Solution Development Team, Samsung Electronics Co., Ltd.

The following changes since commit 1ea6b8f48918282bdca0b32a34095504ee65bab5:

Linux 3.2-rc1 (2011-11-07 16:16:02 -0800)

are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung.git
samsung-fixes

Axel Lin (1):
ARM: SAMSUNG: include linux/types.h at gpio-cfg.h

Kukjin Kim (2):
ARM: S5P: Fix export.h inclusion
ARM: SAMSUNG: inclusion export.h instead of module.h

Kyungmin Park (1):
ARM: EXYNOS: Fix compiler error with THIS_MODULE

 arch/arm/mach-exynos/cpuidle.c                |    2 ++
 arch/arm/mach-s3c64xx/mach-crag6410-module.c  |    2 +-
 arch/arm/plat-s3c24xx/cpu-freq-debugfs.c      |    2 +-
 arch/arm/plat-s5p/sysmmu.c                    |    1 +
 arch/arm/plat-samsung/include/plat/gpio-cfg.h |    2 ++
 arch/arm/plat-samsung/pd.c                    |    2 +-
 arch/arm/plat-samsung/pwm.c                   |    2 +-
 7 files changed, 9 insertions(+), 4 deletions(-)
#1 lore raw

Hi,

Don't you fix the mct compiler error if LOCAL_TIMERS are not defined?

arch/arm/mach-exynos/mct.c: In function 'exynos4_timer_resources':
arch/arm/mach-exynos/mct.c:451: error: 'exynos4_mct_tick_isr' undeclared (first use in this function) arch/arm/mach-exynos/mct.c:451: error: (Each undeclared identifier is reported only once
arch/arm/mach-exynos/mct.c:451: error: for each function it appears in.) make[1]: *** [arch/arm/mach-exynos/mct.o] Error 1

Thank you,
Kyungmin Park

Quoted 51 lines · Kukjin Kim

Hi Arnd,

Please pull samsung-fixes for v3.2 from:

git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung.git
samsung-fixes

This includes fix of inclusion header.
If any problems, please let me know.

Thanks.

Best regards,
Kgene.
--
Kukjin Kim <[email protected]>, Senior Engineer, SW Solution Development Team, Samsung Electronics Co., Ltd.

The following changes since commit 1ea6b8f48918282bdca0b32a34095504ee65bab5:

Linux 3.2-rc1 (2011-11-07 16:16:02 -0800)

are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung.git
samsung-fixes

Axel Lin (1):
ARM: SAMSUNG: include linux/types.h at gpio-cfg.h

Kukjin Kim (2):
ARM: S5P: Fix export.h inclusion
ARM: SAMSUNG: inclusion export.h instead of module.h

Kyungmin Park (1):
ARM: EXYNOS: Fix compiler error with THIS_MODULE

 arch/arm/mach-exynos/cpuidle.c                |    2 ++
 arch/arm/mach-s3c64xx/mach-crag6410-module.c  |    2 +-
 arch/arm/plat-s3c24xx/cpu-freq-debugfs.c      |    2 +-
 arch/arm/plat-s5p/sysmmu.c                    |    1 +
 arch/arm/plat-samsung/include/plat/gpio-cfg.h |    2 ++
 arch/arm/plat-samsung/pd.c                    |    2 +-
 arch/arm/plat-samsung/pwm.c                   |    2 +-
 7 files changed, 9 insertions(+), 4 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html

#3 lore raw
In reply to Kukjin Kim
Quoted 8 lines · Kukjin Kim

Please pull samsung-fixes for v3.2 from:

git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung.git
samsung-fixes

This includes fix of inclusion header.
If any problems, please let me know.

Pulled, thanks!

Quoted 9 lines · Kyungmin Park

Don't you fix the mct compiler error if LOCAL_TIMERS are not defined?

arch/arm/mach-exynos/mct.c: In function 'exynos4_timer_resources':
arch/arm/mach-exynos/mct.c:451: error: 'exynos4_mct_tick_isr' undeclared (first use in this function) arch/arm/mach-exynos/mct.c:451: error: (Each undeclared identifier is reported only once
arch/arm/mach-exynos/mct.c:451: error: for each function it appears in.) make[1]: *** [arch/arm/mach-exynos/mct.o] Error 1

Has a patch been posted for this?

Arnd

#4 lore raw
Quoted 23 lines · Arnd Bergmann
Quoted 8 lines · Kukjin Kim

Please pull samsung-fixes for v3.2 from:

git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung.git
samsung-fixes

This includes fix of inclusion header.
If any problems, please let me know.

Pulled, thanks!

Quoted 9 lines · Kyungmin Park

Don't you fix the mct compiler error if LOCAL_TIMERS are not defined?

arch/arm/mach-exynos/mct.c: In function 'exynos4_timer_resources':
arch/arm/mach-exynos/mct.c:451: error: 'exynos4_mct_tick_isr' undeclared (first use in this function) arch/arm/mach-exynos/mct.c:451: error: (Each undeclared identifier is reported only once
arch/arm/mach-exynos/mct.c:451: error: for each function it appears in.) make[1]: *** [arch/arm/mach-exynos/mct.o] Error 1

Quoted 3 lines

Has a patch been posted for this?

? ? ? ?Arnd

There was a discussion about this and a patch seemed to be ready although I don't know where:

---[quoting: "Re: [PATCH 1/2] ARM: EXYNOS4: convert MCT to percpu interrupt API" from linux-arm-kernel at lists.infradead.org]---

Quoted 42 lines · MyungJoo Ham
Quoted 41 lines · Marc Zyngier
Quoted 39 lines · MyungJoo Ham
Quoted 9 lines · Marc Zyngier

MCT recently gained per cpu interrupts, and missed the fact that ARM has moved to a genirq based implementation.

This patch converts the driver to the new API.

Boot tested on Origen.

There is one concern regarding the CONFIG_LOCAL_TIMER.

[]

Quoted 9 lines

#endif /* CONFIG_LOCAL_TIMERS */

static void __init exynos4_timer_resources(void)

(quoted diff) +2 -0
@@ -438,6 +442,16 @@ static void __init exynos4_timer_resources(void)
       mct_clk = clk_get(NULL, "xtal");
 
       clk_rate = clk_get_rate(mct_clk);
+
+       if (mct_int_type == MCT_INT_PPI) {

Review static void __init exynos4_timer_resources(void) · line 456

Quoted 10 lines
(quoted diff) +8 -0
+               int err;
+
+               err = request_percpu_irq(IRQ_MCT_LOCALTIMER,
+                                        exynos4_mct_tick_isr, "MCT",
+                                        &percpu_mct_tick);
+               WARN(err, "MCT: can't request IRQ %d (%d)\n",
+                    IRQ_MCT_LOCALTIMER, err);
+       }
 }
 

You've added exynos4_mct_tick_isr, which is defined in CONFIG_LOCAL_TIMER section, in the place that is compiled without CONFIG_LOCAL_TIMER.
I guess we are going to stop supporting LOCAL_TIMER in Exynos later and this could be a problem with it.

Quoted 7 lines
Quoted 3 lines

Yup, this is a problem. It probably means we need to #ifdef that chink as well. I'm not sure I get your remark about not supporting LOCAL_TIMER though. Are you planning to move away from the LOCAL_TIMER infrastructure?

Yes, we may need to #ifdef that block.
And yes, for the Exynos series, I'll need to double check; however, I think we are planning to move away from the LOCAL_TIMER for MCT.

I have patches for this already.

- Hide quoted text -

       M.

--
Jazz is not dead. It just smells funny...

Signature · 2 lines
MyungJoo Ham, Ph.D.
Mobile Software Platform Lab, DMC Business, Samsung Electronics
author
#2 lore raw
In reply to Kyungmin Park
Quoted 5 lines · Kyungmin Park

Hi,

Don't you fix the mct compiler error if LOCAL_TIMERS are not defined?

Quoted 8 lines

arch/arm/mach-exynos/mct.c: In function 'exynos4_timer_resources':
arch/arm/mach-exynos/mct.c:451: error: 'exynos4_mct_tick_isr' undeclared (first use in this function) arch/arm/mach-exynos/mct.c:451: error: (Each undeclared identifier is reported only once
arch/arm/mach-exynos/mct.c:451: error: for each function it appears in.) make[1]: *** [arch/arm/mach-exynos/mct.o] Error 1

Sorry for late response.

I fixed this and that will be sent to upstream next time. Thanks for pointing out.

Best regards,
Kgene.
--
Kukjin Kim <[email protected]>, Senior Engineer, SW Solution Development Team, Samsung Electronics Co., Ltd.

Quoted 52 lines · Kukjin Kim
Quoted 51 lines

Hi Arnd,

Please pull samsung-fixes for v3.2 from:

git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung.git
samsung-fixes

This includes fix of inclusion header.
If any problems, please let me know.

Thanks.

Best regards,
Kgene.
--
Kukjin Kim <[email protected]>, Senior Engineer, SW Solution Development Team, Samsung Electronics Co., Ltd.

The following changes since commit 1ea6b8f48918282bdca0b32a34095504ee65bab5:

Linux 3.2-rc1 (2011-11-07 16:16:02 -0800)

are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung.git
samsung-fixes

Axel Lin (1):
ARM: SAMSUNG: include linux/types.h at gpio-cfg.h

Kukjin Kim (2):
ARM: S5P: Fix export.h inclusion
ARM: SAMSUNG: inclusion export.h instead of module.h

Kyungmin Park (1):
ARM: EXYNOS: Fix compiler error with THIS_MODULE

 arch/arm/mach-exynos/cpuidle.c                |    2 ++
 arch/arm/mach-s3c64xx/mach-crag6410-module.c  |    2 +-
 arch/arm/plat-s3c24xx/cpu-freq-debugfs.c      |    2 +-
 arch/arm/plat-s5p/sysmmu.c                    |    1 +
 arch/arm/plat-samsung/include/plat/gpio-cfg.h |    2 ++
 arch/arm/plat-samsung/pd.c                    |    2 +-
 arch/arm/plat-samsung/pwm.c                   |    2 +-
 7 files changed, 9 insertions(+), 4 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html