Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp517936imu; Thu, 20 Dec 2018 00:27:03 -0800 (PST) X-Google-Smtp-Source: AFSGD/XeWnuz9eTv2ICC9y97WNpgK6VTmCBVRjL5USU2ouvISISQAC4CuPnwdbkxIBKl/tAr/hte X-Received: by 2002:a17:902:b01:: with SMTP id 1mr309981plq.331.1545294423694; Thu, 20 Dec 2018 00:27:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545294423; cv=none; d=google.com; s=arc-20160816; b=Sa7/EBmDF+BUkUZoWacDyNb1R+dJMDrvNd5iu1WhcvMdil3sJcagSDPt4FCHFULD1Q IDYJ0dLMfHizYNAQdsZMduk8555JtBnojguuNvZAgNbi930BUELKSYYTELXS+MhDZAxc wY72Z/7W5SI55QT/e45KlJUxgHRJ2K9keazY0kLFFg2pNwmuhrXA4EuB1MldT2CafYt/ UyBHkUNk2UYx3Nil/LLGJrh3LQeg0adP5W12SZ6nr/Unqie1nYD/iJQOtpPn+ZWNz238 c6Pbam5Jx2nKsTrU5zb6XUx9W5+cTUhh6EeRtNc6f6fNS3g5Hp+TPRYbOs57ko7cbyJ8 iPjw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:cc:to:subject:from:message-id; bh=GPWaPv+DAZBdrVitshPQkQ25F9bGm7qxcavW0p2WeTU=; b=UO9d7j1XBhOgY/15yfR7Gmy0BUnE2g97YfEVzTlyY4sBDvvQiBVA1Z61UcT5DP8s/H ypDttjAGGLhnIS5JpYGl7h2vf38bQ99p5+7RlL07WsTIvnyUmnnJuc6YNYxrjrEhWDo2 S/VKohmkn8re5S/+MezGZ7XFu2l7VlyVWAGzRijLVGQTY8YHs0uF+XIiRNxUJddXNbbj tn25h87lOExR7+rR8Cxwd8upbRTYrrsG7cAX+cnJxF1/Sgbf+OCpIGzr+Jm12zpwTmAy QMoX3ZElK/0As4VVqimFze9SJ2Y8ugiMw9xsvBxkhuZRrvZ9VgJ7Ap5mbKQTzXmgG5Ua bNyw== 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 o8si17300845plk.28.2018.12.20.00.26.48; Thu, 20 Dec 2018 00:27:03 -0800 (PST) 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 S1729311AbeLTHZb (ORCPT + 99 others); Thu, 20 Dec 2018 02:25:31 -0500 Received: from pegase1.c-s.fr ([93.17.236.30]:39541 "EHLO pegase1.c-s.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727644AbeLTHZb (ORCPT ); Thu, 20 Dec 2018 02:25:31 -0500 Received: from localhost (mailhub1-int [192.168.12.234]) by localhost (Postfix) with ESMTP id 43L3FN0zwYz9tyJN; Thu, 20 Dec 2018 08:25:28 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at c-s.fr Received: from pegase1.c-s.fr ([192.168.12.234]) by localhost (pegase1.c-s.fr [192.168.12.234]) (amavisd-new, port 10024) with ESMTP id YuwS_iXLKOFS; Thu, 20 Dec 2018 08:25:28 +0100 (CET) Received: from messagerie.si.c-s.fr (messagerie.si.c-s.fr [192.168.25.192]) by pegase1.c-s.fr (Postfix) with ESMTP id 43L3FN0Sjfz9tyJL; Thu, 20 Dec 2018 08:25:28 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by messagerie.si.c-s.fr (Postfix) with ESMTP id EAB488B79A; Thu, 20 Dec 2018 08:25:28 +0100 (CET) X-Virus-Scanned: amavisd-new at c-s.fr Received: from messagerie.si.c-s.fr ([127.0.0.1]) by localhost (messagerie.si.c-s.fr [127.0.0.1]) (amavisd-new, port 10023) with ESMTP id MrHS0htfE7jh; Thu, 20 Dec 2018 08:25:28 +0100 (CET) Received: from po14163vm.idsi0.si.c-s.fr (unknown [192.168.4.90]) by messagerie.si.c-s.fr (Postfix) with ESMTP id C78698B755; Thu, 20 Dec 2018 08:25:28 +0100 (CET) Received: by po14163vm.idsi0.si.c-s.fr (Postfix, from userid 0) id 84B567172F; Thu, 20 Dec 2018 07:25:28 +0000 (UTC) Message-Id: <8b818f91a5dd1e33f4ffac11ad45d72a8caafb80.1545290681.git.christophe.leroy@c-s.fr> From: Christophe Leroy Subject: [PATCH] powerpc/8xx: Allow pinning IMMR TLB when using early debug console To: Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman Cc: linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org Date: Thu, 20 Dec 2018 07:25:28 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org CONFIG_EARLY_DEBUG_CPM requires IMMR area TLB to be pinned otherwise it doesn't survive MMU_init, and the boot fails. Signed-off-by: Christophe Leroy --- arch/powerpc/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index 7996ec33f1b4..45aed802ba86 100644 --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig @@ -1192,7 +1192,7 @@ config PIN_TLB_DATA config PIN_TLB_IMMR bool "Pinned TLB for IMMR" - depends on PIN_TLB + depends on PIN_TLB || PPC_EARLY_DEBUG_CPM default y config PIN_TLB_TEXT -- 2.13.3