freebsd-dev/sys/ia64/include
Attilio Rao be1057174e MFC r196196:
* Completely remove the option STOP_NMI from the kernel.  This option
  has proven to have a good effect when entering KDB by using a NMI,
  but it completely violates all the good rules about interrupts
  disabled while holding a spinlock in other occasions.  This can be the
  cause of deadlocks on events where a normal IPI_STOP is expected.
* Add an new IPI called IPI_STOP_HARD on all the supported architectures.
  This IPI is responsible for sending a stop message among CPUs using a
  privileged channel when disponible. In other cases it just does match a
  normal IPI_STOP.
  Right now the IPI_STOP_HARD functionality uses a NMI on ia32 and amd64
  architectures, while on the other has a normal IPI_STOP effect. It is
  responsibility of maintainers to eventually implement an hard stop
  when necessary and possible.
* Use the new IPI facility in order to implement a new userend SMP kernel
  function called stop_cpus_hard(). That is specular to stop_cpu() but
  it does use the privileged channel for the stopping facility.
* Let KDB use the newly introduced function stop_cpus_hard() and leave
  stop_cpus() for all the other cases
* Disable interrupts on CPU0 when starting the process of APs suspension.
* Style cleanup and comments adding

This patch should fix the reboot/shutdown deadlocks many users are
constantly reporting on mailing lists.

Please don't forget to update your config file with the STOP_NMI
option removal

Reviewed by:  jhb
Tested by:    pho, bz, rink
Approved by:  re (kib)
2009-08-13 17:54:11 +00:00
..
pc
_bus.h
_inttypes.h
_limits.h Move MINSIGSTKSZ from <machine/signal.h> to <machine/_limits.h> and rename 2005-08-20 16:44:41 +00:00
_regset.h
_stdint.h
_types.h By popular demand, move __HAVE_ACPI and __PCI_REROUTE_INTERRUPT into 2006-01-09 06:05:57 +00:00
acpica_machdep.h Catch up with ACPI-CA 20070320 import. 2007-03-22 18:16:43 +00:00
asm.h
atomic.h Define mb(), rmb() and wmb() for real. 2008-11-22 06:56:49 +00:00
bootinfo.h
bus_dma.h
bus.h
clock.h The "free-lance" timer in the i8254 is only used for the speaker 2008-03-26 20:09:21 +00:00
cpu.h Fix braino in previous commit: Don't redefine OID_AUTO to something 2006-05-11 22:49:31 +00:00
cpufunc.h Work around a firmware bug in the HP rx2660, where in ACPI an I/O port 2007-06-10 16:53:01 +00:00
db_machdep.h Implement functions calls from within DDB on ia64. On ia64 a function 2005-07-02 23:52:37 +00:00
dig64.h
efi.h
elf.h Add AT_EXECPATH ELF auxinfo entry type. The value's a_ptr is a pointer 2009-03-17 12:50:16 +00:00
endian.h
exec.h Remove 3rd clause, renumber, ok per email 2007-01-12 07:26:21 +00:00
float.h
floatingpoint.h Remove 3rd clause, renumber, ok per email 2007-01-12 07:26:21 +00:00
fpu.h
frame.h
gdb_machdep.h
ia64_cpu.h Add inline function ia64_fc_i() to abstract inline assembly. 2008-07-07 17:43:56 +00:00
ieee.h
ieeefp.h Fixed FP_R*. fp{get_set}round() apparently never worked on ia64, since 2006-07-05 06:10:21 +00:00
in_cksum.h
intr.h Rework the interrupt code and add support for interrupt filtering 2007-07-30 22:29:33 +00:00
intrcnt.h
kdb.h Add kdb_cpu_sync_icache(), intended to synchronize instruction 2007-06-09 21:55:17 +00:00
limits.h
mca.h Tweak the ia64 machine check handling code to not register new sysctl nodes 2009-02-04 18:44:29 +00:00
md_var.h Rename ia64_invalidate_icache() to ia64_sync_icache(). We're 2009-05-18 18:44:54 +00:00
memdev.h Remove the unused major/minor numbers from iodev and memdev. 2008-06-25 07:45:31 +00:00
mutex.h
nexusvar.h
pal.h
param.h Cleanup ALIGNED_POINTER: 2009-07-05 17:45:48 +00:00
pcb.h
pci_cfgreg.h
pcpu.h Export 'struct pcpu' to userland w/o requiring _KERNEL. A few ports 2008-08-19 19:53:52 +00:00
pmap.h Add support to the virtual memory system for configuring machine- 2009-07-12 23:31:20 +00:00
pmc_mdep.h Add stubs to unbreak LINT. 2007-12-07 13:45:47 +00:00
proc.h Improve SMP support: 2005-08-06 20:28:19 +00:00
profile.h
pte.h
ptrace.h
reg.h
reloc.h Remove 3rd clause, renumber, ok per email 2007-01-12 07:26:21 +00:00
resource.h
runq.h
sal.h
sapicreg.h
sapicvar.h Rework the interrupt code and add support for interrupt filtering 2007-07-30 22:29:33 +00:00
setjmp.h
sf_buf.h
sigframe.h
signal.h Move MINSIGSTKSZ from <machine/signal.h> to <machine/_limits.h> and rename 2005-08-20 16:44:41 +00:00
smp.h MFC r196196: 2009-08-13 17:54:11 +00:00
stdarg.h Use __builtin_va_start instead of __builtin_stdarg_start. GCC4 obsoletes 2006-09-21 01:37:02 +00:00
sysarch.h
ucontext.h Remove kernel support for M:N threading. 2008-03-12 10:12:01 +00:00
unwind.h
varargs.h
vm.h Add support to the virtual memory system for configuring machine- 2009-07-12 23:31:20 +00:00
vmparam.h Remove cruft we got from Alpha, which was probably inherited 2008-04-18 02:21:11 +00:00