Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp5549830yba; Wed, 10 Apr 2019 23:59:13 -0700 (PDT) X-Google-Smtp-Source: APXvYqz3xqE0al3JngE+O5AmCWy6ot2Tz1KeVleDGXVgYuB7O8BtvOMyhK+cfNgkbIQ5pRygtfGt X-Received: by 2002:a62:61c2:: with SMTP id v185mr48499407pfb.117.1554965953149; Wed, 10 Apr 2019 23:59:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554965953; cv=none; d=google.com; s=arc-20160816; b=lrdVWIfwdIXV5ZmyW8zp/MY3k+6NjVTrNYAQGlfR8QjLrJGTLMKxl+yLxKbjMQnLy+ rrjFVfXQNvu98QiYI3R+oH51nXX+KqHwf2M2fG/NVSER5zrHqh+XAZhYCebX/aJoe2Q5 Ck6cGM0mMvlLLgD+E4Pv7Zs6tvjbBYQpJddsdnoaIyfHa+1iOSfoEGLA9Kk3yU2dsxvy o8v2BSxkwu0MQNoYJJ/Uw2DamHKr8iOhMs35DbBsLGbX9wcI1EV6P33gzhiq3OXJsZiA aFB60ydwyiY4tQ1HYtsxsuSQ4fzl8A+7EaprH3idNTJ/SWBLpEb1JZYKqnTsgQTwbDaK wbgw== 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:dkim-signature; bh=993uO4zGCVdKb6icRldb2NUjy7/3iNlkThDi2dmCT38=; b=pS7LhRESWEMuXDrpXolnfmkLdYW6AFgEs0g1aDu5AAB1RyZcz2p+1smZpPMngk263I GYMp9pXHWw3f69i7N1PXEwVT6jKR5Qcszz/GsBUf8uw8Zcwpn9NhGNwhNJJKswi4ckXu P4oqSeUdbS8gYrVuWT+KycnO8DwssZ6NPBd6kmGtf4BmpBZ10lTWHMKTqUEqMwz4nX8A KThVcE2IE2kZBi+ZRXmPMLIg8kUlzN4VGoVAlNMOxhJ01wGEUd+hu9RTEpVaMw+lp/j0 SN+G3uOP3AWXy6XUjsW3T49FHmt2FUeb7BILk/iF0B3b64Dm1JFD57q2gA0XcmOZbc2a 9v3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=OOhQZevJ; 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 70si4728254pla.82.2019.04.10.23.58.57; Wed, 10 Apr 2019 23:59:13 -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; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=OOhQZevJ; 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 S1726788AbfDKG6K (ORCPT + 99 others); Thu, 11 Apr 2019 02:58:10 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:52456 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725783AbfDKG6K (ORCPT ); Thu, 11 Apr 2019 02:58:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=993uO4zGCVdKb6icRldb2NUjy7/3iNlkThDi2dmCT38=; b=OOhQZevJHJ+ZEk4XXQXIwH421 zpnIH/77Q40NEJ6N7mW24gojoRNupyHQXinT1/mzEOikZydis7W01EnFwgMwZsd5MoLMXfE62el5x Wz+b1l4UddW/UZTSkGaR5lJPFabdzBp3iyfhb7N9YawTlUpb+WjReG+me/SmxnvkB3H48hhIj75zp PzPyymlfnzGLOrWUJfhHkjgmfQdYp6qLjFkDWT9ks9/CUDVKaSdkIRBbOVe3CYsie2Jv36K/ltMr2 66q3BsgflxkPIj5eIZ6zb81lPX+GS9mi2YV1Z6CYjaAOvPHQzI8w+qcknCIlJAC3yvN4haRRJbkPw W2XKC84CQ==; Received: from hch by bombadil.infradead.org with local (Exim 4.90_1 #2 (Red Hat Linux)) id 1hETez-0001di-AU; Thu, 11 Apr 2019 06:58:09 +0000 Date: Wed, 10 Apr 2019 23:58:09 -0700 From: Christoph Hellwig To: Atish Patra Cc: linux-kernel@vger.kernel.org, Albert Ou , Andreas Schwab , Anup Patel , Dmitriy Cherkasov , Johan Hovold , linux-riscv@lists.infradead.org, Palmer Dabbelt , Paul Walmsley Subject: Re: [PATCH v2 1/4] RISC-V: Add RISC-V specific arch_match_cpu_phys_id Message-ID: <20190411065809.GB29422@infradead.org> References: <20190410230443.15729-1-atish.patra@wdc.com> <20190410230443.15729-2-atish.patra@wdc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190410230443.15729-2-atish.patra@wdc.com> User-Agent: Mutt/1.9.2 (2017-12-15) X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 10, 2019 at 04:04:40PM -0700, Atish Patra wrote: > OF/DT core has a hook for architecture specific logical cpuid to hartid > mapping. By implementing this, we can pass the logical cpu id to cpu > node parsing functions. But that also means we must pass it that way. So as-is this would break existing setups, wouldn't it?