QEMU has Cortex-A76 and Neoverse N1 emulation now. Would be nice to migrate SBSA reference platform to use them (in "use newest possible cores" move).
It needs support in TF-A and it looks like we can not keep A57/A72/A76 in one build (not looked into details):
lib/cpus/aarch64/cortex_a76.S:18:2: error: #error "Cortex-A76 must be compiled with HW_ASSISTED_COHERENCY enabled" 18 | #error "Cortex-A76 must be compiled with HW_ASSISTED_COHERENCY enabled" | ^~~~~ lib/cpus/aarch64/cortex_a76.S:23:2: error: #error "Cortex-A76 supports only AArch64. Compile with CTX_INCLUDE_AARCH32_REGS=0" 23 | #error "Cortex-A76 supports only AArch64. Compile with CTX_INCLUDE_AARCH32_REGS=0"
Not checked does edk2 need work to handle A76/N1 too. I expect kernel and userspace to be fine with cpu core change (worked for A57/A72/MAX).
This made we thinking "do we need to version sbsa-ref"?
sbsa-ref-7.0 being A57/A72/MAX sbsa-ref-7.1 being A76/N1/MAX
MAX in both cases as this allows us to have all cpu features.