Re: [PATCH v3 2/2] x86_64/kexec: Use PUD level 1GB page for identity mapping if available

2017-05-08 Thread Xunlei Pang
On 05/08/2017 at 02:29 PM, Ingo Molnar wrote: > * Xunlei Pang wrote: > >> On 05/05/2017 at 05:20 PM, Ingo Molnar wrote: >>> * Xunlei Pang wrote: >>> On 05/05/2017 at 02:52 PM, Ingo Molnar wrote: > * Xunlei Pang wrote: > >> @@ -122,6 +122,10 @@ static int init_pgtable(struct kima

[Makedumpfile PATCH] elf_info: fix file_size if segment is excluded

2017-05-08 Thread Pratyush Anand
I received following on a specific x86_64 hp virtual machine while executing `makedumpfile --mem-usage /proc/kcore`. vtop4_x86_64: Can't get a valid pte. readmem: Can't convert a virtual address(88115860) to physical address. readmem: type_addr: 0, addr:88115860, size:128 get_nodes

Re: [Makedumpfile PATCH] elf_info: fix file_size if segment is excluded

2017-05-08 Thread Baoquan He
Good catch! Ack 发自我的 iPhone > 在 2017年5月8日,下午8:41,Pratyush Anand 写道: > > I received following on a specific x86_64 hp virtual machine while > executing `makedumpfile --mem-usage /proc/kcore`. > > vtop4_x86_64: Can't get a valid pte. > readmem: Can't convert a virtual address(88115860)

Re: [PATCH v5 15/32] efi: Update efi_mem_type() to return an error rather than 0

2017-05-08 Thread Tom Lendacky
On 5/7/2017 12:18 PM, Borislav Petkov wrote: On Tue, Apr 18, 2017 at 04:19:00PM -0500, Tom Lendacky wrote: The efi_mem_type() function currently returns a 0, which maps to EFI_RESERVED_TYPE, if the function is unable to find a memmap entry for the supplied physical address. Returning EFI_RESERVE

RE: [Makedumpfile PATCH] elf_info: fix file_size if segment is excluded

2017-05-08 Thread Atsushi Kumagai
Hello Pratyush, Thanks for your report, I have just one question. >> exclude_segment() is called for Crash Kernel whose range is >> 2b00-350f. >> >> We see following after exclude_segment() >> >> LOAD (2) >> phys_start : 10 >> phys_end : 2aff >> virt_start : 8a5a4010