Received: by 10.192.165.156 with SMTP id m28csp859509imm; Tue, 17 Apr 2018 22:48:57 -0700 (PDT) X-Google-Smtp-Source: AIpwx48u6wPW4UudxyyZ/5l+uhUUWKpefLtjKfevU77tMJ74d0Z+bissWjqFi5UVr9O4c/2f/lcX X-Received: by 10.101.77.198 with SMTP id q6mr656401pgt.61.1524030537581; Tue, 17 Apr 2018 22:48:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524030537; cv=none; d=google.com; s=arc-20160816; b=scZiHZ2kuxmjr/kkk4m+7SJfj0xCWXbWLn0TUkV0pc4uvsNb/MUTXtCLMc7qpC6Evc WegXWKwHaJyzxuvcFve1DN3lXkjsuz39OGvlai8wks7SIpXR0p1E5JmlwB5k6x7rza+8 kGAPojZFJQRtQnGVWbDujNGwdRMx7tWz6j5CfwRb4gDgxN6+ReErl4UW/vjtwxFFzN6t LJyyFKq9iDNvjm0FJnoM7uncapQKVR+7X/9r3jFnxiWt/0WxKriRI7CRECZ77MTX5mqm x9TS20VBUXSgbW2RXgOCzhSENV9vX91kNq7JO6ix7XWEDmB4vOQH1diGIhWcfno6UUF/ MulQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date:arc-authentication-results; bh=8Nhm1BIKSCsC0IDA7GB23xX+kYxpPdD8Jc78e6rmeAQ=; b=eNuzIvVHoTo42b0yPKlrv6SJn+/ORWo3Afv6s7Y5R3M+lcsHnaOSYH3oG5US2Ppyf+ 5H36y8naZukhcRX1Qm1eNA33zgI/djTXcYGrWvrULYRzLDgMj7StHyE/4eWakU1cNeRY NXrfvTkYOB03EUs2Ot/OkPIf1m2ccEyD4hxdwCxSz4BXjB8DVUy0VkzD/l1K1Ih7scx+ SqXjDhIEf8XAjJ9o6XoSKb61sd5bcbwP0BjmHeZBzW4g2CjNSFgeGHansnd/eSAk1ibS w4SN35rMUHBcHt/zWKfU4/XHp8S//QFqAuwd9Xvl3oe10fikg8hlYUojnBzjXk16FQ5s oFsQ== 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 v2si497525pgf.75.2018.04.17.22.48.43; Tue, 17 Apr 2018 22:48:57 -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 S1752774AbeDRFrb convert rfc822-to-8bit (ORCPT + 99 others); Wed, 18 Apr 2018 01:47:31 -0400 Received: from mail.bootlin.com ([62.4.15.54]:51615 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751407AbeDRFr3 (ORCPT ); Wed, 18 Apr 2018 01:47:29 -0400 Received: by mail.bootlin.com (Postfix, from userid 110) id BA44E2071B; Wed, 18 Apr 2018 07:47:27 +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 shortcircuit=ham autolearn=disabled version=3.4.0 Received: from dell-desktop.home (LStLambert-657-1-97-87.w90-63.abo.wanadoo.fr [90.63.216.87]) by mail.bootlin.com (Postfix) with ESMTPSA id A8C3E209F1; Wed, 18 Apr 2018 07:46:43 +0200 (CEST) Date: Wed, 18 Apr 2018 07:46:43 +0200 From: =?UTF-8?B?TXlsw6huZQ==?= Josserand To: Maxime Ripard 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: <20180418074643.5bd68168@dell-desktop.home> In-Reply-To: <20180417112038.mw7bfhqw4xwvzxcw@flea> References: <20180416215032.5023-1-mylene.josserand@bootlin.com> <20180416215032.5023-10-mylene.josserand@bootlin.com> <20180417112038.mw7bfhqw4xwvzxcw@flea> Organization: Bootlin X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.31; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello Maxime, On Tue, 17 Apr 2018 13:20:38 +0200 Maxime Ripard wrote: > On Mon, Apr 16, 2018 at 11:50:30PM +0200, Mylène Josserand wrote: > > @@ -535,8 +599,12 @@ static int sunxi_mc_smp_cpu_kill(unsigned int l_cpu) > > return !ret; > > } > > > > -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 == 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? Not yet, I will have a look this evening. Best regards, -- Mylène Josserand, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering http://bootlin.com