Bug 195160 - ia64 cpu_halt() reboots system instead of halting
Summary: ia64 cpu_halt() reboots system instead of halting
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 10.1-RELEASE
Hardware: ia64 Any
: --- Affects Some People
Assignee: freebsd-bugs mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-19 05:27 UTC by rebecca+freebsd@bluestop.org
Modified: 2014-11-19 05:27 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description rebecca+freebsd@bluestop.org 2014-11-19 05:27:56 UTC
The cpu_halt() function is apparently supposed to stop the CPU, for example when a panic occurs - the x64 version is implemented via an infinite loop running the hlt instruction.

On ia64 the implementation instead calls efi_reset_system() (http://fxr.watson.org/fxr/source/ia64/ia64/machdep.c?v=FREEBSD10;im=bigexcerpts#L402), which does a warm reboot and is probably not the expected behavior.