alistair23-linux/drivers/xen
Isaku Yamahata ad55db9fed xen: add xen_arch_resume()/xen_timer_resume hook for ia64 support
add xen_timer_resume() hook.

Timer resume should be done after event channel is resumed.
add xen_arch_resume() hook when ipi becomes usable after resume.
After resume, some cpu specific resource must be reinitialized
on ia64 that can't be set by another cpu.

However available hooks is run once on only one cpu so that ipi has
to be used.

During stop_machine_run() ipi can't be used because interrupt is masked.
So add another hook after stop_machine_run().
Another approach might be use resume hook which is run by
device_resume(). However device_resume() may be executed on
suspend error recovery path.

So it is necessary to determine whether it is executed on real resume path
or error recovery path.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Cc: Stephen Tweedie <sct@redhat.com>
Cc: Eduardo Habkost <ehabkost@redhat.com>
Cc: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2008-07-16 10:55:50 +02:00
..
xenbus Merge branch 'x86/for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip 2008-07-14 13:43:24 -07:00
balloon.c xen: drivers/xen/balloon.c: make a function static 2008-05-27 10:11:37 +02:00
events.c xen: Use wmb instead of rmb in xen_evtchn_do_upcall(). 2008-06-20 14:55:10 +02:00
features.c xen: move features.c from arch/x86/xen/features.c to drivers/xen 2008-04-24 23:57:32 +02:00
grant-table.c xen: implement save/restore 2008-05-27 10:11:38 +02:00
Kconfig xen: add balloon driver 2008-04-24 23:57:33 +02:00
Makefile xen: Move manage.c to drivers/xen for ia64/xen support 2008-05-27 10:11:36 +02:00
manage.c xen: add xen_arch_resume()/xen_timer_resume hook for ia64 support 2008-07-16 10:55:50 +02:00
xencomm.c xen: import arch generic part of xencomm 2008-04-24 23:57:32 +02:00