Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1612972 > unrolled thread
| Started by | Xunlei Pang <xpang@redhat.com> |
|---|---|
| First post | 2017-03-30 13:30 +0200 |
| Last post | 2017-03-30 14:50 +0200 |
| Articles | 2 — 1 participant |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: [RFC PATCH] x86_64/mm/boot: Fix kernel_ident_mapping_init() failure for kexec Xunlei Pang <xpang@redhat.com> - 2017-03-30 13:30 +0200
Re: [RFC PATCH] x86_64/mm/boot: Fix kernel_ident_mapping_init() failure for kexec Xunlei Pang <xpang@redhat.com> - 2017-03-30 14:50 +0200
| From | Xunlei Pang <xpang@redhat.com> |
|---|---|
| Date | 2017-03-30 13:30 +0200 |
| Subject | Re: [RFC PATCH] x86_64/mm/boot: Fix kernel_ident_mapping_init() failure for kexec |
| Message-ID | <tqGr8-5AE-9@gated-at.bofh.it> |
On 03/24/2017 at 08:04 PM, Kirill A. Shutemov wrote: > On Mon, Mar 20, 2017 at 02:11:31PM +0800, Xunlei Pang wrote: >> I found that the kdump is broken on linux-4.11.0-rc2+ > That's actually tip tree or linux-next. The problematic change is not in > Linus' tree. > >> , probably >> due to the 5level-paging feature that "#define p4d_present(p4d) 1", >> as a result in ident_p4d_init(), it will go into ident_pud_init() >> directly without allocating the new pud. >> >> Looks like this patch can make it work again. > Okay, that's bisectability issue. Uncovered by splitting my patchset into > parts. > > Could you check if applying "Part 2" of 5-level paging changes[1] would > help you? I confirmed that it works after applying your following patches: x86: Convert the rest of the code to support p4d_t x86/xen: Change __xen_pgd_walk() and xen_cleanmfnmap() to support p4d x86/kasan: Prepare clear_pgds() to switch to <asm-generic/pgtable-nop4d.h> x86/mm/pat: Add 5-level paging support x86/efi: Add 5-level paging support x86/kexec: Add 5-level paging support Regards, Xunlei > > Making the code work with both <asm-generic/5level-fixup.h> and > <asm-generic/pgtable-nop4d.h> would make it even uglier. Not sure if it > makes sense to address it on its own if second part fixes the situation. > > [1] http://lkml.kernel.org/r/20170317185515.8636-1-kirill.shutemov@linux.intel.com >
[toc] | [next] | [standalone]
| From | Xunlei Pang <xpang@redhat.com> |
|---|---|
| Date | 2017-03-30 14:50 +0200 |
| Message-ID | <tqHGy-6sD-19@gated-at.bofh.it> |
| In reply to | #1612972 |
On 03/30/2017 at 07:21 PM, Xunlei Pang wrote:
> On 03/24/2017 at 08:04 PM, Kirill A. Shutemov wrote:
>> On Mon, Mar 20, 2017 at 02:11:31PM +0800, Xunlei Pang wrote:
>>> I found that the kdump is broken on linux-4.11.0-rc2+
>> That's actually tip tree or linux-next. The problematic change is not in
>> Linus' tree.
>>
>>> , probably
>>> due to the 5level-paging feature that "#define p4d_present(p4d) 1",
>>> as a result in ident_p4d_init(), it will go into ident_pud_init()
>>> directly without allocating the new pud.
>>>
>>> Looks like this patch can make it work again.
>> Okay, that's bisectability issue. Uncovered by splitting my patchset into
>> parts.
>>
>> Could you check if applying "Part 2" of 5-level paging changes[1] would
>> help you?
> I confirmed that it works after applying your following patches:
> x86: Convert the rest of the code to support p4d_t
To be exact, this one("x86: Convert the rest of the code to support p4d_t") fixes the issue.
> x86/xen: Change __xen_pgd_walk() and xen_cleanmfnmap() to support p4d
> x86/kasan: Prepare clear_pgds() to switch to <asm-generic/pgtable-nop4d.h>
> x86/mm/pat: Add 5-level paging support
> x86/efi: Add 5-level paging support
> x86/kexec: Add 5-level paging support
>
> Regards,
> Xunlei
>
>> Making the code work with both <asm-generic/5level-fixup.h> and
>> <asm-generic/pgtable-nop4d.h> would make it even uglier. Not sure if it
>> makes sense to address it on its own if second part fixes the situation.
>>
>> [1] http://lkml.kernel.org/r/20170317185515.8636-1-kirill.shutemov@linux.intel.com
>>
>
> _______________________________________________
> kexec mailing list
> kexec@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/kexec
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web