Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751361AbdGQCLE (ORCPT ); Sun, 16 Jul 2017 22:11:04 -0400 Received: from ozlabs.org ([103.22.144.67]:41649 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751209AbdGQCLD (ORCPT ); Sun, 16 Jul 2017 22:11:03 -0400 From: Michael Ellerman To: Abdul Haleem , linuxppc-dev Cc: linux-kernel , linux-next , Stephen Rothwell , sachinp , benh@kernel.crashing.org, mikey@neuling.org Subject: Re: [linux-next][bisected 1c0eaf0f] Today's next kernel fails to boot on ppc bare-metal In-Reply-To: <1500025360.5335.37.camel@abdul.in.ibm.com> References: <1500025360.5335.37.camel@abdul.in.ibm.com> User-Agent: Notmuch/0.21 (https://notmuchmail.org) Date: Mon, 17 Jul 2017 12:10:59 +1000 Message-ID: <87mv8324p8.fsf@concordia.ellerman.id.au> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 914 Lines: 35 Hi Abdul, Thanks for the bug report. Abdul Haleem writes: > Hi > > Today's linux-next fails to boot on ppc bare-metal > > Test: Boot > Machine: Power 8 bare-metal > kernel: 4.12.0-next-20170713 > gcc: version 4.8.5 > config : Tul-NV-config attached. [swearing redacted] Does this help? cheers diff --git a/arch/powerpc/platforms/powernv/opal.c b/arch/powerpc/platforms/powernv/opal.c index 9b87abb178f0..cad6b57ce494 100644 --- a/arch/powerpc/platforms/powernv/opal.c +++ b/arch/powerpc/platforms/powernv/opal.c @@ -78,7 +78,7 @@ void opal_configure_cores(void) * ie. Host hash supports hash guests * Host radix supports hash/radix guests */ - if (cpu_has_feature(CPU_FTR_ARCH_300)) { + if (early_cpu_has_feature(CPU_FTR_ARCH_300)) { reinit_flags |= OPAL_REINIT_CPUS_MMU_HASH; if (early_radix_enabled()) reinit_flags |= OPAL_REINIT_CPUS_MMU_RADIX;