Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp4481158ybb; Tue, 14 Apr 2020 08:08:39 -0700 (PDT) X-Google-Smtp-Source: APiQypLAJMKYa1tBAxUwsHx2AMrm+Nv/zx4c7NatPlGy9rnjPm6CnwySXpoKkwTir+XRpMXm9Fjn X-Received: by 2002:a17:907:b11:: with SMTP id h17mr536594ejl.371.1586876919109; Tue, 14 Apr 2020 08:08:39 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1586876919; cv=pass; d=google.com; s=arc-20160816; b=INw8X1bfqkzAedg4cjPQBnOW86VITQ2y0ueVPmuQMqecHzXffQf5yUozkgbsEh8GD8 dvnEPtv7ugqAIDwJVSWdpHiQb9JZymIryHOCY1hwhdzvpZPB/2ucVX9EiaPBq7FI8KNm JYotC6YacOF/zoewpexU3DTpnGzEYbo2VqYeNkAeOhPSzZtJuFq+zzD7U85CWsE0GdKd Q/ZtEzVywcQAGVg3emKUJh3qbuIxCvEN3oVUDD13rLD+1rrmMFxsdZQxvrcaDlMCd7A/ VhTVLK5DPqyaCQeIR2sWx6DNGQh6sJmDyMnIr+LsDmepwS5YkvqpHJ1xQEFNPuzw5iE3 v+MA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=5yxE8rjIQbfWB2zY24IJme7e+SE38jsS1KkXESLePEI=; b=OMiXp/Gk7UbMIJhATPwEcpppOf9JzbNA2L847zwDMiB0GVEX9yVHf66nki4hleiOlU 72zD54k1vJeZ4zulKdbWfVk2QSheVTrp2RmsKrluPKXMn2FHzfcWOf19HBttgiRk9lYu uWZjQtKyzzCX9yRRAcuE8nLcI07hHNca0Yyzaa0L5qP7mM8PzclK1HIUqdDWgakHdLzR +VB8I+7fi+bbo3fx9GsexSDT8L1dEEYcYpSfhCpZxoibwa8VdKUAap0iHE7LrcE0YJlx TXuyqR6G9nhU6ciuxBeF7amtt0Y594be1a4OwbpCK3xOnnKH3D6ksk0xnj5/7vXzbjDa JQ4w== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@flygoat.com header.s=mail header.b=GpdV1a2I; arc=pass (i=1 spf=pass spfdomain=flygoat.com dkim=pass dkdomain=flygoat.com dmarc=pass fromdomain=flygoat.com>); spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=flygoat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k4si11537524edk.585.2020.04.14.08.08.15; Tue, 14 Apr 2020 08:08:39 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@flygoat.com header.s=mail header.b=GpdV1a2I; arc=pass (i=1 spf=pass spfdomain=flygoat.com dkim=pass dkdomain=flygoat.com dmarc=pass fromdomain=flygoat.com>); spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=flygoat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2437024AbgDNImm (ORCPT + 99 others); Tue, 14 Apr 2020 04:42:42 -0400 Received: from sender3-op-o12.zoho.com.cn ([124.251.121.243]:17852 "EHLO sender3-op-o12.zoho.com.cn" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2436845AbgDNImi (ORCPT ); Tue, 14 Apr 2020 04:42:38 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1586853598; cv=none; d=zoho.com.cn; s=zohoarc; b=ZSK1M9iyq2xeDVWV8f1PWAKe/9uCU4E9T6vOsK6u9aSiBWGXfIn0pocsjl4tzWveQh2ZDy2cj1b7bpHgekQf0jbXo9LUSmHOeFntpMA9PPG8b23qxVeQDSY4EsbYXLiuAT1HFLfypwEDqH3WZQeK5l7MGE8gNsnNqPEbAdLbAlU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com.cn; s=zohoarc; t=1586853598; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=5yxE8rjIQbfWB2zY24IJme7e+SE38jsS1KkXESLePEI=; b=MxrSvTiMyZFwn8zPfXMUcshZgT9ZAOJ0+qDa6+Tzu6So7Sme1O/aiY+OqbHehQy4rx3Xw09wK2lY2ViNCEJpA1yP8gFpRCNHDfyGSPKKWhGbLu/guUngLhylu0oHCtT3ggf/NpQGrV50PP2CpYp0098dw1hWvD/QtR4tAy5dycc= ARC-Authentication-Results: i=1; mx.zoho.com.cn; dkim=pass header.i=flygoat.com; spf=pass smtp.mailfrom=jiaxun.yang@flygoat.com; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1586853598; s=mail; d=flygoat.com; i=jiaxun.yang@flygoat.com; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=5yxE8rjIQbfWB2zY24IJme7e+SE38jsS1KkXESLePEI=; b=GpdV1a2IgBQOShDin5PNisEXA6+bNxd8Mf4rATLprEMaKlc4jf5QVVU3k27MHqSA UeRk2dKl2ZRMbjt9syeLztoXGin7EcYipNexBIvvaQFIBtsgI+VxL4WIGrfrnDqUgNf gaPqGT9RgEkxsHstO7khtgGjXMV3drq4ap00TVuE= Received: from localhost (122.235.212.87 [122.235.212.87]) by mx.zoho.com.cn with SMTPS id 1586853596243411.62253278794117; Tue, 14 Apr 2020 16:39:56 +0800 (CST) Date: Tue, 14 Apr 2020 16:39:57 +0800 From: Jiaxun Yang To: Sudeep Holla Cc: linux-mips@vger.kernel.org, dietmar.eggemann@arm.com, Thomas Bogendoerfer , Huacai Chen , Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Florian Fainelli , Robert Richter , Greg Kroah-Hartman , "Rafael J. Wysocki" , Daniel Lezcano , Thomas Gleixner , Jason Cooper , Marc Zyngier , Paul Burton , Allison Randal , Enrico Weigelt , Kate Stewart , Vladimir Kondratiev , Alexios Zavras , Paul Cercueil , Zhou Yanjie , " =?GB18030?B?1tzn/L3c?= (Zhou Yanjie)" , YunQiang Su , Arnd Bergmann , Serge Semin , Matt Redfearn , Richard Fontana , Steve Winslow , afzal mohammed , Peter Xu , Mike Rapoport , Kamal Dasu , Oleksij Rempel , linux-kernel@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, oprofile-list@lists.sf.net, linux-pm@vger.kernel.org Subject: Re: [PATCH v2 01/11] MIPS: setup: Drop prefill_possible_map Message-ID: <20200414163957.00006d65@flygoat.com> In-Reply-To: <20200414082123.GA6459@bogus> References: <20200412032123.3896114-1-jiaxun.yang@flygoat.com> <20200412032123.3896114-2-jiaxun.yang@flygoat.com> <20200414082123.GA6459@bogus> X-Mailer: Claws Mail 3.17.4 (GTK+ 2.24.32; x86_64-w64-mingw32) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-ZohoCNMailClient: External Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 14 Apr 2020 09:21:36 +0100 Sudeep Holla wrote: > On Sun, Apr 12, 2020 at 11:20:31AM +0800, Jiaxun Yang wrote: > > All the plat_smp_setup are setting up possible cpus in their > > platform code. So prefill_possible_map is actually overwriting > > platform's setup, which seems unreasonable. > > > > Why don't you rearrange the code so that this still remains as is and > the platforms can override if they need. If you do so, you don't need > the change in 04/11 as I suggested previously. Actually this code break a case that cpumask is not continuous. It do happen on some MIPS platforms. Yes. rearrange this is a option but I think it is making the logic unnecessarily complex. If you think that's better I'll do so. Thanks. > -- Jiaxun Yang