Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1735307

Support generic disabling of all XSAVE features

From Andi Kleen <andi@firstfloor.org>
Newsgroups linux.kernel
Subject Support generic disabling of all XSAVE features
Date 2017-09-20 00:30 +0200
Message-ID <urzbH-2OV-3@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


For performance testing and debugging it can be useful to disable XSAVE
features individually. This patchkit hooks up XSAVE with the
generic clearcpuid=... option, so that disabling a CPUID feature
automatically disables the respective XSAVE feature.

It also cleans up CPUID dependency management. Currently it's
possible to generate configurations with cleacpuid that crash.

It replaces an earlier patchkit that did this with special
case options.

v1:
Initial post
v2:
Work around broken lguest by exporting set_cpu_cap
Repost with cover letter
v3:
Repost. No changes to code.
v4:
Rebase to latest tree. Repost.
v5:
Fix dependency algorithm. Clean dups in table. Rebase.
v6: 
Rebase. No changes to code.

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Support generic disabling of all XSAVE features Andi Kleen <andi@firstfloor.org> - 2017-09-20 00:30 +0200

csiph-web