[U-Boot] [PATCH v2 16/29] riscv: invalidate the instruction cache before jumping to Linux
Bin Meng
bmeng.cn at gmail.com
Wed Oct 31 02:14:00 UTC 2018
On Tue, Oct 30, 2018 at 8:57 PM Lukas Auer
<lukas.auer at aisec.fraunhofer.de> wrote:
>
> RISC-V does not guarantee that stores to instruction memory are visible
> to instruction fetches (i.e. incoherent instruction caches). Invalidate
> the instruction cache to ensure the kernel function pointer points to
> the correct memory location.
>
> Signed-off-by: Lukas Auer <lukas.auer at aisec.fraunhofer.de>
> ---
>
> Changes in v2:
> - Clarify reasoning behind patch in commit message
>
> arch/riscv/lib/bootm.c | 1 +
> 1 file changed, 1 insertion(+)
>
Reviewed-by: Bin Meng <bmeng.cn at gmail.com>
More information about the U-Boot
mailing list