Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp265162imm; Tue, 25 Sep 2018 21:17:28 -0700 (PDT) X-Google-Smtp-Source: ACcGV61EWjjM/bFMVktqSBVncMtpcajDQ80QAlBlEIK2z4o+r3H1HT60+4bCHEVQyjz7oSmqYJ4y X-Received: by 2002:a17:902:5a0f:: with SMTP id q15-v6mr4073887pli.253.1537935448510; Tue, 25 Sep 2018 21:17:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537935448; cv=none; d=google.com; s=arc-20160816; b=E9RZ54HkHrJ6KAABKgLhaRqCzqcRKC4FdIq5jgNcIjB4Uv0X+SRxSyJhw6jt0CO3Kd BIdYgOT8aVGmb3/IdRC2ENy3+sZDbO9vPbraLnTNlSCUYCf8lz4bCyW6wIvl6KmaGWSU NwZSOd7VW1+WhtXXsBmGEbHTKGlYx3Sl2n9LigX4hVnEJBgF2MjqhB47C5Yiso1aMT4x I7lfrRewQ6Obu10kfiUoJFsqXaiux9p5u97bexCM+4uHpXwpTtFLRTVpsGOv+gxV8b0r 6kusBdBhwBfpqu+ySOIp+CoWM0L5idLKCN5N8bBCSDncpX1lmXNk+OJDE562qX+5KCaz W2ng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=oqLycqIGwEmchXvmKuBrd2D6JWsajBs4luqysWC9dxI=; b=d4PpfZ0H+ZTy8LtarzbB2mQ4q6T+8mRIjkfRkzv7ZPesyFKIUwtfjS4ElRm6c0H5py 7im0sXs0uNLyiTKiSdxKjVxseLPTDkJwoH/tO1vQV18L1A8lWxEdMjngrfTMhqwSGtTp ZUNZtk52FNd0RUgpwIVAOSj0z7ybyxLZWBKabJYfjlHfaTucXRlgFe67uIVKXUYZQA4F C2yk6hRCeO9vbfV8/FwaKuqr+S/90xI0Thk4dfN2+6dwnFzrtGtPp4Hpb5FZiEtBkCYr B7uDk4tf7biaDg8hOBgCEq9LGZqN3I7Av+totiuhyULnUXuGSR7t8NW82azRueKJM5Vp 0HGg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@brainfault-org.20150623.gappssmtp.com header.s=20150623 header.b="ANuk40/o"; 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 q23-v6si4029859pgq.483.2018.09.25.21.16.58; Tue, 25 Sep 2018 21:17:28 -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=pass header.i=@brainfault-org.20150623.gappssmtp.com header.s=20150623 header.b="ANuk40/o"; 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 S1726421AbeIZK1s (ORCPT + 99 others); Wed, 26 Sep 2018 06:27:48 -0400 Received: from mail-wr1-f68.google.com ([209.85.221.68]:41096 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726175AbeIZK1s (ORCPT ); Wed, 26 Sep 2018 06:27:48 -0400 Received: by mail-wr1-f68.google.com with SMTP id j15-v6so21343346wrt.8 for ; Tue, 25 Sep 2018 21:16:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brainfault-org.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=oqLycqIGwEmchXvmKuBrd2D6JWsajBs4luqysWC9dxI=; b=ANuk40/oKxvEFqgGRefMDb0IClRhoVovhDoQweCJAthTo00OJIrRTJLThwNymQxAcM KUYx99f4NP0dMAK7aeDxOKk9B7cOHdR9obi7i8+tgqdZSNHSp1Y5zMBbLi/eIOaoTtGt HwI25Ypzurd03kQPB/4mVPY+01170tjsxcDh2lAMjclskYvpIdGAgucXfLxRQItNqy9C e+6rQId4qKb3jz1W1h2s2HIu3bcPzYT3YnyAHC91LS2yRcmFSeE+B8rXSq1D1kFkcC5U ybP4DVJZyi2KE28wkj75RmFuGJWEFy1dda7aBfLD9bzrGWrBIJivbucmbpSNVHiNufWO VKjg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=oqLycqIGwEmchXvmKuBrd2D6JWsajBs4luqysWC9dxI=; b=tCWpk3yi9RKwFKc4T1sxoQnWPN/Cq6BF23OMAf8FC3mE3/a/lzluiiDqp2J+BKbhLr UCA61TbDLcSJZb01A2kyO0B+tvclrHwqlGlMYjba53rvwnFL420En9IfTCN7L3THJ4ju stIdGqiaDKwEET+qE/WMG3Z5vKcDi3m0si4IiYGsZeYvySU/Psy2u+l5XfnyI9Zzc47D YxzR9e8zMB4mlnL5SCOHPNKjGdG+gTAepQEuFNYxnB62j1i07IVvQk8Q3cp1vXHtC59v 8Zq2Emrp5t1fwOtx+1klUVyURMR4q/tQ+uuJPTwDX1iICXgCcrMvOV1qwjaG//+vOnZJ kXTQ== X-Gm-Message-State: ABuFfohdXahtOIo3QBmQHUHLzhpv3R8XmHZ96UBZhcjt9Ehi0wpEC8lY J9mqkb933YkZ3i9HA4Z4P5hcAA8WSOK46NjN2h9pSA== X-Received: by 2002:adf:c554:: with SMTP id s20-v6mr3138812wrf.46.1537935411755; Tue, 25 Sep 2018 21:16:51 -0700 (PDT) MIME-Version: 1.0 References: <20180923133737.22693-1-anup@brainfault.org> In-Reply-To: From: Anup Patel Date: Wed, 26 Sep 2018 09:46:40 +0530 Message-ID: Subject: Re: [PATCH v2] RISC-V: Show CPU ID and Hart ID separately in /proc/cpuinfo To: Atish Patra Cc: Palmer Dabbelt , Albert Ou , Christoph Hellwig , linux-riscv@lists.infradead.org, "linux-kernel@vger.kernel.org List" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 25, 2018 at 11:29 PM Atish Patra wrote: > > On 9/23/18 6:37 AM, Anup Patel wrote: > > Currently, /proc/cpuinfo show logical CPU ID as Hart ID which > > is in-correct. This patch shows CPU ID and Hart ID separately > > in /proc/cpuinfo using cpuid_to_hardid_map(). > > > I noticed it should be cpuid_to_hartid_map instead of > cpuid_to_hardid_map. It was a typo in my smp cleanup patch series. > Sorry for the inconvenience here. Thanks for pointing. > > I can include this patch in into my series fixing the typo if you want. Yes, please. You can also include "RISC-V: Show IPI stats" patch in your series. This patch was reviewed by Christoph. Thanks, Anup