Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp264517yba; Wed, 24 Apr 2019 00:21:20 -0700 (PDT) X-Google-Smtp-Source: APXvYqxOPxfUIHZr8n6t18rnq6coZoXV7qz7S0PrQxp7TYH8yMk41H1o3fVow3sEF08kxUeaH5BR X-Received: by 2002:aa7:9e5b:: with SMTP id z27mr9851622pfq.186.1556090479921; Wed, 24 Apr 2019 00:21:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556090479; cv=none; d=google.com; s=arc-20160816; b=sWPXLBgEy6KeyXryAFKwiDo4i1cpRnNnbM77LJsiWm3OxqjnChbjHtDXQTXwzkspmt 2XPJFTsyGh+hRrxjRd5WjUHQYMmgJQsyUisAH3gIQdISoTlAhacC+WBu3WVsjlviF1NA O4PBDaWxNJqmYrz7ev8jLfLkTU8s8rgRZXk4+SJTKphi2l0fOOdbOJ7ldOIOcXnydsC2 XQ4iNc7Pz+oUKjisDs5MX14fr3/Q5cXay2Ql3fXupZ1ALTqLMNkOlIJ0nGjS/3j4Z7Vw F2/sXPKjs99XbJMlaayNn9rS2yhgGMeAYAjxzblX/JQ2qt7IHRVZuCnEQl0iz8yZ9gEZ L49A== 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=1Fv91G1W6r/Keg5N/of7tsmV7rm01oISNszMPhG9TTg=; b=QC9/ipjZpbejtjZIusAKdTatBHziGG8+mBy2x+srnI+f5VKhyEd52+5zmZwoQSH2bF /SMc3sgGvf0/RCm/b4s7ZyjT4BE/1WZBGUZF7PUoH4LcNNnzSPIiua8ZmjsblCpOrkKc 5gcF90MLnP/bNAX5xZMvDECHRliwmYAueqd1SxCq4rmOBBjswhbciMncKcifDC3+2gIM /RpKGMF6elK+qyEUICzkxaZGOXLs7s6e8GRrGbrq7D/BSD8/OPatie7MVD7PJRoSc4oH IijPVpzehG456tUFx7m65V/SMP2Tgc7albiu7/56Um3olG7kcZSm0TKvFjl+FzMLpnQs Oj4A== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=KHOIjA9w; 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 f63si18318654pff.107.2019.04.24.00.21.05; Wed, 24 Apr 2019 00:21:19 -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=KHOIjA9w; 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 S1729780AbfDXGVB (ORCPT + 99 others); Wed, 24 Apr 2019 02:21:01 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:47134 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726002AbfDXGVB (ORCPT ); Wed, 24 Apr 2019 02:21:01 -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=1Fv91G1W6r/Keg5N/of7tsmV7rm01oISNszMPhG9TTg=; b=KHOIjA9wNM6KLQKnbLEQhxzQc 970lfTr8yiNNsEtFifLbQgeX9Mw7DHJkGsmFrZxsv6Mxlg04g7CPFZwFVWsztwmnCtbKjOIVHP9Xp AHpdo0+DdiLYObIjUv9c1wIp5uFjQOkPqkNjX5D5cdKb9X7DHVKAw4wYWc2TLO7WmRCA9Re5Jult6 tdurpsXV0dfiSeRy9P31Ka1qmszHCQVh162oVIf8m8BUdaLxR59V+cTo+dPOQAPHc80D8r9/PMVON dGU1PC6UxeEm4xMgoCxJdGA2EMIrzOs7/l6pxPWpKP+VDUWMqzQPU+v+B/ZnvBAazLVuVmf2Q9qLN R3uDnE++Q==; Received: from hch by bombadil.infradead.org with local (Exim 4.90_1 #2 (Red Hat Linux)) id 1hJBHA-0002I3-OL; Wed, 24 Apr 2019 06:21:00 +0000 Date: Tue, 23 Apr 2019 23:21:00 -0700 From: Christoph Hellwig To: Atish Patra Cc: linux-kernel@vger.kernel.org, Albert Ou , Dmitriy Cherkasov , Anup Patel , Palmer Dabbelt , Johan Hovold , Christoph Hellwig , Paul Walmsley , Andreas Schwab , linux-riscv@lists.infradead.org, Thomas Gleixner Subject: Re: [PATCH v3 1/3] RISC-V: Add RISC-V specific arch_match_cpu_phys_id Message-ID: <20190424062100.GB3902@infradead.org> References: <20190424000227.3085-1-atish.patra@wdc.com> <20190424000227.3085-2-atish.patra@wdc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190424000227.3085-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 > } > + > +bool arch_match_cpu_phys_id(int cpu, u64 phys_id) > +{ > + return phys_id == cpuid_to_hartid_map(cpu); > +} > /* Unsupported */ Please keep an empty line after function bodys. Otherwise looks good: Reviewed-by: Christoph Hellwig