kernel-fxtec-pro1x/drivers/acpi/acpica
Tang Liang 09f98a825a x86, acpi, tboot: Have a ACPI os prepare sleep instead of calling tboot_sleep.
The ACPI suspend path makes a call to tboot_sleep right before
it writes the PM1A, PM1B values. We replace the direct call to
tboot via an registration callback similar to __acpi_register_gsi.

CC: Len Brown <len.brown@intel.com>
Acked-by: Joseph Cihula <joseph.cihula@intel.com>
Acked-by: Rafael J. Wysocki <rjw@sisk.pl>
[v1: Added __attribute__ ((unused))]
[v2: Introduced a wrapper instead of changing tboot_sleep return values]
[v3: Added return value AE_CTRL_SKIP for acpi_os_sleep_prepare]
Signed-off-by: Tang Liang <liang.tang@oracle.com>
[v1: Fix compile issues on IA64 and PPC64]
[v2: Fix where __acpi_os_prepare_sleep==NULL and did not go in sleep properly]
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
2012-03-13 14:06:33 -04:00
..
accommon.h ACPICA: Update all ACPICA copyrights and signons to 2011 2011-01-18 23:48:03 -05:00
acconfig.h acpica: ACPI_MAX_SLEEP should be 2 sec, not 20 2011-08-29 23:08:20 -04:00
acdebug.h ACPICA: Update all ACPICA copyrights and signons to 2011 2011-01-18 23:48:03 -05:00
acdispat.h ACPICA: Split large dsopcode and dsload.c files. 2011-03-02 19:38:05 -05:00
acevents.h ACPICA: Split all internal Global Lock functions to new file - evglock 2011-05-09 22:16:11 -04:00
acglobal.h ACPICA: Add option to disable method return value validation and repair 2011-07-13 23:51:48 -04:00
achware.h ACPICA: Update all ACPICA copyrights and signons to 2011 2011-01-18 23:48:03 -05:00
acinterp.h ACPICA: Update all ACPICA copyrights and signons to 2011 2011-01-18 23:48:03 -05:00
aclocal.h ACPICA: Do not repair _TSS return package if _PSS is present 2011-07-13 23:51:49 -04:00
acmacros.h ACPICA: Update all ACPICA copyrights and signons to 2011 2011-01-18 23:48:03 -05:00
acnamesp.h ACPICA: Update all ACPICA copyrights and signons to 2011 2011-01-18 23:48:03 -05:00
acobject.h Merge branch 'acpica' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6 2011-01-20 16:28:34 -08:00
acopcode.h ACPICA: Update all ACPICA copyrights and signons to 2011 2011-01-18 23:48:03 -05:00
acparser.h ACPICA: Update all ACPICA copyrights and signons to 2011 2011-01-18 23:48:03 -05:00
acpredef.h ACPICA: Add missing _TDL to list of predefined names 2011-07-13 23:51:33 -04:00
acresrc.h ACPICA: Update all ACPICA copyrights and signons to 2011 2011-01-18 23:48:03 -05:00
acstruct.h ACPICA: Update all ACPICA copyrights and signons to 2011 2011-01-18 23:48:03 -05:00
actables.h ACPICA: Update all ACPICA copyrights and signons to 2011 2011-01-18 23:48:03 -05:00
acutils.h ACPICA: Update all ACPICA copyrights and signons to 2011 2011-01-18 23:48:03 -05:00
amlcode.h ACPICA: Update internal address SpaceID for DataTable regions 2011-05-09 22:16:11 -04:00
amlresrc.h ACPICA: Update all ACPICA copyrights and signons to 2011 2011-01-18 23:48:03 -05:00
dsargs.c ACPICA: Split large dsopcode and dsload.c files. 2011-03-02 19:38:05 -05:00
dscontrol.c ACPICA: Split large dsopcode and dsload.c files. 2011-03-02 19:38:05 -05:00
dsfield.c ACPICA: Update all ACPICA copyrights and signons to 2011 2011-01-18 23:48:03 -05:00
dsinit.c ACPICA: Update all ACPICA copyrights and signons to 2011 2011-01-18 23:48:03 -05:00
dsmethod.c ACPICA: Update all ACPICA copyrights and signons to 2011 2011-01-18 23:48:03 -05:00
dsmthdat.c ACPICA: Update all ACPICA copyrights and signons to 2011 2011-01-18 23:48:03 -05:00
dsobject.c ACPICA: Update all ACPICA copyrights and signons to 2011 2011-01-18 23:48:03 -05:00
dsopcode.c ACPICA: Split large dsopcode and dsload.c files. 2011-03-02 19:38:05 -05:00
dsutils.c ACPICA: Update all ACPICA copyrights and signons to 2011 2011-01-18 23:48:03 -05:00
dswexec.c ACPICA: Update all ACPICA copyrights and signons to 2011 2011-01-18 23:48:03 -05:00
dswload.c ACPICA: Update internal address SpaceID for DataTable regions 2011-05-09 22:16:11 -04:00
dswload2.c ACPICA: Update internal address SpaceID for DataTable regions 2011-05-09 22:16:11 -04:00
dswscope.c ACPICA: Update all ACPICA copyrights and signons to 2011 2011-01-18 23:48:03 -05:00
dswstate.c ACPICA: Update all ACPICA copyrights and signons to 2011 2011-01-18 23:48:03 -05:00
evevent.c ACPICA: Update all ACPICA copyrights and signons to 2011 2011-01-18 23:48:03 -05:00
evglock.c ACPICA: Split all internal Global Lock functions to new file - evglock 2011-05-09 22:16:11 -04:00
evgpe.c Merge branch 'acpica' into release 2011-03-18 18:06:08 -04:00
evgpeblk.c ACPICA: Update all ACPICA copyrights and signons to 2011 2011-01-18 23:48:03 -05:00
evgpeinit.c ACPICA: Update all ACPICA copyrights and signons to 2011 2011-01-18 23:48:03 -05:00
evgpeutil.c ACPICA: Update all ACPICA copyrights and signons to 2011 2011-01-18 23:48:03 -05:00
evmisc.c ACPICA: Split all internal Global Lock functions to new file - evglock 2011-05-09 22:16:11 -04:00
evregion.c ACPICA: Execute an orphan _REG method under the EC device 2011-05-09 22:16:12 -04:00
evrgnini.c ACPICA: Execute an orphan _REG method under the EC device 2011-05-09 22:16:12 -04:00
evsci.c ACPICA: Update all ACPICA copyrights and signons to 2011 2011-01-18 23:48:03 -05:00
evxface.c acpi: add export.h to files using THIS_MODULE/EXPORT_SYMBOL 2011-10-31 19:30:34 -04:00
evxfevnt.c acpi: add export.h to files using THIS_MODULE/EXPORT_SYMBOL 2011-10-31 19:30:34 -04:00
evxfgpe.c acpi: add export.h to files using THIS_MODULE/EXPORT_SYMBOL 2011-10-31 19:30:34 -04:00
evxfregn.c acpi: add export.h to files using THIS_MODULE/EXPORT_SYMBOL 2011-10-31 19:30:34 -04:00
exconfig.c ACPICA: Update all ACPICA copyrights and signons to 2011 2011-01-18 23:48:03 -05:00
exconvrt.c ACPICA: Update all ACPICA copyrights and signons to 2011 2011-01-18 23:48:03 -05:00
excreate.c ACPICA: Update internal address SpaceID for DataTable regions 2011-05-09 22:16:11 -04:00
exdebug.c ACPICA: Update all ACPICA copyrights and signons to 2011 2011-01-18 23:48:03 -05:00
exdump.c ACPICA: Update all ACPICA copyrights and signons to 2011 2011-01-18 23:48:03 -05:00
exfield.c ACPICA: Update all ACPICA copyrights and signons to 2011 2011-01-18 23:48:03 -05:00
exfldio.c ACPICA: Clarify a couple of error messages 2011-03-02 19:38:04 -05:00
exmisc.c ACPICA: Update all ACPICA copyrights and signons to 2011 2011-01-18 23:48:03 -05:00
exmutex.c ACPICA: Update all ACPICA copyrights and signons to 2011 2011-01-18 23:48:03 -05:00
exnames.c ACPICA: Update all ACPICA copyrights and signons to 2011 2011-01-18 23:48:03 -05:00
exoparg1.c ACPICA: Update all ACPICA copyrights and signons to 2011 2011-01-18 23:48:03 -05:00
exoparg2.c ACPICA: Update all ACPICA copyrights and signons to 2011 2011-01-18 23:48:03 -05:00
exoparg3.c ACPICA: Update all ACPICA copyrights and signons to 2011 2011-01-18 23:48:03 -05:00
exoparg6.c ACPICA: Update all ACPICA copyrights and signons to 2011 2011-01-18 23:48:03 -05:00
exprep.c ACPICA: Update all ACPICA copyrights and signons to 2011 2011-01-18 23:48:03 -05:00
exregion.c ACPICA: Update all ACPICA copyrights and signons to 2011 2011-01-18 23:48:03 -05:00
exresnte.c ACPICA: Update all ACPICA copyrights and signons to 2011 2011-01-18 23:48:03 -05:00
exresolv.c ACPICA: Update all ACPICA copyrights and signons to 2011 2011-01-18 23:48:03 -05:00
exresop.c ACPICA: Update all ACPICA copyrights and signons to 2011 2011-01-18 23:48:03 -05:00
exstore.c ACPICA: Update all ACPICA copyrights and signons to 2011 2011-01-18 23:48:03 -05:00
exstoren.c ACPICA: Update all ACPICA copyrights and signons to 2011 2011-01-18 23:48:03 -05:00
exstorob.c ACPICA: Update all ACPICA copyrights and signons to 2011 2011-01-18 23:48:03 -05:00
exsystem.c ACPICA: Update all ACPICA copyrights and signons to 2011 2011-01-18 23:48:03 -05:00
exutils.c ACPICA: Update all ACPICA copyrights and signons to 2011 2011-01-18 23:48:03 -05:00
hwacpi.c ACPICA: Update all ACPICA copyrights and signons to 2011 2011-01-18 23:48:03 -05:00
hwgpe.c ACPICA: Update all ACPICA copyrights and signons to 2011 2011-01-18 23:48:03 -05:00
hwpci.c ACPICA: Update all ACPICA copyrights and signons to 2011 2011-01-18 23:48:03 -05:00
hwregs.c ACPI: Fix possible recursive locking in hwregs.c 2011-11-06 20:09:23 -05:00
hwsleep.c x86, acpi, tboot: Have a ACPI os prepare sleep instead of calling tboot_sleep. 2012-03-13 14:06:33 -04:00
hwtimer.c acpi: add export.h to files using THIS_MODULE/EXPORT_SYMBOL 2011-10-31 19:30:34 -04:00
hwvalid.c ACPICA: Update all ACPICA copyrights and signons to 2011 2011-01-18 23:48:03 -05:00
hwxface.c acpi: add export.h to files using THIS_MODULE/EXPORT_SYMBOL 2011-10-31 19:30:34 -04:00
Makefile ACPICA: Split all internal Global Lock functions to new file - evglock 2011-05-09 22:16:11 -04:00
nsaccess.c ACPICA: Update all ACPICA copyrights and signons to 2011 2011-01-18 23:48:03 -05:00
nsalloc.c ACPICA: Update all ACPICA copyrights and signons to 2011 2011-01-18 23:48:03 -05:00
nsdump.c ACPICA: Update all ACPICA copyrights and signons to 2011 2011-01-18 23:48:03 -05:00
nsdumpdv.c ACPICA: Update all ACPICA copyrights and signons to 2011 2011-01-18 23:48:03 -05:00
nseval.c ACPICA: Update all ACPICA copyrights and signons to 2011 2011-01-18 23:48:03 -05:00
nsinit.c Merge branch 'acpica' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6 2011-01-20 16:28:34 -08:00
nsload.c ACPICA: Update all ACPICA copyrights and signons to 2011 2011-01-18 23:48:03 -05:00
nsnames.c ACPICA: Update all ACPICA copyrights and signons to 2011 2011-01-18 23:48:03 -05:00
nsobject.c ACPICA: Update all ACPICA copyrights and signons to 2011 2011-01-18 23:48:03 -05:00
nsparse.c ACPICA: Update all ACPICA copyrights and signons to 2011 2011-01-18 23:48:03 -05:00
nspredef.c ACPICA: Do not repair _TSS return package if _PSS is present 2011-07-13 23:51:49 -04:00
nsrepair.c ACPICA: Add more methods eligible for NULL package element removal 2011-05-09 22:16:11 -04:00
nsrepair2.c ACPICA: Do not repair _TSS return package if _PSS is present 2011-07-13 23:51:49 -04:00
nssearch.c ACPICA: Update all ACPICA copyrights and signons to 2011 2011-01-18 23:48:03 -05:00
nsutils.c ACPICA: Update all ACPICA copyrights and signons to 2011 2011-01-18 23:48:03 -05:00
nswalk.c ACPICA: Update all ACPICA copyrights and signons to 2011 2011-01-18 23:48:03 -05:00
nsxfeval.c acpi: add export.h to files using THIS_MODULE/EXPORT_SYMBOL 2011-10-31 19:30:34 -04:00
nsxfname.c acpi: add export.h to files using THIS_MODULE/EXPORT_SYMBOL 2011-10-31 19:30:34 -04:00
nsxfobj.c acpi: add export.h to files using THIS_MODULE/EXPORT_SYMBOL 2011-10-31 19:30:34 -04:00
psargs.c ACPICA: Update all ACPICA copyrights and signons to 2011 2011-01-18 23:48:03 -05:00
psloop.c ACPICA: Update all ACPICA copyrights and signons to 2011 2011-01-18 23:48:03 -05:00
psopcode.c ACPICA: Update all ACPICA copyrights and signons to 2011 2011-01-18 23:48:03 -05:00
psparse.c ACPICA: Update all ACPICA copyrights and signons to 2011 2011-01-18 23:48:03 -05:00
psscope.c ACPICA: Update all ACPICA copyrights and signons to 2011 2011-01-18 23:48:03 -05:00
pstree.c ACPICA: Update all ACPICA copyrights and signons to 2011 2011-01-18 23:48:03 -05:00
psutils.c ACPICA: Update all ACPICA copyrights and signons to 2011 2011-01-18 23:48:03 -05:00
pswalk.c ACPICA: Update all ACPICA copyrights and signons to 2011 2011-01-18 23:48:03 -05:00
psxface.c ACPICA: Update all ACPICA copyrights and signons to 2011 2011-01-18 23:48:03 -05:00
rsaddr.c ACPICA: Update all ACPICA copyrights and signons to 2011 2011-01-18 23:48:03 -05:00
rscalc.c ACPICA: Update all ACPICA copyrights and signons to 2011 2011-01-18 23:48:03 -05:00
rscreate.c ACPICA: Update all ACPICA copyrights and signons to 2011 2011-01-18 23:48:03 -05:00
rsdump.c ACPICA: Update all ACPICA copyrights and signons to 2011 2011-01-18 23:48:03 -05:00
rsinfo.c ACPICA: Update all ACPICA copyrights and signons to 2011 2011-01-18 23:48:03 -05:00
rsio.c ACPICA: Update all ACPICA copyrights and signons to 2011 2011-01-18 23:48:03 -05:00
rsirq.c ACPICA: Update all ACPICA copyrights and signons to 2011 2011-01-18 23:48:03 -05:00
rslist.c ACPICA: Update all ACPICA copyrights and signons to 2011 2011-01-18 23:48:03 -05:00
rsmemory.c ACPICA: Update all ACPICA copyrights and signons to 2011 2011-01-18 23:48:03 -05:00
rsmisc.c ACPICA: Update all ACPICA copyrights and signons to 2011 2011-01-18 23:48:03 -05:00
rsutils.c ACPICA: Update all ACPICA copyrights and signons to 2011 2011-01-18 23:48:03 -05:00
rsxface.c acpi: add export.h to files using THIS_MODULE/EXPORT_SYMBOL 2011-10-31 19:30:34 -04:00
tbfadt.c ACPICA: Remove use of unreliable FADT revision field 2011-03-02 19:38:03 -05:00
tbfind.c ACPICA: Update all ACPICA copyrights and signons to 2011 2011-01-18 23:48:03 -05:00
tbinstal.c ACPICA: Load operator: re-instate most restrictions on incoming table signature 2011-07-13 23:51:32 -04:00
tbutils.c ACPICA: Update all ACPICA copyrights and signons to 2011 2011-01-18 23:48:03 -05:00
tbxface.c acpi: add export.h to files using THIS_MODULE/EXPORT_SYMBOL 2011-10-31 19:30:34 -04:00
tbxfroot.c ACPICA: Update all ACPICA copyrights and signons to 2011 2011-01-18 23:48:03 -05:00
utalloc.c ACPICA: Update all ACPICA copyrights and signons to 2011 2011-01-18 23:48:03 -05:00
utcopy.c ACPICA: Update all ACPICA copyrights and signons to 2011 2011-01-18 23:48:03 -05:00
utdebug.c acpi: add export.h to files using THIS_MODULE/EXPORT_SYMBOL 2011-10-31 19:30:34 -04:00
utdecode.c acpi: add export.h to files using THIS_MODULE/EXPORT_SYMBOL 2011-10-31 19:30:34 -04:00
utdelete.c ACPICA: Update all ACPICA copyrights and signons to 2011 2011-01-18 23:48:03 -05:00
uteval.c ACPICA: Update all ACPICA copyrights and signons to 2011 2011-01-18 23:48:03 -05:00
utglobal.c acpi: add export.h to files using THIS_MODULE/EXPORT_SYMBOL 2011-10-31 19:30:34 -04:00
utids.c ACPICA: Update all ACPICA copyrights and signons to 2011 2011-01-18 23:48:03 -05:00
utinit.c ACPICA: Update all ACPICA copyrights and signons to 2011 2011-01-18 23:48:03 -05:00
utlock.c ACPICA: Update all ACPICA copyrights and signons to 2011 2011-01-18 23:48:03 -05:00
utmath.c ACPICA: Update all ACPICA copyrights and signons to 2011 2011-01-18 23:48:03 -05:00
utmisc.c ACPICA: Update all ACPICA copyrights and signons to 2011 2011-01-18 23:48:03 -05:00
utmutex.c ACPICA: Fix code divergence of global lock handling 2011-03-25 04:33:15 -04:00
utobject.c ACPICA: Update all ACPICA copyrights and signons to 2011 2011-01-18 23:48:03 -05:00
utosi.c ACPICA: Update all ACPICA copyrights and signons to 2011 2011-01-18 23:48:03 -05:00
utresrc.c treewide: fix a few typos in comments 2011-05-10 10:16:21 +02:00
utstate.c ACPICA: Update all ACPICA copyrights and signons to 2011 2011-01-18 23:48:03 -05:00
utxface.c acpi: add export.h to files using THIS_MODULE/EXPORT_SYMBOL 2011-10-31 19:30:34 -04:00
utxferror.c acpi: add export.h to files using THIS_MODULE/EXPORT_SYMBOL 2011-10-31 19:30:34 -04:00