Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp3603208imm; Wed, 5 Sep 2018 02:58:14 -0700 (PDT) X-Google-Smtp-Source: ANB0VdazB1OKdpnT+EfF26O/Ij5t+JEWiNdieoUwKkZQ5LkelEjPLTAjWrnFB3Lq0vFQJ3X5WDw5 X-Received: by 2002:a62:3703:: with SMTP id e3-v6mr39168530pfa.117.1536141493911; Wed, 05 Sep 2018 02:58:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536141493; cv=none; d=google.com; s=arc-20160816; b=yyK75Omb4jyxDNkY3yUlnLzOVoVyHDXIKiSk7BPf+34OUyp/YgOEhU+pKAVLLINU5K b7wHo9J1Ue+e38nqywk9WFhU7epv6bLxjD2RLXssIa/VrUMK4PfzUchDTeP8ZEJyl7fR ZwxKcFPXl2ksLY5yPcoimIMfSdV1z+txZESZDP9MbkaluHxusZSAXeSyIr9pQWDOvEna jfQLWeqSRhN/uZYuuNvkZBsoCPR918iQvZR5DaOtbqTTkZE2nw+4uBQe/4PBsN/5eDmB 55G5lJibf3DblKxwlibaGS022Ne8VlyMtqISsDRJNYukZFeqPZieXd5R27XMZmljuBqD WX2A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:to :from; bh=tHOO/6aX0u9NEgjY4630P5+E8P3dg4r3lzlXNIcULaM=; b=YBgTAlLwl1uYWe16/R+HbQOi8KqQLV8gKOga5Ye3QnQIhowLx+0EO1Oha/FqiA4gic IS1XlCOXXiKsUEk+qvkdur7Gq9m9xg1YqCN4iuCTnDbtK6KC6VySWfh3CIK74uwwsKsq e6ZA+U9RuOKI19q2dn28+E0uja0mqHV5PQ56SCs9zJo0A5cWK5O6tjVCWrgkx23hFDR4 BRYYsSTtf/Nq2OiKTVOlC3GTIjHMVQFEwSXRE2zGYugVR4yQ8TO6HHmZR3hcCh6FGE56 NxKAvsaTlZ0ofHN418PcBVBNQ3uoPQnj5zj88uwFEDIFBtm9aaAyfu9For9JNv/oC23p 38Ug== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i26-v6si1520937pgn.589.2018.09.05.02.57.58; Wed, 05 Sep 2018 02:58:13 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728258AbeIEOYu (ORCPT + 99 others); Wed, 5 Sep 2018 10:24:50 -0400 Received: from mail.windriver.com ([147.11.1.11]:32913 "EHLO mail.windriver.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726999AbeIEOYu (ORCPT ); Wed, 5 Sep 2018 10:24:50 -0400 Received: from ALA-HCB.corp.ad.wrs.com ([147.11.189.41]) by mail.windriver.com (8.15.2/8.15.1) with ESMTPS id w859tEUb029464 (version=TLSv1 cipher=AES128-SHA bits=128 verify=FAIL); Wed, 5 Sep 2018 02:55:14 -0700 (PDT) Received: from pek-lyang0-d1.corp.ad.wrs.com (128.224.162.194) by ALA-HCB.corp.ad.wrs.com (147.11.189.41) with Microsoft SMTP Server id 14.3.408.0; Wed, 5 Sep 2018 02:55:13 -0700 From: Lei Yang To: , , , Subject: [PATCH] selftests: memory-hotplug: add required configs Date: Wed, 5 Sep 2018 17:57:15 +0800 Message-ID: <1536141435-10097-1-git-send-email-Lei.Yang@windriver.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org add CONFIG_MEMORY_HOTREMOVE=y in config without this config, /sys/devices/system/memory/memory*/removable always return 0, I endup getting an early skip during test Signed-off-by: Lei Yang --- tools/testing/selftests/memory-hotplug/config | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/testing/selftests/memory-hotplug/config b/tools/testing/selftests/memory-hotplug/config index 2fde301..a7e8cd5 100644 --- a/tools/testing/selftests/memory-hotplug/config +++ b/tools/testing/selftests/memory-hotplug/config @@ -2,3 +2,4 @@ CONFIG_MEMORY_HOTPLUG=y CONFIG_MEMORY_HOTPLUG_SPARSE=y CONFIG_NOTIFIER_ERROR_INJECTION=y CONFIG_MEMORY_NOTIFIER_ERROR_INJECT=m +CONFIG_MEMORY_HOTREMOVE=y -- 1.9.1