Add a workaround for the Arm Cortex-A53 erratum 843419. This has been
targeted when the build is either unoptimised for any CPU/architecture
or targets the Cortex-A53 or ARMv8.0 architecture.
PR: 296240
PR: 296395
Sponsored by: Arm Ltd
Differential D58212
bsd.cpu.mk: Add a workaround for erratum 843419 Authored by andrew on Mon, Jul 13, 10:55 AM. Tags None Referenced Files
Details
Add a workaround for the Arm Cortex-A53 erratum 843419. This has been PR: 296240
Diff Detail
Event TimelineComment Actions I think the only thing I'd love to see is to tell users in the commit message how to apply this as it seems this needs to be done manually. The other question I have: does this work with gcc or do we need -mfix-cortex-a53-843419 there? Comment Actions The fixup is applied automatically if your CPUTYPE is set to 'generic', 'armv8-a', 'cortex-a53' or if it is left empty.
Yes, the linker flag is compatible with the GCC toolchain/linker. Sure, enabling the -mfix-cortex-a53-843419 flag in clang also for FreeBSD will make things much cleaner. It's hard to say why it's not enabled yet. Comment Actions It should also be applied to a CPUTYPE of cortex-a57.cortex-a53. The world will need to be rebuilt, however as a limited number of cores are affected, and it seems difficult to hit the erratum I'm not planning on forcing a rebuild for everyone. |