Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp733903pxa; Wed, 5 Aug 2020 11:24:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyy8SQzT7KqBuDR4Ii98MLuZy9NAFpwtWfvGUKErkfm+N6t9nosFUWQ2CCCF8wG/13u4H+B X-Received: by 2002:a17:906:7492:: with SMTP id e18mr511613ejl.375.1596651871093; Wed, 05 Aug 2020 11:24:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596651871; cv=none; d=google.com; s=arc-20160816; b=wKDpSUqs9T7LZp4XKlnFNc7mXDAprQsv2fllxcJ3hLPaChLMpu8/exixRdYLcZvOU6 u/NpVzac/DSMQqca1uZ4hNoS5wO+KTup3FHFQyjYVapAxuzKagqOLf0l7pfwnVE81OZW gyk5yrOK+sJuJk7j/669vsPPMyqsmSVTbwZwtlAjwdbA0xQO0o4BhM4Vsjt+HbIQxVaq YHMbPqgyI2GSptOjn8qIKJprvm0yTHb6B3tySPjt8I0Y0OhQ1f/vjXH2qcYl9VmYQboA CEPuCMWTKQar0qSBMbRkD+trCSCHId7Ve71AMbfL/Q86D+YjWIYhANsogEkpSBGgL78d tlRA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=1bA9ztMHRhbWFnkYEQQY5y1vN5+xb3mKYDogfzJhoMs=; b=mXASoRPaa8Za2RGY7O10vu7Ao9sqSK+6gVjgbmYec4zayC4da4mlXegGKHkbfxtGxL Mapr+BOWR+6KP+GCctjHxlO4Wl6y8LpSmGoyYyfCARaniUpif9trF13b+LneRo3bXVpj Zm5YNu6sjUp+Bd6083rGWqBs4MZknjm2+phePbhbpS9vQz23TpxsextPgUfZxJ3mKVy0 zsqYZkRSj9S6C075c7NiMKM/K7Fx2BYE6HpAiEUkat9pYwqaTjD60+pD+ZNInEzcQx3Q nEy/R9O7qERbrp7VQJ/mqxdMH0VYLXFb525eAIn0N/yBadxr6bS6yZar4Oqyh1yUdRZh MZjg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@zx2c4.com header.s=mail header.b=zUrPexf6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=zx2c4.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a12si1772426ejd.417.2020.08.05.11.24.05; Wed, 05 Aug 2020 11:24:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@zx2c4.com header.s=mail header.b=zUrPexf6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=zx2c4.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728869AbgHESXL (ORCPT + 99 others); Wed, 5 Aug 2020 14:23:11 -0400 Received: from mail.zx2c4.com ([192.95.5.64]:54253 "EHLO mail.zx2c4.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729172AbgHESLK (ORCPT ); Wed, 5 Aug 2020 14:11:10 -0400 Received: by mail.zx2c4.com (ZX2C4 Mail Server) with ESMTP id 8c70ede0; Wed, 5 Aug 2020 10:39:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=zx2c4.com; h=date:from:to :cc:subject:message-id:references:mime-version:content-type :in-reply-to; s=mail; bh=efBYDnuTLbkDHTL1rdVUDH8Rfsw=; b=zUrPexf 6VxWKr7WZP2DJAmsR4tHX9xc9wEih5Bwi/w2pm87SxOpb576kP76yIuAphrKA5JT WisRSKFZpdxc1bAVnYipOL/T25XhWuiVvUl9gRjdee+TnG8TlTHy/D4bYG2j2URn iksLnzT3LZymo5LZDWIMGcOgssAr6YIVpUgl2z5GI6I2ABdRQ7Iyr/a5Fvc+AM6l dLQJYWQdgP+OOO7ORr7ubvBietrNqcXNqbvUErhg9+hekE6i/divKmKIJhBnVKMQ KIIll6MfI3qG6FCANidKvtzdPKppvPXTvxmurkSHzhthLG0X0tyyPiYAoYu50NTJ U9YzreSV9mb494A== Received: by mail.zx2c4.com (ZX2C4 Mail Server) with ESMTPSA id 96870002 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Wed, 5 Aug 2020 10:39:25 +0000 (UTC) Date: Wed, 5 Aug 2020 13:03:48 +0200 From: "Jason A. Donenfeld" To: Ingo Molnar Cc: Linus Torvalds , linux-kernel@vger.kernel.org, Thomas Gleixner , Borislav Petkov , Peter Zijlstra , Andrew Morton , Joerg Roedel Subject: Re: [GIT PULL] x86/mm changes for v5.9 Message-ID: <20200805110348.GA108872@zx2c4.com> References: <20200803190354.GA1293087@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20200803190354.GA1293087@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Ingo, Joerg, On Mon, Aug 03, 2020 at 09:03:54PM +0200, Ingo Molnar wrote: > Linus, > > Please pull the latest x86/mm git tree from: > > git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-mm-2020-08-03 > > # HEAD: 2b32ab031e82a109e2c5b0d30ce563db0fe286b4 x86/mm/64: Make sync_global_pgds() static > > The biggest change is to not sync the vmalloc and ioremap ranges for x86-64 anymore. > > Thanks, > > Ingo > > ------------------> > Joerg Roedel (3): > x86/mm: Pre-allocate P4D/PUD pages for vmalloc area > x86/mm/64: Do not sync vmalloc/ioremap mappings > x86/mm/64: Make sync_global_pgds() static The commit 8bb9bf242d1f ("x86/mm/64: Do not sync vmalloc/ioremap mappings") causes the OOPS below, in Linus' tree and in linux-next, unearthed by my CI on . Bisecting reveals 8bb9bf242d1f, and reverting this makes the OOPS go away. Jason BUG: unable to handle page fault for address: ffffe8ffffd00608 #PF: supervisor read access in kernel mode #PF: error_code(0x0000) - not-present page PGD 0 P4D 0 Oops: 0000 [#1] PREEMPT SMP CPU: 2 PID: 22 Comm: kworker/2:0 Not tainted 5.8.0+ #154 RIP: 0010:process_one_work+0x2c/0x2d0 Code: 41 56 41 55 41 54 55 48 89 f5 53 48 89 fb 48 83 ec 08 48 8b 06 4c 8b 67 40 49 89 c6 45 30 f6 a8 04 b8 00 00 00 00 4c 0f 44 f0 <49> 8b 46 08 44 8b a8 00 01 05 RSP: 0018:ffff88800016be98 EFLAGS: 00010002 RAX: 0000000000000000 RBX: ffff888000010c00 RCX: 0000000000000000 RDX: 00000000fffedb85 RSI: ffff888000391900 RDI: ffff888000010c00 RBP: ffff888000391900 R08: ffff888000391900 R09: ffff888000350090 R10: ffffffffff770df6 R11: ffff88800f91f840 R12: ffff88800f91f140 R13: ffff88800f91f160 R14: ffffe8ffffd00600 R15: ffff88800f91f140 FS: 0000000000000000(0000) GS:ffff88800f900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffe8ffffd00608 CR3: 00000000001be005 CR4: 00000000001706a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: worker_thread+0x4b/0x3b0 ? rescuer_thread+0x360/0x360 kthread+0x116/0x140 ? __kthread_create_worker+0x110/0x110 ret_from_fork+0x1f/0x30 CR2: ffffe8ffffd00608 ---[ end trace ca0cfc5a79414fb2 ]--- RIP: 0010:process_one_work+0x2c/0x2d0 Code: 41 56 41 55 41 54 55 48 89 f5 53 48 89 fb 48 83 ec 08 48 8b 06 4c 8b 67 40 49 89 c6 45 30 f6 a8 04 b8 00 00 00 00 4c 0f 44 f0 <49> 8b 46 08 44 8b a8 00 01 05 RSP: 0018:ffff88800016be98 EFLAGS: 00010002 RAX: 0000000000000000 RBX: ffff888000010c00 RCX: 0000000000000000 RDX: 00000000fffedb85 RSI: ffff888000391900 RDI: ffff888000010c00 RBP: ffff888000391900 R08: ffff888000391900 R09: ffff888000350090 R10: ffffffffff770df6 R11: ffff88800f91f840 R12: ffff88800f91f140 R13: ffff88800f91f160 R14: ffffe8ffffd00600 R15: ffff88800f91f140 FS: 0000000000000000(0000) GS:ffff88800f900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffe8ffffd00608 CR3: 00000000001be005 CR4: 00000000001706a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Kernel panic - not syncing: Fatal exception