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] [thread-next>] [day] [month] [year] [list]
Message-ID: <f56663a5-30bd-fa59-34cb-883bf53088d5@suse.com>
Date:   Tue, 22 Nov 2022 13:47:14 +0100
From:   Juergen Gross <jgross@...e.com>
To:     linux-kernel@...r.kernel.org, xen-devel@...ts.xenproject.org,
        x86@...nel.org
Cc:     Thomas Gleixner <tglx@...utronix.de>,
        Ingo Molnar <mingo@...hat.com>, Borislav Petkov <bp@...en8.de>,
        Dave Hansen <dave.hansen@...ux.intel.com>,
        "H. Peter Anvin" <hpa@...or.com>,
        Andy Lutomirski <luto@...nel.org>,
        Peter Zijlstra <peterz@...radead.org>, Pu Wen <puwen@...on.cn>
Subject: Re: [PATCH v2 0/5] x86: Switch X86_FEATURE_XENPV to
 cpu_feature_enabled() use

On 04.11.22 08:26, Juergen Gross wrote:
> Make especially kernels without CONFIG_XEN_PV more efficient by
> using cpu_feature_enabled(X86_FEATURE_XENPV) instead of boot_cpu_has()
> and friends.
> 
> Changes in V2:
> - new patch 4
> 
> Juergen Gross (5):
>    x86: add X86_FEATURE_XENPV to disabled-features.h
>    x86: remove unneeded 64-bit dependency in arch_enter_from_user_mode()
>    x86: drop 32-bit Xen PV guest code in update_task_stack()
>    x86: remove X86_FEATURE_XENPV usage in setup_cpu_entry_area()
>    x86: switch to cpu_feature_enabled() for X86_FEATURE_XENPV
> 
>   arch/x86/include/asm/disabled-features.h | 8 +++++++-
>   arch/x86/include/asm/entry-common.h      | 4 ++--
>   arch/x86/include/asm/switch_to.h         | 7 ++-----
>   arch/x86/kernel/cpu/amd.c                | 2 +-
>   arch/x86/kernel/cpu/bugs.c               | 2 +-
>   arch/x86/kernel/cpu/hygon.c              | 2 +-
>   arch/x86/kernel/process_64.c             | 4 ++--
>   arch/x86/kernel/topology.c               | 2 +-
>   arch/x86/mm/cpu_entry_area.c             | 8 ++------
>   9 files changed, 19 insertions(+), 20 deletions(-)
> 

The patches have all an "Ack" by Dave. I think this series should go in
via the tip tree, no?


Juergen

Download attachment "OpenPGP_0xB0DE9DD628BF132F.asc" of type "application/pgp-keys" (3099 bytes)

Download attachment "OpenPGP_signature" of type "application/pgp-signature" (496 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ