From: Lv Zheng <lv.zheng@intel.com>
To: "Rafael J. Wysocki" <rafael.j.wysocki@intel.com>,
Len Brown <len.brown@intel.com>
Cc: Lv Zheng <lv.zheng@intel.com>, Lv Zheng <zetalog@gmail.com>,
linux-acpi@vger.kernel.org, Bob Moore <robert.moore@intel.com>
Subject: [PATCH 05/28] ACPICA: Unload operator: Emit a warning if and when it is ever used.
Date: Fri, 4 Apr 2014 12:37:26 +0800 [thread overview]
Message-ID: <83aca8466faa7ada04965d13690aa0f687f8b8fe.1396581591.git.lv.zheng@intel.com> (raw)
In-Reply-To: <cover.1396581591.git.lv.zheng@intel.com>
From: Bob Moore <robert.moore@intel.com>
We would like to see the ASL for any machine that uses this operator,
so emit at least a warning to hopefully draw some attention.
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
---
drivers/acpi/acpica/exconfig.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/drivers/acpi/acpica/exconfig.c b/drivers/acpi/acpica/exconfig.c
index 8ba1464..1b734eb 100644
--- a/drivers/acpi/acpica/exconfig.c
+++ b/drivers/acpi/acpica/exconfig.c
@@ -576,6 +576,13 @@ acpi_status acpi_ex_unload_table(union acpi_operand_object *ddb_handle)
ACPI_FUNCTION_TRACE(ex_unload_table);
/*
+ * Temporarily emit a warning so that the ASL for the machine can be
+ * hopefully obtained. This is to say that the Unload() operator is
+ * extremely rare if not completely unused.
+ */
+ ACPI_WARNING((AE_INFO, "Received request to unload an ACPI table"));
+
+ /*
* Validate the handle
* Although the handle is partially validated in acpi_ex_reconfiguration()
* when it calls acpi_ex_resolve_operands(), the handle is more completely
--
1.7.10
next prev parent reply other threads:[~2014-04-04 4:37 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-04 4:36 [PATCH 00/28] ACPICA: 20140325 Release Lv Zheng
2014-04-04 4:36 ` [PATCH 01/28] ACPICA: Add EXPORT_SYMBOL macros for install/remove SCI handler interfaces Lv Zheng
2014-04-04 4:36 ` [PATCH 02/28] ACPICA: utstring: Check array index bound before use Lv Zheng
2014-04-04 4:37 ` [PATCH 03/28] ACPICA: Update comments for ACPICA name - no functional change Lv Zheng
2014-04-04 4:37 ` [PATCH 04/28] ACPICA: gcc-specific: Fix possible issue with the strchr function Lv Zheng
2014-04-04 4:37 ` Lv Zheng [this message]
2014-04-04 4:37 ` [PATCH 06/28] ACPICA: Disassembler: Add support to decode _HID and _CID values Lv Zheng
2014-04-04 4:37 ` [PATCH 07/28] ACPICA: Disassembler: Add decoding of Notify() values Lv Zheng
2014-04-04 4:37 ` [PATCH 08/28] ACPICA: Update use of acpi_os_wait_events_complete interface Lv Zheng
2014-04-04 4:37 ` [PATCH 09/28] ACPI: Merge divergence of the commmit: ACPICA: Linux-specific header: Update support for Linux/acpi applications Lv Zheng
2014-04-04 4:38 ` [PATCH 10/28] ACPICA: Linux-specific header: Add support for PPC64 compilation Lv Zheng
2014-04-04 4:38 ` [PATCH 11/28] ACPICA: Add a missing field for debug dump of mutex objects Lv Zheng
2014-04-04 4:38 ` [PATCH 12/28] ACPICA: Remove indent divergences to reduce the difficulties of maintaining the revised ACPICA commits Lv Zheng
2014-04-04 4:38 ` [PATCH 13/28] ACPICA: Tables: Fix the issues in handling virtual addressed tables Lv Zheng
2014-04-04 4:38 ` [PATCH 14/28] ACPICA: Tables: Fix the issue that multiple ACPI_FREE()s are invoked for same pointer around acpi_tb_add_table() Lv Zheng
2014-04-04 4:38 ` [PATCH 15/28] ACPICA: Tables: Cleanup split INSTALLED/VALIDATED table state logics Lv Zheng
2014-04-04 4:38 ` [PATCH 16/28] ACPICA: Tables: Fix the issue that table validations are not balanced Lv Zheng
2014-04-04 4:38 ` [PATCH 17/28] ACPICA: Tables: Fix the issue that table checksums are not always verified before installation Lv Zheng
2014-04-04 4:39 ` [PATCH 18/28] ACPICA: Tables: Cleanup ACPI_TABLE_ORIGIN_xxx flags Lv Zheng
2014-04-04 4:39 ` [PATCH 19/28] ACPICA: Tables: Avoid SSDT installation when acpi_gbl_disable_ssdt_table_load is specified Lv Zheng
2014-04-04 4:39 ` [PATCH 20/28] ACPICA: Tables: Add acpi_install_table() API to be invoked by OSPM early table installation Lv Zheng
2014-04-04 4:39 ` [PATCH 21/28] ACPICA: Table Manager: Misc cleanup and renames, no functional change Lv Zheng
2014-04-04 4:39 ` [PATCH 22/28] ACPICA: Table Manager: Split tbinstal.c into two files Lv Zheng
2014-04-04 4:39 ` [PATCH 23/28] ACPICA: acpidump: Add support to generate acpidump release Lv Zheng
2014-04-04 4:39 ` [PATCH 24/28] ACPICA: acpidump: Update new structures and add missing file Lv Zheng
2014-04-04 4:39 ` [PATCH 25/28] ACPICA: acpidump: Update Makefile to use new acpidump Lv Zheng
2014-04-04 4:40 ` [PATCH 26/28] ACPICA: acpidump: Remove old acpidump source Lv Zheng
2014-04-04 4:40 ` [PATCH 27/28] ACPICA: acpidump: Update manual file Lv Zheng
2014-04-04 4:40 ` [PATCH 28/28] ACPICA: Update version to 20140325 Lv Zheng
2014-04-08 12:31 ` [PATCH 00/28] ACPICA: 20140325 Release Rafael J. Wysocki
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83aca8466faa7ada04965d13690aa0f687f8b8fe.1396581591.git.lv.zheng@intel.com \
--to=lv.zheng@intel.com \
--cc=len.brown@intel.com \
--cc=linux-acpi@vger.kernel.org \
--cc=rafael.j.wysocki@intel.com \
--cc=robert.moore@intel.com \
--cc=zetalog@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).