Received: by 2002:a4a:3008:0:0:0:0:0 with SMTP id q8-v6csp3640897oof; Mon, 10 Sep 2018 18:36:44 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbP3gCsX2P5oqzQSOTgASuZlP7XToLit7BPxYlZ1L+zfjrqKnLr9eq4+oGuct8GtlV1LYF7 X-Received: by 2002:a63:a619:: with SMTP id t25-v6mr25432455pge.288.1536629804721; Mon, 10 Sep 2018 18:36:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536629804; cv=none; d=google.com; s=arc-20160816; b=ir7ewf0/d6SzPlOYQQ+ep9AgfmlxaKmNszOP7rR9VBuhCmrqJWUGIrQsjGTzJrt07c 1I29/Fd2oQdICbglydadZbcvho6ZG7pUmxMXaX9oE1Yk1BIIfcD0eHmTG0qpxD+Cys80 /JTWn5/VHhj5K6ewryFunjkcM/3rGu8QbrFVNCYsyMT9hyFRU0T66gNoE+8g5lb0aQnK lxu7QoiFLqT9FlYlRD1Q33E2jGUTxv16CAoj/xkwVaJ/ekQucYtzQUCPFmoZ88SZ0TA0 uXehrwt3LLlljNqAYnO8tGFJnL17PQUSZEWsILeg91cGfNzwv0+jaAm05TD1iHuJDnSt fScQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=zqmJyFFKiToWyke2c1c0XcI6lzBd3IycmxYxNgLhNmg=; b=ZdJkPFjPg8eipdD4TdryBZkF1XaWfu0whAu/iSExZ/iVxRbWtt4SkxsjHkDfOQ33Id xmNcHWga6xw3MwD5AustIFSNn8ffXVyAA/2XgSZguHTT+UsJ89cwOAJe5Xn9YzQfHJUj cO5OB2GVqvvOfMnUGeGHrW5KSWT/H3P9nDflNU2rbZMpyfD19wWHB1O2aSxA2nAKHSkc +AQ2e1XnI9KNuVbbNZzrOnKDi2rtU2Aywn60NCGc2/bW5h/gQOssKdV3N6P+p7/zMbui ynKPDmoC61+rXAitk/MJueyAF+Zr1vjlzY22vDQ5B3sU9962hD9/3uU4hDKb2a0/awG1 u5lQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=oOA6omwx; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=wdc.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e14-v6si19126820pgj.413.2018.09.10.18.36.28; Mon, 10 Sep 2018 18:36:44 -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=@wdc.com header.s=dkim.wdc.com header.b=oOA6omwx; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=wdc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726525AbeIKGcd (ORCPT + 99 others); Tue, 11 Sep 2018 02:32:33 -0400 Received: from esa2.hgst.iphmx.com ([68.232.143.124]:28782 "EHLO esa2.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726251AbeIKGcd (ORCPT ); Tue, 11 Sep 2018 02:32:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=wdc.com; i=@wdc.com; q=dns/txt; s=dkim.wdc.com; t=1536629766; x=1568165766; h=subject:to:cc:references:from:message-id:date: mime-version:in-reply-to:content-transfer-encoding; bh=t8WzOVrur58FnJP3QkWrZgQaYaMd2pfBAcp/YCH0S0c=; b=oOA6omwxPfWb+RUcPfm2l/Af/JGwU2d9p+Q/g9p2TYQ6LFGTjnYlsDwL LxLQBU0tPiGC4CM7VZv8pRBQooS3ZTqv4gCP+tjuJOiw3ja+3Txqhlr1v nkINZtgbAY8G39Q3PnRYvXKwy3+J2DuZFwFMs0uf3LoEcx3ikh5oSxI7q rb9Rne/P6Jlp52xPBxlPx0VUyBN8O9Ce3MkfDQ0xlBPErptP1p3MTJ6aT TqsrnXC8zC6eijdW/3eHBmHmrAA7HtRrqG2akKNgyhY+uufn+r+vZriEw tGFu6TM0NH1rPRPtqZXqhjl2kFuUnlS7QgY9Lcha43rkul7HccLpQVl51 Q==; X-IronPort-AV: E=Sophos;i="5.53,358,1531756800"; d="scan'208";a="187006326" Received: from uls-op-cesaip01.wdc.com (HELO uls-op-cesaep01.wdc.com) ([199.255.45.14]) by ob1.hgst.iphmx.com with ESMTP; 11 Sep 2018 09:36:06 +0800 Received: from uls-op-cesaip02.wdc.com ([10.248.3.37]) by uls-op-cesaep01.wdc.com with ESMTP; 10 Sep 2018 18:22:21 -0700 Received: from c02v91rdhtd5.sdcorp.global.sandisk.com (HELO [10.196.159.148]) ([10.196.159.148]) by uls-op-cesaip02.wdc.com with ESMTP; 10 Sep 2018 18:35:46 -0700 Subject: Re: [PATCH v3 11/12] RISC-V: Use Linux logical cpu number instead of hartid To: Christoph Hellwig Cc: "palmer@sifive.com" , "linux-riscv@lists.infradead.org" , "anup@brainfault.org" , "mark.rutland@arm.com" , Damien Le Moal , "jason@lakedaemon.net" , "ard.biesheuvel@linaro.org" , "marc.zyngier@arm.com" , "gregkh@linuxfoundation.org" , "dmitriy@oss-tech.org" , "linux-kernel@vger.kernel.org" , "jeremy.linton@arm.com" , "catalin.marinas@arm.com" , "tglx@linutronix.de" References: <1536221135-182613-1-git-send-email-atish.patra@wdc.com> <1536221135-182613-12-git-send-email-atish.patra@wdc.com> <20180910112909.GJ12979@infradead.org> From: Atish Patra Message-ID: <517a8d3f-afb4-faa9-2acf-458d1a23bd21@wdc.com> Date: Mon, 10 Sep 2018 18:35:45 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20180910112909.GJ12979@infradead.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 9/10/18 4:29 AM, Christoph Hellwig wrote: > On Thu, Sep 06, 2018 at 01:05:34AM -0700, Atish Patra wrote: >> Setup the cpu_logical_map during boot. Moreover, every SBI call >> and PLIC context are based on the physical hartid. Use the logical >> cpu to hartid mapping to pass correct hartid to respective functions. >> >> Signed-off-by: Atish Patra >> Reviewed-by : Anup Patel > > Same whitespace issue here. > > Otherwise looks fine: > > Reviewed-by: Christoph Hellwig > Fixed. Thanks for the review. Regards, Atish