Home
last modified time | relevance | path

Searched hist:df729fb05ae2db52f7de150439392a88ee9d9b4f (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/arch/x86/include/asm/
H A Dspecial_insns.hdiff df729fb05ae2db52f7de150439392a88ee9d9b4f Thu Jan 12 01:20:30 CST 2023 H. Peter Anvin (Intel) <hpa@zytor.com> x86/gsseg: Make asm_load_gs_index() take an u16

Let GCC know that only the low 16 bits of load_gs_index() argument
actually matter. It might allow it to create slightly better
code. However, do not propagate this into the prototypes of functions
that end up being paravirtualized, to avoid unnecessary changes.

Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
Signed-off-by: Xin Li <xin3.li@intel.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20230112072032.35626-4-xin3.li@intel.com
/openbmc/linux/arch/x86/entry/
H A Dentry_64.Sdiff df729fb05ae2db52f7de150439392a88ee9d9b4f Thu Jan 12 01:20:30 CST 2023 H. Peter Anvin (Intel) <hpa@zytor.com> x86/gsseg: Make asm_load_gs_index() take an u16

Let GCC know that only the low 16 bits of load_gs_index() argument
actually matter. It might allow it to create slightly better
code. However, do not propagate this into the prototypes of functions
that end up being paravirtualized, to avoid unnecessary changes.

Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
Signed-off-by: Xin Li <xin3.li@intel.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20230112072032.35626-4-xin3.li@intel.com