From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933683AbdKAWxI (ORCPT ); Wed, 1 Nov 2017 18:53:08 -0400 Received: from Galois.linutronix.de ([146.0.238.70]:51531 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933497AbdKAWxF (ORCPT ); Wed, 1 Nov 2017 18:53:05 -0400 Date: Wed, 1 Nov 2017 23:52:58 +0100 (CET) From: Thomas Gleixner To: Shuah Khan cc: lei.yang@windriver.com, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, Greg Kroah-Hartman Subject: Re: [PATCH] selftests: remove obsolete kconfig fragment for cpu-hotplug In-Reply-To: Message-ID: References: <1508292623-8479-1-git-send-email-lei.yang@windriver.com> User-Agent: Alpine 2.20 (DEB 67 2015-01-07) 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 Wed, 1 Nov 2017, Shuah Khan wrote: > On 10/17/2017 08:10 PM, lei.yang@windriver.com wrote: > > From: Lei Yang > > > > Kconfig CONFIG_CPU_NOTIFIER_ERROR_INJECT has been removed since kernel 4.10 > > check commit: > > commit 530e9b76ae8f863dfdef4a6ad0b38613d32e8c3f > > Author: Thomas Gleixner > > Date: Wed Dec 21 20:19:53 2016 +0100 > > > > cpu/hotplug: Remove obsolete cpu hotplug register/unregister functions > > > > hotcpu_notifier(), cpu_notifier(), __hotcpu_notifier(), __cpu_notifier(), > > register_hotcpu_notifier(), register_cpu_notifier(), > > __register_hotcpu_notifier(), __register_cpu_notifier(), > > unregister_hotcpu_notifier(), unregister_cpu_notifier(), > > __unregister_hotcpu_notifier(), __unregister_cpu_notifier() > > > > > > Signed-off-by: Lei Yang > > --- > > tools/testing/selftests/cpu-hotplug/config | 1 - > > 1 file changed, 1 deletion(-) > > > > diff --git a/tools/testing/selftests/cpu-hotplug/config b/tools/testing/selftests/cpu-hotplug/config > > index e6ab090..d4aca2a 100644 > > --- a/tools/testing/selftests/cpu-hotplug/config > > +++ b/tools/testing/selftests/cpu-hotplug/config > > @@ -1,2 +1 @@ > > CONFIG_NOTIFIER_ERROR_INJECTION=y > > -CONFIG_CPU_NOTIFIER_ERROR_INJECT=m > > > > Yes. It is removed from the kernel. However, selftests from the latest > release do get run routinely on older stable releases. Dropping the > config will impact coverage on older releases. > > Thomas/Greg, > > Any ideas on what we should do about this. On one hand it is a good idea > to remove it, however my concern is coverage on older releases. Can you check the kernel version on which you are running and do it runtime conditionally? Thanks, tglx