Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1531334
| From | Thomas Gleixner <tglx@linutronix.de> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v13 6/8] x86/arch_prctl: Add ARCH_[GET|SET]_CPUID |
| Date | 2016-11-28 15:20 +0100 |
| Message-ID | <sIuWJ-3cd-7@gated-at.bofh.it> (permalink) |
| References | <sIkul-4M5-5@gated-at.bofh.it> <sIkul-4M5-19@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Sun, 27 Nov 2016, Kyle Huey wrote:
> +DEFINE_PER_CPU(u64, msr_misc_features_shadow);
> +
> +static void set_cpuid_faulting(bool on)
> +{
> + u64 msrval;
> +
> + DEBUG_LOCKS_WARN_ON(!irqs_disabled());
The arch_prctl code path does not have interrupts disabled and there is no
reason why it should have.
Thanks,
tglx
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH v13 0/8] x86/arch_prctl Add ARCH_[GET|SET]_CPUID for controlling the CPUID instruction Kyle Huey <me@kylehuey.com> - 2016-11-28 04:10 +0100
[PATCH v13 8/8] KVM: x86: virtualize cpuid faulting Kyle Huey <me@kylehuey.com> - 2016-11-28 04:10 +0100
[PATCH v13 7/8] x86/arch_prctl: Selftest for ARCH_[GET|SET]_CPUID Kyle Huey <me@kylehuey.com> - 2016-11-28 04:10 +0100
[PATCH v13 4/8] x86/syscalls/32: Wire up arch_prctl on x86-32 Kyle Huey <me@kylehuey.com> - 2016-11-28 04:10 +0100
[PATCH v13 2/8] x86/arch_prctl/64: Rename do_arch_prctl to do_arch_prctl_64 Kyle Huey <me@kylehuey.com> - 2016-11-28 04:10 +0100
[PATCH v13 5/8] x86/cpufeature: Detect CPUID faulting support Kyle Huey <me@kylehuey.com> - 2016-11-28 04:10 +0100
[PATCH v13 1/8] x86/arch_prctl/64: Use SYSCALL_DEFINE2 to define sys_arch_prctl Kyle Huey <me@kylehuey.com> - 2016-11-28 04:10 +0100
[PATCH v13 6/8] x86/arch_prctl: Add ARCH_[GET|SET]_CPUID Kyle Huey <me@kylehuey.com> - 2016-11-28 04:10 +0100
Re: [PATCH v13 6/8] x86/arch_prctl: Add ARCH_[GET|SET]_CPUID Thomas Gleixner <tglx@linutronix.de> - 2016-11-28 15:20 +0100
Re: [PATCH v13 6/8] x86/arch_prctl: Add ARCH_[GET|SET]_CPUID Kyle Huey <me@kylehuey.com> - 2016-11-28 17:20 +0100
Re: [PATCH v13 0/8] x86/arch_prctl Add ARCH_[GET|SET]_CPUID for controlling the CPUID instruction Ingo Molnar <mingo@kernel.org> - 2016-12-02 11:30 +0100
Re: [PATCH v13 0/8] x86/arch_prctl Add ARCH_[GET|SET]_CPUID for controlling the CPUID instruction Kyle Huey <me@kylehuey.com> - 2016-12-03 17:00 +0100
csiph-web