Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp3434091imm; Sun, 1 Jul 2018 21:52:21 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKYP9U1Ox/FAp0WGWBpUxpp7SbGyxCq1/pwKZmc/fd11mXvQdU8yMrM0a9uRMcuQYOZXeJZ X-Received: by 2002:a65:5348:: with SMTP id w8-v6mr20869086pgr.247.1530507141669; Sun, 01 Jul 2018 21:52:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530507141; cv=none; d=google.com; s=arc-20160816; b=ko4ignVQMnAYRQF4nJg3AWMlGMTWBhFQx3mSyR6TNHpxqMiBQeDreH3/pwBRWBxsh9 P/l7qUPdN9AJWoxMaf+SD2EIqOE1jjqGMesxx7Smcplcwu7PvY17sOrycS0JK24+ND0k ih9yrD99OahQRYLqQ+w8PqTNoMdtSJq7PIApQCAZD3ZFq2v2ENbYg90fYfnVAJTXvAMw 7hIIsrc9Rlg6x2o/j6RSl5Einuv83LdEKrgo99dW7pPqJHC7Vpmhu9jKANvjL2mUb/lI /CYJnedODqX/ptHeWnnC8rWxVZjI2d8Y7+RsgzSEtTC1bjG/yFMq6bzrVPiTt0S8LkjV vo0A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:arc-authentication-results; bh=mEG+0O9WpKkkwgWvrWK+v5VZNu5x41NEhxtPGy6V72o=; b=c1eBbq/F0UPe0fisUGn+9hSYvXjHlk/dlbFzpxefOsSHABdsNxkwsqPC3EJaCp5bHI TTFIpnIzmCxv8alyLsGB38V1MkQjQbn7LQDppk2dWbUa9DFXLc/DRTq4KXKHQbuT5Ts5 ccEiQkq0JLa/hxk70XK+kdyTXec4CcA7deGxa03Y2sB2pG6OC/x7+VPcFaYBpDKtyTul TeljV131xftXsGstZsMU/9yoi0OEXmQfBdd1N63UMtH1YirtP057R1LxLuC5jOiglz3c +5RqwQMjWU7WKQd20zV10rWeD7Q0Wjhq/VhbxZwCSQecUJ5erpPbC3Yqf6Zw4FKw+cEH erEw== 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 a7-v6si15667202plz.510.2018.07.01.21.52.04; Sun, 01 Jul 2018 21:52:21 -0700 (PDT) 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 S1752176AbeGBEQo (ORCPT + 99 others); Mon, 2 Jul 2018 00:16:44 -0400 Received: from ozlabs.org ([203.11.71.1]:45701 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751443AbeGBEQn (ORCPT ); Mon, 2 Jul 2018 00:16:43 -0400 Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPSA id 41Jv8N2J94z9s3q; Mon, 2 Jul 2018 14:16:36 +1000 (AEST) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=ellerman.id.au From: Michael Ellerman To: Linus Torvalds , Larry Finger Cc: Matthew Wilcox , "Kirill A. Shutemov" , Vlastimil Babka , Christoph Lameter , Dave Hansen , Jerome Glisse , Lai Jiangshan , Martin Schwidefsky , Pekka Enberg , Randy Dunlap , Andrey Ryabinin , Andrew Morton , Benjamin Herrenschmidt , Paul Mackerras , ppc-dev , Linux Kernel Mailing List Subject: Re: [Update] Regression in 4.18 - 32-bit PowerPC crashes on boot - bisected to commit 1d40a5ea01d5 In-Reply-To: References: <99169786-61dd-b19c-ac81-84bcd0a67de4@lwfinger.net> Date: Mon, 02 Jul 2018 14:16:33 +1000 Message-ID: <87d0w6mfvi.fsf@concordia.ellerman.id.au> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Linus Torvalds writes: > On Fri, Jun 29, 2018 at 1:42 PM Larry Finger wrote: >> >> I have more information regarding this BUG. Line 700 of page-flags.h is the >> macro PAGE_TYPE_OPS(Table, table). For further debugging, I manually expanded >> the macro, and found that the bug line is VM_BUG_ON_PAGE(!PageTable(page), page) >> in routine __ClearPageTable(), which is called from pgtable_page_dtor() in >> include/linux/mm.h. I also added a printk call to PageTable() that logs >> page->page_type. The routine was called twice. The first had page_type of >> 0xfffffbff, which would have been expected for a . The second call had >> 0xffffffff, which led to the BUG. > > So it looks to me like the tear-down of the page tables first found a > page that is indeed a page table, and cleared the page table bit > (well, it set it - the bits are reversed). ... > > That said, can some ppc person who knows the 32-bit ppc code and maybe > knows what that "interrupt: 700" means talk about that oddity in the > trace, please? I think everyone else answered your questions here, and it should be fixed now in your tree. Larry let me know if you're still seeing a crash with 4.18-rc3. cheers