From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 46D24C433EF for ; Thu, 9 Sep 2021 14:12:57 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 8E4E761074 for ; Thu, 9 Sep 2021 14:12:56 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 8E4E761074 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 2AE0E83498; Thu, 9 Sep 2021 16:12:54 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="GEKwZfbS"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 57BA8834A0; Thu, 9 Sep 2021 16:12:52 +0200 (CEST) Received: from mail-yb1-xb35.google.com (mail-yb1-xb35.google.com [IPv6:2607:f8b0:4864:20::b35]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 4168583215 for ; Thu, 9 Sep 2021 16:12:48 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=bmeng.cn@gmail.com Received: by mail-yb1-xb35.google.com with SMTP id k65so4112449yba.13 for ; Thu, 09 Sep 2021 07:12:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=NJ/+j6pRdcOFKUphJq4VzU8B/wK+dbFvyQP3PhxrvMg=; b=GEKwZfbSx9v6R32y/luPnIP4zZzYmWKXBpAxvThBZP/yrOeSe5BpKZmBJKvJoHNvQ6 gQKugE9lfrQcNk/xzcfYDWjcenz6UaqGKRHXeFz0BX1Y+2YJ7SlsnLG68ms8oNdlLOER PMHI3l0n148Asg3OpWxp36jowDCGUIec3bMaUo78+suB0fqSlddC9fSY92bAVHkYuXXm FVhLlFMDTv/8RNbv/zdI9+UtcWImSYBFcXQv2iENIcZY+ETmFOAuYJV1pFbW5/5xVB0J G2AYmZ06kL+tcIrQutnoIboejjc/i+lOINSddf9jr1mdzDSrALcq71XxMrMXh11VXAk+ xphg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=NJ/+j6pRdcOFKUphJq4VzU8B/wK+dbFvyQP3PhxrvMg=; b=h+xCIGsE0cMPUIqC624z8Yff9OFgdOkY8jlpyv4HPcRFoZeMZ5C0S1dQ068qwOsfLO 8gBhSWghlqOv1S0npQaih7mtZjunJ4n8mgl9Jd6aUXHRWghRTyihNLfaFhDNn2uerWlj DIxMODa/PVjKxmiToCDNTKZNUVx1ixflVpRYErGshva0yvYLA/DJ6D5R9MB6KD12GeLr OFU58hUOihPyLGpIMfjqHcN2q7IZpgL2zyNroYquNmGObJR6g31oo8MQQ91cETy2tZR8 po+NCB15maPbC/whY4CSJLmqXFSwzSQ/Hc6r1AZWthe/mmLeBV2IORrzh8kE2nTZPYDd MSVg== X-Gm-Message-State: AOAM531bZtBfOFLbtTwunzteO6wt9mIbHeSceg1Ya/TjvPhUGbzxlNmi 0mc4MYjWnKmfzcHueHxjsOqIjKCoBWIHoAVIFjg= X-Google-Smtp-Source: ABdhPJye+dHNrPEfoAr7ZnCj5YCXBf6qqucjgVNtuNczCAr16CdFvve9Ms8TjRu/rRkheG8PZszwZkK7UtdhUniqfZg= X-Received: by 2002:a25:cfcd:: with SMTP id f196mr4398816ybg.332.1631196766709; Thu, 09 Sep 2021 07:12:46 -0700 (PDT) MIME-Version: 1.0 References: <20210909131135.122132-1-heinrich.schuchardt@canonical.com> <20210909131135.122132-2-heinrich.schuchardt@canonical.com> In-Reply-To: <20210909131135.122132-2-heinrich.schuchardt@canonical.com> From: Bin Meng Date: Thu, 9 Sep 2021 22:12:34 +0800 Message-ID: Subject: Re: [PATCH v4 1/3] riscv: add missing SBI extension definitions To: Heinrich Schuchardt Cc: Rick Chen , Leo , Simon Glass , =?UTF-8?B?TWFyZWsgQmVow7pu?= , Sean Anderson , Green Wan , Chee Hong Ang , Ley Foon Tan , Priyanka Jain , Sebastian Reichel , Siew Chin Lim , U-Boot Mailing List Content-Type: text/plain; charset="UTF-8" X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean On Thu, Sep 9, 2021 at 9:11 PM Heinrich Schuchardt wrote: > > Add the System Reset Extension and the Hart State Management Extension > definitions. > > Add missing RFENCE Extension enum values. > > The SBI 0.1 extension constants are needed for the sbi command. Remove > an #ifdef. > > Cf. https://github.com/riscv/riscv-sbi-doc/blob/master/riscv-sbi.adoc > > Signed-off-by: Heinrich Schuchardt > Reviewed-by: Leo Yu-Chi Liang > Reviewed-by: Sean Anderson > --- > v4: > no change > v3: > add SBI_HSM_HART_STATUS_SUSPENDED, > SBI_HSM_HART_STATUS_SUSPEND_PENDING, > SBI_HSM_HART_STATUS_RESUME_PENDING > v2: > correct constants that were blindly copied from Linux > --- > arch/riscv/include/asm/sbi.h | 39 ++++++++++++++++++++++++++++++++++-- > 1 file changed, 37 insertions(+), 2 deletions(-) > Reviewed-by: Bin Meng