https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237234

--- Comment #1 from [email protected] ---
A commit references this bug:

Author: andrew
Date: Wed May  1 17:12:50 UTC 2019
New revision: 346996
URL: https://svnweb.freebsd.org/changeset/base/346996

Log:
  Restore x18 in efi_arch_leave.

  Some UEFI implementations trash this register and, as we use it as a
  platform register, the kernel doesn't save it before calling into the UEFI
  runtime services. As we have a copy in tpidr_el1 restore from there when
  exiting the EFI environment.

  PR:           237234, 237055
  Reviewed by:  manu
  Tested On:    Ampere eMAG
  MFC after:    2 weeks
  Sponsored by: DARPA, AFRL
  Sponsored by: Ampere Computing (hardware)
  Differential Revision:        https://reviews.freebsd.org/D20127

Changes:
  head/sys/arm64/arm64/efirt_machdep.c

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to