Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754852AbaDKGEP (ORCPT ); Fri, 11 Apr 2014 02:04:15 -0400 Received: from mailout4.samsung.com ([203.254.224.34]:64889 "EHLO mailout4.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754611AbaDKGEN (ORCPT ); Fri, 11 Apr 2014 02:04:13 -0400 X-AuditID: cbfee691-b7efc6d0000039d3-8c-534785db9df8 From: Sangbeom Kim To: "'Chanwoo Choi'" , "'Olof Johansson'" Cc: linux-samsung-soc@vger.kernel.org, t.figa@samsung.com, hyunhee.kim@samsung.com, sw0312.kim@samsung.com, linux-kernel@vger.kernel.org, yj44.cho@samsung.com, inki.dae@samsung.com, kyungmin.park@samsung.com, kgene.kim@samsung.com, linux-arm-kernel@lists.infradead.org References: <1397122658-16013-1-git-send-email-cw00.choi@samsung.com> <1397122658-16013-5-git-send-email-cw00.choi@samsung.com> <20140411014424.GA14934@quad.lixom.net> <53477A19.6070509@samsung.com> In-reply-to: <53477A19.6070509@samsung.com> Subject: RE: [PATCH 04/27] ARM: EXYNOS: Support secondary CPU boot of Exynos4212 Date: Fri, 11 Apr 2014 15:04:11 +0900 Message-id: <006f01cf554b$dbc6a2d0$9353e870$@samsung.com> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit X-Mailer: Microsoft Outlook 14.0 Thread-index: AQGB6meoV0Op4c6O0JoKYhIbL435PgEUgv4/AeDvlO4BouzvnZuB+T8Q Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrGIsWRmVeSWpSXmKPExsVy+t8zfd3bre7BBmv+GFhc//Kc1eLzhxZ2 i0n3J7BY9C64ymZxtukNu8Wmx9dYLS7vmsNmMeP8PiaLU9c/A1mTX7JZrJ/xmsVi787JjA48 HpuX1HtcOdHE6tG3ZRWjx+dNcgEsUVw2Kak5mWWpRfp2CVwZr3u7GQs+slecXVvWwDiHrYuR k0NCwERi2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shVPcpRol117eygDRwCmhL nH+6FqxZWCBAYu7XNrB1LAKqEvN2nGIHsXkFLCXO989jhrAFJX5MvgfWyyygJbF+53EmCFte YvOat8wQpypI7Dj7GmymiICbxJFnC1khakQk9r14xziBUWgWklGzkIyahWTULCQtCxhZVjGK phYkFxQnpeca6hUn5haX5qXrJefnbmIEJ5FnUjsYVzZYHGIU4GBU4uHNuOAWLMSaWFZcmXuI UYKDWUmE18zfPViINyWxsiq1KD++qDQntfgQYzLQpxOZpUST84EJLq8k3tDYxMzI0sjMwsjE 3Jw0YSVx3gOt1oFCAumJJanZqakFqUUwW5g4OKUaGL13fJ/9J+xLmf1Ct+nJJr2urkk5T84u NtLunqASb7M1UftZ5ZHHF2tMr8xw81QvN48+uPTR1CfZs2IfnJXeNzPtquu85/f+7pCeYb7u f1oKO99+tiV2X58u3+a0ok34CrNEyIUXbrnOkzwzC6a2ZhXO2n1P+v2qBee3al41dGTqMSpt 9bwo9l+JpTgj0VCLuag4EQBEdQFJZgMAAA== DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On 04/11/2014 2:14 PM, Chanwoo Choi wrote: > >> { > >> - exynos_smc(SMC_CMD_CPU1BOOT, cpu, 0, 0); > >> + if (soc_is_exynos4212()) > >> + exynos_smc(SMC_CMD_CPU1BOOT, 0, 0, 0); > >> + else > >> + exynos_smc(SMC_CMD_CPU1BOOT, cpu, 0, 0); > > > > /* */ > > It's better to ask system lsi person. We don't know it well. > I got the guide about secondary boot from system lsi. > But, this patch was completely tested. exynos_smc(SMC_CMD_CPU1BOOT, ...) is cpu hotplug SMC interface. Exynos4212 is dual core processor. Exynos4212 only have to boot cpu1 on smp boot. So, Second parameter of exynos_smc is fixed by 0 which means cpu1. It don't need to boot another cpu (ex. cpu2, cpu3 for quad core processor). But In case of quad core processor (ex. Exynos4412), It need to boot another cpu and specify parameter of booting core. As I know, Exynos3250 is dual core. So It can be included 1st condition too. Sangbeom, Thanks, -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/