Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp7210531imu; Mon, 3 Dec 2018 09:17:39 -0800 (PST) X-Google-Smtp-Source: AFSGD/Uhec3PBrotn7eBseMhKXOYTgEtQ5vxZpO7fjq7kLUU8jPtJm+dmuPGWewW0Je2nNZ4i6+9 X-Received: by 2002:a63:df13:: with SMTP id u19mr14080885pgg.294.1543857459391; Mon, 03 Dec 2018 09:17:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543857459; cv=none; d=google.com; s=arc-20160816; b=aBC1JwT6ZYRIuYSYliFDitwA9+4VuuchUzWKfAZuDQcr/ig0THL6ViG+26JGRiTmzF JvqDhfAnQYqrxliuEM5mD1V2fjC89yGeP+sFu6OTiZpo0YQfbQ36PnYK3dAp0BSZ/vqd bNJSGP+s7gImqdDDD1+fONleuDZQKdpviZ7mnYTyA7utbxxxhlZmbF5NbUSeDVE84sm1 /23sbs7+OjwFf9sfzq7Z2OxcUQ5l6FrCnt0yWtPuOk/dEKWwRg+kfW2EONrYG8kA4oa/ GA8v0mabocH32GhOdKGbGrmOEW9pShTF0ljqm9Z7KZsRQxUx+HxlqSTyDlXMAU7LvFiT G78g== 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=uQYQRmr1Dia8FUD35Be+wgEryAJZ9fXce1yozF3arr0=; b=YSRoltAfHUi6GQGDWoQk1Z1NcqXBgB8sK2+1XcAEkDtjf+NpInPfnnKpxKHvzFWPdv fEHD/PaB6c1dzs7xVIRIruzi3qngFyfIB078kdUNl33RmLXU7OOUPGx3tY0vg3HxmI0x EA/sdVFy6aMD0E0pUXf4GLr519XzsSXDSUfdhWlZ2/WQzmq7fgQ7oqOiXIhtYnK0fbn8 cuTz2fpUrdOY7DYK7qZzDctOJYerrBDzYnMQDmZXe4m0CrJ4GxLs5lSSaFzDbAo4gyAj O7m5fedDaKgnLsOeYSyDYctvl9W5PDkoQwbtIWtouDNNBoL+4lYFfsBUqJMMt644f8rt XzPw== 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 t23si13098884pgi.181.2018.12.03.09.17.23; Mon, 03 Dec 2018 09:17:39 -0800 (PST) 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 S1726926AbeLCRQ2 (ORCPT + 99 others); Mon, 3 Dec 2018 12:16:28 -0500 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:42552 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726657AbeLCRQ2 (ORCPT ); Mon, 3 Dec 2018 12:16:28 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 797CE1682; Mon, 3 Dec 2018 09:16:25 -0800 (PST) Received: from e107155-lin (e107155-lin.cambridge.arm.com [10.1.196.42]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id EBA883F59C; Mon, 3 Dec 2018 09:16:21 -0800 (PST) Date: Mon, 3 Dec 2018 17:16:19 +0000 From: Sudeep Holla To: Atish Patra Cc: linux-kernel@vger.kernel.org, Albert Ou , Anup Patel , Ard Biesheuvel , Catalin Marinas , devicetree@vger.kernel.org, Dmitriy Cherkasov , Greg Kroah-Hartman , Ingo Molnar , Jeremy Linton , Juri Lelli , "moderated list:ARM64 PORT (AARCH64 ARCHITECTURE)" , linux-riscv@lists.infradead.org, Mark Rutland , Morten Rasmussen , Palmer Dabbelt , "Peter Zijlstra (Intel)" , "Rafael J. Wysocki" , Rob Herring , Thomas Gleixner , Will Deacon Subject: Re: [RFT PATCH v1 3/4] cpu-topology: Move cpu topology code to common code. Message-ID: <20181203171619.GE17883@e107155-lin> References: <1543534100-3654-1-git-send-email-atish.patra@wdc.com> <1543534100-3654-4-git-send-email-atish.patra@wdc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1543534100-3654-4-git-send-email-atish.patra@wdc.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 Thu, Nov 29, 2018 at 03:28:19PM -0800, Atish Patra wrote: > Both RISC-V & ARM64 are using cpu-map device tree to describe > their cpu topology. It's better to move the relevant code to > a common place instead of duplicate code. > > Signed-off-by: Atish Patra > --- > arch/arm64/include/asm/topology.h | 22 --- > arch/arm64/kernel/topology.c | 303 +------------------------------------- > drivers/base/arch_topology.c | 294 ++++++++++++++++++++++++++++++++++++ > include/linux/arch_topology.h | 26 ++++ > include/linux/topology.h | 1 + > 5 files changed, 325 insertions(+), 321 deletions(-) > From a quick look and diffstat, it looks like a simple move. However I would like to throw this at 0-day bot to test various build configurations so that it's not breaking anything. I can push to a branch in my git @kernel.org but not sure on the build coverage. Anyways will update with any results on build and testing on my side ASAP. -- Regards, Sudeep