Set SRE bit in ICC_SRE_EL2 register.
Details
Details
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
sys/arm64/arm64/locore.S | ||
---|---|---|
268 ↗ | (On Diff #13610) | Any reason these shouldn't be combined into one orr? |
sys/arm64/arm64/locore.S | ||
---|---|---|
268 ↗ | (On Diff #13610) | As it turns out, ARMv8 has special requirements regarding logical immediates and this particular combination of bits does not qualify. |
Comment Actions
For what purpose is this patch? I can see it enables the system register interface, but why does it need to be enabled?
Comment Actions
It is always needed for ARM64 as we use the system registers, not memory-mapped ones. I guess in case of ThunderX the bit was already set by the bootloader. In the case of Alpine V2 it was not, which resulted in an error in GIC attach.