Justin Erenkrantz
Justin Erenkrantz
Another note that we're running into the same issue with freedesktop-sdk on aarch64 - which uses gcc 15 which has branch-protection enabled by default since gcc 14. For reference, that's...
I tested locally with freedesktop-sdk (gcc15 w/ `-mbranch-protection=bti+pac-ret` set) and this patch works well on an aarch64 with `bti` feature. Thanks!
Ack - thanks for the pointer! As I initially thought, this could actually be a code gap rather than a config gap. =) I'll take a peek at trying to...
In digging into this a bit more, it appears that there is already an `up_invalidate_dcache_all` in `litex_cache.S`. If I further look upstream at https://github.com/enjoy-digital/litex/blob/master/litex/soc/cores/cpu/vexriscv_smp/system.h, `flush_cpu_dcache` is defined `0x500F` as flushing...