Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp1554677ybc; Tue, 19 Nov 2019 23:53:24 -0800 (PST) X-Google-Smtp-Source: APXvYqyby1tXM1MWWzVGofwhR4GtyM2d7k0CBL6bmJz/khcaHOCeD4rq6aFqUcHPMvwDAMurSF9A X-Received: by 2002:a17:906:d052:: with SMTP id bo18mr3549408ejb.128.1574236404767; Tue, 19 Nov 2019 23:53:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574236404; cv=none; d=google.com; s=arc-20160816; b=ZD40Mup9b/h4intUrmigYK0k7ayvrAIIyqQXrbgrdUzV19tJHuoxMOeGTvkBy2BfPA lqyXWTIfccuy+ozIj5des4aJF4REwz62t4mwN3h5UZb5JkEZMkt21iCqS0BUd1SrbdX9 6urcRbEiQ4c7VhK7KrzavctNP8LneSgIsrkH+DZLRW/QFgzN9hhtirv3Nv2k/Oh6OPmd iJY+YCzAk2LG1ktuJzt7YO1BtW5mFfZ10jNiuxoF6K8WG5BlULF6L0YiZP49gIBuVjdU QOoOuQSCsmuEcqk9hWxJVna+aWP5FT3jK5hkbZGMNus1qTvKO7X2tLKtjYJrNdG1ROqk V/qw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date:dkim-signature; bh=6RukAU4yfanIMPunVIfuS2B5y73IXuIqDOCI0UMmxkk=; b=TI5TmhmcsZYBlgCpALTa5ulko12KV2X7Jiw3YfYmZR+NhXsyL2PVjYrYwtppbCoSR8 W+iwltAvoxd1RAlj8KCCWtWZ89emHTXmg2bG9dF8XOmSZs+u09GgYiK5tHWgGQrEkjuo 87UD6E038HbBSTF2cMjfidMUPSgRqccNq4ndTqqBVVppoBJlhklNhbh9PrvU1rJq3mp/ KEHFg6TvT0vyI8IqqsNdVimFbhed6XIQV2kLc49oytCnum1pPTh+cSCE5v+7IkX0pCs0 eZlIQzSQ8/iynhp4bvonfucjJezx0C9jDuZrcBysnw0xb/hZPxQ5lHN3pomUPHspQ7Gj TVPg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sifive.com header.s=google header.b=PVO9AuwS; 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 k14si14740079eji.255.2019.11.19.23.53.01; Tue, 19 Nov 2019 23:53:24 -0800 (PST) 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=@sifive.com header.s=google header.b=PVO9AuwS; 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 S1727697AbfKTHv6 (ORCPT + 99 others); Wed, 20 Nov 2019 02:51:58 -0500 Received: from mail-il1-f194.google.com ([209.85.166.194]:36999 "EHLO mail-il1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726529AbfKTHv6 (ORCPT ); Wed, 20 Nov 2019 02:51:58 -0500 Received: by mail-il1-f194.google.com with SMTP id s5so2487911iln.4 for ; Tue, 19 Nov 2019 23:51:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; h=date:from:to:cc:subject:in-reply-to:message-id:references :user-agent:mime-version; bh=6RukAU4yfanIMPunVIfuS2B5y73IXuIqDOCI0UMmxkk=; b=PVO9AuwSNDQnHRLBSNzM0TSp1Zp1SdvCGoDnpyhmu7WVv0zg4E3qxBP4Ve8/VNVG/L BJmtp+MAp8ki3sJjxVhqCnYJUW3LpbQPAm1HaL9HR3wJXMRgD4/iSvOifSbhpC6diMhi r3+Oa7d3zgcFZ4mXlPNh7SlvSrOqWurTkEbpC2SQId3okyPF7qjTOnKhCUqT97c96TI1 4qtDVgfX49hd739zROfni6i/j3qulUrIk78hpZ51UVpieMlW2GGzTtHCtxDkLrUluVHL xB0JPsoUmT/qRMPc9f7NUhpxDibstRYWiLpPC7tEkaOOLYe+0eAutu6AFiXn8s82sA/w N90A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:in-reply-to:message-id :references:user-agent:mime-version; bh=6RukAU4yfanIMPunVIfuS2B5y73IXuIqDOCI0UMmxkk=; b=Kc3R8wj+ofbxKYYZyI2O8PTELqRVskn596NEZdHJ6D/MDDVVazWLofkdr1qVnSmA0j eAy7LvqRUKvve+RMEMhewf/3iGAv4MSqGGdQfTwp6qOdbYNa3vOWTqdjEpOAbj6hM18c Tl3mmkAZWvGnvFEKz8V/P8PZ21C4zyYPU+vBkVcDzgSrB9vm6Az6FdMgTfqxtWNBLElH sfxdQMfpWf8WkvpiwkCCjgvmzWczuwQ8LxZA+1bpbmZIkHBM3MGqHGliRQbZdHzOhWhu LR5hyh3o49ZGNskB89rPnBJsTg12amm3VVnR5yA5DuJqlYhubodeTlBq/L/mXuZ13dHr GZJg== X-Gm-Message-State: APjAAAUF7X8Tu5k0+5XxQ9Hx4fvI+yTkxrIv52QVX9YM5CuW/7xSy9DZ G5E9gsH1+9jgjmmxht2lRSFWhw== X-Received: by 2002:a92:7e18:: with SMTP id z24mr2049781ilc.276.1574236317557; Tue, 19 Nov 2019 23:51:57 -0800 (PST) Received: from localhost (67-0-26-4.albq.qwest.net. [67.0.26.4]) by smtp.gmail.com with ESMTPSA id f2sm4719623iog.30.2019.11.19.23.51.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Nov 2019 23:51:57 -0800 (PST) Date: Tue, 19 Nov 2019 23:51:56 -0800 (PST) From: Paul Walmsley X-X-Sender: paulw@viisi.sifive.com To: Atish Patra cc: linux-kernel@vger.kernel.org, Albert Ou , Alexios Zavras , Allison Randal , Anup Patel , Gary Guo , linux-riscv@lists.infradead.org, Mao Han , Mike Rapoport , Palmer Dabbelt , Christoph Hellwig , Jonathan Behrens Subject: Re: [PATCH v3 0/4] Add support for SBI v0.2 In-Reply-To: <20191118224539.2171-1-atish.patra@wdc.com> Message-ID: References: <20191118224539.2171-1-atish.patra@wdc.com> User-Agent: Alpine 2.21.9999 (DEB 301 2018-08-15) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Atish, On Mon, 18 Nov 2019, Atish Patra wrote: > The Supervisor Binary Interface(SBI) specification[1] now defines a > base extension that provides extendability to add future extensions > while maintaining backward compatibility with previous versions. > The new version is defined as 0.2 and older version is marked as 0.1. > > This series adds support v0.2 and a unified calling convention > implementation between 0.1 and 0.2. It also adds minimal SBI functions > from 0.2 as well to keep the series lean. > > [1] https://github.com/riscv/riscv-sbi-doc/blob/master/riscv-sbi.adoc > > The base support for SBI v0.2 is already available in OpenSBI v0.5. > This series needs following additional patches in OpenSBI. > > http://lists.infradead.org/pipermail/opensbi/2019-November/000704.html > > Tested on both BBL, OpenSBI with/without the above patch series. Just based on a quick look: All of the patches in this series add warnings reported by 'scripts/checkpatch.pl --strict'. Could you please fix and repost? Also: could you rebase these patches on top of the current RISC-V for-next branch? There are some significant conflicts after Christoph's nommu work. We'll wait to send these upstream until the SBI v0.2 spec is frozen, but in the meantime, it'll be good to get these into the experimental branch. thanks, - Paul