From: Lv Zheng <lv.zheng@intel.com>
To: "Rafael J. Wysocki" <rafael.j.wysocki@intel.com>,
Robert Moore <robert.moore@intel.com>,
Len Brown <len.brown@intel.com>
Cc: Lv Zheng <lv.zheng@intel.com>, linux-acpi@vger.kernel.org
Subject: [PATCH v2 12/14] ACPICA: Cleanup exception codes.
Date: Mon, 23 Sep 2013 09:52:40 +0800 [thread overview]
Message-ID: <608e5c20faa6202d445fd0c1fffe371d2c40a87e.1379900697.git.lv.zheng@intel.com> (raw)
In-Reply-To: <cover.1379900697.git.lv.zheng@intel.com>
This patch adds AE_ACCESS for EACCES or EPERM. Some error prompts are
also cleaned up in this patch. Lv Zheng.
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Bob Moore <robert.moore@intel.com>
Reviewed-by: Len Brown <len.brown@intel.com>
---
include/acpi/acexcep.h | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/include/acpi/acexcep.h b/include/acpi/acexcep.h
index cf051e0..4e280bd 100644
--- a/include/acpi/acexcep.h
+++ b/include/acpi/acexcep.h
@@ -125,8 +125,9 @@ struct acpi_exception_info {
#define AE_NO_HANDLER EXCEP_ENV (0x001A)
#define AE_OWNER_ID_LIMIT EXCEP_ENV (0x001B)
#define AE_NOT_CONFIGURED EXCEP_ENV (0x001C)
+#define AE_ACCESS EXCEP_ENV (0x001D)
-#define AE_CODE_ENV_MAX 0x001C
+#define AE_CODE_ENV_MAX 0x001D
/*
* Programmer exceptions
@@ -227,7 +228,7 @@ static const struct acpi_exception_info acpi_gbl_exception_names_env[] = {
EXCEP_TXT("AE_NO_ACPI_TABLES", "ACPI tables could not be found"),
EXCEP_TXT("AE_NO_NAMESPACE", "A namespace has not been loaded"),
EXCEP_TXT("AE_NO_MEMORY", "Insufficient dynamic memory"),
- EXCEP_TXT("AE_NOT_FOUND", "The name was not found in the namespace"),
+ EXCEP_TXT("AE_NOT_FOUND", "A requested entity is not found"),
EXCEP_TXT("AE_NOT_EXIST", "A required entity does not exist"),
EXCEP_TXT("AE_ALREADY_EXISTS", "An entity already exists"),
EXCEP_TXT("AE_TYPE", "The object type is incorrect"),
@@ -259,7 +260,8 @@ static const struct acpi_exception_info acpi_gbl_exception_names_env[] = {
EXCEP_TXT("AE_OWNER_ID_LIMIT",
"There are no more Owner IDs available for ACPI tables or control methods"),
EXCEP_TXT("AE_NOT_CONFIGURED",
- "The interface is not part of the current subsystem configuration")
+ "The interface is not part of the current subsystem configuration"),
+ EXCEP_TXT("AE_ACCESS", "Permission denied for the requested operation")
};
static const struct acpi_exception_info acpi_gbl_exception_names_pgm[] = {
--
1.7.10
next prev parent reply other threads:[~2013-09-23 1:52 UTC|newest]
Thread overview: 49+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-12 8:54 [PATCH 00/14] ACPICA 20130823 Release Lv Zheng
2013-09-12 8:54 ` [PATCH 01/14] ACPICA: Improve error message for "too many parent prefixes" condition Lv Zheng
2013-09-12 8:54 ` [PATCH 02/14] ACPICA: acpi_read: On error, do not modify the return value target location Lv Zheng
2013-09-12 8:54 ` [PATCH 03/14] ACPICA: Debug output: small formatting update, no functional change Lv Zheng
2013-09-12 8:54 ` [PATCH 04/14] ACPICA: Linux-specific header: enable "aarch64" 64-bit build Lv Zheng
2013-09-12 8:54 ` [PATCH 05/14] ACPICA: Debugger: Prevent possible command line buffer overflow Lv Zheng
2013-09-17 0:42 ` Len Brown
2013-09-17 1:15 ` Zheng, Lv
2013-09-17 19:31 ` Brown, Len
2013-09-23 1:36 ` Zheng, Lv
2013-09-12 8:55 ` [PATCH 06/14] ACPICA: Validate start object for acpi_walk_namespace Lv Zheng
2013-09-17 0:44 ` Len Brown
2013-09-17 1:25 ` Zheng, Lv
2013-09-17 2:56 ` Moore, Robert
2013-09-17 19:46 ` Brown, Len
2013-09-17 19:48 ` Moore, Robert
2013-09-23 1:37 ` Zheng, Lv
2013-09-12 8:55 ` [PATCH 07/14] ACPICA: Add support for host-installed SCI handlers Lv Zheng
2013-09-17 0:48 ` Len Brown
2013-09-17 1:07 ` Zheng, Lv
2013-09-17 17:47 ` Moore, Robert
2013-09-12 8:55 ` [PATCH 08/14] ACPICA: Operation region support: Never free the handler "context" pointer Lv Zheng
2013-09-12 8:55 ` [PATCH 09/14] ACPICA: Debugger: Add new command to display full namespace pathnames Lv Zheng
2013-09-12 8:55 ` [PATCH 10/14] ACPICA: Tables: Cleanup table checksum verification code Lv Zheng
2013-09-12 8:55 ` [PATCH 11/14] ACPICA: Tables: Cleanup RSDP signature codes Lv Zheng
2013-09-17 0:51 ` Len Brown
2013-09-17 1:11 ` Zheng, Lv
2013-09-12 8:55 ` [PATCH 12/14] ACPICA: Cleanup exception codes Lv Zheng
2013-09-12 8:55 ` [PATCH 13/14] ACPICA: SCI Handlers: Update handler interface, eliminate unnecessary argument Lv Zheng
2013-09-12 8:55 ` [PATCH 14/14] ACPICA: Update version to 20130823 Lv Zheng
2013-09-17 0:54 ` [PATCH 00/14] ACPICA 20130823 Release Len Brown
2013-09-23 1:50 ` [PATCH v2 " Lv Zheng
2013-09-23 1:51 ` [PATCH v2 01/14] ACPICA: Improve error message for "too many parent prefixes" condition Lv Zheng
2013-09-23 1:51 ` [PATCH v2 02/14] ACPICA: acpi_read: On error, do not modify the return value target location Lv Zheng
2013-09-23 1:51 ` [PATCH v2 03/14] ACPICA: Debug output: small formatting update, no functional change Lv Zheng
2013-09-23 1:51 ` [PATCH v2 04/14] ACPICA: Linux-specific header: enable "aarch64" 64-bit build Lv Zheng
2013-09-23 1:51 ` [PATCH v2 05/14] ACPICA: Debugger: Prevent possible command line buffer overflow, kernel behavior is not affected Lv Zheng
2013-09-23 1:51 ` [PATCH v2 06/14] ACPICA: Validate start object for acpi_walk_namespace Lv Zheng
2013-09-23 1:52 ` [PATCH v2 07/14] ACPICA: Add support for host-installed SCI handlers Lv Zheng
2013-09-23 1:52 ` [PATCH v2 08/14] ACPICA: Operation region support: Never free the handler "context" pointer Lv Zheng
2013-09-23 1:52 ` [PATCH v2 09/14] ACPICA: Debugger: Add new command to display full namespace pathnames Lv Zheng
2013-09-23 1:52 ` [PATCH v2 10/14] ACPICA: Tables: Cleanup table checksum verification code Lv Zheng
2013-09-23 1:52 ` [PATCH v2 11/14] ACPICA: Tables: Cleanup RSDP signature codes Lv Zheng
2013-09-23 1:52 ` Lv Zheng [this message]
2013-09-23 1:52 ` [PATCH v2 13/14] ACPICA: SCI Handlers: Update handler interface, eliminate unnecessary argument Lv Zheng
2013-09-23 1:52 ` [PATCH v2 14/14] ACPICA: Update version to 20130823 Lv Zheng
2013-09-23 20:21 ` [PATCH v2 00/14] ACPICA 20130823 Release Brown, Len
2013-09-25 16:00 ` Rafael J. Wysocki
2013-09-27 7:44 ` Zheng, Lv
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=608e5c20faa6202d445fd0c1fffe371d2c40a87e.1379900697.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 \
/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).