Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp56411imm; Thu, 30 Aug 2018 06:56:19 -0700 (PDT) X-Google-Smtp-Source: ANB0VdahgQR5NrAKOS7RkLxfbXWOLseEaAi1HGhyGBN6f0YaLM9OJN8ctvn+LU6fesuVspIV71z1 X-Received: by 2002:a62:9541:: with SMTP id p62-v6mr10804313pfd.194.1535637379093; Thu, 30 Aug 2018 06:56:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535637379; cv=none; d=google.com; s=arc-20160816; b=Xxo9v5xkvl7CBhLFkSOb9eqEGR5/NKaM/6RKiP2pVLvxyezOeM9A2/zWY6NUkdSgN+ yl+SlQoyua6ygPXfb520sOAH6yT1EyQRVkCVQN66JSQ57Sc+hyMceQt9Jm8loF0sdbNG NntnFRXMNtVGEPJOOId+zB7F6acS6goJnPUmSl9/00jFeSu/B2iHMpdTfMbBwLoPvIDd PLD78LDadpJy+xAY8vcY7TRKOixOX+OidsQgAZ+bEHAZ0xJxiy/Q0JXu1mpZgmEaY0ok BDvZq+uhETsH6VcCHrfzuCRn6gPLGLkJQNOmdvqFbfDU6KMJJU+OpiB523Xe6QVJh6jj VmRA== 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 :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=juS6e871XZ58+LgUftX5PbjVfIUEn0MPCHMzjI2hmVk=; b=zr9W8flWpfDDpO6p3dNuMhOywK/Zp7zISaLDNrzg0PDDSQBwbLDxTv8Kg8VNpt797H lGCI74slGcrvK1ROrbRg/HoP3pcS1ucKOYTcJVP7BgcfDQd12qxaITMmfwh62qmV/kNu OoqWwOOuF/cYH/cnGQ/DzCsJly/HcdCLqOKFLXPgymb+vIspAPb0PfX3bCYrNGb9hugK +hTKGPScb3GipDk6LrmgGNzqS9aQBuUJQ5gpAufiJkr5+2Vhc9M79oaNSwUGmBLX2bG3 pD/ogmYLVHxNakW6vAKhzKkmP5rm1HYcBq9oSndVGg4gRCk9vLwqB2aZMvuAWsiAB5iY M7LA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@brainfault-org.20150623.gappssmtp.com header.s=20150623 header.b=CgYayCDw; 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 1-v6si6473646plk.379.2018.08.30.06.56.04; Thu, 30 Aug 2018 06:56: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=pass header.i=@brainfault-org.20150623.gappssmtp.com header.s=20150623 header.b=CgYayCDw; 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 S1729054AbeH3R4H (ORCPT + 99 others); Thu, 30 Aug 2018 13:56:07 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:33227 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728722AbeH3R4H (ORCPT ); Thu, 30 Aug 2018 13:56:07 -0400 Received: by mail-wr1-f67.google.com with SMTP id v90-v6so8171877wrc.0 for ; Thu, 30 Aug 2018 06:53:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brainfault-org.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=juS6e871XZ58+LgUftX5PbjVfIUEn0MPCHMzjI2hmVk=; b=CgYayCDwAdjLogHg+phrmxhSs7T099L94TIfAQKWAB0cHEi+5JuCaYX0XZVD2HDEEn PwM2o4nhLPB8Hpgdi1x5L2hOK3wfxLrq+8IlGjKkLakmhQQMAR+I0J4nwFAtCZ/IoPu0 /zxY17GqL5qjBYGDiKjFhu5575PofznUft2MyOtCSzFDpJV/AB7PMBQLUNb37PLRlLmc ElxQqNRcuSPqTw/nLuXcjpID4U/kCKIKVVzxY27BntetjfXOCbT4I9aDDM9qKOBQcwZQ 0IgcCvBiV0Xa5KUVTuYbeizMVSweY+3OSzcQmHW0liGu33MjOtsO8Ag6lsqVTBmrcki5 UeRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=juS6e871XZ58+LgUftX5PbjVfIUEn0MPCHMzjI2hmVk=; b=WjHNts9AlIybvK+Nh7nVE7KgVSZNeLYbfbbVuJXHWUiwoAOKjuF9FN/VmE3enNFtmL TJlG6uYlZsNUAxa9YDyJTzqRbC/LR7bVO9qLeMqm+CdYgID/rl2qUav2Tg63R0rpy1ws srW6q4hRQgfwmh5lTjOkjRAV8zx/WwlHVE7jy1958iSRe87xND0zbHPQlUe2ojqhT6gg jvY1KpKZs3JB0iWUPJmUmOXzRwPkDWezrQf2jizapTM0ZvYn0DcN6A71xVy+AAR5KsH0 CsR5Qb4qhpqE+Eb1IIAoF4VI3gA/fGKqcnTg8VvMqN4fi6v5AylPVgX/Hf6kCs2LPFBU CKcA== X-Gm-Message-State: APzg51BRRv8MZvLz5dBFK6L7N5Vh0wYdcr1bSZ5bryYd0U1ZDM5R+umd xKS60mbsEoUqx+/etE0uR/3VGFsMnmvSD0uvAgF4/g== X-Received: by 2002:adf:f5c9:: with SMTP id k9-v6mr7658286wrp.59.1535637231491; Thu, 30 Aug 2018 06:53:51 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:adf:9dcb:0:0:0:0:0 with HTTP; Thu, 30 Aug 2018 06:53:50 -0700 (PDT) In-Reply-To: <1535445370-19004-1-git-send-email-atish.patra@wdc.com> References: <1535445370-19004-1-git-send-email-atish.patra@wdc.com> From: Anup Patel Date: Thu, 30 Aug 2018 09:53:50 -0400 Message-ID: Subject: Re: [PATCH v2 0/3] RISC-V: Add new smp features To: Atish Patra Cc: palmer@sifive.com, linux-riscv@lists.infradead.org, Mark Rutland , Christoph Hellwig , Thomas Gleixner , "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, Aug 28, 2018 at 4:36 AM, Atish Patra wrote: > This patch series implements following smp related features. > Some of the work has been inspired from ARM64. > > 1. Decouple linux logical cpu ids from hardware cpu id > 2. Support cpu hotplug. > > Tested on QEMU & HighFive Unleashed board with/without SMP enabled. > > v1->v2: > > 1. Dropped cpu_ops patch. > 2. Moved back IRQ cause definiations to irq.h > 3. Keep boot cpu hart id and assign zero as the cpu id for boot cpu. > 4. Renamed cpu id and hart id correctly. > > Atish Patra (3): > RISC-V: Add logical CPU indexing for RISC-V > RISC-V: Use Linux logical cpu number instead of hartid > RISC-V: Support cpu hotplug. > This series looks good to me. FWIW, Reviewed-by: Anup Patel Regards, Anup