From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ozlabs.org (ozlabs.org [IPv6:2401:3900:2:1::2]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3xRVJP0t9pzDqp8 for ; Tue, 8 Aug 2017 20:00:21 +1000 (AEST) From: Michael Ellerman To: Christophe LEROY , Michael Ellerman , Benjamin Herrenschmidt Cc: linuxppc-dev@lists.ozlabs.org, aneesh.kumar@linux.vnet.ibm.com Subject: Re: [01/24] powerpc/mm: Move exception_enter/exit to a do_page_fault wrapper In-Reply-To: <24c35bb0-2152-f381-9783-6fc820a0e72c@c-s.fr> References: <3xQvGm0kQ5z9sR9@ozlabs.org> <87poc6olbp.fsf@concordia.ellerman.id.au> <24c35bb0-2152-f381-9783-6fc820a0e72c@c-s.fr> Date: Tue, 08 Aug 2017 20:00:20 +1000 Message-ID: <87bmnqnzuz.fsf@concordia.ellerman.id.au> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Christophe LEROY writes: > Le 08/08/2017 =C3=A0 04:16, Michael Ellerman a =C3=A9crit : >> Christophe LEROY writes: >>=20 >>> Le 07/08/2017 =C3=A0 12:41, Michael Ellerman a =C3=A9crit : >>>> On Wed, 2017-07-19 at 04:49:23 UTC, Benjamin Herrenschmidt wrote: >>>>> This will allow simplifying the returns from do_page_fault >>>>> >>>>> Signed-off-by: Benjamin Herrenschmidt >>>> >>>> Series applied to powerpc next, thanks. >>>> >>>> https://git.kernel.org/powerpc/c/7afad422ac61067473d5f3d20bbd54 >>> >>> Boot failure on the 8xx: >>> >>> [ 6.029556] Failed to execute /init (error -14) >>> [ 6.034623] Starting init: /bin/sh exists but couldn't execute it >>> (error -14) >>> [ 6.041489] Kernel panic - not syncing: No working init found. Try >>> passing init=3D option to kernel. See Linux >>> Documentation/admin-guide/init.rst for guidance. >>> [ 6.055518] CPU: 0 PID: 1 Comm: init Not tainted >>> 4.13.0-rc3-s3k-dev-00143-g7aa62e972a56 #56 >>> [ 6.063745] Call Trace: >>> [ 6.066224] [c60f1ed0] [c001a624] panic+0x108/0x250 (unreliable) >>> [ 6.072140] [c60f1f30] [c0002640] rootfs_mount+0x0/0x58 >>> [ 6.077311] [c60f1f40] [c000cb80] ret_from_kernel_thread+0x5c/0x64 >>> [ 6.083405] Rebooting in 180 seconds.. >>> >>> >>> Bisected to c433ec0455f921eaf8dd0262a718ce6f8ad62ea2 ("powerpc/mm: >>> Pre-filter SRR1 bits before do_page_fault()") >>=20 >> Sorry about that. I don't have a way to test 8xx. > > Looks like I concluded too quickly yesterday night, indeed the above=20 > commit is the last good one. The faulty one is=20 > d300627c6a53693fb01479b59b0cdd293761b1fa("powerpc/6xx: Handle DABR match= =20 > before calling do_page_fault") > >>=20 >>> Will see tomorrow what's wrong with that. >>=20 >> Thanks. > > This is because the 'bl do_page_fault' has been enclosed inside the=20 > #ifdef CONFIG_6xx > > See patch at https://patchwork.ozlabs.org/patch/799039/ Oops :} Thanks for the fix. cheers