From: Borislav Petkov <bp@alien8.de>
To: "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>,
Andrew Morton <akpm@linux-foundation.org>,
x86@kernel.org, Thomas Gleixner <tglx@linutronix.de>,
Ingo Molnar <mingo@redhat.com>, "H. Peter Anvin" <hpa@zytor.com>,
Andi Kleen <ak@linux.intel.com>,
Dave Hansen <dave.hansen@intel.com>,
Andy Lutomirski <luto@amacapital.net>,
linux-arch@vger.kernel.org, linux-mm@kvack.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCHv2 6/8] x86/dump_pagetables: Add support 5-level paging
Date: Tue, 28 Mar 2017 20:55:22 +0200 [thread overview]
Message-ID: <20170328185522.5akqgfh4niqi3ptf@pd.tnic> (raw)
In-Reply-To: <20170328104806.41711-1-kirill.shutemov@linux.intel.com>
On Tue, Mar 28, 2017 at 01:48:06PM +0300, Kirill A. Shutemov wrote:
> Simple extension to support one more page table level.
>
> Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
> ---
> arch/x86/mm/dump_pagetables.c | 59 +++++++++++++++++++++++++++++++++----------
> 1 file changed, 45 insertions(+), 14 deletions(-)
Hmm, so without this I get the splat below.
Can we do something about this bisection breakage? I mean, this is the
second explosion caused by 5level paging I trigger. Maybe we should
merge the whole thing into a single big patch when everything is applied
and tested, more or less, so that bisection is fine.
Or someone might have a better idea...
[ 2.801262] BUG: unable to handle kernel paging request at ffffc753f000f000
[ 2.803013] IP: ptdump_walk_pgd_level_core+0x236/0x3a0
[ 2.804472] PGD 0
[ 2.804473] P4D 0
[ 2.805231]
[ 2.805231] Oops: 0000 [#1] PREEMPT SMP
[ 2.805231] Modules linked in:
[ 2.805231] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 4.11.0-rc4+ #1
[ 2.805231] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Debian-1.8.2-1 04/01/2014
[ 2.805231] task: ffff88007c1c8040 task.stack: ffffc90000008000
[ 2.805231] RIP: 0010:ptdump_walk_pgd_level_core+0x236/0x3a0
[ 2.805231] RSP: 0018:ffffc9000000be48 EFLAGS: 00010256
[ 2.805231] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
[ 2.805231] RDX: ffff880000001000 RSI: ffff880000000000 RDI: ffffc9000000bed0
[ 2.805231] RBP: ffffc9000000bef8 R08: 0000000000000000 R09: 000000000000017f
[ 2.805231] R10: 000000000000001f R11: 0000000000000001 R12: ffffc9000000be90
[ 2.805231] R13: 0000000000000000 R14: ffffc753f000f000 R15: 00000000ffffff00
[ 2.805231] FS: 0000000000000000(0000) GS:ffff88007ed00000(0000) knlGS:0000000000000000
[ 2.805231] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 2.805231] CR2: ffffc753f000f000 CR3: 0000000001c09000 CR4: 00000000000406e0
[ 2.805231] Call Trace:
[ 2.805231] ? 0xffffffff81000000
[ 2.805231] ptdump_walk_pgd_level_checkwx+0x17/0x20
[ 2.805231] mark_rodata_ro+0xec/0x100
[ 2.805231] ? rest_init+0x90/0x90
[ 2.805231] kernel_init+0x2a/0x100
[ 2.805231] ret_from_fork+0x2e/0x40
[ 2.805231] Code: 00 88 ff ff 48 8b 5d 88 4c 8d 34 10 48 ba 00 10 00 00 00 88 ff ff 48 01 d0 48 89 85 70 ff ff ff 48 89 d8 48 c1 f8 10 48 89 45 b0 <49> 8b 06 48 a9 9f ff ff ff 74 7c 48 89 c1 48 be ff 0f 00 00 00
[ 2.805231] RIP: ptdump_walk_pgd_level_core+0x236/0x3a0 RSP: ffffc9000000be48
[ 2.805231] CR2: ffffc753f000f000
[ 2.805231] ---[ end trace 3ec6e2c757df799d ]---
[ 2.805231] Kernel panic - not syncing: Fatal exception
[ 2.805231] Kernel Offset: disabled
[ 2.805231] ---[ end Kernel panic - not syncing: Fatal exception
--
Regards/Gruss,
Boris.
Good mailing practices for 400: avoid top-posting and trim the reply.
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
next prev parent reply other threads:[~2017-03-28 18:55 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-27 16:29 [PATCH 0/8] x86: 5-level paging enabling for v4.12, Part 3 Kirill A. Shutemov
2017-03-27 16:29 ` [PATCH 1/8] x86/boot: Detect 5-level paging support Kirill A. Shutemov
2017-03-28 6:06 ` Ingo Molnar
2017-03-28 10:45 ` [PATCHv2 " Kirill A. Shutemov
2017-03-27 16:29 ` [PATCH 2/8] x86/asm: Remove __VIRTUAL_MASK_SHIFT==47 assert Kirill A. Shutemov
2017-03-27 16:29 ` [PATCH 3/8] x86/mm: Define virtual memory map for 5-level paging Kirill A. Shutemov
2017-03-28 22:21 ` H. Peter Anvin
2017-03-28 22:47 ` Kirill A. Shutemov
2017-03-29 13:20 ` [PATCHv2 " Kirill A. Shutemov
2017-03-27 16:29 ` [PATCH 4/8] x86/paravirt: Make paravirt code support " Kirill A. Shutemov
2017-03-27 16:29 ` [PATCH 5/8] x86/mm: Add basic defines/helpers for CONFIG_X86_5LEVEL Kirill A. Shutemov
2017-03-28 6:11 ` Ingo Molnar
2017-03-28 10:46 ` [PATCHv2 " Kirill A. Shutemov
2017-03-27 16:29 ` [PATCH 6/8] x86/dump_pagetables: Add support 5-level paging Kirill A. Shutemov
2017-03-28 6:12 ` Ingo Molnar
2017-03-28 9:30 ` Kirill A. Shutemov
2017-03-28 9:39 ` Ingo Molnar
2017-03-28 10:48 ` [PATCHv2 " Kirill A. Shutemov
2017-03-28 18:55 ` Borislav Petkov [this message]
2017-03-28 21:15 ` Kirill A. Shutemov
2017-03-28 21:38 ` Borislav Petkov
2017-03-29 15:00 ` Kirill A. Shutemov
2017-03-30 6:22 ` Ingo Molnar
2017-03-27 16:29 ` [PATCH 7/8] x86/kasan: Extend to " Kirill A. Shutemov
2017-03-27 16:29 ` [PATCH 8/8] x86/espfix: Add " Kirill A. Shutemov
2017-03-29 13:22 ` [PATCHv2 " Kirill A. Shutemov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170328185522.5akqgfh4niqi3ptf@pd.tnic \
--to=bp@alien8.de \
--cc=ak@linux.intel.com \
--cc=akpm@linux-foundation.org \
--cc=dave.hansen@intel.com \
--cc=hpa@zytor.com \
--cc=kirill.shutemov@linux.intel.com \
--cc=linux-arch@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=luto@amacapital.net \
--cc=mingo@redhat.com \
--cc=tglx@linutronix.de \
--cc=torvalds@linux-foundation.org \
--cc=x86@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox