W dniu 13.11.2023 o 18:55, Marcin Juszkiewicz pisze:
W dniu 13.11.2023 o 18:23, Andre Przywara pisze:
But using runtime checking for flexible platforms was the plan all along. We did the groundwork for the FVP, feature by feature, check commit 6503ff2910ae5ed for an example. For all flexible platforms, the idea is that the default architecture revision stays at v8.0 (to cover "-cpu cortex-a57", for instance), but all(?) features get promoted to a runtime check (=2). Check the current version of plat/arm/board/fvp/platform.mk.
The same problem hits the Arm FPGA, which is a very simple platform sporting the newest cores in development. Check commit b321c243423b93, which enabled all relevant features to do a runtime check.
So please just push a patch similar to that, and we should be good?
Thanks for suggestion. Looks like you went with reverse approach then is present for qemu platforms.
I tried your approach. Made v8.0 default and then enabled all v8.1-v8.7 flags as 'check at runtime'. Quick check shown that Linux boots fine on A57/N1/V1/max.
Will send patch once my testing script finish and I compare results.
https://review.trustedfirmware.org/c/TF-A/trusted-firmware-a/+/24870 is the result.
Tested with BSA/SBSA ACS and Debian Linux 6.5 kernel. No visible changes.