Re: [PATCH v3 0/4] Add support for SBI v0.2

From: Paul Walmsley
Date: Wed Nov 20 2019 - 02:52:00 EST


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