You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "Fix-Point (via GitHub)" <gi...@apache.org> on 2024/09/13 01:47:01 UTC
[PR] arch/x86_64: Add ARCH_INTEL64_DISABLE_CET [nuttx]
Fix-Point opened a new pull request, #13417:
URL: https://github.com/apache/nuttx/pull/13417
## Summary
Intel CET (Control-flow Enforcement Technology) is a hardware enhancement aimed at mitigating the Retpoline vulnerability, but it may impact CPU branch prediction performance. This commit added ARCH_INTEL64_DISABLE_CET, which can disable CET completely with compilation option `-fcf-protection=none`.
## Impact
`ARCH_INTEL64_DISABLE_CET = y` will remove `endbr64` instructions from function entries.
## Testing
Tested on x86 QEMU, with assembly code examined using `objdump -S`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] arch/x86_64: Add ARCH_INTEL64_DISABLE_CET [nuttx]
Posted by "raiden00pl (via GitHub)" <gi...@apache.org>.
raiden00pl merged PR #13417:
URL: https://github.com/apache/nuttx/pull/13417
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org