public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Support generic disabling of all XSAVE features v5
@ 2017-08-17 15:43 Andi Kleen
  2017-08-17 15:43 ` [PATCH v5 1/5] x86/xsave: Move xsave initialization to after parsing early parameters Andi Kleen
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Andi Kleen @ 2017-08-17 15:43 UTC (permalink / raw)
  To: hpa; +Cc: x86, linux-kernel

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.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-08-17 15:44 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-17 15:43 Support generic disabling of all XSAVE features v5 Andi Kleen
2017-08-17 15:43 ` [PATCH v5 1/5] x86/xsave: Move xsave initialization to after parsing early parameters Andi Kleen
2017-08-17 15:44 ` [PATCH v5 2/5] x86/cpuid: Add generic table for cpuid dependencies Andi Kleen
2017-08-17 15:44 ` [PATCH v5 3/5] x86/cpuid: Make clearcpuid an early param Andi Kleen
2017-08-17 15:44 ` [PATCH v5 4/5] x86/xsave: Make XSAVE check the base CPUID features before enabling Andi Kleen
2017-08-17 15:44 ` [PATCH v5 5/5] x86/xsave: Using generic CPUID clearing when disabling XSAVE Andi Kleen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox