Re: [PATCH 1/2] arm64: Get 'info->page_offset' from PT_LOAD segments to support KASLR boot cases

2018-07-22 Thread Bhupesh Sharma
Hello Kazu, Many thanks for your review comments. On Sat, Jul 21, 2018 at 3:18 AM, Kazuhito Hagio wrote: > > On 7/19/2018 1:43 AM, Bhupesh Sharma wrote: >> The existing methodology to obtain 'info->page_offset' from reading >> _stext symbol (from kallsyms) doesn't work well in KASLR boot cases

Re: [PATCH v11 11/15] arm64: kexec_file: add crash dump support

2018-07-22 Thread AKASHI Takahiro
Hi James, On Wed, Jul 18, 2018 at 05:50:22PM +0100, James Morse wrote: > Hi Akashi, > > On 11/07/18 08:41, AKASHI Takahiro wrote: > > Enabling crash dump (kdump) includes > > * prepare contents of ELF header of a core dump file, /proc/vmcore, > > using crash_prepare_elf64_headers(), and > > *

mail with .c files in attachment held in moderation

2018-07-22 Thread cinap_lenrek
messages from yesterday are still held in moderation for "suspicious header". i suspect this is because i attached c source file. can someone please check? should i send hyperlinks instead? -- cinap ___ kexec mailing list kexec@lists.infradead.org

[PATCH v4 4/5] efi/arm: map UEFI memory map even w/o runtime services enabled

2018-07-22 Thread AKASHI Takahiro
Under the current implementation, UEFI memory map will be mapped and made available in virtual mappings only if runtime services are enabled. But in a later patch, we want to use UEFI memory map in acpi_os_ioremap() to create mappings of ACPI tables using memory attributes described in UEFI memory

[PATCH v4 3/5] efi/arm: preserve early mapping of UEFI memory map longer for BGRT

2018-07-22 Thread AKASHI Takahiro
From: Ard Biesheuvel The BGRT code validates the contents of the table against the UEFI memory map, and so it expects it to be mapped when the code runs. On ARM, this is currently not the case, since we tear down the early mapping after efi_init() completes, and only create the permanent

[PATCH v4 5/5] arm64: acpi: fix alignment fault in accessing ACPI

2018-07-22 Thread AKASHI Takahiro
This is a fix against the issue that crash dump kernel may hang up during booting, which can happen on any ACPI-based system with "ACPI Reclaim Memory." (kernel messages after panic kicked off kdump) (snip...) Bye! (snip...) ACPI: Core revision 20170728

[PATCH v4 0/5] arm64: kexec, kdump: fix boot failures on acpi-only system

2018-07-22 Thread AKASHI Takahiro
This patch series is a set of bug fixes to address kexec/kdump failures which are sometimes observed on ACPI-only system and reported in LAK-ML before. In short, the phenomena are: 1. kexec'ed kernel can fail to boot because some ACPI table is corrupted by a new kernel (or other data) being

[PATCH v4 1/5] arm64: export memblock_reserve()d regions via /proc/iomem

2018-07-22 Thread AKASHI Takahiro
From: James Morse There has been some confusion around what is necessary to prevent kexec overwriting important memory regions. memblock: reserve, or nomap? Only memblock nomap regions are reported via /proc/iomem, kexec's user-space doesn't know about memblock_reserve()d regions. Until commit

[PATCH v4 2/5] drivers: acpi: add dependency of EFI for arm64

2018-07-22 Thread AKASHI Takahiro
As Ard suggested, CONFIG_ACPI && !CONFIG_EFI doesn't make sense on arm64, while CONFIG_ACPI and CONFIG_CPU_BIG_ENDIAN doesn't make sense either. As CONFIG_EFI already has a dependency of !CONFIG_CPU_BIG_ENDIAN, it is good enough to add a dependency of CONFIG_EFI to avoid any useless combination