Received: by 10.223.164.221 with SMTP id h29csp487842wrb; Thu, 26 Oct 2017 01:38:41 -0700 (PDT) X-Google-Smtp-Source: ABhQp+RNv6quXFWPyooeqv/+JGWUWpZO1U0APF2TLlovXwfaG9PUGfgVuJKXHGD7f1+LwadIADUQ X-Received: by 10.159.246.12 with SMTP id b12mr3911071pls.380.1509007120919; Thu, 26 Oct 2017 01:38:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1509007120; cv=none; d=google.com; s=arc-20160816; b=AfspHVKZbs6z6OQH9hF22/OSPQ7r+8gGD2IyTOm5VEUTq2XGigE46f3HpXfOOAd2vl zwDIkj/A2G01WS8P+/GJolMe+Qw9Xd94xpXeb2CpRM+YnsjAV/fVVyoxEm0ZJx1H2fUU 64zkAWzTlGSXVGZrHdeHpBN6jqGYy0bwDA6igLN8xuUJ0gtvXk5tcdg8OnNIhhaSknGk tt78X0uWnb3K7n+yEVz9hzT4GFowFqN3Me3y0A/KnhGm9PK3y5N0k4WAgbfKcPMiCWNB joCkOHyw7QWIG0YGlopCOp3p42UzWf7HW+cBwAQ3ncZojg4FEa3DbqIGVf8qO8BmFfp6 vOJw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language:in-reply-to:mime-version :user-agent:date:message-id:from:references:cc:to:subject :arc-authentication-results; bh=j6tuKeRMy6bqkretMsuCeA2TyMe2sESunz3jDveeWfs=; b=O1IHBTxEbfYt7gyHBbLRe5/7xPl8cz7/UznZO0J3dx5yFfgN8lsWl3f05aeN02K/19 am845fJAJLbc2e388L16V6cjOBJxTSx4eU+KC8F3Y4SQCBm3uD3jEQby3SOVrY31AuxE /EG6oc/drLVbVgYQAcnL+GEDDoFROo5AwmUqTjWX9R9Yf5zeC6WR7hSU3nggpjJmLV9C fDks8nNu88T1CgGgo1yQ3yUwM2K28UFJK7kn3KNqPY9eK77sc0W9LDPZXylXTF9K0PDQ WuX6fyor/oPvqRd05OXANSJyTTgdAEaHvKqe8aMRpCZQQHDtdmeaEeNqJLZLkTTp/Wh7 tsvw== 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 t63si3258116pfg.615.2017.10.26.01.38.27; Thu, 26 Oct 2017 01:38:40 -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 S932231AbdJZIh1 (ORCPT + 99 others); Thu, 26 Oct 2017 04:37:27 -0400 Received: from server.eikelenboom.it ([91.121.65.215]:40842 "EHLO server.eikelenboom.it" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751610AbdJZIgl (ORCPT ); Thu, 26 Oct 2017 04:36:41 -0400 Received: from 120-71-ftth.on.nl ([88.159.71.120]:39324 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 1e7dA6-0000cj-Du; Thu, 26 Oct 2017 10:05:10 +0200 Subject: Re: ce56a86e2a ("x86/mm: Limit mmap() of /dev/mem to valid physical addresses"): kernel BUG at arch/x86/mm/physaddr.c:79! 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> From: Sander Eikelenboom Message-ID: <440615a7-6cc0-a607-ce7c-22a34b69e8fe@eikelenboom.it> Date: Thu, 26 Oct 2017 10:05:02 +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: Content-Type: multipart/mixed; boundary="------------A7AF435A041D40A1EF6A2892" Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is a multi-part message in MIME format. --------------A7AF435A041D40A1EF6A2892 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit 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. 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 >> > --------------A7AF435A041D40A1EF6A2892 Content-Type: text/plain; charset=UTF-8; name="proc-iomem" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="proc-iomem" MDAwMDAwMDAtMDAwMDBmZmYgOiBSZXNlcnZlZAowMDAwMTAwMC0wMDA5NWZmZiA6IFN5c3Rl bSBSQU0KMDAw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mZmZmYgOiBQQ0kgQnVzIDAwMDA6MGYKICAgIGZlOWUwMDAw LWZlOWVmZmZmIDogMDAwMDowZjowMC4wCiAgICBmZTlmYzAwMC1mZTlmZmZmZiA6IDAwMDA6 MGY6MDAuMQogICAgICBmZTlmYzAwMC1mZTlmZmZmZiA6IElDSCBIRCBhdWRpbwpmZWMwMDAw MC1mZWMwMGZmZiA6IFJlc2VydmVkCiAgZmVjMDAwMDAtZmVjMDAzZmYgOiBJT0FQSUMgMApm ZWMxMDAwMC1mZWMxMDAxZiA6IHBucCAwMDowNgpmZWMyMDAwMC1mZWMyMGZmZiA6IFJlc2Vy dmVkCiAgZmVjMjAwMDAtZmVjMjAzZmYgOiBJT0FQSUMgMQpmZWQwMDAwMC1mZWQwMDNmZiA6 IEhQRVQgMgogIGZlZDAwMDAwLWZlZDAwM2ZmIDogUE5QMDEwMzowMApmZWQ4MDAwMC1mZWQ4 MGZmZiA6IHBucCAwMDowNgpmZWUwMDAwMC1mZWVmZmZmZiA6IFJlc2VydmVkCiAgZmVlMDAw MDAtZmVlMDBmZmYgOiBMb2NhbCBBUElDCiAgICBmZWUwMDAwMC1mZWUwMGZmZiA6IHBucCAw MDowNQpmZmI4MDAwMC1mZmJmZmZmZiA6IHBucCAwMDowNgpmZmUwMDAwMC1mZmZmZmZmZiA6 IFJlc2VydmVkCmZkMDAwMDAwMDAtZmZmZmZmZmZmZiA6IFJlc2VydmVkCg== --------------A7AF435A041D40A1EF6A2892-- From 1582307060798988999@xxx Thu Oct 26 08:13:24 +0000 2017 X-GM-THRID: 1582105239086831553 X-Gmail-Labels: Inbox,Category Forums