]> www.infradead.org Git - users/dwmw2/linux.git/commit
x86/retpoline: Document some thunk handling aspects
authorBorislav Petkov (AMD) <bp@alien8.de>
Fri, 20 Oct 2023 11:17:14 +0000 (13:17 +0200)
committerBorislav Petkov (AMD) <bp@alien8.de>
Fri, 20 Oct 2023 11:17:14 +0000 (13:17 +0200)
commit9d9c22cc444af01ce254872b729af26864c43a3a
treee62cbb20929fec3e0d67938250a34c115b48d286
parent2d7ce49f58dc95495b3e22e45d2be7de909b2c63
x86/retpoline: Document some thunk handling aspects

After a lot of experimenting (see thread Link points to) document for
now the issues and requirements for future improvements to the thunk
handling and potential issuing of a diagnostic when the default thunk
hasn't been patched out.

This documentation is only temporary and that close before the merge
window it is only a placeholder for those future improvements.

Suggested-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://lore.kernel.org/r/20231010171020.462211-1-david.kaplan@amd.com
arch/x86/lib/retpoline.S