Received: by 10.223.164.221 with SMTP id h29csp469407wrb; Thu, 26 Oct 2017 01:13:24 -0700 (PDT) X-Google-Smtp-Source: ABhQp+SnoCp6dhCc1BTyL//4JsBjqjy/sGBYvLGYW66vqtVsUgTyC26gzAWqZzLWfGUnwXvwwsIE X-Received: by 10.101.69.76 with SMTP id x12mr4386365pgr.284.1509005604737; Thu, 26 Oct 2017 01:13:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1509005604; cv=none; d=google.com; s=arc-20160816; b=JC/uro8p8WAi+TPhpJD9A7yLC4pVYEhaqrSteGpshkbpC5o2KgpI3lO8m8j9lWWPVb ZaUldcwOzhn3JoaXJBLIPp4c6sxts781NanJvKQlzbGDPTikeu0zqyTiDAQnFowBZZJU FLF97Cbi4gy2R4de6xSGHbLmRaQx6VVssgrRd+QgZNoHtcVF/gB/pGci6N56jYaUiXnP rBKr2CqsMHUxxWemew6r8yL8MXK01khTbG3t1LUPkkx9Z94G7Geup/MyXgC/zz6DGfDG xeqMn7QZnlZVgnvasVqN/bxWuQ0Lnr8YBj0IgrGvz60v5Qj1Z1nkE9R/sO41FhNiLPEa WepA== 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:references:cc:to:from:subject:arc-authentication-results; bh=nSriSonsZ5D/AwhXsCsICl7SK1UBqcVJyJGTYD6wI/8=; b=XpXlsHdIfORtbK25N5e3+526MlN91onlxH6GX/lodoDb3CNpjyK6ZcDHgqkpzoRu0n p/R/R59gkpn3zYIogg7kZkwNSZZ5VCXQ3a6T8J3xt8MZCTxuMXP8zM6uIhTfI1Gjb3TT +ZWOcgG8/Er3sDGQJYT4fAUjw8GjHuNlGtnuDOMF4kOzCRi0z93sajg06uLphNytjXsW ZjrdljYMiu6bYNOweEwXu6rOKfd768kdEljD9NTayUytC4HFCE6Ez7XNkL6Wc48XtNYn 3MqV+cCpazo64dCa1TSHVSviatZjXY1STYxwdCxVrYdz4Eey5ZEoL3+ZYbp2bCl4YlHo /++g== 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 s10si3017673pgp.531.2017.10.26.01.13.10; Thu, 26 Oct 2017 01:13:24 -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 S1751949AbdJZIMb (ORCPT + 99 others); Thu, 26 Oct 2017 04:12:31 -0400 Received: from server.eikelenboom.it ([91.121.65.215]:40710 "EHLO server.eikelenboom.it" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750974AbdJZIMS (ORCPT ); Thu, 26 Oct 2017 04:12:18 -0400 X-Greylist: delayed 428 seconds by postgrey-1.27 at vger.kernel.org; Thu, 26 Oct 2017 04:12:18 EDT Received: from 120-71-ftth.on.nl ([88.159.71.120]:41100 helo=[172.16.1.212]) by server.eikelenboom.it with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1e7dH5-0000dW-Hv; Thu, 26 Oct 2017 10:12:23 +0200 Subject: Re: ce56a86e2a ("x86/mm: Limit mmap() of /dev/mem to valid physical addresses"): kernel BUG at arch/x86/mm/physaddr.c:79! From: Sander Eikelenboom To: Craig Bergstrom , Boris Ostrovsky Cc: Fengguang Wu , wfg@linux.intel.com, Ingo Molnar , linux-kernel@vger.kernel.org, LKP References: <20171024024439.u3ywfgvi67fe4mbg@wfg-t540p.sh.intel.com> <440615a7-6cc0-a607-ce7c-22a34b69e8fe@eikelenboom.it> Message-ID: <1d203c07-0595-a33a-620b-c51eea9721d1@eikelenboom.it> Date: Thu, 26 Oct 2017 10:12:15 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <440615a7-6cc0-a607-ce7c-22a34b69e8fe@eikelenboom.it> Content-Type: text/plain; charset=utf-8 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 26/10/17 10:05, Sander Eikelenboom wrote: > On 26/10/17 00:02, Craig Bergstrom wrote: >> Thanks for the notification, my apologies for the breakage. I'll take a >> close look and see if I can figure out what went wrong. >> >> Sander, any chance you can send /proc/iomem and the inputs to the mmap call >> that fail on your affected system? > > Hi Craig, > > The output from /proc/iomem is simple to get and attached. > The mmap call is probably issued by qemu and will require more digging. Ahh grepping qemu gave a pointer, it's probably the code in: http://xenbits.xen.org/gitweb/?p=qemu-xen.git;a=blob;f=hw/xen/xen_pt_msi.c;h=ff9a79f5d27ad7d74a1b22297be560feb455063c;hb=5cd7ce5dde3f228b3b669ed9ca432f588947bd40 around line 571, that would also explain why it's only this device that has the problem, since it's the only one trying to use MSI(-X) interrupts. Will see it i can add some logging to that function. -- Sander > > I don't know if there is that much time left for 4.14, since we are at > RC6 already. > > -- > Sander > > >> >> >> On Wed, Oct 25, 2017 at 2:50 PM, Boris Ostrovsky >> wrote: >> >>> On 10/23/2017 10:44 PM, Fengguang Wu wrote: >>>> Greetings, >>>> >>>> 0day kernel testing robot got the below dmesg and the first bad commit is >>>> >>>> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git >>> master >>>> >>>> commit ce56a86e2ade45d052b3228cdfebe913a1ae7381 >>>> Author: Craig Bergstrom >>>> AuthorDate: Thu Oct 19 13:28:56 2017 -0600 >>>> Commit: Ingo Molnar >>>> CommitDate: Fri Oct 20 09:48:00 2017 +0200 >>>> >>>> x86/mm: Limit mmap() of /dev/mem to valid physical addresses >>> >>> Also note >>> https://lists.xenproject.org/archives/html/xen-devel/2017-10/msg02935.html >>> >>> -boris >>> >> > From 1582264088642007307@xxx Wed Oct 25 20:50:23 +0000 2017 X-GM-THRID: 1582105239086831553 X-Gmail-Labels: Inbox,Category Forums