From mboxrd@z Thu Jan 1 00:00:00 1970 From: kgene.kim@samsung.com (Kukjin Kim) Date: Thu, 10 Jul 2014 22:30:05 +0900 Subject: [PATCH 6/6] ARM: EXYNOS: Register cpuidle device only on Exynos4210 and 5250 In-Reply-To: <156099171.AcKbd1QIut@amdc1032> References: <1403618235-19353-1-git-send-email-t.figa@samsung.com> <1403618235-19353-7-git-send-email-t.figa@samsung.com> <038b01cf9ab7$0de5a440$29b0ecc0$@samsung.com> <156099171.AcKbd1QIut@amdc1032> Message-ID: <026601cf9c43$0faf6ad0$2f0e4070$@samsung.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Bartlomiej Zolnierkiewicz wrote: > > Hi, > Hi Bart, > On Tuesday, July 08, 2014 11:15:21 PM Kukjin Kim wrote: > > Tomasz Figa wrote: > > > > > > Currently, the Exynos cpuidle driver works correctly only on Exynos4210 > > > and 5250. Trying to use it with just one CPU online on any other Exynos > > > SoC will lead to system failure, due to unsupported AFTR mode on other > > > SoCs. This patch fixes the problem by registering the driver only on > > > supported SoCs and letting others simply use default WFI mode until > > > support for them is added. > > > > > Hmm...I thought other SoCs have no problem on cpuidle except exynos5420 and > > exynos5440....something like this would be helpful to avoid system failure. > > But unfortunately this conflicts with Pankaj's cleanup cpufreq_init() and > > cpuidle_init() patch you've reviewed and I've applied in my local... > > > > I'm going to check which exynos is ok on cpuidle and then sort them out. > > Tomasz's patch is correct - currently only Exynos4210 and Exynos5250 work > fine with AFTR mode and upstream kernel (AFTR gets triggered by offlining > CPUs other than CPU0). > > [ Exynos4x12 and Exynos3250 need secure firmware support (patches for this > need to be reworked on top of recent PM/firmware/cpuidle changes). > > Exynos5410 should use big_little cpuidle driver. ] > Agreed that this is required at this moment. I will take this into fixes for 3.16. Thanks, Kukjin