Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp504521ybz; Wed, 15 Apr 2020 12:55:21 -0700 (PDT) X-Google-Smtp-Source: APiQypLX6ntq+hQ2AxEQec+XP3c0Fupilzx1IDwkQ3vCRBDepyAUfhm5LhntL0KGep8A75O9BPeE X-Received: by 2002:a50:e043:: with SMTP id g3mr27436390edl.220.1586980521030; Wed, 15 Apr 2020 12:55:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586980521; cv=none; d=google.com; s=arc-20160816; b=jVOGCTNNCqbJUhY7WhBXncrk0vAoRozT8YqaOSu9pKTndPqySdB36GdDrFih1btHKB RG3ylHc1lDHhJQ/MtnOaIJjenNzspizMa5jep/c5ABjNeakehviAUStBTKWUHME9x1OD SB+lrysgC8r6QOAY0If5cuaqaR47un/h2tOtKUSeN+8YJrZTluVK5BF07bqJmvKhycdc ENKOq0lwyCGiiVbRV934scmcQLSesOjR00bLUboALpW6e7W5baBcdrv91xfwhUCGcNj1 4Ym8wR5/muIHMOklJR05oqm1bl90m3gKvofCMEN685rnafvkE28k/SxUHDz2847muNG5 N7PQ== 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; bh=oktCPlZm8mXVACNY+Wjt6uQ8U3jR67JqvKBY6lF8LfY=; b=DSa/oqtX0t13gNrxnXolYU2ar/670+LE4nQ9pA+rjMTd5LzQIGyz85mfhu7Tdv1ZWZ 0xw5Mxuo7ZMNHf11LX4oUpaozB5u7OXRTg2blhVT4EWj/3xYnvKrKfkf7iX0HUtgBZRb HMMZnrbfrOclq9yvR5OaQBiHs+X2iQSEMniiC8cpKFXAahDMPPKwBrmle6tkSFB9fYLE F6N6JGE0m8/qDMp4HvZ9n8Mv3hkL+F1ihhCiJo6ipAGaSf4rqy9IN31dW7UuNBGk2eBU scUXvgMj8VlTLIQBDRzT6/6H9E3nSU0S2VLBSjqZWfhM0EwQu3CXmQfwBGwfzhN2ZOFi /Wtg== 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 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u14si5412200ejz.292.2020.04.15.12.54.57; Wed, 15 Apr 2020 12:55:21 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2436806AbgDNI1s (ORCPT + 99 others); Tue, 14 Apr 2020 04:27:48 -0400 Received: from foss.arm.com ([217.140.110.172]:50988 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2436781AbgDNI1p (ORCPT ); Tue, 14 Apr 2020 04:27:45 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id E150D1FB; Tue, 14 Apr 2020 01:27:44 -0700 (PDT) Received: from bogus (unknown [10.37.12.71]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 91F983F73D; Tue, 14 Apr 2020 01:27:37 -0700 (PDT) Date: Tue, 14 Apr 2020 09:27:34 +0100 From: Sudeep Holla To: Jiaxun Yang 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 , =?utf-8?B?5ZGo55Cw5p2wIChaaG91IFlhbmppZSk=?= , YunQiang Su , Arnd Bergmann , Serge Semin , Matt Redfearn , Richard Fontana , Steve Winslow , afzal mohammed , Peter Xu , Kamal Dasu , Oleksij Rempel , Sudeep Holla , 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 04/11] arch_topology: Reset all cpus in reset_cpu_topology Message-ID: <20200414082734.GC6459@bogus> References: <20200412032123.3896114-1-jiaxun.yang@flygoat.com> <20200412032123.3896114-5-jiaxun.yang@flygoat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200412032123.3896114-5-jiaxun.yang@flygoat.com> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Apr 12, 2020 at 11:20:34AM +0800, Jiaxun Yang wrote: > For MIPS platform, when topology isn't probed by DeviceTree, > possible_cpu might be empty when calling init_cpu_topology, > that may result cpu_topology not fully reseted for all CPUs. > So here we can reset all cpus instead of possible cpus. > As I have told before adjust and make it default before this function gets called. -- Regards, Sudeep