]> git.ipfire.org Git - people/ms/u-boot.git/commit
arm64: Allow EFI payload code to take exceptions
authorAlexander Graf <agraf@suse.de>
Fri, 4 Mar 2016 00:10:06 +0000 (01:10 +0100)
committerTom Rini <trini@konsulko.com>
Wed, 16 Mar 2016 01:30:11 +0000 (21:30 -0400)
commit649829157e9c034fd5eda0de87a39afa248bd4b2
tree083980c4daac83050035593bbce6e912eb97dc32
parent4c2cc7c4e92094efa562a872cef515fdf6d6f915
arm64: Allow EFI payload code to take exceptions

There are 2 ways an EFI payload could return into u-boot:

  - Callback function
  - Exception

While in EFI payload mode, x18 is owned by the payload and may not contain
a valid pointer to gd, so we need to fix it up. We do that properly for the
payload to callback path already.

This patch also adds gd pointer restoral for the exception path.

Signed-off-by: Alexander Graf <agraf@suse.de>
arch/arm/lib/interrupts_64.c