Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp7186862imu; Mon, 3 Dec 2018 08:59:25 -0800 (PST) X-Google-Smtp-Source: AFSGD/WCms5NGwghhuIaQcGez4pPiGr+bMwPCjxlWB9J+0tmE+N8Q49aF3qQwvTYyvGVql9nXaEZ X-Received: by 2002:a63:165e:: with SMTP id 30mr13875860pgw.103.1543856365812; Mon, 03 Dec 2018 08:59:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543856365; cv=none; d=google.com; s=arc-20160816; b=0hqO7MBCtlaSzVklKSv9X2dcdrdo8T9zWhEPSqhKJdVnEyYFt1f21hXhbAqk9MlGuI NoINzCy2URvzxKdez7mwqqsa6gvryXJxi/8elZtJXCjTFCJB6eyRbit2v5CJpCb4S/FP Taxq6Eux+lnMQ0k32Sj6XVXsLrH2U/Yy7KvyZZoZuDHOJ5hNomCmqW8oSX+PCiqgl6EO aBzMZ96TLcx8R0zB+jxzR473h4C2zCpx3Un3MMnQmFaLivDmWAZUfjLBgpaH6cSt/2Qs F4zllT9wsHpLRX1Vm6wz/c2XbHToNU2nqlEfdkwjkRht0+84/gi65LUkZLbsQIws+vCB +b8A== 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=NsSI/0qun9gb9XWatuy+IOnLyrSFZDwV0ZsyFlt0dl0=; b=BcsrOq2r/J6+h434ByIc3IQTdPAyS4xJJdURnfO+WrnSWAdSZ7oUcIbi10LwcgAP1l K8sxzWCF8s2O5po9yoNvlTFcUutJYVP3bplomQuabkShVnSStPshqISKwbzArF9RdiqM x/BZC07UXQ1c77KoAr0Hh/jj2qC3XwvfX2nuHCbSYDpWL3nYNH7G9jul1EeGXU6j/O3T wSfToUoXRirdgirVBtXVrq75+LYholP9HoIGpXMSFA1JWp0oZgLKLsRHDS8dIrqdkN5Z I8iPO9nZj4h+WrdJE6ob4KcFYMoTRqtu/0OdVPKW/rJCViW+WHzFXrxR8BhNjBqP+Eqn X97A== 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 v75si14201989pfd.157.2018.12.03.08.59.03; Mon, 03 Dec 2018 08:59:25 -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 S1726926AbeLCQ6R (ORCPT + 99 others); Mon, 3 Dec 2018 11:58:17 -0500 Received: from foss.arm.com ([217.140.101.70]:42004 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726637AbeLCQ6R (ORCPT ); Mon, 3 Dec 2018 11:58:17 -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 E401A1682; Mon, 3 Dec 2018 08:58:14 -0800 (PST) Received: from edgewater-inn.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.72.51.249]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id B37803F59C; Mon, 3 Dec 2018 08:58:14 -0800 (PST) Received: by edgewater-inn.cambridge.arm.com (Postfix, from userid 1000) id AFE911AE10F1; Mon, 3 Dec 2018 16:58:34 +0000 (GMT) Date: Mon, 3 Dec 2018 16:58:34 +0000 From: Will Deacon 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 , Sudeep Holla , Thomas Gleixner Subject: Re: [RFT PATCH v1 3/4] cpu-topology: Move cpu topology code to common code. Message-ID: <20181203165833.GA27796@arm.com> 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.5.23 (2014-03-12) 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 ++++++++++++++++++++++++++++++++++++ Whilst I'm happy seeing this code moved out, I'd like to have an entry in MAINTAINERS so that somebody can review changes from the arm64 side without having to poll a load of different lists. I assume patches would still go via Rafael and Greg, but if we could have Sudeep added as Reviewer for this file, then I'd really appreciate it. Cheers, Will