On Mon, Nov 30, 2020 at 02:48:09PM -0800, Yu, Yu-cheng wrote:
Logically, enabling IBT without shadow stack does not make sense, but these
features have different CPUIDs, and CONFIG_X86_SHADOW_STACK_USER and
CONFIG_X86_BRANCH_TRACKING_USER can be selected separately.
Do we want to have only one selection for both features? In other words, we
turn on both or neither.
Question is, do they need to be handled separately at all?
If not and IOW, I like dhansen's X86_FEATURE_CET synthetic feature
suggestion.
Thx.
--
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette