Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp315271pxb; Fri, 16 Apr 2021 06:27:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx6ecMkz5Dr58ULyr4gs+H2B9udIcFUvwZgWH8Ts/nGBX1piLM8nqVfe9+M/3Djb873oY9S X-Received: by 2002:a17:902:ee11:b029:e6:f007:71d with SMTP id z17-20020a170902ee11b02900e6f007071dmr9518463plb.15.1618579645232; Fri, 16 Apr 2021 06:27:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618579645; cv=none; d=google.com; s=arc-20160816; b=niLbZUmSs09SQSSe2SZqGbJkvi82Rwtfgsfx8JXPQbf7TorVi+bRvaZnOtt/v3l7IN c3Sk03HIB4QGUqorLg+p/i5BLdNr2dkWGTSujGJEyi9RIAor/0EOq8y/86/abM/bQ3xJ ODCTdAwkS3QztiHkFrfkBf4TYE4u7V76jUG/RoRhk+dUHFkcidq7pxUPLFmBxrzpOS82 rDYLKMaxdlrG5apELgZPE35nO80ySWdNvbkdY56usewYDnaLQMbOpMpQQwUjsA1OMNfv V6K3lyZ0xglsYMiVjCUwKax3TIt1J1s7j4MuR9N9xZjyVg29UfjJSSMPUJleZV0agKSQ M7lw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=VOwbkPE1KfuAqNrqXKePLDKWnOnR3QBj5MsNcug5/Uc=; b=aIvkO+iF3w/A4AE3jfPWaPhNCMVbFUBVSl7OerkNbBlOHymxhuzjoD+sKM5D0WXqzY pYzRNW7OWxI0bKBHNggnPiagsE/zCwNN4kUZuSuQcLY2zGI+XpLWk/Z42BsS1vSJwUve vAcUYDRnpMHKkUPq5huXCKLrVII0MHtzb1bTotI4sZVCwtlMj/p55WMhJbj54rUq65yp wZvN0fHOOuy6thHgt03nJ1qBXzXVLRjQpeCGK9DCSzprw7OHOUwf0PTkt2qHaJlRenVA ut1BrFak0REXvDRlP7XWB9JRqluyDAiefcOW0l9AEzEAdl1Is6VqAb72I1AvD82X9bXt rqag== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e2si6983386plo.6.2021.04.16.06.27.12; Fri, 16 Apr 2021 06:27:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242697AbhDPLZF (ORCPT + 99 others); Fri, 16 Apr 2021 07:25:05 -0400 Received: from mx2.suse.de ([195.135.220.15]:48778 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242101AbhDPLYx (ORCPT ); Fri, 16 Apr 2021 07:24:53 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id E26E3B02A; Fri, 16 Apr 2021 11:24:27 +0000 (UTC) From: Oscar Salvador To: Andrew Morton Cc: David Hildenbrand , Michal Hocko , Anshuman Khandual , Pavel Tatashin , Vlastimil Babka , linux-mm@kvack.org, linux-kernel@vger.kernel.org, Oscar Salvador Subject: [PATCH v9 7/8] x86/Kconfig: Introduce ARCH_MHP_MEMMAP_ON_MEMORY_ENABLE Date: Fri, 16 Apr 2021 13:24:10 +0200 Message-Id: <20210416112411.9826-8-osalvador@suse.de> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20210416112411.9826-1-osalvador@suse.de> References: <20210416112411.9826-1-osalvador@suse.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Enable x86_64 platform to use the MHP_MEMMAP_ON_MEMORY feature. Signed-off-by: Oscar Salvador Reviewed-by: David Hildenbrand --- arch/x86/Kconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 2792879d398e..9f0211df1746 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -2433,6 +2433,9 @@ config ARCH_ENABLE_MEMORY_HOTREMOVE def_bool y depends on MEMORY_HOTPLUG +config ARCH_MHP_MEMMAP_ON_MEMORY_ENABLE + def_bool y + config USE_PERCPU_NUMA_NODE_ID def_bool y depends on NUMA -- 2.16.3