[PATCH 2/2] platform/ae350: Initialize Coherent Manager as early as possible

Jessica Clarke jrtc27 at jrtc27.com
Wed Sep 22 19:36:06 PDT 2021


On 23 Sep 2021, at 03:29, Leo Yu-Chi Liang <ycliang at andestech.com> wrote:
> 
> Coherent Manager will guarantee cache coherency as well as
> the correctness of atomic extension instruction on Andes 45 series on ae350.
> 
> This feature needs to be enabled before the first
> A extension instruction, thus initialize it as early as possible.

Why should this be OpenSBI’s responsibility, rather than in whatever
firmware you have running before OpenSBI that does whatever low-level
platform initialisation is needed like DRAM training (which so far has
been kept out of OpenSBI)? This kind of thing makes it impossible to
use a generic OpenSBI image, unlike other platforms that have moved
towards supporting that. Especially as you explicitly mention U-Boot
here, its SPL is the ideal place for this kind of thing, not in OpenSBI.

Jess




More information about the opensbi mailing list