lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20171207104736.ojtynyy54jymkrnu@node.shutemov.name>
Date:   Thu, 7 Dec 2017 13:47:36 +0300
From:   "Kirill A. Shutemov" <kirill@...temov.name>
To:     torvalds@...ux-foundation.org, gorcunov@...nvz.org,
        ak@...ux.intel.com, bp@...e.de, luto@...capital.net,
        linux-kernel@...r.kernel.org, kirill.shutemov@...ux.intel.com,
        tglx@...utronix.de, mingo@...nel.org, hpa@...or.com
Cc:     linux-tip-commits@...r.kernel.org
Subject: Re: [tip:x86/urgent] x86/boot/compressed/64: Detect and handle
 5-level paging at boot-time

On Thu, Dec 07, 2017 at 01:40:42AM -0800, tip-bot for Kirill A. Shutemov wrote:
> diff --git a/arch/x86/boot/compressed/pgtable_64.c b/arch/x86/boot/compressed/pgtable_64.c
> new file mode 100644
> index 0000000..b4469a3
> --- /dev/null
> +++ b/arch/x86/boot/compressed/pgtable_64.c
> @@ -0,0 +1,28 @@
> +#include <asm/processor.h>
> +
> +/*
> + * __force_order is used by special_insns.h asm code to force instruction
> + * serialization.
> + *
> + * It is not referenced from the code, but GCC < 5 with -fPIE would fail
> + * due to an undefined symbol. Define it to make these ancient GCCs work.
> + */
> +unsigned long __force_order;

There's no need in __force_order in arch/x86/boot/compressed/pagetable.c after
the change.

-- 
 Kirill A. Shutemov

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ