Re: [PATCH 6/6] x86/gsseg: use the LKGS instruction if available for load_gs_index()

From: H. Peter Anvin
Date: Fri Oct 07 2022 - 16:33:42 EST


On 10/7/22 13:23, Peter Zijlstra wrote:

Perhaps the two of you need to compare confugurations?

Whatever for? I know the robots report this warning because there was
one from the KVM cross-merge when the .fixup removal went in. It got
reported and fixed and that was the last of it.


To help track down what appears to be a problem?

Anyway; try:

$ git grep "\.fixup" arch/x86/

there isn't a single usage.

Andrew Cooper suggested upgrading the orphan section warning to a hard
link error, orphan sections are bad regardless.


Agreed 1000%. This is a no-brainer. From IRC:


<andyhhp> -LDFLAGS_vmlinux += --orphan-handling=warn
<andyhhp> +LDFLAGS_vmlinux += --orphan-handling=error

-hpa