Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
arm64: kexec: !fixup vp_offset calculation
vp_offset is the virtual address of physical address defined by phys_offset. /proc/iomem "Kernel Code" start is the physical address of location from where kernel code starts. ehdr.e_entry is its corresponding virtual address. Therefore, right definition of vp_offset should be [ehdr.e_entry - "kernel Code Start PA" + phys_offset]. Signed-off-by: Pratyush Anand <panand@redhat.com>
- Loading branch information