From patchwork Thu Dec 6 15:17:08 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Oliver O'Halloran X-Patchwork-Id: 1008836 Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 439fTn4Pc5z9s0n for ; Fri, 7 Dec 2018 02:22:05 +1100 (AEDT) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="DxMCU5Zj"; dkim-atps=neutral Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 439fTn2mF2zDrNb for ; Fri, 7 Dec 2018 02:22:05 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="DxMCU5Zj"; dkim-atps=neutral X-Original-To: linuxppc-dev@lists.ozlabs.org Delivered-To: linuxppc-dev@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=gmail.com (client-ip=2607:f8b0:4864:20::644; helo=mail-pl1-x644.google.com; envelope-from=oohall@gmail.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="DxMCU5Zj"; dkim-atps=neutral Received: from mail-pl1-x644.google.com (mail-pl1-x644.google.com [IPv6:2607:f8b0:4864:20::644]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 439fNY680WzDrJf for ; Fri, 7 Dec 2018 02:17:33 +1100 (AEDT) Received: by mail-pl1-x644.google.com with SMTP id g9so312376plo.3 for ; Thu, 06 Dec 2018 07:17:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=1Tqps1caDm6LnBcfACof6EXbBukiLDkZzP348o6r5kY=; b=DxMCU5ZjtKIdCjAzA96jsOcbmOP4vjL5w4Qq6bb8dg5HDOrNrb52VLcNE0CnmMdi5Z pgmVcRBtaJpkKOclXhZ6rg2C2gWjvwLz/NhXZN2xLAgMzX68bRlUOPAPQTD1ScOXihzY 4Rh5uv/1ScQaeJL0onm8vhVmieBgri/G8cM8ZAFe6CEGSRA+Lwjw7gR970a3JZ4P0/Lb GYr3Q1Gk0H4HHw9ow5k0zWTMQE8NSoqIEINDQvrFRjOYxYINOoVW5Qk3DzpKmvjE4aJ0 sQGRNKoBMwksXta0uH2DtoM70rpQF1ehOqpvJfIrvR+f0RL87P66y2SVmRNa3Af0nXud yP3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=1Tqps1caDm6LnBcfACof6EXbBukiLDkZzP348o6r5kY=; b=sa7DwzoZtBtNh9ESvdy5t1wBPNTnYUOwKcPH+qWd3HEHa7CbFNBEwRXAT+1+HFJ4BR rG/CtgGnHMZNy3HMpZiOjxeyfl2rGNhVybeb3KksiIB088V9hGJxPe101LFEh5spVWYz SB0tM5bx73aS+QOn+gLdX8FP1kghHGlGnIhcNOH6ujI2MUSWQZZP5borykzTbyNlCfHW tVw9tzOEi54RPLYNjvWsTC6fmhX6LzRS3l8kWWqRfyYZq77fply1W7fRbnS6FPSMGqVK vmTKfKqdCYh4cusukJJcyofO/0dR1/qzu/B+FPOJxP6cG8G/yrNze3G35isJ/ZvhrO3i pQBQ== X-Gm-Message-State: AA+aEWYpcbk+RoCuLYnVamgkZN5Yde0BbZDWSslNmGczf0Uw+KbD9VU7 EUZ5gt8Lch6ODBBf/toLKa43eTvA X-Google-Smtp-Source: AFSGD/X3quP8QL6hmQbG1NztRkTAglCf0+0eDy8hkRPiOn9mmvfrBXkE7Uese96erCTLN0HWznxlRw== X-Received: by 2002:a17:902:b112:: with SMTP id q18mr28616271plr.255.1544109451741; Thu, 06 Dec 2018 07:17:31 -0800 (PST) Received: from 192-168-1-15.tpgi.com.au (60-240-78-224.static.tpgi.com.au. [60.240.78.224]) by smtp.gmail.com with ESMTPSA id v12sm821546pgg.41.2018.12.06.07.17.29 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 06 Dec 2018 07:17:31 -0800 (PST) From: Oliver O'Halloran To: linuxppc-dev@lists.ozlabs.org Subject: [PATCH 1/7] powerpc/papr_scm: Use depend instead of select Date: Fri, 7 Dec 2018 02:17:08 +1100 Message-Id: <20181206151714.28494-2-oohall@gmail.com> X-Mailer: git-send-email 2.17.2 In-Reply-To: <20181206151714.28494-1-oohall@gmail.com> References: <20181206151714.28494-1-oohall@gmail.com> X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Oliver O'Halloran Errors-To: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org Sender: "Linuxppc-dev" Making PAPR_SCM select LIBNVDIMM results in circular dependencies in Kconfig when another symbol depends on it. Fix this by replacing the select with a depends. Fixes: b5beae5e224f ("powerpc/pseries: Add driver for PAPR SCM regions") Reported-by: Alastair D'Silva Signed-off-by: Oliver O'Halloran --- arch/powerpc/platforms/pseries/Kconfig | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/powerpc/platforms/pseries/Kconfig b/arch/powerpc/platforms/pseries/Kconfig index ed91c9aea78e..e31e397003b3 100644 --- a/arch/powerpc/platforms/pseries/Kconfig +++ b/arch/powerpc/platforms/pseries/Kconfig @@ -141,8 +141,7 @@ config IBMEBUS Bus device driver for GX bus based adapters. config PAPR_SCM - depends on PPC_PSERIES && MEMORY_HOTPLUG - select LIBNVDIMM + depends on PPC_PSERIES && MEMORY_HOTPLUG && LIBNVDIMM tristate "Support for the PAPR Storage Class Memory interface" help Enable access to hypervisor provided storage class memory.