Files
linux/arch/s390/kernel
Philipp Rudo ea9e874b70 s390/kexec_file: Fix detection of text segment in ELF loader
[ Upstream commit 729829d775 ]

To register data for the next kernel (command line, oldmem_base, etc.) the
current kernel needs to find the ELF segment that contains head.S. This is
currently done by checking ifor 'phdr->p_paddr == 0'. This works fine for
the current kernel build but in theory the first few pages could be
skipped. Make the detection more robust by checking if the entry point lies
within the segment.

Signed-off-by: Philipp Rudo <prudo@linux.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-05-31 06:43:20 -07:00
..
2012-05-16 14:42:41 +02:00
2018-04-10 07:38:54 +02:00
2019-02-07 11:56:57 +01:00
2018-10-09 11:21:27 +02:00
2019-02-05 14:29:23 +01:00
2018-04-05 21:36:27 -07:00
2018-07-18 08:32:17 +02:00
2018-07-04 08:35:18 +02:00
2018-02-27 08:05:23 +01:00
2018-07-20 00:02:41 +02:00
2019-03-05 21:07:18 -08:00