hwsleep.c 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582
  1. /******************************************************************************
  2. *
  3. * Name: hwsleep.c - ACPI Hardware Sleep/Wake Interface
  4. *
  5. *****************************************************************************/
  6. /*
  7. * Copyright (C) 2000 - 2005, R. Byron Moore
  8. * All rights reserved.
  9. *
  10. * Redistribution and use in source and binary forms, with or without
  11. * modification, are permitted provided that the following conditions
  12. * are met:
  13. * 1. Redistributions of source code must retain the above copyright
  14. * notice, this list of conditions, and the following disclaimer,
  15. * without modification.
  16. * 2. Redistributions in binary form must reproduce at minimum a disclaimer
  17. * substantially similar to the "NO WARRANTY" disclaimer below
  18. * ("Disclaimer") and any redistribution must be conditioned upon
  19. * including a substantially similar Disclaimer requirement for further
  20. * binary redistribution.
  21. * 3. Neither the names of the above-listed copyright holders nor the names
  22. * of any contributors may be used to endorse or promote products derived
  23. * from this software without specific prior written permission.
  24. *
  25. * Alternatively, this software may be distributed under the terms of the
  26. * GNU General Public License ("GPL") version 2 as published by the Free
  27. * Software Foundation.
  28. *
  29. * NO WARRANTY
  30. * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
  31. * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
  32. * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR
  33. * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
  34. * HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  35. * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  36. * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  37. * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
  38. * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
  39. * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  40. * POSSIBILITY OF SUCH DAMAGES.
  41. */
  42. #include <linux/module.h>
  43. #include <acpi/acpi.h>
  44. #define _COMPONENT ACPI_HARDWARE
  45. ACPI_MODULE_NAME ("hwsleep")
  46. #define METHOD_NAME__BFS "\\_BFS"
  47. #define METHOD_NAME__GTS "\\_GTS"
  48. #define METHOD_NAME__PTS "\\_PTS"
  49. #define METHOD_NAME__SST "\\_SI._SST"
  50. #define METHOD_NAME__WAK "\\_WAK"
  51. #define ACPI_SST_INDICATOR_OFF 0
  52. #define ACPI_SST_WORKING 1
  53. #define ACPI_SST_WAKING 2
  54. #define ACPI_SST_SLEEPING 3
  55. #define ACPI_SST_SLEEP_CONTEXT 4
  56. /******************************************************************************
  57. *
  58. * FUNCTION: acpi_set_firmware_waking_vector
  59. *
  60. * PARAMETERS: physical_address - Physical address of ACPI real mode
  61. * entry point.
  62. *
  63. * RETURN: Status
  64. *
  65. * DESCRIPTION: access function for d_firmware_waking_vector field in FACS
  66. *
  67. ******************************************************************************/
  68. acpi_status
  69. acpi_set_firmware_waking_vector (
  70. acpi_physical_address physical_address)
  71. {
  72. ACPI_FUNCTION_TRACE ("acpi_set_firmware_waking_vector");
  73. /* Set the vector */
  74. if (acpi_gbl_common_fACS.vector_width == 32) {
  75. *(ACPI_CAST_PTR (u32, acpi_gbl_common_fACS.firmware_waking_vector))
  76. = (u32) physical_address;
  77. }
  78. else {
  79. *acpi_gbl_common_fACS.firmware_waking_vector
  80. = physical_address;
  81. }
  82. return_ACPI_STATUS (AE_OK);
  83. }
  84. /******************************************************************************
  85. *
  86. * FUNCTION: acpi_get_firmware_waking_vector
  87. *
  88. * PARAMETERS: *physical_address - Output buffer where contents of
  89. * the firmware_waking_vector field of
  90. * the FACS will be stored.
  91. *
  92. * RETURN: Status
  93. *
  94. * DESCRIPTION: Access function for firmware_waking_vector field in FACS
  95. *
  96. ******************************************************************************/
  97. #ifdef ACPI_FUTURE_USAGE
  98. acpi_status
  99. acpi_get_firmware_waking_vector (
  100. acpi_physical_address *physical_address)
  101. {
  102. ACPI_FUNCTION_TRACE ("acpi_get_firmware_waking_vector");
  103. if (!physical_address) {
  104. return_ACPI_STATUS (AE_BAD_PARAMETER);
  105. }
  106. /* Get the vector */
  107. if (acpi_gbl_common_fACS.vector_width == 32) {
  108. *physical_address = (acpi_physical_address)
  109. *(ACPI_CAST_PTR (u32, acpi_gbl_common_fACS.firmware_waking_vector));
  110. }
  111. else {
  112. *physical_address =
  113. *acpi_gbl_common_fACS.firmware_waking_vector;
  114. }
  115. return_ACPI_STATUS (AE_OK);
  116. }
  117. #endif
  118. /******************************************************************************
  119. *
  120. * FUNCTION: acpi_enter_sleep_state_prep
  121. *
  122. * PARAMETERS: sleep_state - Which sleep state to enter
  123. *
  124. * RETURN: Status
  125. *
  126. * DESCRIPTION: Prepare to enter a system sleep state (see ACPI 2.0 spec p 231)
  127. * This function must execute with interrupts enabled.
  128. * We break sleeping into 2 stages so that OSPM can handle
  129. * various OS-specific tasks between the two steps.
  130. *
  131. ******************************************************************************/
  132. acpi_status
  133. acpi_enter_sleep_state_prep (
  134. u8 sleep_state)
  135. {
  136. acpi_status status;
  137. struct acpi_object_list arg_list;
  138. union acpi_object arg;
  139. ACPI_FUNCTION_TRACE ("acpi_enter_sleep_state_prep");
  140. /*
  141. * _PSW methods could be run here to enable wake-on keyboard, LAN, etc.
  142. */
  143. status = acpi_get_sleep_type_data (sleep_state,
  144. &acpi_gbl_sleep_type_a, &acpi_gbl_sleep_type_b);
  145. if (ACPI_FAILURE (status)) {
  146. return_ACPI_STATUS (status);
  147. }
  148. /* Setup parameter object */
  149. arg_list.count = 1;
  150. arg_list.pointer = &arg;
  151. arg.type = ACPI_TYPE_INTEGER;
  152. arg.integer.value = sleep_state;
  153. /* Run the _PTS and _GTS methods */
  154. status = acpi_evaluate_object (NULL, METHOD_NAME__PTS, &arg_list, NULL);
  155. if (ACPI_FAILURE (status) && status != AE_NOT_FOUND) {
  156. return_ACPI_STATUS (status);
  157. }
  158. status = acpi_evaluate_object (NULL, METHOD_NAME__GTS, &arg_list, NULL);
  159. if (ACPI_FAILURE (status) && status != AE_NOT_FOUND) {
  160. return_ACPI_STATUS (status);
  161. }
  162. /* Setup the argument to _SST */
  163. switch (sleep_state) {
  164. case ACPI_STATE_S0:
  165. arg.integer.value = ACPI_SST_WORKING;
  166. break;
  167. case ACPI_STATE_S1:
  168. case ACPI_STATE_S2:
  169. case ACPI_STATE_S3:
  170. arg.integer.value = ACPI_SST_SLEEPING;
  171. break;
  172. case ACPI_STATE_S4:
  173. arg.integer.value = ACPI_SST_SLEEP_CONTEXT;
  174. break;
  175. default:
  176. arg.integer.value = ACPI_SST_INDICATOR_OFF; /* Default is indicator off */
  177. break;
  178. }
  179. /* Set the system indicators to show the desired sleep state. */
  180. status = acpi_evaluate_object (NULL, METHOD_NAME__SST, &arg_list, NULL);
  181. if (ACPI_FAILURE (status) && status != AE_NOT_FOUND) {
  182. ACPI_REPORT_ERROR (("Method _SST failed, %s\n", acpi_format_exception (status)));
  183. }
  184. return_ACPI_STATUS (AE_OK);
  185. }
  186. /******************************************************************************
  187. *
  188. * FUNCTION: acpi_enter_sleep_state
  189. *
  190. * PARAMETERS: sleep_state - Which sleep state to enter
  191. *
  192. * RETURN: Status
  193. *
  194. * DESCRIPTION: Enter a system sleep state (see ACPI 2.0 spec p 231)
  195. * THIS FUNCTION MUST BE CALLED WITH INTERRUPTS DISABLED
  196. *
  197. ******************************************************************************/
  198. acpi_status asmlinkage
  199. acpi_enter_sleep_state (
  200. u8 sleep_state)
  201. {
  202. u32 PM1Acontrol;
  203. u32 PM1Bcontrol;
  204. struct acpi_bit_register_info *sleep_type_reg_info;
  205. struct acpi_bit_register_info *sleep_enable_reg_info;
  206. u32 in_value;
  207. acpi_status status;
  208. ACPI_FUNCTION_TRACE ("acpi_enter_sleep_state");
  209. if ((acpi_gbl_sleep_type_a > ACPI_SLEEP_TYPE_MAX) ||
  210. (acpi_gbl_sleep_type_b > ACPI_SLEEP_TYPE_MAX)) {
  211. ACPI_REPORT_ERROR (("Sleep values out of range: A=%X B=%X\n",
  212. acpi_gbl_sleep_type_a, acpi_gbl_sleep_type_b));
  213. return_ACPI_STATUS (AE_AML_OPERAND_VALUE);
  214. }
  215. sleep_type_reg_info = acpi_hw_get_bit_register_info (ACPI_BITREG_SLEEP_TYPE_A);
  216. sleep_enable_reg_info = acpi_hw_get_bit_register_info (ACPI_BITREG_SLEEP_ENABLE);
  217. /* Clear wake status */
  218. status = acpi_set_register (ACPI_BITREG_WAKE_STATUS, 1, ACPI_MTX_DO_NOT_LOCK);
  219. if (ACPI_FAILURE (status)) {
  220. return_ACPI_STATUS (status);
  221. }
  222. /* Clear all fixed and general purpose status bits */
  223. status = acpi_hw_clear_acpi_status (ACPI_MTX_DO_NOT_LOCK);
  224. if (ACPI_FAILURE (status)) {
  225. return_ACPI_STATUS (status);
  226. }
  227. /*
  228. * 1) Disable/Clear all GPEs
  229. * 2) Enable all wakeup GPEs
  230. */
  231. status = acpi_hw_disable_all_gpes (ACPI_ISR);
  232. if (ACPI_FAILURE (status)) {
  233. return_ACPI_STATUS (status);
  234. }
  235. acpi_gbl_system_awake_and_running = FALSE;
  236. status = acpi_hw_enable_all_wakeup_gpes (ACPI_ISR);
  237. if (ACPI_FAILURE (status)) {
  238. return_ACPI_STATUS (status);
  239. }
  240. /* Get current value of PM1A control */
  241. status = acpi_hw_register_read (ACPI_MTX_DO_NOT_LOCK, ACPI_REGISTER_PM1_CONTROL, &PM1Acontrol);
  242. if (ACPI_FAILURE (status)) {
  243. return_ACPI_STATUS (status);
  244. }
  245. ACPI_DEBUG_PRINT ((ACPI_DB_INIT, "Entering sleep state [S%d]\n", sleep_state));
  246. /* Clear SLP_EN and SLP_TYP fields */
  247. PM1Acontrol &= ~(sleep_type_reg_info->access_bit_mask | sleep_enable_reg_info->access_bit_mask);
  248. PM1Bcontrol = PM1Acontrol;
  249. /* Insert SLP_TYP bits */
  250. PM1Acontrol |= (acpi_gbl_sleep_type_a << sleep_type_reg_info->bit_position);
  251. PM1Bcontrol |= (acpi_gbl_sleep_type_b << sleep_type_reg_info->bit_position);
  252. /*
  253. * We split the writes of SLP_TYP and SLP_EN to workaround
  254. * poorly implemented hardware.
  255. */
  256. /* Write #1: fill in SLP_TYP data */
  257. status = acpi_hw_register_write (ACPI_MTX_DO_NOT_LOCK, ACPI_REGISTER_PM1A_CONTROL, PM1Acontrol);
  258. if (ACPI_FAILURE (status)) {
  259. return_ACPI_STATUS (status);
  260. }
  261. status = acpi_hw_register_write (ACPI_MTX_DO_NOT_LOCK, ACPI_REGISTER_PM1B_CONTROL, PM1Bcontrol);
  262. if (ACPI_FAILURE (status)) {
  263. return_ACPI_STATUS (status);
  264. }
  265. /* Insert SLP_ENABLE bit */
  266. PM1Acontrol |= sleep_enable_reg_info->access_bit_mask;
  267. PM1Bcontrol |= sleep_enable_reg_info->access_bit_mask;
  268. /* Write #2: SLP_TYP + SLP_EN */
  269. ACPI_FLUSH_CPU_CACHE ();
  270. status = acpi_hw_register_write (ACPI_MTX_DO_NOT_LOCK, ACPI_REGISTER_PM1A_CONTROL, PM1Acontrol);
  271. if (ACPI_FAILURE (status)) {
  272. return_ACPI_STATUS (status);
  273. }
  274. status = acpi_hw_register_write (ACPI_MTX_DO_NOT_LOCK, ACPI_REGISTER_PM1B_CONTROL, PM1Bcontrol);
  275. if (ACPI_FAILURE (status)) {
  276. return_ACPI_STATUS (status);
  277. }
  278. if (sleep_state > ACPI_STATE_S3) {
  279. /*
  280. * We wanted to sleep > S3, but it didn't happen (by virtue of the fact that
  281. * we are still executing!)
  282. *
  283. * Wait ten seconds, then try again. This is to get S4/S5 to work on all machines.
  284. *
  285. * We wait so long to allow chipsets that poll this reg very slowly to
  286. * still read the right value. Ideally, this block would go
  287. * away entirely.
  288. */
  289. acpi_os_stall (10000000);
  290. status = acpi_hw_register_write (ACPI_MTX_DO_NOT_LOCK, ACPI_REGISTER_PM1_CONTROL,
  291. sleep_enable_reg_info->access_bit_mask);
  292. if (ACPI_FAILURE (status)) {
  293. return_ACPI_STATUS (status);
  294. }
  295. }
  296. /* Wait until we enter sleep state */
  297. do {
  298. status = acpi_get_register (ACPI_BITREG_WAKE_STATUS, &in_value, ACPI_MTX_DO_NOT_LOCK);
  299. if (ACPI_FAILURE (status)) {
  300. return_ACPI_STATUS (status);
  301. }
  302. /* Spin until we wake */
  303. } while (!in_value);
  304. return_ACPI_STATUS (AE_OK);
  305. }
  306. EXPORT_SYMBOL(acpi_enter_sleep_state);
  307. /******************************************************************************
  308. *
  309. * FUNCTION: acpi_enter_sleep_state_s4bios
  310. *
  311. * PARAMETERS: None
  312. *
  313. * RETURN: Status
  314. *
  315. * DESCRIPTION: Perform a S4 bios request.
  316. * THIS FUNCTION MUST BE CALLED WITH INTERRUPTS DISABLED
  317. *
  318. ******************************************************************************/
  319. acpi_status asmlinkage
  320. acpi_enter_sleep_state_s4bios (
  321. void)
  322. {
  323. u32 in_value;
  324. acpi_status status;
  325. ACPI_FUNCTION_TRACE ("acpi_enter_sleep_state_s4bios");
  326. status = acpi_set_register (ACPI_BITREG_WAKE_STATUS, 1, ACPI_MTX_DO_NOT_LOCK);
  327. if (ACPI_FAILURE (status)) {
  328. return_ACPI_STATUS (status);
  329. }
  330. status = acpi_hw_clear_acpi_status (ACPI_MTX_DO_NOT_LOCK);
  331. if (ACPI_FAILURE (status)) {
  332. return_ACPI_STATUS (status);
  333. }
  334. /*
  335. * 1) Disable/Clear all GPEs
  336. * 2) Enable all wakeup GPEs
  337. */
  338. status = acpi_hw_disable_all_gpes (ACPI_ISR);
  339. if (ACPI_FAILURE (status)) {
  340. return_ACPI_STATUS (status);
  341. }
  342. acpi_gbl_system_awake_and_running = FALSE;
  343. status = acpi_hw_enable_all_wakeup_gpes (ACPI_ISR);
  344. if (ACPI_FAILURE (status)) {
  345. return_ACPI_STATUS (status);
  346. }
  347. ACPI_FLUSH_CPU_CACHE ();
  348. status = acpi_os_write_port (acpi_gbl_FADT->smi_cmd, (u32) acpi_gbl_FADT->S4bios_req, 8);
  349. do {
  350. acpi_os_stall(1000);
  351. status = acpi_get_register (ACPI_BITREG_WAKE_STATUS, &in_value, ACPI_MTX_DO_NOT_LOCK);
  352. if (ACPI_FAILURE (status)) {
  353. return_ACPI_STATUS (status);
  354. }
  355. } while (!in_value);
  356. return_ACPI_STATUS (AE_OK);
  357. }
  358. EXPORT_SYMBOL(acpi_enter_sleep_state_s4bios);
  359. /******************************************************************************
  360. *
  361. * FUNCTION: acpi_leave_sleep_state
  362. *
  363. * PARAMETERS: sleep_state - Which sleep state we just exited
  364. *
  365. * RETURN: Status
  366. *
  367. * DESCRIPTION: Perform OS-independent ACPI cleanup after a sleep
  368. * Called with interrupts ENABLED.
  369. *
  370. ******************************************************************************/
  371. acpi_status
  372. acpi_leave_sleep_state (
  373. u8 sleep_state)
  374. {
  375. struct acpi_object_list arg_list;
  376. union acpi_object arg;
  377. acpi_status status;
  378. struct acpi_bit_register_info *sleep_type_reg_info;
  379. struct acpi_bit_register_info *sleep_enable_reg_info;
  380. u32 PM1Acontrol;
  381. u32 PM1Bcontrol;
  382. ACPI_FUNCTION_TRACE ("acpi_leave_sleep_state");
  383. /*
  384. * Set SLP_TYPE and SLP_EN to state S0.
  385. * This is unclear from the ACPI Spec, but it is required
  386. * by some machines.
  387. */
  388. status = acpi_get_sleep_type_data (ACPI_STATE_S0,
  389. &acpi_gbl_sleep_type_a, &acpi_gbl_sleep_type_b);
  390. if (ACPI_SUCCESS (status)) {
  391. sleep_type_reg_info = acpi_hw_get_bit_register_info (ACPI_BITREG_SLEEP_TYPE_A);
  392. sleep_enable_reg_info = acpi_hw_get_bit_register_info (ACPI_BITREG_SLEEP_ENABLE);
  393. /* Get current value of PM1A control */
  394. status = acpi_hw_register_read (ACPI_MTX_DO_NOT_LOCK,
  395. ACPI_REGISTER_PM1_CONTROL, &PM1Acontrol);
  396. if (ACPI_SUCCESS (status)) {
  397. /* Clear SLP_EN and SLP_TYP fields */
  398. PM1Acontrol &= ~(sleep_type_reg_info->access_bit_mask |
  399. sleep_enable_reg_info->access_bit_mask);
  400. PM1Bcontrol = PM1Acontrol;
  401. /* Insert SLP_TYP bits */
  402. PM1Acontrol |= (acpi_gbl_sleep_type_a << sleep_type_reg_info->bit_position);
  403. PM1Bcontrol |= (acpi_gbl_sleep_type_b << sleep_type_reg_info->bit_position);
  404. /* Just ignore any errors */
  405. (void) acpi_hw_register_write (ACPI_MTX_DO_NOT_LOCK,
  406. ACPI_REGISTER_PM1A_CONTROL, PM1Acontrol);
  407. (void) acpi_hw_register_write (ACPI_MTX_DO_NOT_LOCK,
  408. ACPI_REGISTER_PM1B_CONTROL, PM1Bcontrol);
  409. }
  410. }
  411. /* Ensure enter_sleep_state_prep -> enter_sleep_state ordering */
  412. acpi_gbl_sleep_type_a = ACPI_SLEEP_TYPE_INVALID;
  413. /* Setup parameter object */
  414. arg_list.count = 1;
  415. arg_list.pointer = &arg;
  416. arg.type = ACPI_TYPE_INTEGER;
  417. /* Ignore any errors from these methods */
  418. arg.integer.value = ACPI_SST_WAKING;
  419. status = acpi_evaluate_object (NULL, METHOD_NAME__SST, &arg_list, NULL);
  420. if (ACPI_FAILURE (status) && status != AE_NOT_FOUND) {
  421. ACPI_REPORT_ERROR (("Method _SST failed, %s\n", acpi_format_exception (status)));
  422. }
  423. arg.integer.value = sleep_state;
  424. status = acpi_evaluate_object (NULL, METHOD_NAME__BFS, &arg_list, NULL);
  425. if (ACPI_FAILURE (status) && status != AE_NOT_FOUND) {
  426. ACPI_REPORT_ERROR (("Method _BFS failed, %s\n", acpi_format_exception (status)));
  427. }
  428. status = acpi_evaluate_object (NULL, METHOD_NAME__WAK, &arg_list, NULL);
  429. if (ACPI_FAILURE (status) && status != AE_NOT_FOUND) {
  430. ACPI_REPORT_ERROR (("Method _WAK failed, %s\n", acpi_format_exception (status)));
  431. }
  432. /* TBD: _WAK "sometimes" returns stuff - do we want to look at it? */
  433. /*
  434. * Restore the GPEs:
  435. * 1) Disable/Clear all GPEs
  436. * 2) Enable all runtime GPEs
  437. */
  438. status = acpi_hw_disable_all_gpes (ACPI_NOT_ISR);
  439. if (ACPI_FAILURE (status)) {
  440. return_ACPI_STATUS (status);
  441. }
  442. acpi_gbl_system_awake_and_running = TRUE;
  443. status = acpi_hw_enable_all_runtime_gpes (ACPI_NOT_ISR);
  444. if (ACPI_FAILURE (status)) {
  445. return_ACPI_STATUS (status);
  446. }
  447. /* Enable power button */
  448. (void) acpi_set_register(acpi_gbl_fixed_event_info[ACPI_EVENT_POWER_BUTTON].enable_register_id,
  449. 1, ACPI_MTX_DO_NOT_LOCK);
  450. (void) acpi_set_register(acpi_gbl_fixed_event_info[ACPI_EVENT_POWER_BUTTON].status_register_id,
  451. 1, ACPI_MTX_DO_NOT_LOCK);
  452. arg.integer.value = ACPI_SST_WORKING;
  453. status = acpi_evaluate_object (NULL, METHOD_NAME__SST, &arg_list, NULL);
  454. if (ACPI_FAILURE (status) && status != AE_NOT_FOUND) {
  455. ACPI_REPORT_ERROR (("Method _SST failed, %s\n", acpi_format_exception (status)));
  456. }
  457. return_ACPI_STATUS (status);
  458. }