Re: [PATCH v3 11/12] RISC-V: Use Linux logical cpu number instead of hartid

From: Christoph Hellwig
Date: Mon Sep 10 2018 - 07:29:16 EST


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 <atish.patra@xxxxxxx>
> Reviewed-by : Anup Patel <anup@xxxxxxxxxxxxxx>

Same whitespace issue here.

Otherwise looks fine:

Reviewed-by: Christoph Hellwig <hch@xxxxxx>