From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753156AbcGMJWW (ORCPT ); Wed, 13 Jul 2016 05:22:22 -0400 Received: from www.linutronix.de ([62.245.132.108]:37930 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752893AbcGMJWN (ORCPT ); Wed, 13 Jul 2016 05:22:13 -0400 Date: Wed, 13 Jul 2016 11:19:43 +0200 (CEST) From: Thomas Gleixner To: Fenghua Yu cc: Ingo Molnar , "H. Peter Anvin" , Tony Luck , Tejun Heo , Borislav Petkov , Stephane Eranian , Peter Zijlstra , Marcelo Tosatti , David Carrillo-Cisneros , Ravi V Shankar , Vikas Shivappa , Sai Prakhya , linux-kernel , x86 Subject: Re: [PATCH 06/32] x86/intel_rdt: Hot cpu support for Cache Allocation In-Reply-To: <1468371785-53231-7-git-send-email-fenghua.yu@intel.com> Message-ID: References: <1468371785-53231-1-git-send-email-fenghua.yu@intel.com> <1468371785-53231-7-git-send-email-fenghua.yu@intel.com> User-Agent: Alpine 2.11 (DEB 23 2013-08-11) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 12 Jul 2016, Fenghua Yu wrote: > static int __init intel_rdt_late_init(void) > { > struct cpuinfo_x86 *c = &boot_cpu_data; > @@ -261,9 +331,15 @@ static int __init intel_rdt_late_init(void) > goto out_err; > } > > + cpu_notifier_register_begin(); > + > for_each_online_cpu(i) > rdt_cpumask_update(i); > > + __hotcpu_notifier(intel_rdt_cpu_notifier, 0); CPU hotplug notifiers are phased out. Please use the new state machine interfaces. Thanks, tglx