Received: by 10.223.164.221 with SMTP id h29csp1399901wrb; Wed, 1 Nov 2017 16:02:03 -0700 (PDT) X-Google-Smtp-Source: ABhQp+SlUiAfAsjFfzwnIkWKbvovG6Oq+ArjsywDMpkHz05Otq4yDmcqT39uv1vtwehqwP9sTH3/ X-Received: by 10.98.130.65 with SMTP id w62mr1447218pfd.203.1509577323698; Wed, 01 Nov 2017 16:02:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1509577323; cv=none; d=google.com; s=arc-20160816; b=hklfxZFnLxhYoiyf9L8pW2i8rXwAmEKr3AKUOPp0nKZHhciK6QTUrmaLmzOoKMBhfg 2qWqV32vS/40ITBEeJrFm/Q028YqP9wmZKSVKJ/LvlW2xukSjrpvJ8Je6lPP+mshqc8u KfJUZQVHHbj5LtPu+4oUEOZawcLx4hBQ9+Cf2R9WfSSaL02ok0hwirccjcI3AZZSDyBc KE8TDh/kpUkwY4g4ymo85RUlUoFi827b1t5aZ0gmnSR/STVKEVQr6P+LhuCaaAAWTJoM 2Bt3lM+Qp1yZ9LHQnfHxpwEUTvhNwmixA0hTdDeE9lAa9wuvy9F4hUkR+cyalXvx0gM2 k94A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=aWC6NQMdH5/AUjEiThtV6r7vAPzMVtDfIS8GXUImRng=; b=0RT5VdC7BKk6onqoi+z6qvhqOjq6dS3iFa7g9DruDf2uHunTFS1jSXe3eCrgom5omU cm2ROXxD1m10lcLQpeOGmCYlAS/Z5Y11B0enQTDChP39pu2LFtFBFfF7VlUkx0lPiH4c CO1dIWzOZEomz/G+/3jA+mu4wKhnTJ9lEkkRNdvNNfu0pEuTD6p7tpAqcNbwyQs/s5eD x5F1Vwod/7C6nwO9fI4XMcC+chRuJbqbZTw07RQeEnoDFA+nqqHxyvjzHTGX/eM+w3gW X+lARv6baHrHHcIbykfSPvweB33P32pWsrDoQaKXBasC68rKpZG+SAuSRUxTpX3eoTf3 +ZYQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x5si674394plo.143.2017.11.01.16.01.49; Wed, 01 Nov 2017 16:02:03 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933797AbdKAW7d (ORCPT + 99 others); Wed, 1 Nov 2017 18:59:33 -0400 Received: from osg.samsung.com ([64.30.133.232]:35688 "EHLO osg.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752129AbdKAW7b (ORCPT ); Wed, 1 Nov 2017 18:59:31 -0400 Received: from localhost (localhost [127.0.0.1]) by osg.samsung.com (Postfix) with ESMTP id 568B21239B; Wed, 1 Nov 2017 15:59:31 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at dev.s-opensource.com Received: from osg.samsung.com ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ae3aAiVE0dVg; Wed, 1 Nov 2017 15:59:25 -0700 (PDT) Received: from [192.168.1.87] (c-24-9-64-241.hsd1.co.comcast.net [24.9.64.241]) by osg.samsung.com (Postfix) with ESMTPSA id 26BB212391; Wed, 1 Nov 2017 15:59:25 -0700 (PDT) Subject: Re: [PATCH] selftests: remove obsolete kconfig fragment for cpu-hotplug To: Thomas Gleixner Cc: lei.yang@windriver.com, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, Greg Kroah-Hartman , Shuah Khan , Shuah Khan References: <1508292623-8479-1-git-send-email-lei.yang@windriver.com> From: Shuah Khan Message-ID: <33c654fe-7d48-15e4-ee3b-1dba7dd41dd4@osg.samsung.com> Date: Wed, 1 Nov 2017 16:59:24 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/01/2017 04:52 PM, Thomas Gleixner wrote: > 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? > I have been avoiding adding kernel version checks to tests. Maybe this is one exception since the functionality is obsoleted. In any case, just removing the config isn't the complete solution. I will have to think about this some. thanks, -- Shuah From 1582906115413172567@xxx Wed Nov 01 22:55:07 +0000 2017 X-GM-THRID: 1581601542568567111 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread