Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp924786imj; Sat, 9 Feb 2019 10:55:58 -0800 (PST) X-Google-Smtp-Source: AHgI3IYPSBbcfG7AmfvS8U23CuUFPlbdk5XJPnLJQxHmj1m8PJy4YEefI/tf1WA6voSaAGVdRuae X-Received: by 2002:a17:902:8602:: with SMTP id f2mr17183705plo.263.1549738558163; Sat, 09 Feb 2019 10:55:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549738558; cv=none; d=google.com; s=arc-20160816; b=XwMfkuK88h46c0mrzQu3g9Ej4vMz6gS3VBsjxjXpeA8DebGZugn4OrY7zQvsXQiCw8 X23nNq4v9K3bAcpVMEPtaWFRZ8ENE1L1MQpn/xPiARvP736W34dDafBGGm0W3a5kdHtu zN8ktBmqxf2qSQEXhxJSaCQ4tcigHpYCKgB7S1vY+PBhfb/k6Z1UOWIox2qoKsRLiVio RT1jAt9IAuTWXtemssZnxSbPqzfrThywXf6Hl4crPKhjF8Jp8KW0Sm7+DMcFYyV8NoC1 LhF/5cGQZ3Pk6zwHlp2WhEGKbIIS9EPdgQjsD5mX6VNGBjmVDZnrDVWVxdSqkjv7UAC6 Kbig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=YYxAwFPICt9TibMfenX6wMGJAfvnFLVL6l1OJ0fn0cc=; b=pRZGP+ZvvU0IR/DI0pOh8enQcc1YO4Qik2OonP1LAJv6QmoW6F7yzBSN9eJ6f3vcIG hywkUEbxkgO8m4+xsU5q4fAhCtP33xyzp03T2c6A5xiILmy/ey1lwUpqzaISuiuIbp2H IcbkYdo5EgORyPudUdEdns7iZcdBZaHG0B2HYTWjsHOLK+vZ0I0mAr2uXwwBgaj3m/iY sgJWSxbDofI1rwKgQ5AwEBSuvEmnm/KWpC0C8EG96Idvlpayu+KTZtrbcHxHdAp5PFpJ m8QxY9WGUcVPlJFy5UrYmK3E7LXeYRAW7RcsyWZJ+ciYTKrvz8scLCIuIP8jzncyztVy 7/jw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=SbHWvxty; 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 s87si6058641pfi.185.2019.02.09.10.55.42; Sat, 09 Feb 2019 10:55:58 -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; dkim=pass header.i=@linux-foundation.org header.s=google header.b=SbHWvxty; 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 S1728388AbfBISyt (ORCPT + 99 others); Sat, 9 Feb 2019 13:54:49 -0500 Received: from mail-lj1-f196.google.com ([209.85.208.196]:46758 "EHLO mail-lj1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728148AbfBISyr (ORCPT ); Sat, 9 Feb 2019 13:54:47 -0500 Received: by mail-lj1-f196.google.com with SMTP id x25-v6so2042766ljj.13 for ; Sat, 09 Feb 2019 10:54:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=YYxAwFPICt9TibMfenX6wMGJAfvnFLVL6l1OJ0fn0cc=; b=SbHWvxtyAersQBxhISFuLW5kA2E+zARouATr37N2I26NZTFMnKNqBalg3qb3xeauCs dSr8X+iNVAXFRfZGpR379NIfDF2H6dXTKSzTeylxKrhCJFJVktLdPioKRHLLVTsKjOE+ FUlGvlEHZ7J2emYKs1c/uH4pMlGSXH9Uezqec= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=YYxAwFPICt9TibMfenX6wMGJAfvnFLVL6l1OJ0fn0cc=; b=I9gOYF+c2ndwGdTsOtPVMEkqpsZeDpuv9nH8ZPT1N3cZ9BEX5yIsj/9K3b21USvces TmMzkxoRAEyBic7Hx/9ydHI/v0n3LdwgJyuDBwr9I2vOjeoVpUmCuVjYSDjU6jsT9UQ4 UvQTi7MT8XHOpKTGj4zWKVKweiNHV8zD+pVsMZDSdrYn1ypRVWM27dYMBqGvjkJSEeXh 4UcBrZMejuSQ8Lqwjesl0frPxefISjiSJuu986NzyZVRGVa4ilEq6hW/obefVkg5EWND 1e/BRKmK4QcFGO13CD/laR+mOfkSUalrkmvtbjnNTqUFmLKRstsbwgSlx+JOTn3POtQI /wOA== X-Gm-Message-State: AHQUAualSoWDTDE2hqNZ/fc4S8VScuvCftSSB4bCIYQA2S8ovqO/UXCU Lu3XN/OTtRf5tB6KZ9M4ZTxQUDhBgjM= X-Received: by 2002:a2e:7011:: with SMTP id l17-v6mr17056821ljc.147.1549738484907; Sat, 09 Feb 2019 10:54:44 -0800 (PST) Received: from mail-lj1-f182.google.com (mail-lj1-f182.google.com. [209.85.208.182]) by smtp.gmail.com with ESMTPSA id e132sm1237646lfg.22.2019.02.09.10.54.43 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 09 Feb 2019 10:54:43 -0800 (PST) Received: by mail-lj1-f182.google.com with SMTP id r10-v6so5692201ljj.4 for ; Sat, 09 Feb 2019 10:54:43 -0800 (PST) X-Received: by 2002:a2e:3509:: with SMTP id z9-v6mr4686247ljz.54.1549738482966; Sat, 09 Feb 2019 10:54:42 -0800 (PST) MIME-Version: 1.0 References: <39ae9195-cf8f-01fe-df83-38a9a4c52e48@eikelenboom.it> In-Reply-To: <39ae9195-cf8f-01fe-df83-38a9a4c52e48@eikelenboom.it> From: Linus Torvalds Date: Sat, 9 Feb 2019 10:54:27 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Linux 5.0 regression: BUG: unable to handle kernel paging request at ffff888023e26778 To: Sander Eikelenboom Cc: Juergen Gross , Boris Ostrovsky , linux-kernel , "xen-devel@lists.xenproject.org" , "Joel Fernandes (Google)" , "Kirill A. Shutemov" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Feb 9, 2019 at 12:24 AM Sander Eikelenboom wrote: > > I haven't got a reproducer so i might be hard to hit it again, > system is AMD and this is from the host kernel running under > the Xen hypervisor might it matter. I think this is a Xen bug. In particular, there's a few poison values in there that look like zen. Like this: R10: deadbeefdeadf00d looks like a special poison value that is from Xen itself. It looks like the oops is around the TLB flushing code, looking at the code it's the arch_leave_lazy_mmu_mode(); if (force_flush) flush_tlb_range(vma, old_end - len, old_end); if (new_ptl != old_ptl) spin_unlock(new_ptl); sequence in move_page_tables. The oopsing code sequence is 28:* 48 89 45 00 mov %rax,0x0(%rbp) <-- trapping instruction 2c: 41 f6 46 52 40 testb $0x40,0x52(%r14) and that "testb $0x40" instruction that comes after the trapping instruction is the ((vma)->vm_flags & VM_HUGETLB) \ from the flush_tlb_range() macro: #define flush_tlb_range(vma, start, end) \ flush_tlb_mm_range((vma)->vm_mm, start, end, \ ((vma)->vm_flags & VM_HUGETLB) \ ? huge_page_shift(hstate_vma(vma)) \ : PAGE_SHIFT, false) if I read that oops correctly. I have no idea what that store to 0(%rbp) is for, though - I can't line that up with anything I see with my own kernel config. We *do* have changes to 5.0 in the move_page_tables() code (mremap on a pmd level), so I'm cc'ing some of the people involved there, but that odd poison value does make me wonder abut Xen issues. When I google for that value, all I see is Xen reports (and your report for this). Linus