Re: panic kexec broken on ARM64?

2018-08-02 Thread Marc Zyngier
On Thu, 02 Aug 2018 16:49:54 +0100, David Woodhouse wrote: > > On Thu, 2018-07-05 at 11:19 +0100, Marc Zyngier wrote: > > >> The criteria is "this irqchip requires a reset to be safely used in the > > >> secondary kernel". This is a judgement call from the person writing the > > >> driver. > > > 

[PATCHv2] makedumpfile: when using refiltering, initialize refiltered bitmap2 from the kdump file's bitmap2

2018-08-02 Thread Pingfan Liu
When refiltering on kdump format file, there is no info about pt_load[] for exclude_nodata_pages(), and also we can not expect more data than the kdump file can provide, hence this patch suggests to initialize the refiltered bitmap2 from the kdump file's bitmap2. As for the statics original_pfn, it

Re: [PATCH] makedumpfile: when using refiltering, initialize bitmap1 from the kdump file's bitmap2

2018-08-02 Thread piliu
On 08/03/2018 03:22 AM, Kazuhito Hagio wrote: > On 8/2/2018 3:36 AM, piliu wrote: >> >> >> On 08/02/2018 04:45 AM, Kazuhito Hagio wrote: >>> Hi Pingfan, >>> >>> Thank you for the patch. >>> >>> On 7/31/2018 4:44 AM, Pingfan Liu wrote: When refiltering on kdump format file, there is no info

RE: [PATCH] makedumpfile: when using refiltering, initialize bitmap1 from the kdump file's bitmap2

2018-08-02 Thread Kazuhito Hagio
On 8/2/2018 3:36 AM, piliu wrote: > > > On 08/02/2018 04:45 AM, Kazuhito Hagio wrote: > > Hi Pingfan, > > > > Thank you for the patch. > > > > On 7/31/2018 4:44 AM, Pingfan Liu wrote: > >> When refiltering on kdump format file, there is no info about pt_load[] for > >> exclude_nodata_pages(), and

Re: panic kexec broken on ARM64?

2018-08-02 Thread David Woodhouse
On Thu, 2018-07-05 at 11:19 +0100, Marc Zyngier wrote: > >> The criteria is "this irqchip requires a reset to be safely used in the > >> secondary kernel". This is a judgement call from the person writing the > >> driver. > >  > > This doesn't tell me anything more than "do it if you need it." >

[PATCH] multiboot-x86: pass framebuffer information when requested

2018-08-02 Thread cinap_lenrek
When the kernel requests video information, pass it the framebuffer information in the multiboot header from the linux framebuffer ioctl's. With the arch specific --reset-vga or --consolve-vga options, purgatory will reset the framebuffer so pass information for standard ega text mode. Signed-off

[PATCH] multiboot-x86: pass ACPI reserved memory information in memory map

2018-08-02 Thread cinap_lenrek
Use the appropriate types for ACPI reclaim and ACPI NVS ranges in the multiboot memory map. This allows the kernel to locate ACPI tables on UEFI systems without having a explicit pointer to the RSD. Signed-off-by: Friedemann Gerold --- diff --git a/kexec/arch/i386/kexec-multiboot-x86.c b/kexec/

[PATCH] multiboot-x86: support for non-elf kernels

2018-08-02 Thread cinap_lenrek
Add support for non-elf multiboot kernels (such as Plan 9) by handling the MULTIBOOT_AOUT_KLUDGE bit. When the bit is clear then we are dealing with an ELF file and probe for ELF as before with elf_x86_probe(). When the bit is set then load_addr, load_end_addr, header_addr and entry_addr from the

Re: multiboot non-elf and framebuffer support for kexec-tools

2018-08-02 Thread Simon Horman
Hi, On Sat, Jul 28, 2018 at 06:18:11PM +0200, cinap_len...@felloff.net wrote: > theres a patch that provides support for non-elf multiboot kernels > and passes framebuffer information to the kernel if requested in > the multiboot header. > > only rgb truecolor framebuffers are supported right now

Re: [PATCH] makedumpfile: when using refiltering, initialize bitmap1 from the kdump file's bitmap2

2018-08-02 Thread piliu
On 08/02/2018 04:45 AM, Kazuhito Hagio wrote: > Hi Pingfan, > > Thank you for the patch. > > On 7/31/2018 4:44 AM, Pingfan Liu wrote: >> When refiltering on kdump format file, there is no info about pt_load[] for >> exclude_nodata_pages(), and also we can not expect more data than the kdump >>