Received: by 10.192.165.156 with SMTP id m28csp1712908imm; Tue, 17 Apr 2018 04:22:16 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/GpJXRM72GWC6Vu6oay1GGn+DAzg+xRTniq9a0UfQ8N/bIKLhxJuniYQxwoCqcljiiKsW+ X-Received: by 10.98.7.152 with SMTP id 24mr1613361pfh.94.1523964136300; Tue, 17 Apr 2018 04:22:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523964136; cv=none; d=google.com; s=arc-20160816; b=bIjMT1PMkzrLtetTi3CxWyADl5E508qRkV9xcSRdjA9Ol+BGa7unLHssUwf3zfmV8I FFP91bh5sJeAch5K4av/W60+e8I3j02HrBL9sfeHPSandYN6sCDObLEf2fkhBfCmhtz9 icWPoe6D6QTetYv/PMLjNGa1YuLsrjayi16g6wNv9sX1F0vmpvkOk0lArhg3eKdQVFpm iakiNmqc5XoXStAlWFpb9UgVgkab82P5fWITeISEpr6g63xi0CqSj3wvTI98trbiMusS TANrdUvt1YZ0diUfPkT9Tf6Uk8PicnNLohzMJjVfPWUR0ilB3ZLNlOYBOts5wJWvR5Pf Htjg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=8WVDockBoaYcdRsmO9sc1p3ud3IKCLzCRQlEb6YPpMw=; b=mzMmdaIWz89CzPEtkcU1kEMYOyRb/+U/SV8rrPDa1erGgfTDGKu/W4vrwkxRxwDFBa ANO3c45+QXXCK1rcicaRCpkbeZZX+z4I8Vm/9hAuEgk7ofjLbgQbmlCcbAc6t6QsKz6p XadPQsrMTZGhQRr2Qfyb4eCfRIQT1PEo4AoCUdBvH5hfkSFTjRHBhilUDxsjIZYJmvRH 8Ipt6wujP2nymPkQzn9Hjb/fdEsFwtpiFtEsbzuvjHzN/K17m3NiFB02bKDw8QuEaJ32 vvWIaW13TojowzgzFCLiIsFkYuc2ClrGEvF2UbUeimCv5SijvHNv+t6VLQuGVIrStNrS nSdg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u70si831999pgc.81.2018.04.17.04.22.02; Tue, 17 Apr 2018 04:22:16 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752730AbeDQLUw (ORCPT + 99 others); Tue, 17 Apr 2018 07:20:52 -0400 Received: from mail.bootlin.com ([62.4.15.54]:54901 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752116AbeDQLUu (ORCPT ); Tue, 17 Apr 2018 07:20:50 -0400 Received: by mail.bootlin.com (Postfix, from userid 110) id E4DD920713; Tue, 17 Apr 2018 13:20:48 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail.bootlin.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT, URIBL_BLOCKED shortcircuit=ham autolearn=disabled version=3.4.0 Received: from localhost (LStLambert-657-1-97-87.w90-63.abo.wanadoo.fr [90.63.216.87]) by mail.bootlin.com (Postfix) with ESMTPSA id B592020384; Tue, 17 Apr 2018 13:20:38 +0200 (CEST) Date: Tue, 17 Apr 2018 13:20:38 +0200 From: Maxime Ripard To: =?utf-8?Q?Myl=C3=A8ne?= Josserand Cc: linux@armlinux.org.uk, wens@csie.org, marc.zyngier@arm.com, mark.rutland@arm.com, robh+dt@kernel.org, horms@verge.net.au, geert@linux-m68k.org, magnus.damm@gmail.com, linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, clabbe.montjoie@gmail.com, quentin.schulz@bootlin.com, thomas.petazzoni@bootlin.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v6 09/11] ARM: sun8i: smp: Add support for A83T Message-ID: <20180417112038.mw7bfhqw4xwvzxcw@flea> References: <20180416215032.5023-1-mylene.josserand@bootlin.com> <20180416215032.5023-10-mylene.josserand@bootlin.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="lgwud7yazkhhokzr" Content-Disposition: inline In-Reply-To: <20180416215032.5023-10-mylene.josserand@bootlin.com> User-Agent: NeoMutt/20180323 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --lgwud7yazkhhokzr Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Apr 16, 2018 at 11:50:30PM +0200, Myl=E8ne Josserand wrote: > @@ -535,8 +599,12 @@ static int sunxi_mc_smp_cpu_kill(unsigned int l_cpu) > return !ret; > } > =20 > -static bool sunxi_mc_smp_cpu_can_disable(unsigned int __unused) > +static bool sunxi_mc_smp_cpu_can_disable(unsigned int cpu) > { > + /* CPU0 hotplug not handled for sun8i-a83t */ > + if (is_sun8i) > + if (cpu =3D=3D 0) > + return false; > return true; I think Chen-Yu told you how to implement the hotplug in the previous iteration, did you have time to test it? Maxime --=20 Maxime Ripard, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering https://bootlin.com --lgwud7yazkhhokzr Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE0VqZU19dR2zEVaqr0rTAlCFNr3QFAlrV2IYACgkQ0rTAlCFN r3QEvQ//YNKIPOzNoGa2Ejl3faAXyCu/JYHhZv5UefGzirp0ZGAkXxwtGsVxVsU2 UA8ANWgoTabJ63vqsQE9C0cyVSOg6o/maP/dSwob3RsdeXvBY6Tmeb2UIm9MUYiM UDkEM7Da1VVK15r6raCgnkb1Dk3jiGoWUD2TqXjT8VE97R6t0f9KYQeI2tm8RVUV UB9o1kJ/tTvLdsCi32Y0DfDYUe/uWPa/x1n1Ks4sZgt/493Z/1zUN0qrIzR8Cwwp P45P1byWjmK+Rm9DijUO6DiEutmpdLcThogh3K52KRuyWIIW6fdZCjLT11NUDpDo Q/YCt7tF/0xsupP6dPQJYtveoMhXxK7HjI/HjA2RuW4+LC9794QI6/eVMe+5USLw E49ReIJoY3THaVICOyTllKpRyiQ9Q78fnb45i5JiyUrP4pn4m1YtcEBt8MjZ0pre G/MbGgMcUYSYixLjU6SJiiirWuwY6SDmpeIOSUP2YfFL1rZcHvt0KMfZoZ6GJz28 ojzBqXvNitOdLiTUvv6d1FIOZ2A1WZBtLdDQTR7bj1v0wKOGH9teqtsiucP3IRak nA1U9TCrtMNW0I4Jq4nE0mpg3c4i0+p1cLzrU5FgQahoq2VGiZ1Mj1M6Nt83kHWx u7Y2NQ0k86EhrSP4wR7GtXsaA2EzGqkvCyltVFQJ3daV/2QqAuI= =tbwW -----END PGP SIGNATURE----- --lgwud7yazkhhokzr--