Re: [PATCH 1/2] Documentation: kdump: update maxcpus to nr_cpus

2016-07-29 Thread Baoquan He
On 07/29/16 at 11:23am, Zhou Wenjian wrote: > Parameter nr_cpus is used to bring up a SMP dump-capture kernel, > instead of the old parameter maxcpus. This commit update it in > Documentation/kdump/kdump.txt. > > Signed-off-by: Zhou Wenjian > --- > Documentation/kdump/kdump.txt | 2 +- > 1 file

Re: [PATCH] makedumpfile: Add more descriptions of multi-threads feature

2016-07-29 Thread Baoquan He
On 07/29/16 at 11:34am, Zhou Wenjian wrote: > It will have a bad performance if the threads number is larger than > the usable cpu number. So we should remind user of it. > > Signed-off-by: Zhou Wenjian It makes sense to tell people who use option "-num-threads". Ack it. Acked-by: Baoquan He

Re: [PATCH] arm64:kexec: Memstart should not be before the kernel start address

2016-07-29 Thread Goel, Sameer
Hi Geoff, In our setup we cannot place the kernel starting at 0 address. So, it it placed at the first valid aligned address after placing the reserved regions in memory. The code from the change (https://patchwork.kernel.org/patch/8325221/) adds the reserved regions to iomem ranges. So, when

Re: [PATCH v23 0/9] arm64: add kdump support

2016-07-29 Thread Pratyush Anand
On 29/07/2016:10:08:27 AM, Geoff Levand wrote: > Hi, > > On Fri, 2016-07-29 at 19:26 +0300, Ruslan Bilovol wrote: > > > Also for some reason in case of 'load and kexec the kernel' it > > takes 1-2 minutes to start booting after I do kexec -e, need to > > investigate it further. > > You could try

Re: [PATCH v1 1/4] kexec: (bugfix) calc correct end address of memory ranges in device tree

2016-07-29 Thread Russell King - ARM Linux
On Fri, Jul 29, 2016 at 10:12:26AM -0700, Geoff Levand wrote: > On Fri, 2016-07-29 at 09:27 +0100, Russell King - ARM Linux wrote: > > > So, these functions are a mess and need fixing. > > Since this change isn't really related to arm64 support, I'll > drop this patch from my series. Do you have

Re: [PATCH v2 4/4] arm64: Add support for binary image files

2016-07-29 Thread Pratyush Anand
Hi Geoff, On 29/07/2016:10:02:40 AM, Geoff Levand wrote: > On Fri, 2016-07-29 at 09:05 +0530, Pratyush Anand wrote: > > > See kexec/crashdump-elf.c:FUNC() > > We have: > > 223 phdr->p_vaddr = phys_to_virt(elf_info, mstart); > > > > These patches don't support kdump. OK, so you

Re: [PATCH v2 4/4] arm64: Add support for binary image files

2016-07-29 Thread Geoff Levand
On Fri, 2016-07-29 at 22:45 +0530, Pratyush Anand wrote: > Hi Geoff, > > On 29/07/2016:10:02:40 AM, Geoff Levand wrote: > > On Fri, 2016-07-29 at 09:05 +0530, Pratyush Anand wrote: > > > > > See kexec/crashdump-elf.c:FUNC() > > > We have: > > > 223 phdr->p_vaddr = phys_to_virt(elf

Re: [PATCH v23 0/9] arm64: add kdump support

2016-07-29 Thread Pratyush Anand
Hi Ruslan, On 29/07/2016:07:26:03 PM, Ruslan Bilovol wrote: > Hi, > > On Tue, Jul 26, 2016 at 11:09 AM, AKASHI Takahiro > wrote: > > On Tue, Jul 26, 2016 at 04:56:51PM +0900, AKASHI Takahiro wrote: > >> This patch series adds kdump support on arm64. > >> > >> To load a crash-dump kernel to the s

Re: [PATCH v1 1/4] kexec: (bugfix) calc correct end address of memory ranges in device tree

2016-07-29 Thread Geoff Levand
On Fri, 2016-07-29 at 09:27 +0100, Russell King - ARM Linux wrote: > So, these functions are a mess and need fixing. Since this change isn't really related to arm64 support, I'll drop this patch from my series. -Geoff ___ kexec mailing list kexec@list

Re: [PATCH v23 0/9] arm64: add kdump support

2016-07-29 Thread Geoff Levand
Hi, On Fri, 2016-07-29 at 19:26 +0300, Ruslan Bilovol wrote: > Also for some reason in case of 'load and kexec the kernel' it > takes 1-2 minutes to start booting after I do kexec -e, need to > investigate it further. You could try my patch ("purgatory: Change default sha256 optimization to -O2"

Re: [PATCH v2 4/4] arm64: Add support for binary image files

2016-07-29 Thread Geoff Levand
On Fri, 2016-07-29 at 09:05 +0530, Pratyush Anand wrote: > See kexec/crashdump-elf.c:FUNC() > We have: > 223 phdr->p_vaddr = phys_to_virt(elf_info, mstart); > These patches don't support kdump. -Geoff ___ kexec mailing list kexec@list

Re: [PATCH v23 0/9] arm64: add kdump support

2016-07-29 Thread Ruslan Bilovol
Hi, On Tue, Jul 26, 2016 at 11:09 AM, AKASHI Takahiro wrote: > On Tue, Jul 26, 2016 at 04:56:51PM +0900, AKASHI Takahiro wrote: >> This patch series adds kdump support on arm64. >> >> To load a crash-dump kernel to the systems, a series of patches to >> kexec-tools, which have not yet been merged

Re: [PATCH v1 1/4] kexec: (bugfix) calc correct end address of memory ranges in device tree

2016-07-29 Thread Russell King - ARM Linux
On Thu, Jul 28, 2016 at 08:54:55PM -0300, Thiago Jung Bauermann wrote: > Am Donnerstag, 28 Juli 2016, 00:23:31 schrieb Russell King - ARM Linux: > > Well, ARM (and the generic code I introduced for mem_ranges) follows > > what i386, ia64, mips, s390, and sh all do with struct memory_range > > when

Re: [PATCH] kexec: (bugfix) mem_regions_sort()

2016-07-29 Thread Pratyush Anand
On 29/07/2016:05:23:23 PM, AKASHI Takahiro wrote: > The third argument of qsort() must be the size of each array element. Yes, I had sent it day before yesterday which has been ACKed by Russell. > > Signed-off-by: AKASHI Takahiro > --- > kexec/mem_regions.c | 2 +- > 1 file changed, 1 insertio

[PATCH] kexec: (bugfix) mem_regions_sort()

2016-07-29 Thread AKASHI Takahiro
The third argument of qsort() must be the size of each array element. Signed-off-by: AKASHI Takahiro --- kexec/mem_regions.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kexec/mem_regions.c b/kexec/mem_regions.c index e61c074..a8cb510 100644 --- a/kexec/mem_regions.c +++ b