You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue was created to make it easier for people experiencing the problem of MIDR_EL1 not receiving information on FreeBSD Arm64 to more easily determine the root cause.
We use elf_aux_info(3) to detect MIDR_EL1 info (implementer, variant, part, revision) for FreeBSD Arm64. To retrieve this information we check if HWCAP_CPUID is enabled to retrieve data from system registers EL1 in user mode. However, FreeBSD export the cpuid registers since 2018 but never set the
HWCAP_CPUID flag to tell userspace, so it was fixed recently.
As you can see, a user of the stable version of FreeBSD will currently see empty MIDR information. The fix will probably work starting from versions 14.x+
The text was updated successfully, but these errors were encountered:
This issue was created to make it easier for people experiencing the problem of MIDR_EL1 not receiving information on FreeBSD Arm64 to more easily determine the root cause.
We use elf_aux_info(3) to detect MIDR_EL1 info (implementer, variant, part, revision) for FreeBSD Arm64. To retrieve this information we check if HWCAP_CPUID is enabled to retrieve data from system registers EL1 in user mode. However, FreeBSD export the cpuid registers since 2018 but never set the
HWCAP_CPUID flag to tell userspace, so it was fixed recently.
ref: https://cgit.freebsd.org/src/commit/?id=d61f9bfb0e5c119c97a559f187b1e9c73077307b
Below you can see results with build on current main FreeBSD branch before and after the fix:
As you can see, a user of the stable version of FreeBSD will currently see empty MIDR information. The fix will probably work starting from versions 14.x+
The text was updated successfully, but these errors were encountered: