Re: [PATCH v10 10/11] x86/paravirt: Adapt assembly for PIE support

From: Borislav Petkov
Date: Mon Dec 23 2019 - 12:24:02 EST


On Wed, Dec 04, 2019 at 04:09:47PM -0800, Thomas Garnier wrote:
> If PIE is enabled, switch the paravirt assembly constraints to be
> compatible. The %c/i constrains generate smaller code so is kept by
> default.
>
> Position Independent Executable (PIE) support will allow to extend the
> KASLR randomization range below 0xffffffff80000000.
>
> Signed-off-by: Thomas Garnier <thgarnie@xxxxxxxxxxxx>
> Acked-by: Juergen Gross <jgross@xxxxxxxx>
> ---
> arch/x86/include/asm/paravirt_types.h | 32 +++++++++++++++++++++++----
> 1 file changed, 28 insertions(+), 4 deletions(-)

More missed feedback:

https://lkml.kernel.org/r/CAJcbSZG-JhBC9b1JMv1zq2r5uRQipYLtkNjM67sd7=eqy_iOaA@xxxxxxxxxxxxxx

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette