Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp405275imm; Mon, 2 Jul 2018 13:52:27 -0700 (PDT) X-Google-Smtp-Source: AAOMgpewd1gVhXs5HwVV+8NSdjtcWjgfWFVrsx6kjmhxoJ7PIWvwH3S7Bt3t8rDWnOjmBhSMtNWT X-Received: by 2002:aa7:8058:: with SMTP id y24-v6mr26830023pfm.148.1530564747219; Mon, 02 Jul 2018 13:52:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530564747; cv=none; d=google.com; s=arc-20160816; b=ghuEl+rnj2X+8qLoL0u33wlxFpTJlbKFXH5H+KnBtYJaCKihDrf/hLiH+0tblEVhB8 wexMF7te7/o+BXLXd2sDp/nF+QqoReBj/f/r/jgek0rN+1uw+qjB8XsihnI55HgBZjRI S/7mtmlmPt5V0/9C1f5G3oNTVX1wUOOdBVAH53X2GawVlp6SG6Q9jrV6c98Q/qqRWe5T ui0nJC4mP1veOJxBo5HC5FXkZU3RivVfZmknqhmwZ/22ycZdz6hWOFoqK2K+J7g9ksW+ G/3ZP8EE9nK42Z40qvBbON46V1PsBdXffeJy6vYFuEaPImrx4iPD94iBroNhhNl23tAk cK1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=uSUNWgJNcZny1PlnKw1TGxfE94BxO4cminFklKedxd8=; b=f8LrJ6VT5CYIYIAoEerXP4JFz45r3XJFwu8xPRN2YSJJIWN7Qr1C+eX7F7oFEha82F VLjaDTYaka7HNlGjqGLA+7r7FaAAB8Xnk7r29JKgP7Xl0nIiVsqulR4v9gOwY/vfIoxS 3JI7Bp1OkrwSoxRmc8srt7ITS2R3GfQYQT3gsj+KiCkkLqLGpe+b0mChNt9NK3U42Zri rmJ/TUqv7JHAp4VPPunMs9wkySunewLgSBus24ylXKASapOE0tNnNsiB75akViN0qZsS 4mEjhcz85JDgz3sh8GpBHjLXrqz8rkGvh5TfhmNFD9gjuvUwkTH3C1Iqfr1Pr7ndZow8 nb3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=C9vspKkH; 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 e16-v6si14328342pgv.561.2018.07.02.13.52.12; Mon, 02 Jul 2018 13:52:27 -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; dkim=fail header.i=@gmail.com header.s=20161025 header.b=C9vspKkH; 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 S1753180AbeGBUvH (ORCPT + 99 others); Mon, 2 Jul 2018 16:51:07 -0400 Received: from mail-oi0-f65.google.com ([209.85.218.65]:35538 "EHLO mail-oi0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752630AbeGBUvG (ORCPT ); Mon, 2 Jul 2018 16:51:06 -0400 Received: by mail-oi0-f65.google.com with SMTP id i12-v6so14538854oik.2 for ; Mon, 02 Jul 2018 13:51:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=uSUNWgJNcZny1PlnKw1TGxfE94BxO4cminFklKedxd8=; b=C9vspKkHGf3NDw5M5GSP0w91vZ2Lo+B3mPLPCjpZP+aqRcz/qOTCLi8gXB3CKBcyym lBjWRRruojEUHg1pFhtA4Sexp70dfHPY0rcw/06aBx3pH/cRA4UbKqU+R8xDeiQrhIDy TPDGxSY5cWZTfzgDH9jCo+KNe8DKUdP4Gx+xuBgTSEUbbYAmkeqfxQ5/nWhyKdMj+Kxr 8IxbyYgzs/Ix7Bu5RdRUeoaCwMU5iXUo+YnhdqFnELvrNYM2dqcouARn6Et75rPkBCeh bq+lqu5Js0skVUerYp+SVBb+zeYGRXOm2NJnMbhNqLDAK1G9FWVYIXSWyHqfYx5hriF8 +W/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=uSUNWgJNcZny1PlnKw1TGxfE94BxO4cminFklKedxd8=; b=Ty2WKgDqyrOLZePbunX07Mhql346IBSmollOPhoFkncRyY4Ohdqm1zW8YkDlHo0X3l qPWsneaxjv6MCc1/Le6kE6LK7e17VUJIddFa4w9wV+Xc1Ck9m9G9FVE6NzqW53rMLqoi SGtq4C8lDzni3f97AmxWWwQaGYThrMczWhfqOSltV7sQ/L6dTzvPiEQakcTo6c7kwFnD XDST8/dLfAgIkyzOp8+I67iKouqdUPxPZs3kXFE+PT4m1scFyNkpc63lo0oyMWw7NYdo 4nvIHvy7Xa5+YEEF8Kx7ET+PU7p9lhOgs/HUZ2ZAR5lBWVBZ51mFA96VPM+UnfZhhBNS yzJg== X-Gm-Message-State: APt69E2Jci/sLMXGc45mGiEM9GkhgVJ8L8Dv0bLvIu1d946U3iXdUMMu M9NSZalTrrYMArq7LJtBaULgxg== X-Received: by 2002:aca:cd41:: with SMTP id d62-v6mr16112878oig.207.1530564665770; Mon, 02 Jul 2018 13:51:05 -0700 (PDT) Received: from [192.168.1.107] (cpe-24-31-253-228.kc.res.rr.com. [24.31.253.228]) by smtp.gmail.com with ESMTPSA id w13-v6sm11685005otw.25.2018.07.02.13.51.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 02 Jul 2018 13:51:05 -0700 (PDT) Subject: Re: [Update] Regression in 4.18 - 32-bit PowerPC crashes on boot - bisected to commit 1d40a5ea01d5 To: Michael Ellerman , Linus Torvalds 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 References: <99169786-61dd-b19c-ac81-84bcd0a67de4@lwfinger.net> <87d0w6mfvi.fsf@concordia.ellerman.id.au> From: Larry Finger Message-ID: <574d8619-1f1a-cad7-a33b-5c8296757fda@lwfinger.net> Date: Mon, 2 Jul 2018 15:51:03 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <87d0w6mfvi.fsf@concordia.ellerman.id.au> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 07/01/2018 11:16 PM, Michael Ellerman wrote: > 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. The problem is fixed in 4.18-rc3. Thanks to all that helped. Larry