Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1298866 > unrolled thread

[PATCH 00/42] ACPICA: 20151218 Release

Started byLv Zheng <lv.zheng@intel.com>
First post2015-12-29 07:00 +0100
Last post2016-01-04 13:50 +0100
Articles 16 on this page of 36 — 4 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH 00/42] ACPICA: 20151218 Release Lv Zheng <lv.zheng@intel.com> - 2015-12-29 07:00 +0100
    [PATCH 24/42] ACPICA: Tools: Add spacing and missing options in acpibin tool Lv Zheng <lv.zheng@intel.com> - 2015-12-29 07:00 +0100
    [PATCH 21/42] ACPICA: Namespace: Add scope information to the simple object repair mechanism Lv Zheng <lv.zheng@intel.com> - 2015-12-29 07:00 +0100
    [PATCH 17/42] ACPICA: Concatenate operator: Add extensions to support all ACPI objects Lv Zheng <lv.zheng@intel.com> - 2015-12-29 07:00 +0100
    [PATCH 13/42] ACPICA: Debugger: Remove some unecessary NULL checks Lv Zheng <lv.zheng@intel.com> - 2015-12-29 07:00 +0100
    [PATCH 03/42] ACPICA: Namespace: Fix wrong error log Lv Zheng <lv.zheng@intel.com> - 2015-12-29 07:00 +0100
    [PATCH 11/42] ACPICA: Disassembler/tools: Support for multiple ACPI tables in one file Lv Zheng <lv.zheng@intel.com> - 2015-12-29 07:00 +0100
    [PATCH 06/42] ACPICA: Add "const" to some functions that return fixed strings Lv Zheng <lv.zheng@intel.com> - 2015-12-29 07:00 +0100
    [PATCH 10/42] ACPICA: acpiexec: Add support for AML files containing multiple tables Lv Zheng <lv.zheng@intel.com> - 2015-12-29 07:00 +0100
    [PATCH 05/42] ACPICA: Fix SyncLevel support interaction with method auto-serialization Lv Zheng <lv.zheng@intel.com> - 2015-12-29 07:00 +0100
    [PATCH 12/42] ACPICA: iasl/acpiexec: Update input file handling and verification Lv Zheng <lv.zheng@intel.com> - 2015-12-29 07:00 +0100
    [PATCH 15/42] ACPICA: Add comment explaining _SUB removal Lv Zheng <lv.zheng@intel.com> - 2015-12-29 07:00 +0100
    [PATCH 40/42] ACPICA: Add "root node" case to the ACPI name repair code Lv Zheng <lv.zheng@intel.com> - 2015-12-29 07:10 +0100
    [PATCH 38/42] ACPICA: Events: Enhance acpi_ev_execute_reg_method() to ensure no _REG evaluations can happen during OS early boot stages Lv Zheng <lv.zheng@intel.com> - 2015-12-29 07:10 +0100
    [PATCH 41/42] ACPICA: Add per-table execution of module-level code Lv Zheng <lv.zheng@intel.com> - 2015-12-29 07:10 +0100
    [PATCH 36/42] ACPICA: Events: Fix an issue that region object is re-attached to another scope when it is already attached Lv Zheng <lv.zheng@intel.com> - 2015-12-29 07:10 +0100
    [PATCH 28/42] ACPICA: Parser: Fix for SuperName method invocation Lv Zheng <lv.zheng@intel.com> - 2015-12-29 07:10 +0100
    [PATCH 32/42] ACPICA: Cleanup code related to the per-table module level improvement Lv Zheng <lv.zheng@intel.com> - 2015-12-29 07:10 +0100
    [PATCH 30/42] ACPICA: Update internal #defines for ObjectType operator. No functional change Lv Zheng <lv.zheng@intel.com> - 2015-12-29 07:10 +0100
    [PATCH 33/42] ACPICA: Events: Deploys acpi_ev_find_region_handler() Lv Zheng <lv.zheng@intel.com> - 2015-12-29 07:10 +0100
    [PATCH 39/42] ACPICA: Events: Introduce ACPI_REG_DISCONNECT invocation to acpi_ev_execute_reg_methods() Lv Zheng <lv.zheng@intel.com> - 2015-12-29 07:10 +0100
    [PATCH 26/42] ACPICA: iasl/Disassembler: Support ASL ElseIf operator Lv Zheng <lv.zheng@intel.com> - 2015-12-29 07:10 +0100
    [PATCH 31/42] ACPICA: Update for CondRefOf and RefOf operators Lv Zheng <lv.zheng@intel.com> - 2015-12-29 07:10 +0100
    [PATCH 27/42] ACPICA: Parser: Add constants for internal namepath function Lv Zheng <lv.zheng@intel.com> - 2015-12-29 07:10 +0100
    [PATCH 37/42] ACPICA: Events: Split acpi_ev_associate_reg_method() from region initialization code Lv Zheng <lv.zheng@intel.com> - 2015-12-29 07:10 +0100
    [PATCH 34/42] ACPICA: Events: Uses common_notify for address space handlers Lv Zheng <lv.zheng@intel.com> - 2015-12-29 07:10 +0100
    [PATCH 29/42] ACPICA: Update parameter type for ObjectType operator Lv Zheng <lv.zheng@intel.com> - 2015-12-29 07:10 +0100
    [PATCH 35/42] ACPICA: Utilities: Reorder initialization code Lv Zheng <lv.zheng@intel.com> - 2015-12-29 07:10 +0100
    [PATCH 42/42] ACPICA: Update version to 20151218 Lv Zheng <lv.zheng@intel.com> - 2015-12-29 07:10 +0100
    Re: [PATCH 00/42] ACPICA: 20151218 Release "Rafael J. Wysocki" <rjw@rjwysocki.net> - 2016-01-01 03:40 +0100
      Re: [PATCH 00/42] ACPICA: 20151218 Release "Rafael J. Wysocki" <rjw@rjwysocki.net> - 2016-01-01 04:00 +0100
      RE: [PATCH 00/42] ACPICA: 20151218 Release "Zheng, Lv" <lv.zheng@intel.com> - 2016-01-04 03:30 +0100
    Re: [PATCH 00/42] ACPICA: 20151218 Release "Rafael J. Wysocki" <rjw@rjwysocki.net> - 2016-01-03 01:30 +0100
    Re: [PATCH 00/42] ACPICA: 20151218 Release David Lang <david@lang.hm> - 2016-01-03 08:00 +0100
      RE: [PATCH 00/42] ACPICA: 20151218 Release "Zheng, Lv" <lv.zheng@intel.com> - 2016-01-04 03:30 +0100
        Re: [PATCH 00/42] ACPICA: 20151218 Release "Rafael J. Wysocki" <rjw@rjwysocki.net> - 2016-01-04 13:50 +0100

Page 2 of 2 — ← Prev page 1 [2]


#1298889 — [PATCH 39/42] ACPICA: Events: Introduce ACPI_REG_DISCONNECT invocation to acpi_ev_execute_reg_methods()

FromLv Zheng <lv.zheng@intel.com>
Date2015-12-29 07:10 +0100
Subject[PATCH 39/42] ACPICA: Events: Introduce ACPI_REG_DISCONNECT invocation to acpi_ev_execute_reg_methods()
Message-ID<qKVDS-4Xs-25@gated-at.bofh.it>
In reply to#1298866
ACPICA commit 1cf1a1e090f61f0c27f1dcf1905c7cc79a9c51c8

It is likely that we should synchronously invoke _REG(DISCONNECT) only when
the acpi_remove_address_space_handler() is invoked because of dependencies.
If it is invoked when the object is not referenced, problem may occur
if the operation region fields accessed in _REG are no longer driven by any
device driver.

Noticed that _REG(CONNECT)/_REG(DISCONNECT) only mean to inform the AML of
the handler availability, no return value is required for the caller.

This patch only introduces ACPI_REG_DISCONNECT invaocation, but doesn't
introduce a real change. Lv Zheng.

Link: https://github.com/acpica/acpica/commit/1cf1a1e0
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Bob Moore <robert.moore@intel.com>
---
 drivers/acpi/acpica/acevents.h |    4 ++--
 drivers/acpi/acpica/aclocal.h  |    1 +
 drivers/acpi/acpica/evregion.c |   26 +++++++++++++-------------
 drivers/acpi/acpica/evxfregn.c |    2 +-
 4 files changed, 17 insertions(+), 16 deletions(-)

diff --git a/drivers/acpi/acpica/acevents.h b/drivers/acpi/acpica/acevents.h
index 772ee3c..d18f184 100644
--- a/drivers/acpi/acpica/acevents.h
+++ b/drivers/acpi/acpica/acevents.h
@@ -200,9 +200,9 @@ acpi_ev_detach_region(union acpi_operand_object *region_obj,
 
 void acpi_ev_associate_reg_method(union acpi_operand_object *region_obj);
 
-acpi_status
+void
 acpi_ev_execute_reg_methods(struct acpi_namespace_node *node,
-			    acpi_adr_space_type space_id);
+			    acpi_adr_space_type space_id, u32 function);
 
 acpi_status
 acpi_ev_execute_reg_method(union acpi_operand_object *region_obj, u32 function);
diff --git a/drivers/acpi/acpica/aclocal.h b/drivers/acpi/acpica/aclocal.h
index 034402d..24928ec 100644
--- a/drivers/acpi/acpica/aclocal.h
+++ b/drivers/acpi/acpica/aclocal.h
@@ -428,6 +428,7 @@ struct acpi_simple_repair_info {
 
 struct acpi_reg_walk_info {
 	acpi_adr_space_type space_id;
+	u32 function;
 	u32 reg_run_count;
 };
 
diff --git a/drivers/acpi/acpica/evregion.c b/drivers/acpi/acpica/evregion.c
index cf6e878..a43178f 100644
--- a/drivers/acpi/acpica/evregion.c
+++ b/drivers/acpi/acpica/evregion.c
@@ -97,10 +97,9 @@ acpi_status acpi_ev_initialize_op_regions(void)
 		if (acpi_ev_has_default_handler(acpi_gbl_root_node,
 						acpi_gbl_default_address_spaces
 						[i])) {
-			status =
-			    acpi_ev_execute_reg_methods(acpi_gbl_root_node,
-							acpi_gbl_default_address_spaces
-							[i]);
+			acpi_ev_execute_reg_methods(acpi_gbl_root_node,
+						    acpi_gbl_default_address_spaces
+						    [i], ACPI_REG_CONNECT);
 		}
 	}
 
@@ -683,24 +682,25 @@ cleanup1:
  *
  * PARAMETERS:  node            - Namespace node for the device
  *              space_id        - The address space ID
+ *              function        - Passed to _REG: On (1) or Off (0)
  *
- * RETURN:      Status
+ * RETURN:      None
  *
  * DESCRIPTION: Run all _REG methods for the input Space ID;
  *              Note: assumes namespace is locked, or system init time.
  *
  ******************************************************************************/
 
-acpi_status
+void
 acpi_ev_execute_reg_methods(struct acpi_namespace_node *node,
-			    acpi_adr_space_type space_id)
+			    acpi_adr_space_type space_id, u32 function)
 {
-	acpi_status status;
 	struct acpi_reg_walk_info info;
 
 	ACPI_FUNCTION_TRACE(ev_execute_reg_methods);
 
 	info.space_id = space_id;
+	info.function = function;
 	info.reg_run_count = 0;
 
 	ACPI_DEBUG_PRINT_RAW((ACPI_DB_NAMES,
@@ -713,9 +713,9 @@ acpi_ev_execute_reg_methods(struct acpi_namespace_node *node,
 	 * regions and _REG methods. (i.e. handlers must be installed for all
 	 * regions of this Space ID before we can run any _REG methods)
 	 */
-	status = acpi_ns_walk_namespace(ACPI_TYPE_ANY, node, ACPI_UINT32_MAX,
-					ACPI_NS_WALK_UNLOCK, acpi_ev_reg_run,
-					NULL, &info, NULL);
+	(void)acpi_ns_walk_namespace(ACPI_TYPE_ANY, node, ACPI_UINT32_MAX,
+				     ACPI_NS_WALK_UNLOCK, acpi_ev_reg_run, NULL,
+				     &info, NULL);
 
 	/* Special case for EC: handle "orphan" _REG methods with no region */
 
@@ -728,7 +728,7 @@ acpi_ev_execute_reg_methods(struct acpi_namespace_node *node,
 			      info.reg_run_count,
 			      acpi_ut_get_region_name(info.space_id)));
 
-	return_ACPI_STATUS(status);
+	return_VOID;
 }
 
 /*******************************************************************************
@@ -787,7 +787,7 @@ acpi_ev_reg_run(acpi_handle obj_handle,
 	}
 
 	info->reg_run_count++;
-	status = acpi_ev_execute_reg_method(obj_desc, ACPI_REG_CONNECT);
+	status = acpi_ev_execute_reg_method(obj_desc, info->function);
 	return (status);
 }
 
diff --git a/drivers/acpi/acpica/evxfregn.c b/drivers/acpi/acpica/evxfregn.c
index 29f9f39..35f9e60 100644
--- a/drivers/acpi/acpica/evxfregn.c
+++ b/drivers/acpi/acpica/evxfregn.c
@@ -114,7 +114,7 @@ acpi_install_address_space_handler(acpi_handle device,
 
 	/* Run all _REG methods for this address space */
 
-	status = acpi_ev_execute_reg_methods(node, space_id);
+	acpi_ev_execute_reg_methods(node, space_id, ACPI_REG_CONNECT);
 
 unlock_and_exit:
 	(void)acpi_ut_release_mutex(ACPI_MTX_NAMESPACE);
-- 
1.7.10

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [next] | [standalone]


#1298890 — [PATCH 26/42] ACPICA: iasl/Disassembler: Support ASL ElseIf operator

FromLv Zheng <lv.zheng@intel.com>
Date2015-12-29 07:10 +0100
Subject[PATCH 26/42] ACPICA: iasl/Disassembler: Support ASL ElseIf operator
Message-ID<qKVDS-4Xs-17@gated-at.bofh.it>
In reply to#1298866
From: Bob Moore <robert.moore@intel.com>

ACPICA commit 918a840d27d620942e0ecb69de320bb71ea86c5a

ElseIf is a macro that resolves to an Else..If in the AML byte code.
This support merges an Else followed immediately by an If to an
ASL ElseIf operator. Simplifies decoded ASL, especially for large
Switch statements.

This patch only applies to iasl, and is no-op for Linux kernel.

Link: https://github.com/acpica/acpica/commit/918a840d
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
---
 drivers/acpi/acpica/aclocal.h |    1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/acpi/acpica/aclocal.h b/drivers/acpi/acpica/aclocal.h
index 351a1cd..034402d 100644
--- a/drivers/acpi/acpica/aclocal.h
+++ b/drivers/acpi/acpica/aclocal.h
@@ -869,6 +869,7 @@ struct acpi_parse_state {
 #define ACPI_PARSEOP_CLOSING_PAREN      0x10
 #define ACPI_PARSEOP_COMPOUND           0x20
 #define ACPI_PARSEOP_ASSIGNMENT         0x40
+#define ACPI_PARSEOP_ELSEIF             0x80
 
 /*****************************************************************************
  *
-- 
1.7.10

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [next] | [standalone]


#1298891 — [PATCH 31/42] ACPICA: Update for CondRefOf and RefOf operators

FromLv Zheng <lv.zheng@intel.com>
Date2015-12-29 07:10 +0100
Subject[PATCH 31/42] ACPICA: Update for CondRefOf and RefOf operators
Message-ID<qKVDS-4Xs-21@gated-at.bofh.it>
In reply to#1298866
From: Bob Moore <robert.moore@intel.com>

ACPICA commit 725c094f1a7a2ae28e623ee77be400af1c36b180

The SuperName parameters for these operators were incorrect. This
represents two problems in the ACPI specification itself.

Link: https://github.com/acpica/acpica/commit/725c094f
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
---
 drivers/acpi/acpica/acopcode.h |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/acpi/acpica/acopcode.h b/drivers/acpi/acpica/acopcode.h
index c6b2f42..324512d 100644
--- a/drivers/acpi/acpica/acopcode.h
+++ b/drivers/acpi/acpica/acopcode.h
@@ -92,7 +92,7 @@
 #define ARGP_BYTELIST_OP                ARGP_LIST1 (ARGP_NAMESTRING)
 #define ARGP_CONCAT_OP                  ARGP_LIST3 (ARGP_TERMARG,    ARGP_TERMARG,       ARGP_TARGET)
 #define ARGP_CONCAT_RES_OP              ARGP_LIST3 (ARGP_TERMARG,    ARGP_TERMARG,       ARGP_TARGET)
-#define ARGP_COND_REF_OF_OP             ARGP_LIST2 (ARGP_SUPERNAME,  ARGP_SUPERNAME)
+#define ARGP_COND_REF_OF_OP             ARGP_LIST2 (ARGP_NAME_OR_REF,ARGP_TARGET)
 #define ARGP_CONNECTFIELD_OP            ARGP_LIST1 (ARGP_NAMESTRING)
 #define ARGP_CONTINUE_OP                ARG_NONE
 #define ARGP_COPY_OP                    ARGP_LIST2 (ARGP_TERMARG,    ARGP_SIMPLENAME)
@@ -159,7 +159,7 @@
 #define ARGP_POWER_RES_OP               ARGP_LIST5 (ARGP_PKGLENGTH,  ARGP_NAME,          ARGP_BYTEDATA,  ARGP_WORDDATA,  ARGP_OBJLIST)
 #define ARGP_PROCESSOR_OP               ARGP_LIST6 (ARGP_PKGLENGTH,  ARGP_NAME,          ARGP_BYTEDATA,  ARGP_DWORDDATA, ARGP_BYTEDATA,  ARGP_OBJLIST)
 #define ARGP_QWORD_OP                   ARGP_LIST1 (ARGP_QWORDDATA)
-#define ARGP_REF_OF_OP                  ARGP_LIST1 (ARGP_SUPERNAME)
+#define ARGP_REF_OF_OP                  ARGP_LIST1 (ARGP_NAME_OR_REF)
 #define ARGP_REGION_OP                  ARGP_LIST4 (ARGP_NAME,       ARGP_BYTEDATA,      ARGP_TERMARG,   ARGP_TERMARG)
 #define ARGP_RELEASE_OP                 ARGP_LIST1 (ARGP_SUPERNAME)
 #define ARGP_RESERVEDFIELD_OP           ARGP_LIST1 (ARGP_NAMESTRING)
-- 
1.7.10

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [next] | [standalone]


#1298892 — [PATCH 27/42] ACPICA: Parser: Add constants for internal namepath function

FromLv Zheng <lv.zheng@intel.com>
Date2015-12-29 07:10 +0100
Subject[PATCH 27/42] ACPICA: Parser: Add constants for internal namepath function
Message-ID<qKVDS-4Xs-33@gated-at.bofh.it>
In reply to#1298866
From: Bob Moore <robert.moore@intel.com>

ACPICA commit b216e39fe85feee955d29fe0a7190dd811e181ea

Add true/false constants for the "PossibleMethodCall" parameter
for acpi_ps_get_next_namepath.

Link: https://github.com/acpica/acpica/commit/b216e39f
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
---
 drivers/acpi/acpica/acparser.h |    8 +++++++-
 drivers/acpi/acpica/psargs.c   |    4 ++--
 drivers/acpi/acpica/psloop.c   |    8 ++++----
 3 files changed, 13 insertions(+), 7 deletions(-)

diff --git a/drivers/acpi/acpica/acparser.h b/drivers/acpi/acpica/acparser.h
index 8fc8c7c..96d510a 100644
--- a/drivers/acpi/acpica/acparser.h
+++ b/drivers/acpi/acpica/acparser.h
@@ -92,7 +92,13 @@ acpi_ps_get_next_simple_arg(struct acpi_parse_state *parser_state,
 acpi_status
 acpi_ps_get_next_namepath(struct acpi_walk_state *walk_state,
 			  struct acpi_parse_state *parser_state,
-			  union acpi_parse_object *arg, u8 method_call);
+			  union acpi_parse_object *arg,
+			  u8 possible_method_call);
+
+/* Values for u8 above */
+
+#define ACPI_NOT_METHOD_CALL            FALSE
+#define ACPI_POSSIBLE_METHOD_CALL       TRUE
 
 acpi_status
 acpi_ps_get_next_arg(struct acpi_walk_state *walk_state,
diff --git a/drivers/acpi/acpica/psargs.c b/drivers/acpi/acpica/psargs.c
index 3f0ffee..0fdb7fc 100644
--- a/drivers/acpi/acpica/psargs.c
+++ b/drivers/acpi/acpica/psargs.c
@@ -821,7 +821,7 @@ acpi_ps_get_next_arg(struct acpi_walk_state *walk_state,
 				status =
 				    acpi_ps_get_next_namepath(walk_state,
 							      parser_state, arg,
-							      1);
+							      ACPI_POSSIBLE_METHOD_CALL);
 
 				/*
 				 * If the super_name arg of Unload is a method call,
@@ -836,7 +836,7 @@ acpi_ps_get_next_arg(struct acpi_walk_state *walk_state,
 				status =
 				    acpi_ps_get_next_namepath(walk_state,
 							      parser_state, arg,
-							      0);
+							      ACPI_NOT_METHOD_CALL);
 			}
 		} else {
 			/* Single complex argument, nothing returned */
diff --git a/drivers/acpi/acpica/psloop.c b/drivers/acpi/acpica/psloop.c
index c660006..a57f473 100644
--- a/drivers/acpi/acpica/psloop.c
+++ b/drivers/acpi/acpica/psloop.c
@@ -109,10 +109,10 @@ acpi_ps_get_arguments(struct acpi_walk_state *walk_state,
 
 	case AML_INT_NAMEPATH_OP:	/* AML_NAMESTRING_ARG */
 
-		status =
-		    acpi_ps_get_next_namepath(walk_state,
-					      &(walk_state->parser_state), op,
-					      1);
+		status = acpi_ps_get_next_namepath(walk_state,
+						   &(walk_state->parser_state),
+						   op,
+						   ACPI_POSSIBLE_METHOD_CALL);
 		if (ACPI_FAILURE(status)) {
 			return_ACPI_STATUS(status);
 		}
-- 
1.7.10

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [next] | [standalone]


#1298893 — [PATCH 37/42] ACPICA: Events: Split acpi_ev_associate_reg_method() from region initialization code

FromLv Zheng <lv.zheng@intel.com>
Date2015-12-29 07:10 +0100
Subject[PATCH 37/42] ACPICA: Events: Split acpi_ev_associate_reg_method() from region initialization code
Message-ID<qKVDS-4Xs-27@gated-at.bofh.it>
In reply to#1298866
ACPICA commit 87c85610250ff7141a84507f68dbc1e00f2936db

This patch introduces a new region initialization function
acpi_ev_associate_reg_method(), which is invoked to associate the _REG method
to its related region object.

Region object's default value assignments are also sorted by cleaning up
the code using this new function. Lv Zheng.

Link: https://github.com/acpica/acpica/commit/87c85610
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Bob Moore <robert.moore@intel.com>
---
 drivers/acpi/acpica/acevents.h |    2 ++
 drivers/acpi/acpica/evregion.c |   46 ++++++++++++++++++++++++++++++++++++++++
 drivers/acpi/acpica/evrgnini.c |   30 ++------------------------
 drivers/acpi/acpica/excreate.c |    6 +++++-
 4 files changed, 55 insertions(+), 29 deletions(-)

diff --git a/drivers/acpi/acpica/acevents.h b/drivers/acpi/acpica/acevents.h
index 42975ab..772ee3c 100644
--- a/drivers/acpi/acpica/acevents.h
+++ b/drivers/acpi/acpica/acevents.h
@@ -198,6 +198,8 @@ void
 acpi_ev_detach_region(union acpi_operand_object *region_obj,
 		      u8 acpi_ns_is_locked);
 
+void acpi_ev_associate_reg_method(union acpi_operand_object *region_obj);
+
 acpi_status
 acpi_ev_execute_reg_methods(struct acpi_namespace_node *node,
 			    acpi_adr_space_type space_id);
diff --git a/drivers/acpi/acpica/evregion.c b/drivers/acpi/acpica/evregion.c
index 19a4e69..432b810 100644
--- a/drivers/acpi/acpica/evregion.c
+++ b/drivers/acpi/acpica/evregion.c
@@ -529,6 +529,52 @@ acpi_ev_attach_region(union acpi_operand_object *handler_obj,
 
 /*******************************************************************************
  *
+ * FUNCTION:    acpi_ev_associate_reg_method
+ *
+ * PARAMETERS:  region_obj          - Region object
+ *
+ * RETURN:      Status
+ *
+ * DESCRIPTION: Find and associate _REG method to a region
+ *
+ ******************************************************************************/
+
+void acpi_ev_associate_reg_method(union acpi_operand_object *region_obj)
+{
+	acpi_name *reg_name_ptr = (acpi_name *) METHOD_NAME__REG;
+	struct acpi_namespace_node *method_node;
+	struct acpi_namespace_node *node;
+	union acpi_operand_object *region_obj2;
+	acpi_status status;
+
+	ACPI_FUNCTION_TRACE(ev_associate_reg_method);
+
+	region_obj2 = acpi_ns_get_secondary_object(region_obj);
+	if (!region_obj2) {
+		return_VOID;
+	}
+
+	node = region_obj->region.node->parent;
+
+	/* Find any "_REG" method associated with this region definition */
+
+	status =
+	    acpi_ns_search_one_scope(*reg_name_ptr, node, ACPI_TYPE_METHOD,
+				     &method_node);
+	if (ACPI_SUCCESS(status)) {
+		/*
+		 * The _REG method is optional and there can be only one per region
+		 * definition. This will be executed when the handler is attached
+		 * or removed
+		 */
+		region_obj2->extra.method_REG = method_node;
+	}
+
+	return_VOID;
+}
+
+/*******************************************************************************
+ *
  * FUNCTION:    acpi_ev_execute_reg_method
  *
  * PARAMETERS:  region_obj          - Region object
diff --git a/drivers/acpi/acpica/evrgnini.c b/drivers/acpi/acpica/evrgnini.c
index 024689d..bb2e529 100644
--- a/drivers/acpi/acpica/evrgnini.c
+++ b/drivers/acpi/acpica/evrgnini.c
@@ -507,9 +507,6 @@ acpi_ev_initialize_region(union acpi_operand_object *region_obj,
 	acpi_adr_space_type space_id;
 	struct acpi_namespace_node *node;
 	acpi_status status;
-	struct acpi_namespace_node *method_node;
-	acpi_name *reg_name_ptr = (acpi_name *) METHOD_NAME__REG;
-	union acpi_operand_object *region_obj2;
 
 	ACPI_FUNCTION_TRACE_U32(ev_initialize_region, acpi_ns_locked);
 
@@ -521,35 +518,12 @@ acpi_ev_initialize_region(union acpi_operand_object *region_obj,
 		return_ACPI_STATUS(AE_OK);
 	}
 
-	region_obj2 = acpi_ns_get_secondary_object(region_obj);
-	if (!region_obj2) {
-		return_ACPI_STATUS(AE_NOT_EXIST);
-	}
+	acpi_ev_associate_reg_method(region_obj);
+	region_obj->common.flags |= AOPOBJ_OBJECT_INITIALIZED;
 
 	node = region_obj->region.node->parent;
 	space_id = region_obj->region.space_id;
 
-	/* Setup defaults */
-
-	region_obj->region.handler = NULL;
-	region_obj2->extra.method_REG = NULL;
-	region_obj->common.flags &= ~(AOPOBJ_SETUP_COMPLETE);
-	region_obj->common.flags |= AOPOBJ_OBJECT_INITIALIZED;
-
-	/* Find any "_REG" method associated with this region definition */
-
-	status =
-	    acpi_ns_search_one_scope(*reg_name_ptr, node, ACPI_TYPE_METHOD,
-				     &method_node);
-	if (ACPI_SUCCESS(status)) {
-		/*
-		 * The _REG method is optional and there can be only one per region
-		 * definition. This will be executed when the handler is attached
-		 * or removed
-		 */
-		region_obj2->extra.method_REG = method_node;
-	}
-
 	/*
 	 * The following loop depends upon the root Node having no parent
 	 * ie: acpi_gbl_root_node->Parent being set to NULL
diff --git a/drivers/acpi/acpica/excreate.c b/drivers/acpi/acpica/excreate.c
index 0f34446..6a1396e 100644
--- a/drivers/acpi/acpica/excreate.c
+++ b/drivers/acpi/acpica/excreate.c
@@ -326,9 +326,10 @@ acpi_ex_create_region(u8 * aml_start,
 	 * Remember location in AML stream of address & length
 	 * operands since they need to be evaluated at run time.
 	 */
-	region_obj2 = obj_desc->common.next_object;
+	region_obj2 = acpi_ns_get_secondary_object(obj_desc);
 	region_obj2->extra.aml_start = aml_start;
 	region_obj2->extra.aml_length = aml_length;
+	region_obj2->extra.method_REG = NULL;
 	if (walk_state->scope_info) {
 		region_obj2->extra.scope_node =
 		    walk_state->scope_info->scope.node;
@@ -342,6 +343,9 @@ acpi_ex_create_region(u8 * aml_start,
 	obj_desc->region.address = 0;
 	obj_desc->region.length = 0;
 	obj_desc->region.node = node;
+	obj_desc->region.handler = NULL;
+	obj_desc->common.flags &=
+	    ~(AOPOBJ_SETUP_COMPLETE | AOPOBJ_OBJECT_INITIALIZED);
 
 	/* Install the new region object in the parent Node */
 
-- 
1.7.10

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [next] | [standalone]


#1298894 — [PATCH 34/42] ACPICA: Events: Uses common_notify for address space handlers

FromLv Zheng <lv.zheng@intel.com>
Date2015-12-29 07:10 +0100
Subject[PATCH 34/42] ACPICA: Events: Uses common_notify for address space handlers
Message-ID<qKVDT-4Xs-37@gated-at.bofh.it>
In reply to#1298866
ACPICA commit 5ea0fb75fdf1aa7c0aba067dfa4d5dc3a9279461

The address space handlers can be attached to not only Device but also
Processor/thermal_zone objects, so it is better to use their common
class 'CommonNotify' instead. Lv Zheng.

Link: https://github.com/acpica/acpica/commit/5ea0fb75
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Bob Moore <robert.moore@intel.com>
---
 drivers/acpi/acpica/dbdisply.c  |    6 +++---
 drivers/acpi/acpica/evhandler.c |   12 +++++++-----
 drivers/acpi/acpica/evrgnini.c  |   10 +---------
 drivers/acpi/acpica/evxfregn.c  |    4 ++--
 4 files changed, 13 insertions(+), 19 deletions(-)

diff --git a/drivers/acpi/acpica/dbdisply.c b/drivers/acpi/acpica/dbdisply.c
index a66b4ae..1965b48 100644
--- a/drivers/acpi/acpica/dbdisply.c
+++ b/drivers/acpi/acpica/dbdisply.c
@@ -957,7 +957,7 @@ void acpi_db_display_handlers(void)
 
 			handler_obj =
 			    acpi_ev_find_region_handler(space_id,
-							obj_desc->device.
+							obj_desc->common_notify.
 							handler);
 			if (handler_obj) {
 				acpi_os_printf(ACPI_HANDLER_PRESENT_STRING,
@@ -980,7 +980,7 @@ found_handler:		;
 
 		/* Find all handlers for user-defined space_IDs */
 
-		handler_obj = obj_desc->device.handler;
+		handler_obj = obj_desc->common_notify.handler;
 		while (handler_obj) {
 			if (handler_obj->address_space.space_id >=
 			    ACPI_USER_REGION_BEGIN) {
@@ -1082,7 +1082,7 @@ acpi_db_display_non_root_handlers(acpi_handle obj_handle,
 
 	/* Display all handlers associated with this device */
 
-	handler_obj = obj_desc->device.handler;
+	handler_obj = obj_desc->common_notify.handler;
 	while (handler_obj) {
 		acpi_os_printf(ACPI_PREDEFINED_PREFIX,
 			       acpi_ut_get_region_name((u8)handler_obj->
diff --git a/drivers/acpi/acpica/evhandler.c b/drivers/acpi/acpica/evhandler.c
index 6a7fc11..709419c 100644
--- a/drivers/acpi/acpica/evhandler.c
+++ b/drivers/acpi/acpica/evhandler.c
@@ -159,7 +159,7 @@ acpi_ev_has_default_handler(struct acpi_namespace_node *node,
 
 	obj_desc = acpi_ns_get_attached_object(node);
 	if (obj_desc) {
-		handler_obj = obj_desc->device.handler;
+		handler_obj = obj_desc->common_notify.handler;
 
 		/* Walk the linked list of handlers for this object */
 
@@ -250,7 +250,8 @@ acpi_ev_install_handler(acpi_handle obj_handle,
 		next_handler_obj =
 		    acpi_ev_find_region_handler(handler_obj->address_space.
 						space_id,
-						obj_desc->device.handler);
+						obj_desc->common_notify.
+						handler);
 		if (next_handler_obj) {
 
 			/* Found a handler, is it for the same address space? */
@@ -444,7 +445,8 @@ acpi_ev_install_space_handler(struct acpi_namespace_node * node,
 		 * the handler is not already installed.
 		 */
 		handler_obj = acpi_ev_find_region_handler(space_id,
-							  obj_desc->device.
+							  obj_desc->
+							  common_notify.
 							  handler);
 
 		if (handler_obj) {
@@ -531,13 +533,13 @@ acpi_ev_install_space_handler(struct acpi_namespace_node * node,
 
 	/* Install at head of Device.address_space list */
 
-	handler_obj->address_space.next = obj_desc->device.handler;
+	handler_obj->address_space.next = obj_desc->common_notify.handler;
 
 	/*
 	 * The Device object is the first reference on the handler_obj.
 	 * Each region that uses the handler adds a reference.
 	 */
-	obj_desc->device.handler = handler_obj;
+	obj_desc->common_notify.handler = handler_obj;
 
 	/*
 	 * Walk the namespace finding all of the regions this handler will
diff --git a/drivers/acpi/acpica/evrgnini.c b/drivers/acpi/acpica/evrgnini.c
index 4df81b5..024689d 100644
--- a/drivers/acpi/acpica/evrgnini.c
+++ b/drivers/acpi/acpica/evrgnini.c
@@ -566,18 +566,10 @@ acpi_ev_initialize_region(union acpi_operand_object *region_obj,
 
 			switch (node->type) {
 			case ACPI_TYPE_DEVICE:
-
-				handler_obj = obj_desc->device.handler;
-				break;
-
 			case ACPI_TYPE_PROCESSOR:
-
-				handler_obj = obj_desc->processor.handler;
-				break;
-
 			case ACPI_TYPE_THERMAL:
 
-				handler_obj = obj_desc->thermal_zone.handler;
+				handler_obj = obj_desc->common_notify.handler;
 				break;
 
 			case ACPI_TYPE_METHOD:
diff --git a/drivers/acpi/acpica/evxfregn.c b/drivers/acpi/acpica/evxfregn.c
index dbd9f16..3c90508 100644
--- a/drivers/acpi/acpica/evxfregn.c
+++ b/drivers/acpi/acpica/evxfregn.c
@@ -216,8 +216,8 @@ acpi_remove_address_space_handler(acpi_handle device,
 
 	/* Find the address handler the user requested */
 
-	handler_obj = obj_desc->device.handler;
-	last_obj_ptr = &obj_desc->device.handler;
+	handler_obj = obj_desc->common_notify.handler;
+	last_obj_ptr = &obj_desc->common_notify.handler;
 	while (handler_obj) {
 
 		/* We have a handler, see if user requested this one */
-- 
1.7.10

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [next] | [standalone]


#1298895 — [PATCH 29/42] ACPICA: Update parameter type for ObjectType operator

FromLv Zheng <lv.zheng@intel.com>
Date2015-12-29 07:10 +0100
Subject[PATCH 29/42] ACPICA: Update parameter type for ObjectType operator
Message-ID<qKVDS-4Xs-29@gated-at.bofh.it>
In reply to#1298866
From: Bob Moore <robert.moore@intel.com>

ACPICA commit 67953304a34944548f2fa53a4b0786a5db0ca2ea

The grammar for this operator changed in ACPI 5.0A, but it was
not necessary to update the interpreter/parser until now.

The UserTerm (method invocation) element was removed. Previously
a SuperName, the lone argument now requires a new ARGP_ type.

Link: https://github.com/acpica/acpica/commit/67953304
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
---
 drivers/acpi/acpica/acopcode.h |    2 +-
 drivers/acpi/acpica/amlcode.h  |    3 ++-
 drivers/acpi/acpica/psargs.c   |    5 +++--
 3 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/drivers/acpi/acpica/acopcode.h b/drivers/acpi/acpica/acopcode.h
index db71b02..05f80de 100644
--- a/drivers/acpi/acpica/acopcode.h
+++ b/drivers/acpi/acpica/acopcode.h
@@ -185,7 +185,7 @@
 #define ARGP_TO_HEX_STR_OP              ARGP_LIST2 (ARGP_TERMARG,    ARGP_TARGET)
 #define ARGP_TO_INTEGER_OP              ARGP_LIST2 (ARGP_TERMARG,    ARGP_TARGET)
 #define ARGP_TO_STRING_OP               ARGP_LIST3 (ARGP_TERMARG,    ARGP_TERMARG,       ARGP_TARGET)
-#define ARGP_TYPE_OP                    ARGP_LIST1 (ARGP_SUPERNAME)
+#define ARGP_TYPE_OP                    ARGP_LIST1 (ARGP_NAME_OR_REF)
 #define ARGP_UNLOAD_OP                  ARGP_LIST1 (ARGP_SUPERNAME)
 #define ARGP_VAR_PACKAGE_OP             ARGP_LIST3 (ARGP_PKGLENGTH,  ARGP_TERMARG,       ARGP_DATAOBJLIST)
 #define ARGP_WAIT_OP                    ARGP_LIST2 (ARGP_SUPERNAME,  ARGP_TERMARG)
diff --git a/drivers/acpi/acpica/amlcode.h b/drivers/acpi/acpica/amlcode.h
index 883f20c..2eedfa2 100644
--- a/drivers/acpi/acpica/amlcode.h
+++ b/drivers/acpi/acpica/amlcode.h
@@ -238,7 +238,8 @@
 #define ARGP_TERMLIST               0x0F
 #define ARGP_WORDDATA               0x10
 #define ARGP_QWORDDATA              0x11
-#define ARGP_SIMPLENAME             0x12
+#define ARGP_SIMPLENAME             0x12	/* name_string | local_term | arg_term */
+#define ARGP_NAME_OR_REF            0x13	/* For object_type only */
 
 /*
  * Resolved argument types for the AML Interpreter
diff --git a/drivers/acpi/acpica/psargs.c b/drivers/acpi/acpica/psargs.c
index f84e546..f3bcfa2 100644
--- a/drivers/acpi/acpica/psargs.c
+++ b/drivers/acpi/acpica/psargs.c
@@ -800,6 +800,7 @@ acpi_ps_get_next_arg(struct acpi_walk_state *walk_state,
 	case ARGP_TARGET:
 	case ARGP_SUPERNAME:
 	case ARGP_SIMPLENAME:
+	case ARGP_NAME_OR_REF:
 
 		subop = acpi_ps_peek_opcode(parser_state);
 		if (subop == 0 ||
@@ -825,8 +826,8 @@ acpi_ps_get_next_arg(struct acpi_walk_state *walk_state,
 							      ACPI_POSSIBLE_METHOD_CALL);
 
 				/*
-				 * If the super_name arg of Unload is a method call,
-				 * we have restored the AML pointer, just free this Arg
+				 * If the super_name argument is a method call, we have
+				 * already restored the AML pointer, just free this Arg
 				 */
 				if (arg->common.aml_opcode ==
 				    AML_INT_METHODCALL_OP) {
-- 
1.7.10

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [next] | [standalone]


#1298896 — [PATCH 35/42] ACPICA: Utilities: Reorder initialization code

FromLv Zheng <lv.zheng@intel.com>
Date2015-12-29 07:10 +0100
Subject[PATCH 35/42] ACPICA: Utilities: Reorder initialization code
Message-ID<qKVDT-4Xs-39@gated-at.bofh.it>
In reply to#1298866
ACPICA commit 3894fa9d071343e6ebc7ea480255fa4f27a290be

This patch re-orders initialization code in acpi_enable_subsystem()
so that all hardware reduced stuffs can be collected together.

Note this patch contains code from the following 2 ACPICA upstream commits
so that the changes can be made clearer for the reviewers:
 https://github.com/acpica/acpica/commit/071eff73
 https://github.com/acpica/acpica/commit/3894fa9d
And additional change to remove the global variable and unused code
fragments due to the test result. Lv Zheng.

Link: https://github.com/acpica/acpica/commit/3894fa9d
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Bob Moore <robert.moore@intel.com>
---
 drivers/acpi/acpica/utxfinit.c |   31 +++++++++++++++----------------
 1 file changed, 15 insertions(+), 16 deletions(-)

diff --git a/drivers/acpi/acpica/utxfinit.c b/drivers/acpi/acpica/utxfinit.c
index 8586260..7d8eb60 100644
--- a/drivers/acpi/acpica/utxfinit.c
+++ b/drivers/acpi/acpica/utxfinit.c
@@ -154,6 +154,21 @@ acpi_status __init acpi_enable_subsystem(u32 flags)
 	 */
 	acpi_gbl_early_initialization = FALSE;
 
+	/*
+	 * Install the default operation region handlers. These are the
+	 * handlers that are defined by the ACPI specification to be
+	 * "always accessible" -- namely, system_memory, system_IO, and
+	 * PCI_Config. This also means that no _REG methods need to be
+	 * run for these address spaces. We need to have these handlers
+	 * installed before any AML code can be executed, especially any
+	 * module-level code (11/2015).
+	 */
+	status = acpi_ev_install_region_handlers();
+	if (ACPI_FAILURE(status)) {
+		ACPI_EXCEPTION((AE_INFO, status,
+				"During Region initialization"));
+		return_ACPI_STATUS(status);
+	}
 #if (!ACPI_REDUCED_HARDWARE)
 
 	/* Enable ACPI mode */
@@ -182,24 +197,8 @@ acpi_status __init acpi_enable_subsystem(u32 flags)
 			return_ACPI_STATUS(status);
 		}
 	}
-#endif				/* !ACPI_REDUCED_HARDWARE */
 
 	/*
-	 * Install the default op_region handlers. These are installed unless
-	 * other handlers have already been installed via the
-	 * install_address_space_handler interface.
-	 */
-	if (!(flags & ACPI_NO_ADDRESS_SPACE_INIT)) {
-		ACPI_DEBUG_PRINT((ACPI_DB_EXEC,
-				  "[Init] Installing default address space handlers\n"));
-
-		status = acpi_ev_install_region_handlers();
-		if (ACPI_FAILURE(status)) {
-			return_ACPI_STATUS(status);
-		}
-	}
-#if (!ACPI_REDUCED_HARDWARE)
-	/*
 	 * Initialize ACPI Event handling (Fixed and General Purpose)
 	 *
 	 * Note1: We must have the hardware and events initialized before we can
-- 
1.7.10

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [next] | [standalone]


#1298897 — [PATCH 42/42] ACPICA: Update version to 20151218

FromLv Zheng <lv.zheng@intel.com>
Date2015-12-29 07:10 +0100
Subject[PATCH 42/42] ACPICA: Update version to 20151218
Message-ID<qKVDS-4Xs-31@gated-at.bofh.it>
In reply to#1298866
From: Bob Moore <robert.moore@intel.com>

ACPICA commit e81cedadd3a847d40f30bc9c52dfe441620ed12f

Version 20151218.

Link: https://github.com/acpica/acpica/commit/e81cedad
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
---
 include/acpi/acpixf.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/acpi/acpixf.h b/include/acpi/acpixf.h
index 8c95e82..1b462d8 100644
--- a/include/acpi/acpixf.h
+++ b/include/acpi/acpixf.h
@@ -46,7 +46,7 @@
 
 /* Current ACPICA subsystem version in YYYYMMDD format */
 
-#define ACPI_CA_VERSION                 0x20150930
+#define ACPI_CA_VERSION                 0x20151218
 
 #include <acpi/acconfig.h>
 #include <acpi/actypes.h>
-- 
1.7.10

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [next] | [standalone]


#1299822

From"Rafael J. Wysocki" <rjw@rjwysocki.net>
Date2016-01-01 03:40 +0100
Message-ID<qLXNg-4bs-7@gated-at.bofh.it>
In reply to#1298866
On Tuesday, December 29, 2015 01:52:19 PM Lv Zheng wrote:
> The 20151218 ACPICA kernel-resident subsystem updates are linuxized based
> on the linux-pm/linux-next branch.
> 
> The patchset has passed the following build/boot tests.
> Build tests are performed as follows:
> 1. i386 + allyes
> 2. i386 + allno
> 3. i386 + default + ACPI_DEBUGGER=y
> 4. i386 + default + ACPI_DEBUGGER=n + ACPI_DEBUG=y
> 5. i386 + default + ACPI_DEBUG=n + ACPI=y
> 6. i386 + default + ACPI=n
> 7. x86_64 + allyes
> 8. x86_64 + allno
> 9. x86_64 + default + ACPI_DEBUGGER=y
> 10.x86_64 + default + ACPI_DEBUGGER=n + ACPI_DEBUG=y
> 11.x86_64 + default + ACPI_DEBUG=n + ACPI=y
> 12.x86_64 + default + ACPI=n
> Boot tests are performed as follows:
> 1. i386 + default + ACPI_DEBUGGER=y
> 2. x86_64 + default + ACPI_DEBUGGER=y
> Where:
> 1. i386: machine named as "Dell Inspiron Mini 1010"
> 2. x86_64: machine named as "HP Compaq 8200 Elite SFF PC"
> 3. default: kernel configuration with following items enabled:
>    All hardware drivers related to the machines of i386/x86_64
>    All "drivers/acpi" configurations
>    All "drivers/platform" drivers
>    All other drivers that link the APIs provided by ACPICA subsystem
> 
> The divergences checking result:
> Before applying (20150930 Release):
>   517 lines
> After applying (20151218 Release):
>   506 lines
> 
> Bob Moore (25):
>   ACPICA: exmutex: General cleanup, restructured some code
>   ACPICA: Core: Major update for code formatting, no functional changes
>   ACPICA: Split interpreter tracing functions to a new file
>   ACPICA: acpiexec: Add support for AML files containing multiple
>     tables
>   ACPICA: Disassembler/tools: Support for multiple ACPI tables in one
>     file
>   ACPICA: iasl/acpiexec: Update input file handling and verification
>   ACPICA: Revert "acpi_get_object_info: Add support for ACPI 5.0 _SUB
>     method."
>   ACPICA: Add comment explaining _SUB removal
>   ACPICA: acpiexec/acpinames: Update for error checking macros
>   ACPICA: Concatenate operator: Add extensions to support all ACPI
>     objects
>   ACPICA: Debug Object: Cleanup output
>   ACPICA: Debug object: Fix output for a NULL object
>   ACPICA: Update for output of the Debug Object
>   ACPICA: getopt: Comment update, no functional change
>   ACPICA: Add new exception code, AE_IO_ERROR
>   ACPICA: iasl/Disassembler: Support ASL ElseIf operator
>   ACPICA: Parser: Add constants for internal namepath function
>   ACPICA: Parser: Fix for SuperName method invocation
>   ACPICA: Update parameter type for ObjectType operator
>   ACPICA: Update internal #defines for ObjectType operator. No
>     functional change
>   ACPICA: Update for CondRefOf and RefOf operators
>   ACPICA: Cleanup code related to the per-table module level
>     improvement
>   ACPICA: Add "root node" case to the ACPI name repair code
>   ACPICA: Add per-table execution of module-level code
>   ACPICA: Update version to 20151218
> 
> Colin Ian King (1):
>   ACPICA: Tools: Add spacing and missing options in acpibin tool
> 
> David E. Box (1):
>   ACPICA: Fix SyncLevel support interaction with method
>     auto-serialization
> 
> LABBE Corentin (1):
>   ACPICA: Add "const" to some functions that return fixed strings
> 
> Lv Zheng (12):
>   ACPICA: Linuxize: reduce divergences for 20151218 release
>   ACPICA: Namespace: Fix wrong error log
>   ACPICA: Debugger: reduce old external path format
>   ACPICA: Namespace: Add scope information to the simple object repair
>     mechanism
>   ACPICA: Namespace: Add String -> ObjectReference conversion support
>   ACPICA: Events: Deploys acpi_ev_find_region_handler()
>   ACPICA: Events: Uses common_notify for address space handlers
>   ACPICA: Utilities: Reorder initialization code
>   ACPICA: Events: Fix an issue that region object is re-attached to
>     another scope when it is already attached
>   ACPICA: Events: Split acpi_ev_associate_reg_method() from region
>     initialization code
>   ACPICA: Events: Enhance acpi_ev_execute_reg_method() to ensure no
>     _REG evaluations can happen during OS early boot stages
>   ACPICA: Events: Introduce ACPI_REG_DISCONNECT invocation to
>     acpi_ev_execute_reg_methods()
> 
> Markus Elfring (1):
>   ACPICA: Debugger: Remove some unecessary NULL checks
> 
> Prarit Bhargava (1):
>   ACPICA: acpi_get_sleep_type_data: Reduce warnings

Can you please send patch [8/42] again to me to the address I'm sending this
message from?

It seems that it didn't make it to the mailing lists.

Thanks,
Rafael

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [next] | [standalone]


#1299823

From"Rafael J. Wysocki" <rjw@rjwysocki.net>
Date2016-01-01 04:00 +0100
Message-ID<qLY6B-4hD-1@gated-at.bofh.it>
In reply to#1299822
On Friday, January 01, 2016 04:04:47 AM Rafael J. Wysocki wrote:
> On Tuesday, December 29, 2015 01:52:19 PM Lv Zheng wrote:
> > The 20151218 ACPICA kernel-resident subsystem updates are linuxized based
> > on the linux-pm/linux-next branch.
> > 
> > The patchset has passed the following build/boot tests.
> > Build tests are performed as follows:
> > 1. i386 + allyes
> > 2. i386 + allno
> > 3. i386 + default + ACPI_DEBUGGER=y
> > 4. i386 + default + ACPI_DEBUGGER=n + ACPI_DEBUG=y
> > 5. i386 + default + ACPI_DEBUG=n + ACPI=y
> > 6. i386 + default + ACPI=n
> > 7. x86_64 + allyes
> > 8. x86_64 + allno
> > 9. x86_64 + default + ACPI_DEBUGGER=y
> > 10.x86_64 + default + ACPI_DEBUGGER=n + ACPI_DEBUG=y
> > 11.x86_64 + default + ACPI_DEBUG=n + ACPI=y
> > 12.x86_64 + default + ACPI=n
> > Boot tests are performed as follows:
> > 1. i386 + default + ACPI_DEBUGGER=y
> > 2. x86_64 + default + ACPI_DEBUGGER=y
> > Where:
> > 1. i386: machine named as "Dell Inspiron Mini 1010"
> > 2. x86_64: machine named as "HP Compaq 8200 Elite SFF PC"
> > 3. default: kernel configuration with following items enabled:
> >    All hardware drivers related to the machines of i386/x86_64
> >    All "drivers/acpi" configurations
> >    All "drivers/platform" drivers
> >    All other drivers that link the APIs provided by ACPICA subsystem
> > 
> > The divergences checking result:
> > Before applying (20150930 Release):
> >   517 lines
> > After applying (20151218 Release):
> >   506 lines
> > 
> > Bob Moore (25):
> >   ACPICA: exmutex: General cleanup, restructured some code
> >   ACPICA: Core: Major update for code formatting, no functional changes
> >   ACPICA: Split interpreter tracing functions to a new file
> >   ACPICA: acpiexec: Add support for AML files containing multiple
> >     tables
> >   ACPICA: Disassembler/tools: Support for multiple ACPI tables in one
> >     file
> >   ACPICA: iasl/acpiexec: Update input file handling and verification
> >   ACPICA: Revert "acpi_get_object_info: Add support for ACPI 5.0 _SUB
> >     method."
> >   ACPICA: Add comment explaining _SUB removal
> >   ACPICA: acpiexec/acpinames: Update for error checking macros
> >   ACPICA: Concatenate operator: Add extensions to support all ACPI
> >     objects
> >   ACPICA: Debug Object: Cleanup output
> >   ACPICA: Debug object: Fix output for a NULL object
> >   ACPICA: Update for output of the Debug Object
> >   ACPICA: getopt: Comment update, no functional change
> >   ACPICA: Add new exception code, AE_IO_ERROR
> >   ACPICA: iasl/Disassembler: Support ASL ElseIf operator
> >   ACPICA: Parser: Add constants for internal namepath function
> >   ACPICA: Parser: Fix for SuperName method invocation
> >   ACPICA: Update parameter type for ObjectType operator
> >   ACPICA: Update internal #defines for ObjectType operator. No
> >     functional change
> >   ACPICA: Update for CondRefOf and RefOf operators
> >   ACPICA: Cleanup code related to the per-table module level
> >     improvement
> >   ACPICA: Add "root node" case to the ACPI name repair code
> >   ACPICA: Add per-table execution of module-level code
> >   ACPICA: Update version to 20151218
> > 
> > Colin Ian King (1):
> >   ACPICA: Tools: Add spacing and missing options in acpibin tool
> > 
> > David E. Box (1):
> >   ACPICA: Fix SyncLevel support interaction with method
> >     auto-serialization
> > 
> > LABBE Corentin (1):
> >   ACPICA: Add "const" to some functions that return fixed strings
> > 
> > Lv Zheng (12):
> >   ACPICA: Linuxize: reduce divergences for 20151218 release
> >   ACPICA: Namespace: Fix wrong error log
> >   ACPICA: Debugger: reduce old external path format
> >   ACPICA: Namespace: Add scope information to the simple object repair
> >     mechanism
> >   ACPICA: Namespace: Add String -> ObjectReference conversion support
> >   ACPICA: Events: Deploys acpi_ev_find_region_handler()
> >   ACPICA: Events: Uses common_notify for address space handlers
> >   ACPICA: Utilities: Reorder initialization code
> >   ACPICA: Events: Fix an issue that region object is re-attached to
> >     another scope when it is already attached
> >   ACPICA: Events: Split acpi_ev_associate_reg_method() from region
> >     initialization code
> >   ACPICA: Events: Enhance acpi_ev_execute_reg_method() to ensure no
> >     _REG evaluations can happen during OS early boot stages
> >   ACPICA: Events: Introduce ACPI_REG_DISCONNECT invocation to
> >     acpi_ev_execute_reg_methods()
> > 
> > Markus Elfring (1):
> >   ACPICA: Debugger: Remove some unecessary NULL checks
> > 
> > Prarit Bhargava (1):
> >   ACPICA: acpi_get_sleep_type_data: Reduce warnings
> 
> Can you please send patch [8/42] again to me to the address I'm sending this
> message from?
> 
> It seems that it didn't make it to the mailing lists.

OK, found it.

Thanks,
Rafael

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [next] | [standalone]


#1300443

From"Zheng, Lv" <lv.zheng@intel.com>
Date2016-01-04 03:30 +0100
Message-ID<qN34e-5pt-7@gated-at.bofh.it>
In reply to#1299822
SGksIFJhZmFlbA0KDQo+IEZyb206IFJhZmFlbCBKLiBXeXNvY2tpIFttYWlsdG86cmp3QHJqd3lz
b2NraS5uZXRdDQo+IFNlbnQ6IEZyaWRheSwgSmFudWFyeSAxLCAyMDE2IDExOjA1IEFNDQo+IFN1
YmplY3Q6IFJlOiBbUEFUQ0ggMDAvNDJdIEFDUElDQTogMjAxNTEyMTggUmVsZWFzZQ0KPiANCj4g
T24gVHVlc2RheSwgRGVjZW1iZXIgMjksIDIwMTUgMDE6NTI6MTkgUE0gTHYgWmhlbmcgd3JvdGU6
DQo+ID4gVGhlIDIwMTUxMjE4IEFDUElDQSBrZXJuZWwtcmVzaWRlbnQgc3Vic3lzdGVtIHVwZGF0
ZXMgYXJlIGxpbnV4aXplZCBiYXNlZA0KPiA+IG9uIHRoZSBsaW51eC1wbS9saW51eC1uZXh0IGJy
YW5jaC4NCj4gPg0KPiA+IFRoZSBwYXRjaHNldCBoYXMgcGFzc2VkIHRoZSBmb2xsb3dpbmcgYnVp
bGQvYm9vdCB0ZXN0cy4NCj4gPiBCdWlsZCB0ZXN0cyBhcmUgcGVyZm9ybWVkIGFzIGZvbGxvd3M6
DQo+ID4gMS4gaTM4NiArIGFsbHllcw0KPiA+IDIuIGkzODYgKyBhbGxubw0KPiA+IDMuIGkzODYg
KyBkZWZhdWx0ICsgQUNQSV9ERUJVR0dFUj15DQo+ID4gNC4gaTM4NiArIGRlZmF1bHQgKyBBQ1BJ
X0RFQlVHR0VSPW4gKyBBQ1BJX0RFQlVHPXkNCj4gPiA1LiBpMzg2ICsgZGVmYXVsdCArIEFDUElf
REVCVUc9biArIEFDUEk9eQ0KPiA+IDYuIGkzODYgKyBkZWZhdWx0ICsgQUNQST1uDQo+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dWNlIEFDUElfUkVHX0RJU0NPTk5FQ1QgaW52b2NhdGlvbiB0bw0KPiA+
ICAgICBhY3BpX2V2X2V4ZWN1dGVfcmVnX21ldGhvZHMoKQ0KPiA+DQo+ID4gTWFya3VzIEVsZnJp
bmcgKDEpOg0KPiA+ICAgQUNQSUNBOiBEZWJ1Z2dlcjogUmVtb3ZlIHNvbWUgdW5lY2Vzc2FyeSBO
VUxMIGNoZWNrcw0KPiA+DQo+ID4gUHJhcml0IEJoYXJnYXZhICgxKToNCj4gPiAgIEFDUElDQTog
YWNwaV9nZXRfc2xlZXBfdHlwZV9kYXRhOiBSZWR1Y2Ugd2FybmluZ3MNCj4gDQo+IENhbiB5b3Ug
cGxlYXNlIHNlbmQgcGF0Y2ggWzgvNDJdIGFnYWluIHRvIG1lIHRvIHRoZSBhZGRyZXNzIEknbSBz
ZW5kaW5nIHRoaXMNCj4gbWVzc2FnZSBmcm9tPw0KPiANCj4gSXQgc2VlbXMgdGhhdCBpdCBkaWRu
J3QgbWFrZSBpdCB0byB0aGUgbWFpbGluZyBsaXN0cy4NCltMdiBaaGVuZ10gDQpPSy4NCkknbGwg
cmUtc2VuZCBpdCB0byAiUmFmYWVsIEouIFd5c29ja2kgPHJqd0Byand5c29ja2kubmV0PiIuDQoN
ClRoYW5rcyBhbmQgYmVzdCByZWdhcmRzDQotTHYNCg0KPiANCj4gVGhhbmtzLA0KPiBSYWZhZWwN
Cg0K
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [next] | [standalone]


#1300154

From"Rafael J. Wysocki" <rjw@rjwysocki.net>
Date2016-01-03 01:30 +0100
Message-ID<qMEIz-6D5-23@gated-at.bofh.it>
In reply to#1298866
On Tuesday, December 29, 2015 01:52:19 PM Lv Zheng wrote:
> The 20151218 ACPICA kernel-resident subsystem updates are linuxized based
> on the linux-pm/linux-next branch.
> 
> The patchset has passed the following build/boot tests.
> Build tests are performed as follows:
> 1. i386 + allyes
> 2. i386 + allno
> 3. i386 + default + ACPI_DEBUGGER=y
> 4. i386 + default + ACPI_DEBUGGER=n + ACPI_DEBUG=y
> 5. i386 + default + ACPI_DEBUG=n + ACPI=y
> 6. i386 + default + ACPI=n
> 7. x86_64 + allyes
> 8. x86_64 + allno
> 9. x86_64 + default + ACPI_DEBUGGER=y
> 10.x86_64 + default + ACPI_DEBUGGER=n + ACPI_DEBUG=y
> 11.x86_64 + default + ACPI_DEBUG=n + ACPI=y
> 12.x86_64 + default + ACPI=n
> Boot tests are performed as follows:
> 1. i386 + default + ACPI_DEBUGGER=y
> 2. x86_64 + default + ACPI_DEBUGGER=y
> Where:
> 1. i386: machine named as "Dell Inspiron Mini 1010"
> 2. x86_64: machine named as "HP Compaq 8200 Elite SFF PC"
> 3. default: kernel configuration with following items enabled:
>    All hardware drivers related to the machines of i386/x86_64
>    All "drivers/acpi" configurations
>    All "drivers/platform" drivers
>    All other drivers that link the APIs provided by ACPICA subsystem
> 
> The divergences checking result:
> Before applying (20150930 Release):
>   517 lines
> After applying (20151218 Release):
>   506 lines
> 
> Bob Moore (25):
>   ACPICA: exmutex: General cleanup, restructured some code
>   ACPICA: Core: Major update for code formatting, no functional changes
>   ACPICA: Split interpreter tracing functions to a new file
>   ACPICA: acpiexec: Add support for AML files containing multiple
>     tables
>   ACPICA: Disassembler/tools: Support for multiple ACPI tables in one
>     file
>   ACPICA: iasl/acpiexec: Update input file handling and verification
>   ACPICA: Revert "acpi_get_object_info: Add support for ACPI 5.0 _SUB
>     method."
>   ACPICA: Add comment explaining _SUB removal
>   ACPICA: acpiexec/acpinames: Update for error checking macros
>   ACPICA: Concatenate operator: Add extensions to support all ACPI
>     objects
>   ACPICA: Debug Object: Cleanup output
>   ACPICA: Debug object: Fix output for a NULL object
>   ACPICA: Update for output of the Debug Object
>   ACPICA: getopt: Comment update, no functional change
>   ACPICA: Add new exception code, AE_IO_ERROR
>   ACPICA: iasl/Disassembler: Support ASL ElseIf operator
>   ACPICA: Parser: Add constants for internal namepath function
>   ACPICA: Parser: Fix for SuperName method invocation
>   ACPICA: Update parameter type for ObjectType operator
>   ACPICA: Update internal #defines for ObjectType operator. No
>     functional change
>   ACPICA: Update for CondRefOf and RefOf operators
>   ACPICA: Cleanup code related to the per-table module level
>     improvement
>   ACPICA: Add "root node" case to the ACPI name repair code
>   ACPICA: Add per-table execution of module-level code
>   ACPICA: Update version to 20151218
> 
> Colin Ian King (1):
>   ACPICA: Tools: Add spacing and missing options in acpibin tool
> 
> David E. Box (1):
>   ACPICA: Fix SyncLevel support interaction with method
>     auto-serialization
> 
> LABBE Corentin (1):
>   ACPICA: Add "const" to some functions that return fixed strings
> 
> Lv Zheng (12):
>   ACPICA: Linuxize: reduce divergences for 20151218 release
>   ACPICA: Namespace: Fix wrong error log
>   ACPICA: Debugger: reduce old external path format
>   ACPICA: Namespace: Add scope information to the simple object repair
>     mechanism
>   ACPICA: Namespace: Add String -> ObjectReference conversion support
>   ACPICA: Events: Deploys acpi_ev_find_region_handler()
>   ACPICA: Events: Uses common_notify for address space handlers
>   ACPICA: Utilities: Reorder initialization code
>   ACPICA: Events: Fix an issue that region object is re-attached to
>     another scope when it is already attached
>   ACPICA: Events: Split acpi_ev_associate_reg_method() from region
>     initialization code
>   ACPICA: Events: Enhance acpi_ev_execute_reg_method() to ensure no
>     _REG evaluations can happen during OS early boot stages
>   ACPICA: Events: Introduce ACPI_REG_DISCONNECT invocation to
>     acpi_ev_execute_reg_methods()
> 
> Markus Elfring (1):
>   ACPICA: Debugger: Remove some unecessary NULL checks
> 
> Prarit Bhargava (1):
>   ACPICA: acpi_get_sleep_type_data: Reduce warnings

Series applied, thanks!

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [next] | [standalone]


#1300263

FromDavid Lang <david@lang.hm>
Date2016-01-03 08:00 +0100
Message-ID<qMKNX-1WK-5@gated-at.bofh.it>
In reply to#1298866
what is ACPICA and why should we care about divergence between it and the linux 
upstream? Where is it to be found?

This may be common knowlege to many people, but it should probably be documented 
in the patch bundle and it's explination.

David Lang

On Tue, 29 Dec 2015, Lv Zheng wrote:

> Date: Tue, 29 Dec 2015 13:52:19 +0800
> 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-kernel@vger.kernel.org, linux-acpi@vger.kernel.org
> Subject: [PATCH 00/42] ACPICA: 20151218 Release
> 
> The 20151218 ACPICA kernel-resident subsystem updates are linuxized based
> on the linux-pm/linux-next branch.
>
> The patchset has passed the following build/boot tests.
> Build tests are performed as follows:
> 1. i386 + allyes
> 2. i386 + allno
> 3. i386 + default + ACPI_DEBUGGER=y
> 4. i386 + default + ACPI_DEBUGGER=n + ACPI_DEBUG=y
> 5. i386 + default + ACPI_DEBUG=n + ACPI=y
> 6. i386 + default + ACPI=n
> 7. x86_64 + allyes
> 8. x86_64 + allno
> 9. x86_64 + default + ACPI_DEBUGGER=y
> 10.x86_64 + default + ACPI_DEBUGGER=n + ACPI_DEBUG=y
> 11.x86_64 + default + ACPI_DEBUG=n + ACPI=y
> 12.x86_64 + default + ACPI=n
> Boot tests are performed as follows:
> 1. i386 + default + ACPI_DEBUGGER=y
> 2. x86_64 + default + ACPI_DEBUGGER=y
> Where:
> 1. i386: machine named as "Dell Inspiron Mini 1010"
> 2. x86_64: machine named as "HP Compaq 8200 Elite SFF PC"
> 3. default: kernel configuration with following items enabled:
>   All hardware drivers related to the machines of i386/x86_64
>   All "drivers/acpi" configurations
>   All "drivers/platform" drivers
>   All other drivers that link the APIs provided by ACPICA subsystem
>
> The divergences checking result:
> Before applying (20150930 Release):
>  517 lines
> After applying (20151218 Release):
>  506 lines
>
> Bob Moore (25):
>  ACPICA: exmutex: General cleanup, restructured some code
>  ACPICA: Core: Major update for code formatting, no functional changes
>  ACPICA: Split interpreter tracing functions to a new file
>  ACPICA: acpiexec: Add support for AML files containing multiple
>    tables
>  ACPICA: Disassembler/tools: Support for multiple ACPI tables in one
>    file
>  ACPICA: iasl/acpiexec: Update input file handling and verification
>  ACPICA: Revert "acpi_get_object_info: Add support for ACPI 5.0 _SUB
>    method."
>  ACPICA: Add comment explaining _SUB removal
>  ACPICA: acpiexec/acpinames: Update for error checking macros
>  ACPICA: Concatenate operator: Add extensions to support all ACPI
>    objects
>  ACPICA: Debug Object: Cleanup output
>  ACPICA: Debug object: Fix output for a NULL object
>  ACPICA: Update for output of the Debug Object
>  ACPICA: getopt: Comment update, no functional change
>  ACPICA: Add new exception code, AE_IO_ERROR
>  ACPICA: iasl/Disassembler: Support ASL ElseIf operator
>  ACPICA: Parser: Add constants for internal namepath function
>  ACPICA: Parser: Fix for SuperName method invocation
>  ACPICA: Update parameter type for ObjectType operator
>  ACPICA: Update internal #defines for ObjectType operator. No
>    functional change
>  ACPICA: Update for CondRefOf and RefOf operators
>  ACPICA: Cleanup code related to the per-table module level
>    improvement
>  ACPICA: Add "root node" case to the ACPI name repair code
>  ACPICA: Add per-table execution of module-level code
>  ACPICA: Update version to 20151218
>
> Colin Ian King (1):
>  ACPICA: Tools: Add spacing and missing options in acpibin tool
>
> David E. Box (1):
>  ACPICA: Fix SyncLevel support interaction with method
>    auto-serialization
>
> LABBE Corentin (1):
>  ACPICA: Add "const" to some functions that return fixed strings
>
> Lv Zheng (12):
>  ACPICA: Linuxize: reduce divergences for 20151218 release
>  ACPICA: Namespace: Fix wrong error log
>  ACPICA: Debugger: reduce old external path format
>  ACPICA: Namespace: Add scope information to the simple object repair
>    mechanism
>  ACPICA: Namespace: Add String -> ObjectReference conversion support
>  ACPICA: Events: Deploys acpi_ev_find_region_handler()
>  ACPICA: Events: Uses common_notify for address space handlers
>  ACPICA: Utilities: Reorder initialization code
>  ACPICA: Events: Fix an issue that region object is re-attached to
>    another scope when it is already attached
>  ACPICA: Events: Split acpi_ev_associate_reg_method() from region
>    initialization code
>  ACPICA: Events: Enhance acpi_ev_execute_reg_method() to ensure no
>    _REG evaluations can happen during OS early boot stages
>  ACPICA: Events: Introduce ACPI_REG_DISCONNECT invocation to
>    acpi_ev_execute_reg_methods()
>
> Markus Elfring (1):
>  ACPICA: Debugger: Remove some unecessary NULL checks
>
> Prarit Bhargava (1):
>  ACPICA: acpi_get_sleep_type_data: Reduce warnings
>
> drivers/acpi/acpica/Makefile                       |    4 +-
> drivers/acpi/acpica/acapps.h                       |   58 +-
> drivers/acpi/acpica/acdebug.h                      |    5 +-
> drivers/acpi/acpica/acevents.h                     |   11 +-
> drivers/acpi/acpica/acglobal.h                     |    3 +-
> drivers/acpi/acpica/aclocal.h                      |   12 +-
> drivers/acpi/acpica/acnamesp.h                     |   12 +-
> drivers/acpi/acpica/acobject.h                     |    7 +-
> drivers/acpi/acpica/acopcode.h                     |   10 +-
> drivers/acpi/acpica/acparser.h                     |    8 +-
> drivers/acpi/acpica/acutils.h                      |   26 +-
> drivers/acpi/acpica/amlcode.h                      |    5 +-
> drivers/acpi/acpica/dbcmds.c                       |   11 +-
> drivers/acpi/acpica/dbdisply.c                     |   84 ++-
> drivers/acpi/acpica/dbfileio.c                     |  123 +---
> drivers/acpi/acpica/dbinput.c                      |   22 +-
> drivers/acpi/acpica/dbnames.c                      |    2 +-
> drivers/acpi/acpica/dbstats.c                      |    1 +
> drivers/acpi/acpica/dbtest.c                       |    2 +-
> drivers/acpi/acpica/dbutils.c                      |    1 +
> drivers/acpi/acpica/dsargs.c                       |    7 +-
> drivers/acpi/acpica/dsdebug.c                      |    5 +-
> drivers/acpi/acpica/dsfield.c                      |   39 +-
> drivers/acpi/acpica/dsinit.c                       |    2 +-
> drivers/acpi/acpica/dsmethod.c                     |   39 +-
> drivers/acpi/acpica/dsmthdat.c                     |   20 +-
> drivers/acpi/acpica/dsobject.c                     |   19 +-
> drivers/acpi/acpica/dsopcode.c                     |   21 +-
> drivers/acpi/acpica/dsutils.c                      |   29 +-
> drivers/acpi/acpica/dswexec.c                      |   19 +-
> drivers/acpi/acpica/dswload.c                      |   10 +-
> drivers/acpi/acpica/dswload2.c                     |   10 +-
> drivers/acpi/acpica/dswscope.c                     |    1 +
> drivers/acpi/acpica/evgpe.c                        |    2 +-
> drivers/acpi/acpica/evgpeblk.c                     |    1 +
> drivers/acpi/acpica/evgpeutil.c                    |    1 +
> drivers/acpi/acpica/evhandler.c                    |  165 +++---
> drivers/acpi/acpica/evmisc.c                       |    5 +-
> drivers/acpi/acpica/evregion.c                     |  114 +++-
> drivers/acpi/acpica/evrgnini.c                     |  115 ++--
> drivers/acpi/acpica/evxface.c                      |    9 +-
> drivers/acpi/acpica/evxfregn.c                     |   38 +-
> drivers/acpi/acpica/exconfig.c                     |    8 +-
> drivers/acpi/acpica/exconvrt.c                     |    9 +-
> drivers/acpi/acpica/excreate.c                     |   20 +-
> drivers/acpi/acpica/exdebug.c                      |  403 ++-----------
> drivers/acpi/acpica/exdump.c                       |    6 +-
> drivers/acpi/acpica/exfield.c                      |   74 +--
> drivers/acpi/acpica/exfldio.c                      |   35 +-
> drivers/acpi/acpica/exmisc.c                       |   49 +-
> drivers/acpi/acpica/exmutex.c                      |   82 ++-
> drivers/acpi/acpica/exnames.c                      |    4 +-
> drivers/acpi/acpica/exoparg1.c                     |   33 +-
> drivers/acpi/acpica/exoparg2.c                     |   12 +-
> drivers/acpi/acpica/exoparg3.c                     |   25 +-
> drivers/acpi/acpica/exoparg6.c                     |    1 +
> drivers/acpi/acpica/exprep.c                       |   25 +-
> drivers/acpi/acpica/exregion.c                     |   13 +-
> drivers/acpi/acpica/exresnte.c                     |    2 +-
> drivers/acpi/acpica/exresolv.c                     |   10 +-
> drivers/acpi/acpica/exresop.c                      |   43 +-
> drivers/acpi/acpica/exstore.c                      |   17 +-
> drivers/acpi/acpica/exstorob.c                     |    7 +-
> drivers/acpi/acpica/exsystem.c                     |    6 +-
> drivers/acpi/acpica/extrace.c                      |  377 ++++++++++++
> drivers/acpi/acpica/exutils.c                      |    7 +-
> drivers/acpi/acpica/hwesleep.c                     |    4 +-
> drivers/acpi/acpica/hwgpe.c                        |    6 +-
> drivers/acpi/acpica/hwsleep.c                      |    4 +-
> drivers/acpi/acpica/hwxface.c                      |   24 +-
> drivers/acpi/acpica/hwxfsleep.c                    |    1 +
> drivers/acpi/acpica/nsconvert.c                    |  105 +++-
> drivers/acpi/acpica/nsdump.c                       |    5 +-
> drivers/acpi/acpica/nseval.c                       |    2 +-
> drivers/acpi/acpica/nsinit.c                       |    3 +-
> drivers/acpi/acpica/nsload.c                       |   18 +-
> drivers/acpi/acpica/nsnames.c                      |    6 +-
> drivers/acpi/acpica/nsparse.c                      |    5 +-
> drivers/acpi/acpica/nsprepkg.c                     |   10 +-
> drivers/acpi/acpica/nsrepair.c                     |   19 +-
> drivers/acpi/acpica/nsrepair2.c                    |   24 +-
> drivers/acpi/acpica/nssearch.c                     |    2 +-
> drivers/acpi/acpica/nsutils.c                      |    8 +-
> drivers/acpi/acpica/nsxfeval.c                     |    4 +-
> drivers/acpi/acpica/nsxfname.c                     |   39 +-
> drivers/acpi/acpica/nsxfobj.c                      |    6 +-
> drivers/acpi/acpica/psargs.c                       |   19 +-
> drivers/acpi/acpica/psloop.c                       |   12 +-
> drivers/acpi/acpica/psopcode.c                     |  606 ++++++++++----------
> drivers/acpi/acpica/psparse.c                      |    8 +-
> drivers/acpi/acpica/psutils.c                      |    4 +-
> drivers/acpi/acpica/pswalk.c                       |    1 +
> drivers/acpi/acpica/rsaddr.c                       |    4 +-
> drivers/acpi/acpica/rscalc.c                       |   81 +--
> drivers/acpi/acpica/rscreate.c                     |   32 +-
> drivers/acpi/acpica/rsdump.c                       |    6 +
> drivers/acpi/acpica/rslist.c                       |    9 +-
> drivers/acpi/acpica/rsmisc.c                       |   22 +-
> drivers/acpi/acpica/rsutils.c                      |   42 +-
> drivers/acpi/acpica/rsxface.c                      |    2 +-
> drivers/acpi/acpica/tbdata.c                       |    1 +
> drivers/acpi/acpica/tbinstal.c                     |    4 +-
> drivers/acpi/acpica/tbprint.c                      |    1 +
> drivers/acpi/acpica/tbutils.c                      |   10 +-
> drivers/acpi/acpica/tbxfload.c                     |    3 +-
> drivers/acpi/acpica/utaddress.c                    |    5 +-
> drivers/acpi/acpica/utcopy.c                       |   23 +-
> drivers/acpi/acpica/utdecode.c                     |   32 +-
> drivers/acpi/acpica/utdelete.c                     |    5 +-
> drivers/acpi/acpica/uterror.c                      |   10 +-
> drivers/acpi/acpica/utfileio.c                     |  334 -----------
> drivers/acpi/acpica/uthex.c                        |    2 +-
> drivers/acpi/acpica/utids.c                        |   67 ---
> drivers/acpi/acpica/utinit.c                       |    1 -
> drivers/acpi/acpica/utmath.c                       |   10 +-
> drivers/acpi/acpica/utmisc.c                       |   11 +-
> drivers/acpi/acpica/utmutex.c                      |    5 +-
> drivers/acpi/acpica/utnonansi.c                    |    4 +-
> drivers/acpi/acpica/utobject.c                     |   24 +-
> drivers/acpi/acpica/utosi.c                        |   11 +-
> drivers/acpi/acpica/utownerid.c                    |   12 +-
> drivers/acpi/acpica/utpredef.c                     |    6 +-
> drivers/acpi/acpica/utprint.c                      |   15 +-
> drivers/acpi/acpica/utresrc.c                      |    8 +-
> drivers/acpi/acpica/utstate.c                      |    3 +
> drivers/acpi/acpica/utstring.c                     |    9 +
> drivers/acpi/acpica/uttrack.c                      |   50 +-
> drivers/acpi/acpica/utxface.c                      |    2 -
> drivers/acpi/acpica/utxferror.c                    |    1 +
> drivers/acpi/acpica/utxfinit.c                     |   47 +-
> drivers/acpi/acpica/utxfmutex.c                    |    6 +-
> include/acpi/acexcep.h                             |    6 +-
> include/acpi/acpixf.h                              |   11 +-
> include/acpi/actypes.h                             |    6 +-
> include/acpi/platform/aclinuxex.h                  |    1 +
> tools/power/acpi/common/getopt.c                   |    2 +
> .../acpi/os_specific/service_layers/oslibcfs.c     |    3 +
> tools/power/acpi/tools/acpidump/apfiles.c          |   13 +
> 138 files changed, 2113 insertions(+), 2140 deletions(-)
> create mode 100644 drivers/acpi/acpica/extrace.c
> delete mode 100644 drivers/acpi/acpica/utfileio.c
>
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [next] | [standalone]


#1300442

From"Zheng, Lv" <lv.zheng@intel.com>
Date2016-01-04 03:30 +0100
Message-ID<qN34e-5pt-5@gated-at.bofh.it>
In reply to#1300263
Hi,

> From: David Lang [mailto:david@lang.hm]
> Sent: Sunday, January 3, 2016 2:45 PM
> 
> what is ACPICA and why should we care about divergence between it and the
> linux
> upstream? Where is it to be found?
[Lv Zheng] 
You can find ACPICA at: https://acpica.org.
Source code of ACPICA can be found at: https://github.com/acpica/acpica/

There is a process to convert ACPICA source code into Linux source code.
The release process happens almost monthly.
We call it as "ACPICA release".

And we call the difference of "Linuxized ACPICA" and "ACPICA in Linux" as divergences.
"Linuxized ACPICA" can be generated by the following commands:
  # git clone https://github.com/acpica/acpica
  # cd acpica
  # generate/linux/gen-repo.sh
"ACPICA in Linux" contains the following folders of Linux source tree:
  drivers/acpi/acpica
  include/acpi
  tools/power/acpi
These folders in fact are not maintained by human, but maintained by the ACPICA release automation.

ACPICA upstream uses a different coding style than Linux.
The last step of the release process is to execute "indent" using "linux" style (tuned --linux-style) to make the generated code somewhat compliant to the Linux coding style.
However, "indent" is not such a perfect tool.
If you execute indent with same options on the same input, you'll get same output.
While when you execute indent with same options on the same input that contains incremental changes, the output always may contain giant changes.
This is because "indent" make different decisions on indentation if the input is different.
While as you may know, there are still differences (about 500+ lines) between "Linux" and "ACPICA upstream".
So the "giant changes" now is inevitable.
In the release process, we use "diff -b" to ignore space changes in order not to generate giant changes every time ACPICA is released.
As you may sense from the above description, the release automation can be seriously affected by the accumulation of this kind of divergences.
The "Linuxized ACPICA patch" cannot be directly applied to Linux if such divergences are accumulated.
That's why we have to reduce it in order to make the release automation working.
So you can see a "divergence reduction" patch as the 1st patch in the ACPICA release series occasionally.
After applying this patch, the rest of the release patches can be done without human intervention.

Well, there are more rules and stories about ACPICA release process. :)

> 
> This may be common knowlege to many people, but it should probably be
> documented
> in the patch bundle and it's explination.
[Lv Zheng] 
Yes.
This is a good idea.
I'll prepare the documentation.

Thanks and best regards
-Lv

> 
> David Lang
> 
> On Tue, 29 Dec 2015, Lv Zheng wrote:
> 
> > Date: Tue, 29 Dec 2015 13:52:19 +0800
> > 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-kernel@vger.kernel.org, linux-acpi@vger.kernel.org
> > Subject: [PATCH 00/42] ACPICA: 20151218 Release
> >
> > The 20151218 ACPICA kernel-resident subsystem updates are linuxized based
> > on the linux-pm/linux-next branch.
> >
> > The patchset has passed the following build/boot tests.
> > Build tests are performed as follows:
> > 1. i386 + allyes
> > 2. i386 + allno
> > 3. i386 + default + ACPI_DEBUGGER=y
> > 4. i386 + default + ACPI_DEBUGGER=n + ACPI_DEBUG=y
> > 5. i386 + default + ACPI_DEBUG=n + ACPI=y
> > 6. i386 + default + ACPI=n
> > 7. x86_64 + allyes
> > 8. x86_64 + allno
> > 9. x86_64 + default + ACPI_DEBUGGER=y
> > 10.x86_64 + default + ACPI_DEBUGGER=n + ACPI_DEBUG=y
> > 11.x86_64 + default + ACPI_DEBUG=n + ACPI=y
> > 12.x86_64 + default + ACPI=n
> > Boot tests are performed as follows:
> > 1. i386 + default + ACPI_DEBUGGER=y
> > 2. x86_64 + default + ACPI_DEBUGGER=y
> > Where:
> > 1. i386: machine named as "Dell Inspiron Mini 1010"
> > 2. x86_64: machine named as "HP Compaq 8200 Elite SFF PC"
> > 3. default: kernel configuration with following items enabled:
> >   All hardware drivers related to the machines of i386/x86_64
> >   All "drivers/acpi" configurations
> >   All "drivers/platform" drivers
> >   All other drivers that link the APIs provided by ACPICA subsystem
> >
> > The divergences checking result:
> > Before applying (20150930 Release):
> >  517 lines
> > After applying (20151218 Release):
> >  506 lines
> >
> > Bob Moore (25):
> >  ACPICA: exmutex: General cleanup, restructured some code
> >  ACPICA: Core: Major update for code formatting, no functional changes
> >  ACPICA: Split interpreter tracing functions to a new file
> >  ACPICA: acpiexec: Add support for AML files containing multiple
> >    tables
> >  ACPICA: Disassembler/tools: Support for multiple ACPI tables in one
> >    file
> >  ACPICA: iasl/acpiexec: Update input file handling and verification
> >  ACPICA: Revert "acpi_get_object_info: Add support for ACPI 5.0 _SUB
> >    method."
> >  ACPICA: Add comment explaining _SUB removal
> >  ACPICA: acpiexec/acpinames: Update for error checking macros
> >  ACPICA: Concatenate operator: Add extensions to support all ACPI
> >    objects
> >  ACPICA: Debug Object: Cleanup output
> >  ACPICA: Debug object: Fix output for a NULL object
> >  ACPICA: Update for output of the Debug Object
> >  ACPICA: getopt: Comment update, no functional change
> >  ACPICA: Add new exception code, AE_IO_ERROR
> >  ACPICA: iasl/Disassembler: Support ASL ElseIf operator
> >  ACPICA: Parser: Add constants for internal namepath function
> >  ACPICA: Parser: Fix for SuperName method invocation
> >  ACPICA: Update parameter type for ObjectType operator
> >  ACPICA: Update internal #defines for ObjectType operator. No
> >    functional change
> >  ACPICA: Update for CondRefOf and RefOf operators
> >  ACPICA: Cleanup code related to the per-table module level
> >    improvement
> >  ACPICA: Add "root node" case to the ACPI name repair code
> >  ACPICA: Add per-table execution of module-level code
> >  ACPICA: Update version to 20151218
> >
> > Colin Ian King (1):
> >  ACPICA: Tools: Add spacing and missing options in acpibin tool
> >
> > David E. Box (1):
> >  ACPICA: Fix SyncLevel support interaction with method
> >    auto-serialization
> >
> > LABBE Corentin (1):
> >  ACPICA: Add "const" to some functions that return fixed strings
> >
> > Lv Zheng (12):
> >  ACPICA: Linuxize: reduce divergences for 20151218 release
> >  ACPICA: Namespace: Fix wrong error log
> >  ACPICA: Debugger: reduce old external path format
> >  ACPICA: Namespace: Add scope information to the simple object repair
> >    mechanism
> >  ACPICA: Namespace: Add String -> ObjectReference conversion support
> >  ACPICA: Events: Deploys acpi_ev_find_region_handler()
> >  ACPICA: Events: Uses common_notify for address space handlers
> >  ACPICA: Utilities: Reorder initialization code
> >  ACPICA: Events: Fix an issue that region object is re-attached to
> >    another scope when it is already attached
> >  ACPICA: Events: Split acpi_ev_associate_reg_method() from region
> >    initialization code
> >  ACPICA: Events: Enhance acpi_ev_execute_reg_method() to ensure no
> >    _REG evaluations can happen during OS early boot stages
> >  ACPICA: Events: Introduce ACPI_REG_DISCONNECT invocation to
> >    acpi_ev_execute_reg_methods()
> >
> > Markus Elfring (1):
> >  ACPICA: Debugger: Remove some unecessary NULL checks
> >
> > Prarit Bhargava (1):
> >  ACPICA: acpi_get_sleep_type_data: Reduce warnings
> >
> > drivers/acpi/acpica/Makefile                       |    4 +-
> > drivers/acpi/acpica/acapps.h                       |   58 +-
> > drivers/acpi/acpica/acdebug.h                      |    5 +-
> > drivers/acpi/acpica/acevents.h                     |   11 +-
> > drivers/acpi/acpica/acglobal.h                     |    3 +-
> > drivers/acpi/acpica/aclocal.h                      |   12 +-
> > drivers/acpi/acpica/acnamesp.h                     |   12 +-
> > drivers/acpi/acpica/acobject.h                     |    7 +-
> > drivers/acpi/acpica/acopcode.h                     |   10 +-
> > drivers/acpi/acpica/acparser.h                     |    8 +-
> > drivers/acpi/acpica/acutils.h                      |   26 +-
> > drivers/acpi/acpica/amlcode.h                      |    5 +-
> > drivers/acpi/acpica/dbcmds.c                       |   11 +-
> > drivers/acpi/acpica/dbdisply.c                     |   84 ++-
> > drivers/acpi/acpica/dbfileio.c                     |  123 +---
> > drivers/acpi/acpica/dbinput.c                      |   22 +-
> > drivers/acpi/acpica/dbnames.c                      |    2 +-
> > drivers/acpi/acpica/dbstats.c                      |    1 +
> > drivers/acpi/acpica/dbtest.c                       |    2 +-
> > drivers/acpi/acpica/dbutils.c                      |    1 +
> > drivers/acpi/acpica/dsargs.c                       |    7 +-
> > drivers/acpi/acpica/dsdebug.c                      |    5 +-
> > drivers/acpi/acpica/dsfield.c                      |   39 +-
> > drivers/acpi/acpica/dsinit.c                       |    2 +-
> > drivers/acpi/acpica/dsmethod.c                     |   39 +-
> > drivers/acpi/acpica/dsmthdat.c                     |   20 +-
> > drivers/acpi/acpica/dsobject.c                     |   19 +-
> > drivers/acpi/acpica/dsopcode.c                     |   21 +-
> > drivers/acpi/acpica/dsutils.c                      |   29 +-
> > drivers/acpi/acpica/dswexec.c                      |   19 +-
> > drivers/acpi/acpica/dswload.c                      |   10 +-
> > drivers/acpi/acpica/dswload2.c                     |   10 +-
> > drivers/acpi/acpica/dswscope.c                     |    1 +
> > drivers/acpi/acpica/evgpe.c                        |    2 +-
> > drivers/acpi/acpica/evgpeblk.c                     |    1 +
> > drivers/acpi/acpica/evgpeutil.c                    |    1 +
> > drivers/acpi/acpica/evhandler.c                    |  165 +++---
> > drivers/acpi/acpica/evmisc.c                       |    5 +-
> > drivers/acpi/acpica/evregion.c                     |  114 +++-
> > drivers/acpi/acpica/evrgnini.c                     |  115 ++--
> > drivers/acpi/acpica/evxface.c                      |    9 +-
> > drivers/acpi/acpica/evxfregn.c                     |   38 +-
> > drivers/acpi/acpica/exconfig.c                     |    8 +-
> > drivers/acpi/acpica/exconvrt.c                     |    9 +-
> > drivers/acpi/acpica/excreate.c                     |   20 +-
> > drivers/acpi/acpica/exdebug.c                      |  403 ++-----------
> > drivers/acpi/acpica/exdump.c                       |    6 +-
> > drivers/acpi/acpica/exfield.c                      |   74 +--
> > drivers/acpi/acpica/exfldio.c                      |   35 +-
> > drivers/acpi/acpica/exmisc.c                       |   49 +-
> > drivers/acpi/acpica/exmutex.c                      |   82 ++-
> > drivers/acpi/acpica/exnames.c                      |    4 +-
> > drivers/acpi/acpica/exoparg1.c                     |   33 +-
> > drivers/acpi/acpica/exoparg2.c                     |   12 +-
> > drivers/acpi/acpica/exoparg3.c                     |   25 +-
> > drivers/acpi/acpica/exoparg6.c                     |    1 +
> > drivers/acpi/acpica/exprep.c                       |   25 +-
> > drivers/acpi/acpica/exregion.c                     |   13 +-
> > drivers/acpi/acpica/exresnte.c                     |    2 +-
> > drivers/acpi/acpica/exresolv.c                     |   10 +-
> > drivers/acpi/acpica/exresop.c                      |   43 +-
> > drivers/acpi/acpica/exstore.c                      |   17 +-
> > drivers/acpi/acpica/exstorob.c                     |    7 +-
> > drivers/acpi/acpica/exsystem.c                     |    6 +-
> > drivers/acpi/acpica/extrace.c                      |  377 ++++++++++++
> > drivers/acpi/acpica/exutils.c                      |    7 +-
> > drivers/acpi/acpica/hwesleep.c                     |    4 +-
> > drivers/acpi/acpica/hwgpe.c                        |    6 +-
> > drivers/acpi/acpica/hwsleep.c                      |    4 +-
> > drivers/acpi/acpica/hwxface.c                      |   24 +-
> > drivers/acpi/acpica/hwxfsleep.c                    |    1 +
> > drivers/acpi/acpica/nsconvert.c                    |  105 +++-
> > drivers/acpi/acpica/nsdump.c                       |    5 +-
> > drivers/acpi/acpica/nseval.c                       |    2 +-
> > drivers/acpi/acpica/nsinit.c                       |    3 +-
> > drivers/acpi/acpica/nsload.c                       |   18 +-
> > drivers/acpi/acpica/nsnames.c                      |    6 +-
> > drivers/acpi/acpica/nsparse.c                      |    5 +-
> > drivers/acpi/acpica/nsprepkg.c                     |   10 +-
> > drivers/acpi/acpica/nsrepair.c                     |   19 +-
> > drivers/acpi/acpica/nsrepair2.c                    |   24 +-
> > drivers/acpi/acpica/nssearch.c                     |    2 +-
> > drivers/acpi/acpica/nsutils.c                      |    8 +-
> > drivers/acpi/acpica/nsxfeval.c                     |    4 +-
> > drivers/acpi/acpica/nsxfname.c                     |   39 +-
> > drivers/acpi/acpica/nsxfobj.c                      |    6 +-
> > drivers/acpi/acpica/psargs.c                       |   19 +-
> > drivers/acpi/acpica/psloop.c                       |   12 +-
> > drivers/acpi/acpica/psopcode.c                     |  606 ++++++++++----------
> > drivers/acpi/acpica/psparse.c                      |    8 +-
> > drivers/acpi/acpica/psutils.c                      |    4 +-
> > drivers/acpi/acpica/pswalk.c                       |    1 +
> > drivers/acpi/acpica/rsaddr.c                       |    4 +-
> > drivers/acpi/acpica/rscalc.c                       |   81 +--
> > drivers/acpi/acpica/rscreate.c                     |   32 +-
> > drivers/acpi/acpica/rsdump.c                       |    6 +
> > drivers/acpi/acpica/rslist.c                       |    9 +-
> > drivers/acpi/acpica/rsmisc.c                       |   22 +-
> > drivers/acpi/acpica/rsutils.c                      |   42 +-
> > drivers/acpi/acpica/rsxface.c                      |    2 +-
> > drivers/acpi/acpica/tbdata.c                       |    1 +
> > drivers/acpi/acpica/tbinstal.c                     |    4 +-
> > drivers/acpi/acpica/tbprint.c                      |    1 +
> > drivers/acpi/acpica/tbutils.c                      |   10 +-
> > drivers/acpi/acpica/tbxfload.c                     |    3 +-
> > drivers/acpi/acpica/utaddress.c                    |    5 +-
> > drivers/acpi/acpica/utcopy.c                       |   23 +-
> > drivers/acpi/acpica/utdecode.c                     |   32 +-
> > drivers/acpi/acpica/utdelete.c                     |    5 +-
> > drivers/acpi/acpica/uterror.c                      |   10 +-
> > drivers/acpi/acpica/utfileio.c                     |  334 -----------
> > drivers/acpi/acpica/uthex.c                        |    2 +-
> > drivers/acpi/acpica/utids.c                        |   67 ---
> > drivers/acpi/acpica/utinit.c                       |    1 -
> > drivers/acpi/acpica/utmath.c                       |   10 +-
> > drivers/acpi/acpica/utmisc.c                       |   11 +-
> > drivers/acpi/acpica/utmutex.c                      |    5 +-
> > drivers/acpi/acpica/utnonansi.c                    |    4 +-
> > drivers/acpi/acpica/utobject.c                     |   24 +-
> > drivers/acpi/acpica/utosi.c                        |   11 +-
> > drivers/acpi/acpica/utownerid.c                    |   12 +-
> > drivers/acpi/acpica/utpredef.c                     |    6 +-
> > drivers/acpi/acpica/utprint.c                      |   15 +-
> > drivers/acpi/acpica/utresrc.c                      |    8 +-
> > drivers/acpi/acpica/utstate.c                      |    3 +
> > drivers/acpi/acpica/utstring.c                     |    9 +
> > drivers/acpi/acpica/uttrack.c                      |   50 +-
> > drivers/acpi/acpica/utxface.c                      |    2 -
> > drivers/acpi/acpica/utxferror.c                    |    1 +
> > drivers/acpi/acpica/utxfinit.c                     |   47 +-
> > drivers/acpi/acpica/utxfmutex.c                    |    6 +-
> > include/acpi/acexcep.h                             |    6 +-
> > include/acpi/acpixf.h                              |   11 +-
> > include/acpi/actypes.h                             |    6 +-
> > include/acpi/platform/aclinuxex.h                  |    1 +
> > tools/power/acpi/common/getopt.c                   |    2 +
> > .../acpi/os_specific/service_layers/oslibcfs.c     |    3 +
> > tools/power/acpi/tools/acpidump/apfiles.c          |   13 +
> > 138 files changed, 2113 insertions(+), 2140 deletions(-)
> > create mode 100644 drivers/acpi/acpica/extrace.c
> > delete mode 100644 drivers/acpi/acpica/utfileio.c
> >
> >
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [next] | [standalone]


#1300730

From"Rafael J. Wysocki" <rjw@rjwysocki.net>
Date2016-01-04 13:50 +0100
Message-ID<qNcKe-3wM-9@gated-at.bofh.it>
In reply to#1300442
On Monday, January 04, 2016 02:27:43 AM Zheng, Lv wrote:
> Hi,
> 
> > From: David Lang [mailto:david@lang.hm]
> > Sent: Sunday, January 3, 2016 2:45 PM
> > 
> > what is ACPICA and why should we care about divergence between it and the
> > linux
> > upstream? Where is it to be found?
> [Lv Zheng] 
> You can find ACPICA at: https://acpica.org.
> Source code of ACPICA can be found at: https://github.com/acpica/acpica/

Also, there is an ACPICA entry in MAINTAINERS with links to various places
where more information can be found.

That said it is a good idea to document the release process under
Documentation/acpi/.

Thanks,
Rafael

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [standalone]


Page 2 of 2 — ← Prev page 1 [2]

Back to top | Article view | linux.kernel


csiph-web