Tolerate difference in some of the features advertised by the
authorkettenis <kettenis@openbsd.org>
Wed, 17 May 2023 21:45:41 +0000 (21:45 +0000)
committerkettenis <kettenis@openbsd.org>
Wed, 17 May 2023 21:45:41 +0000 (21:45 +0000)
commitaf684d81575045d75197f2cbc21289eb3aad6405
tree3cfd1674b72fc5944abf54f5185ed84e09e73998
parent2bfe9404df32e7b28277ba6c7b93f8b63031a5bb
Tolerate difference in some of the features advertised by the
ID_AA64PFR0_EL1 register across cores.  The CSV2/CSV3 features are handled
on a per-core basis so it is fine if they are different.  And we only
support 64-bit userland so it is fine if the EL0/EL1/EL2/EL3 fields are
different too.

This prevents us from printing a warning on the Rockchip RK3588 SoC which
combines Cortex-A55 with Cortex-A76 that implement a sightly different
feature set.

ok deraadt@, mlarkin@
sys/arch/arm64/arm64/cpu.c