Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp5115667imw; Tue, 19 Jul 2022 21:56:32 -0700 (PDT) X-Google-Smtp-Source: AGRyM1slK3Ag15CEe33NjIQxK9dMjYmBWRnRGDPFiwKtEcl5ENVsMHz9I3wo2DOcfSYSPOVhNvEQ X-Received: by 2002:a63:84c7:0:b0:41a:6647:b3b6 with SMTP id k190-20020a6384c7000000b0041a6647b3b6mr1082170pgd.27.1658292992068; Tue, 19 Jul 2022 21:56:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658292992; cv=none; d=google.com; s=arc-20160816; b=Ml8xoS7C4OpKXnD7FyKPn8DhoFxmrIE5ejYjjtW/oOtDy21al3NHw6ZSKKZwOYkYbS XOeR0c29e64MD+0RoGkmoKTI1DM1iOzhnb5ff9mnMn95dnfIBBcB7R7mWhHs5r+HUl5H eFn3NAvROwQOVuXJ16TL6o/n8wKF/wy1MWLo9jjdEB6fxkbJkEXs3H1D7p2sXwjaPCGp 8eQMT/u1B92rAsG2CW4q4dgNwVKGl9896egH6WVyj9PqvAJL3vFJYG+3JzlxXyFcEfmd A6+RE3lb9bxEM8RwHCzVQJsxxjQ/P1np/NIpsELmthP7qAOqEdL3cBoZEGwwmKj87lXU b3Fg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:to:from:cc:in-reply-to:subject:date:dkim-signature; bh=VtF9+07gASHhrIu6wD3FN1xOsSjHByW20JZ9pcO8ds0=; b=XBozQpXWRTL7QLEhtZxeGkwShc9b77HfAL9XWpIu6/7ZRP1NxifaG2VOLOYg8dqxQi NjWfuhrIz4CFhOdws20xf2MWEyCuBHve0kvE/wjwkCP+BTPIXJid4YCOU1cPMPYtLI1e /l0N4Pny0gp4QFfo8LSYNn3Yna9pgClL901xwjyZoqDQ323a+w1AP0meuqTxLnSxyet0 H9L40+LW+bi2dbIlOPm5LHlg/+MqX52aOfxgDQJiojuMNolQZjliVpk/G+BXvbCanrpH On1Mw/lCqsOMTh21RCMvhCj4I66mfjnfPrDYDo8c30r1NgI3rUNrHGTMkCZRtEGjYwef TgWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@dabbelt-com.20210112.gappssmtp.com header.s=20210112 header.b=fjQHDQLq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a31-20020a630b5f000000b00415ff45dce3si15002701pgl.839.2022.07.19.21.56.17; Tue, 19 Jul 2022 21:56:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@dabbelt-com.20210112.gappssmtp.com header.s=20210112 header.b=fjQHDQLq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238057AbiGTErC (ORCPT + 99 others); Wed, 20 Jul 2022 00:47:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51606 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229806AbiGTErA (ORCPT ); Wed, 20 Jul 2022 00:47:00 -0400 Received: from mail-pf1-x42c.google.com (mail-pf1-x42c.google.com [IPv6:2607:f8b0:4864:20::42c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 672BD5B066 for ; Tue, 19 Jul 2022 21:46:58 -0700 (PDT) Received: by mail-pf1-x42c.google.com with SMTP id c3so14601029pfb.13 for ; Tue, 19 Jul 2022 21:46:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dabbelt-com.20210112.gappssmtp.com; s=20210112; h=date:subject:in-reply-to:cc:from:to:message-id:mime-version :content-transfer-encoding; bh=VtF9+07gASHhrIu6wD3FN1xOsSjHByW20JZ9pcO8ds0=; b=fjQHDQLqh1A1CvsX2jafefzTGE36QKfdh3Qilgur+BwmX5uXp/iLBU4QybnFkKJVmG pNABvDJrsAlwuXpzvTuIT5usg1eR++fZZZDamrFa8h3thcwUlBZnsOBf1ZmrICn3YSTj T0Kcbxh3rIDHWJhYw3iXXLT9ja0KNaFgSGnuvEtGxH4R/1Yh/BHxeozZpnxsnFbA1soR CDjSmGCruHE6nPmvn3/nPRAo6knbDZsoTXhw1FiwBGAm7jrQynzd6Eef+IE5+7qEdZPq F9/35voq1+L1YkK0ibuaWgdnaDue1kGCBYqcebE+hQUo1D55mIvHYG0osACVHYXl0rGL uCag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:subject:in-reply-to:cc:from:to:message-id :mime-version:content-transfer-encoding; bh=VtF9+07gASHhrIu6wD3FN1xOsSjHByW20JZ9pcO8ds0=; b=2SJgSPsBNwxpuUBdOWBUS3O9AArPL+9jh+5JStkAJZpess/Lk8EGlECOmihUGaTZYO x7P/9AjT3Qdp+CpZDVsNE3/HDbI12HgKmd5BQJX/u/OCYIlwJgev/r2WgTgVaOPkaNi6 TFZ47SY0JlUWPDdSAjUIcemxOBx+6NcMNBwTm2MGhb4gy9DYlj7xEmhVIsT+b065lrnF wzyiPhlDrMFl1rKYu9cEWHTkfWT0C82cjNB0kXrUpbOZ1/wKpj54H2bmfKD0IF5GvBHr kfNmbc/xkKik3brc3NHEVUBgNOWJIeeSUoQTc9+B+Oh6W91pFnm4WfW7MxTgU6ul7yq9 Xbiw== X-Gm-Message-State: AJIora8bo65cvgZjUtT4YWNj5eo/oahqjynJNWIgnrhdQHfzdMIO2EJO IN7dLL5Z+qBAK+s3CDA8jn/bzw== X-Received: by 2002:a05:6a00:134e:b0:52a:d5b4:19bb with SMTP id k14-20020a056a00134e00b0052ad5b419bbmr37009701pfu.45.1658292417692; Tue, 19 Jul 2022 21:46:57 -0700 (PDT) Received: from localhost (76-210-143-223.lightspeed.sntcca.sbcglobal.net. [76.210.143.223]) by smtp.gmail.com with ESMTPSA id i5-20020a17090a4b8500b001f0097c2fb2sm481628pjh.28.2022.07.19.21.46.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Jul 2022 21:46:56 -0700 (PDT) Date: Tue, 19 Jul 2022 21:46:56 -0700 (PDT) X-Google-Original-Date: Tue, 19 Jul 2022 21:16:19 PDT (-0700) Subject: Re: [PATCH V3 0/5] Support for 64bit hartid on RV64 platforms In-Reply-To: <20220527051743.2829940-1-sunilvl@ventanamicro.com> CC: Paul Walmsley , aou@eecs.berkeley.edu, daniel.lezcano@linaro.org, tglx@linutronix.de, ardb@kernel.org, Marc Zyngier , Atish Patra , heinrich.schuchardt@canonical.com, apatel@ventanamicro.com, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, linux-efi@vger.kernel.org, sunil.vl@gmail.com, sunilvl@ventanamicro.com From: Palmer Dabbelt To: sunilvl@ventanamicro.com Message-ID: Mime-Version: 1.0 (MHng) Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 26 May 2022 22:17:38 PDT (-0700), sunilvl@ventanamicro.com wrote: > The hartid can be a 64bit value on RV64 platforms. This series updates > the code so that 64bit hartid can be supported on RV64 platforms. > > The series has been tested on both RV32 and RV64 qemu platforms. > > Changes since V2: > 1) Modified commit messages to mention RV64 and add RB tags. > > Changes since V1: > 1) Updated RB tag for PATCH 1 and PATCH3 > 2) Type Casting NR_CPUS before comparing with hartid in PATCH 2 > 3) Changed commit message of PATCH 2 to provide details about > the bug it is fixing. > 4) Updated PATCH 5 for unaligned 64bit read > > > Sunil V L (5): > riscv: cpu_ops_sbi: Add 64bit hartid support on RV64 > riscv: spinwait: Fix hartid variable type > riscv: smp: Add 64bit hartid support on RV64 > riscv: cpu: Add 64bit hartid support on RV64 > riscv/efi_stub: Add 64bit boot-hartid support on RV64 > > arch/riscv/include/asm/processor.h | 4 ++-- > arch/riscv/include/asm/smp.h | 4 ++-- > arch/riscv/kernel/cpu.c | 26 +++++++++++++---------- > arch/riscv/kernel/cpu_ops_sbi.c | 4 ++-- > arch/riscv/kernel/cpu_ops_spinwait.c | 4 ++-- > arch/riscv/kernel/cpufeature.c | 6 ++++-- > arch/riscv/kernel/smp.c | 4 ++-- > arch/riscv/kernel/smpboot.c | 9 ++++---- > drivers/clocksource/timer-riscv.c | 15 +++++++------ > drivers/firmware/efi/libstub/riscv-stub.c | 13 +++++++++--- > drivers/irqchip/irq-riscv-intc.c | 7 +++--- > drivers/irqchip/irq-sifive-plic.c | 7 +++--- > 12 files changed, 60 insertions(+), 43 deletions(-) Thanks, this is on for-next.