Linux-ACPI Archive on lore.kernel.org
 help / color / Atom feed
* [PATCH 00/10] ACPICA release 20200214
@ 2020-02-14 18:47 Erik Kaneda
  2020-02-14 18:47 ` [PATCH 01/10] ACPICA: ASL-ASL+ converter: remove function parameters from cv_init_file_tree () Erik Kaneda
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: Erik Kaneda @ 2020-02-14 18:47 UTC (permalink / raw)
  To: Rafael J . Wysocki, linux-acpi; +Cc: Erik Kaneda

This patch series contains the 20200214 release of ACPICA. For linux,
this a relatively small release. Major changes include Enabling the
sleep button on ACPI legacy wake. Aside from that, this release mainly
consists of changes in the converter, type casts to suppress compiler
warnings when building in 64 bit mode on msvc 2019, and updates to
comments.

This patch set is also available for viewing at the following link:



Anchal Agarwal (1):
  ACPICA: Enable sleep button on ACPI legacy wake

Bob Moore (4):
  ACPICA: Fix a comment "enable" fixed events -> "disable" all fixed
    events.
  ACPICA: Table Manager: Update comments in a function header
  ACPICA: Fix a couple of typos
  ACPICA: Update version to 20200214 Version 20200214.

Erik Kaneda (2):
  ACPICA: ASL-ASL+ converter: remove function parameters from
    cv_init_file_tree ()
  ACPICA: ASL-ASL+ converter: make root file a parameter for
    cv_init_file_tree

Sven Barth (3):
  ACPICA: cast the result of the pointer difference to u32
  ACPICA: cast length arguement to acpi_ns_build_normalized_path() as
    u32
  ACPICA: use acpi_size instead of u32 for prefix_path_length

 drivers/acpi/acpica/acconvert.h |  4 +---
 drivers/acpi/acpica/acmacros.h  |  4 ++--
 drivers/acpi/acpica/evevent.c   |  2 +-
 drivers/acpi/acpica/hwsleep.c   | 12 ++++++++++++
 drivers/acpi/acpica/nsnames.c   |  6 +++---
 drivers/acpi/acpica/nsxfname.c  |  2 +-
 drivers/acpi/acpica/tbxface.c   | 12 ++++++------
 drivers/acpi/acpica/utobject.c  |  2 +-
 include/acpi/acpixf.h           |  2 +-
 include/acpi/actbl1.h           |  2 +-
 10 files changed, 29 insertions(+), 19 deletions(-)

-- 
2.21.0


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [PATCH 01/10] ACPICA: ASL-ASL+ converter: remove function parameters from cv_init_file_tree ()
  2020-02-14 18:47 [PATCH 00/10] ACPICA release 20200214 Erik Kaneda
@ 2020-02-14 18:47 ` Erik Kaneda
  2020-02-14 18:47 ` [PATCH 02/10] ACPICA: ASL-ASL+ converter: make root file a parameter for cv_init_file_tree Erik Kaneda
                   ` (9 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: Erik Kaneda @ 2020-02-14 18:47 UTC (permalink / raw)
  To: Rafael J . Wysocki, linux-acpi; +Cc: Erik Kaneda, Bob Moore

ACPICA commit 3ba6fa55a4a32d8b6fc28f9f285506ea0e359296

These parameters can be computed inside of the function from the
Table parameter.

Link: https://github.com/acpica/acpica/commit/3ba6fa55
Signed-off-by: Erik Kaneda <erik.kaneda@intel.com>
Signed-off-by: Bob Moore <robert.moore@intel.com>
---
 drivers/acpi/acpica/acconvert.h | 4 +---
 drivers/acpi/acpica/acmacros.h  | 4 ++--
 2 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/drivers/acpi/acpica/acconvert.h b/drivers/acpi/acpica/acconvert.h
index ede4b9cc9e85..9eca93656116 100644
--- a/drivers/acpi/acpica/acconvert.h
+++ b/drivers/acpi/acpica/acconvert.h
@@ -65,9 +65,7 @@ void cg_write_aml_comment(union acpi_parse_object *op);
 /*
  * cvparser
  */
-void
-cv_init_file_tree(struct acpi_table_header *table,
-		  u8 *aml_start, u32 aml_length);
+void cv_init_file_tree(struct acpi_table_header *table);
 
 void cv_clear_op_comments(union acpi_parse_object *op);
 
diff --git a/drivers/acpi/acpica/acmacros.h b/drivers/acpi/acpica/acmacros.h
index 2269e10bc21b..87d06c963a60 100644
--- a/drivers/acpi/acpica/acmacros.h
+++ b/drivers/acpi/acpica/acmacros.h
@@ -477,7 +477,7 @@
 #define ASL_CV_PRINT_ONE_COMMENT(a,b,c,d) cv_print_one_comment_type (a,b,c,d);
 #define ASL_CV_PRINT_ONE_COMMENT_LIST(a,b) cv_print_one_comment_list (a,b);
 #define ASL_CV_FILE_HAS_SWITCHED(a)       cv_file_has_switched(a)
-#define ASL_CV_INIT_FILETREE(a,b,c)      cv_init_file_tree(a,b,c);
+#define ASL_CV_INIT_FILETREE(a)      cv_init_file_tree(a);
 
 #else
 
@@ -492,7 +492,7 @@
 #define ASL_CV_PRINT_ONE_COMMENT(a,b,c,d)
 #define ASL_CV_PRINT_ONE_COMMENT_LIST(a,b)
 #define ASL_CV_FILE_HAS_SWITCHED(a)       0
-#define ASL_CV_INIT_FILETREE(a,b,c)
+#define ASL_CV_INIT_FILETREE(a)
 
 #endif
 
-- 
2.21.0


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [PATCH 02/10] ACPICA: ASL-ASL+ converter: make root file a parameter for cv_init_file_tree
  2020-02-14 18:47 [PATCH 00/10] ACPICA release 20200214 Erik Kaneda
  2020-02-14 18:47 ` [PATCH 01/10] ACPICA: ASL-ASL+ converter: remove function parameters from cv_init_file_tree () Erik Kaneda
@ 2020-02-14 18:47 ` Erik Kaneda
  2020-02-14 18:47 ` [PATCH 03/10] ACPICA: Fix a comment "enable" fixed events -> "disable" all fixed events Erik Kaneda
                   ` (8 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: Erik Kaneda @ 2020-02-14 18:47 UTC (permalink / raw)
  To: Rafael J . Wysocki, linux-acpi; +Cc: Erik Kaneda, Bob Moore

ACPICA commit 5d160cc86cca440eac7055f981e48bc14d4eb9f7

This decouples cv_init_file_tree from acpi_gbl_output_file and allows
it to be called independently of acpi_os_redirect_output()

Link: https://github.com/acpica/acpica/commit/5d160cc8
Signed-off-by: Erik Kaneda <erik.kaneda@intel.com>
Signed-off-by: Bob Moore <robert.moore@intel.com>
---
 drivers/acpi/acpica/acconvert.h | 2 +-
 drivers/acpi/acpica/acmacros.h  | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/acpi/acpica/acconvert.h b/drivers/acpi/acpica/acconvert.h
index 9eca93656116..cf85d66da6e7 100644
--- a/drivers/acpi/acpica/acconvert.h
+++ b/drivers/acpi/acpica/acconvert.h
@@ -65,7 +65,7 @@ void cg_write_aml_comment(union acpi_parse_object *op);
 /*
  * cvparser
  */
-void cv_init_file_tree(struct acpi_table_header *table);
+void cv_init_file_tree(struct acpi_table_header *table, FILE * root_file);
 
 void cv_clear_op_comments(union acpi_parse_object *op);
 
diff --git a/drivers/acpi/acpica/acmacros.h b/drivers/acpi/acpica/acmacros.h
index 87d06c963a60..168904ba3086 100644
--- a/drivers/acpi/acpica/acmacros.h
+++ b/drivers/acpi/acpica/acmacros.h
@@ -477,7 +477,7 @@
 #define ASL_CV_PRINT_ONE_COMMENT(a,b,c,d) cv_print_one_comment_type (a,b,c,d);
 #define ASL_CV_PRINT_ONE_COMMENT_LIST(a,b) cv_print_one_comment_list (a,b);
 #define ASL_CV_FILE_HAS_SWITCHED(a)       cv_file_has_switched(a)
-#define ASL_CV_INIT_FILETREE(a)      cv_init_file_tree(a);
+#define ASL_CV_INIT_FILETREE(a,b)      cv_init_file_tree(a,b);
 
 #else
 
@@ -492,7 +492,7 @@
 #define ASL_CV_PRINT_ONE_COMMENT(a,b,c,d)
 #define ASL_CV_PRINT_ONE_COMMENT_LIST(a,b)
 #define ASL_CV_FILE_HAS_SWITCHED(a)       0
-#define ASL_CV_INIT_FILETREE(a)
+#define ASL_CV_INIT_FILETREE(a,b)
 
 #endif
 
-- 
2.21.0


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [PATCH 03/10] ACPICA: Fix a comment "enable" fixed events -> "disable" all fixed events.
  2020-02-14 18:47 [PATCH 00/10] ACPICA release 20200214 Erik Kaneda
  2020-02-14 18:47 ` [PATCH 01/10] ACPICA: ASL-ASL+ converter: remove function parameters from cv_init_file_tree () Erik Kaneda
  2020-02-14 18:47 ` [PATCH 02/10] ACPICA: ASL-ASL+ converter: make root file a parameter for cv_init_file_tree Erik Kaneda
@ 2020-02-14 18:47 ` Erik Kaneda
  2020-02-14 18:47 ` [PATCH 04/10] ACPICA: Enable sleep button on ACPI legacy wake Erik Kaneda
                   ` (7 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: Erik Kaneda @ 2020-02-14 18:47 UTC (permalink / raw)
  To: Rafael J . Wysocki, linux-acpi; +Cc: Bob Moore, Erik Kaneda

From: Bob Moore <robert.moore@intel.com>

ACPICA commit af4462c6f41ebc9bf63b5370818c5fd96524e7a9

Link: https://github.com/acpica/acpica/commit/af4462c6
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Erik Kaneda <erik.kaneda@intel.com>
---
 drivers/acpi/acpica/evevent.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/acpi/acpica/evevent.c b/drivers/acpi/acpica/evevent.c
index 8c83d8c620dc..89391938193d 100644
--- a/drivers/acpi/acpica/evevent.c
+++ b/drivers/acpi/acpica/evevent.c
@@ -130,7 +130,7 @@ static acpi_status acpi_ev_fixed_event_initialize(void)
 
 	/*
 	 * Initialize the structure that keeps track of fixed event handlers and
-	 * enable the fixed events.
+	 * disable all of the fixed events.
 	 */
 	for (i = 0; i < ACPI_NUM_FIXED_EVENTS; i++) {
 		acpi_gbl_fixed_event_handlers[i].handler = NULL;
-- 
2.21.0


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [PATCH 04/10] ACPICA: Enable sleep button on ACPI legacy wake
  2020-02-14 18:47 [PATCH 00/10] ACPICA release 20200214 Erik Kaneda
                   ` (2 preceding siblings ...)
  2020-02-14 18:47 ` [PATCH 03/10] ACPICA: Fix a comment "enable" fixed events -> "disable" all fixed events Erik Kaneda
@ 2020-02-14 18:47 ` Erik Kaneda
  2020-02-14 18:47 ` [PATCH 05/10] ACPICA: Table Manager: Update comments in a function header Erik Kaneda
                   ` (6 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: Erik Kaneda @ 2020-02-14 18:47 UTC (permalink / raw)
  To: Rafael J . Wysocki, linux-acpi
  Cc: Anchal Agarwal, Balbir Singh, Frank van der Linden, Erik Kaneda,
	Bob Moore

From: Anchal Agarwal <anchalag@amazon.com>

ACPICA commit 9383f5b01091e432c05f802a57edc20d329eec1f

Hibernation (S4) is triggered in a guest when it recieves a sleep
trigger from the hypervisor. When the guest resumes from this power
state, it does not see the sleep_enabled bit. In otherwords, the sleep
button is not enabled on waking from an S4 state. This causes
subsequent invocation of sleep state to fail in the guest.

Fix this problem by enabling the sleep button in ACPI legacy wake.

Signed-off-by: Anchal Agarwal <anchalag@amazon.com>
Reviewed-by: Balbir Singh <sblbir@amazon.com>
Reviewed-by: Frank van der Linden <fllinden@amazon.com>
[ ek: changelog]

Link: https://github.com/acpica/acpica/commit/9383f5b0
Signed-off-by: Erik Kaneda <erik.kaneda@intel.com>
Signed-off-by: Anchal Agarwal <anchalag@amazon.com>
Signed-off-by: Bob Moore <robert.moore@intel.com>
---
 drivers/acpi/acpica/hwsleep.c | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/drivers/acpi/acpica/hwsleep.c b/drivers/acpi/acpica/hwsleep.c
index 243a25add28f..317ae870336b 100644
--- a/drivers/acpi/acpica/hwsleep.c
+++ b/drivers/acpi/acpica/hwsleep.c
@@ -300,6 +300,18 @@ acpi_status acpi_hw_legacy_wake(u8 sleep_state)
 				    [ACPI_EVENT_POWER_BUTTON].
 				    status_register_id, ACPI_CLEAR_STATUS);
 
+	/* Enable sleep button */
+
+	(void)
+	    acpi_write_bit_register(acpi_gbl_fixed_event_info
+				    [ACPI_EVENT_SLEEP_BUTTON].
+				    enable_register_id, ACPI_ENABLE_EVENT);
+
+	(void)
+	    acpi_write_bit_register(acpi_gbl_fixed_event_info
+				    [ACPI_EVENT_SLEEP_BUTTON].
+				    status_register_id, ACPI_CLEAR_STATUS);
+
 	acpi_hw_execute_sleep_method(METHOD_PATHNAME__SST, ACPI_SST_WORKING);
 	return_ACPI_STATUS(status);
 }
-- 
2.21.0


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [PATCH 05/10] ACPICA: Table Manager: Update comments in a function header
  2020-02-14 18:47 [PATCH 00/10] ACPICA release 20200214 Erik Kaneda
                   ` (3 preceding siblings ...)
  2020-02-14 18:47 ` [PATCH 04/10] ACPICA: Enable sleep button on ACPI legacy wake Erik Kaneda
@ 2020-02-14 18:47 ` Erik Kaneda
  2020-02-14 18:48 ` [PATCH 06/10] ACPICA: cast the result of the pointer difference to u32 Erik Kaneda
                   ` (5 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: Erik Kaneda @ 2020-02-14 18:47 UTC (permalink / raw)
  To: Rafael J . Wysocki, linux-acpi; +Cc: Bob Moore, Erik Kaneda

From: Bob Moore <robert.moore@intel.com>

Update acpi_get_table_header to remove text stating that the caller
must unmap any returned memory.

ACPICA commit 4f3a235cf0044b2d91958b1f99b4ca824c63f948

Link: https://github.com/acpica/acpica/commit/4f3a235c
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Erik Kaneda <erik.kaneda@intel.com>
---
 drivers/acpi/acpica/tbxface.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/drivers/acpi/acpica/tbxface.c b/drivers/acpi/acpica/tbxface.c
index f8403d480318..7490429ddbf6 100644
--- a/drivers/acpi/acpica/tbxface.c
+++ b/drivers/acpi/acpica/tbxface.c
@@ -202,14 +202,14 @@ ACPI_EXPORT_SYMBOL_INIT(acpi_reallocate_root_table)
  *
  * PARAMETERS:  signature           - ACPI signature of needed table
  *              instance            - Which instance (for SSDTs)
- *              out_table_header    - The pointer to the table header to fill
+ *              out_table_header    - The pointer to the where the table header
+ *                                    is returned
  *
- * RETURN:      Status and pointer to mapped table header
+ * RETURN:      Status and a copy of the table header
  *
- * DESCRIPTION: Finds an ACPI table header.
- *
- * NOTE:        Caller is responsible in unmapping the header with
- *              acpi_os_unmap_memory
+ * DESCRIPTION: Finds and returns an ACPI table header. Caller provides the
+ *              memory where a copy of the header is to be returned
+ *              (fixed length).
  *
  ******************************************************************************/
 acpi_status
-- 
2.21.0


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [PATCH 06/10] ACPICA: cast the result of the pointer difference to u32
  2020-02-14 18:47 [PATCH 00/10] ACPICA release 20200214 Erik Kaneda
                   ` (4 preceding siblings ...)
  2020-02-14 18:47 ` [PATCH 05/10] ACPICA: Table Manager: Update comments in a function header Erik Kaneda
@ 2020-02-14 18:48 ` Erik Kaneda
  2020-02-14 18:48 ` [PATCH 07/10] ACPICA: cast length arguement to acpi_ns_build_normalized_path() as u32 Erik Kaneda
                   ` (4 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: Erik Kaneda @ 2020-02-14 18:48 UTC (permalink / raw)
  To: Rafael J . Wysocki, linux-acpi; +Cc: Sven Barth, Bob Moore, Erik Kaneda

From: Sven Barth <sb@miray.de>

Altnatively we could declare aml_length as acpi_size, but then one
would need to cast at the assignment for method_obj->method.aml_length

ACPICA commit 72805936603fcf84e98f1b89bf99b5101af27fb8

Link: https://github.com/acpica/acpica/commit/72805936
Signed-off-by: Sven Barth <sb@miray.de>
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Erik Kaneda <erik.kaneda@intel.com>
---
 drivers/acpi/acpica/nsxfname.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/acpi/acpica/nsxfname.c b/drivers/acpi/acpica/nsxfname.c
index 984129dcaa0c..0e6aba81605b 100644
--- a/drivers/acpi/acpica/nsxfname.c
+++ b/drivers/acpi/acpica/nsxfname.c
@@ -516,7 +516,7 @@ acpi_status acpi_install_method(u8 *buffer)
 
 	method_flags = *parser_state.aml++;
 	aml_start = parser_state.aml;
-	aml_length = ACPI_PTR_DIFF(parser_state.pkg_end, aml_start);
+	aml_length = (u32)ACPI_PTR_DIFF(parser_state.pkg_end, aml_start);
 
 	/*
 	 * Allocate resources up-front. We don't want to have to delete a new
-- 
2.21.0


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [PATCH 07/10] ACPICA: cast length arguement to acpi_ns_build_normalized_path() as u32
  2020-02-14 18:47 [PATCH 00/10] ACPICA release 20200214 Erik Kaneda
                   ` (5 preceding siblings ...)
  2020-02-14 18:48 ` [PATCH 06/10] ACPICA: cast the result of the pointer difference to u32 Erik Kaneda
@ 2020-02-14 18:48 ` Erik Kaneda
  2020-02-14 18:48 ` [PATCH 08/10] ACPICA: use acpi_size instead of u32 for prefix_path_length Erik Kaneda
                   ` (3 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: Erik Kaneda @ 2020-02-14 18:48 UTC (permalink / raw)
  To: Rafael J . Wysocki, linux-acpi; +Cc: Sven Barth, Bob Moore, Erik Kaneda

From: Sven Barth <sb@miray.de>

ACPICA commit d216e4c8d886d7fb82697948c4fee8a5777a1a5a

Link: https://github.com/acpica/acpica/commit/d216e4c8
Signed-off-by: Sven Barth <sb@miray.de>
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Erik Kaneda <erik.kaneda@intel.com>
---
 drivers/acpi/acpica/nsnames.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/acpi/acpica/nsnames.c b/drivers/acpi/acpica/nsnames.c
index 370bbc867745..832b79c4b008 100644
--- a/drivers/acpi/acpica/nsnames.c
+++ b/drivers/acpi/acpica/nsnames.c
@@ -164,7 +164,7 @@ acpi_ns_handle_to_pathname(acpi_handle target_handle,
 	/* Build the path in the caller buffer */
 
 	(void)acpi_ns_build_normalized_path(node, buffer->pointer,
-					    required_size, no_trailing);
+					    (u32)required_size, no_trailing);
 
 	ACPI_DEBUG_PRINT((ACPI_DB_EXEC, "%s [%X]\n",
 			  (char *)buffer->pointer, (u32) required_size));
@@ -315,7 +315,7 @@ char *acpi_ns_get_normalized_pathname(struct acpi_namespace_node *node,
 
 	/* Build the path in the allocated buffer */
 
-	(void)acpi_ns_build_normalized_path(node, name_buffer, size,
+	(void)acpi_ns_build_normalized_path(node, name_buffer, (u32)size,
 					    no_trailing);
 
 	ACPI_DEBUG_PRINT_RAW((ACPI_DB_NAMES, "%s: Path \"%s\"\n",
-- 
2.21.0


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [PATCH 08/10] ACPICA: use acpi_size instead of u32 for prefix_path_length
  2020-02-14 18:47 [PATCH 00/10] ACPICA release 20200214 Erik Kaneda
                   ` (6 preceding siblings ...)
  2020-02-14 18:48 ` [PATCH 07/10] ACPICA: cast length arguement to acpi_ns_build_normalized_path() as u32 Erik Kaneda
@ 2020-02-14 18:48 ` Erik Kaneda
  2020-02-14 18:48 ` [PATCH 09/10] ACPICA: Fix a couple of typos Erik Kaneda
                   ` (2 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: Erik Kaneda @ 2020-02-14 18:48 UTC (permalink / raw)
  To: Rafael J . Wysocki, linux-acpi; +Cc: Sven Barth, Bob Moore, Erik Kaneda

From: Sven Barth <sb@miray.de>

strlen() returns a size_t, so use acpi_size instead of u32 for
prefix_path_length.

ACPICA commit 0f64c317e769a63679442404421da1d5bd61068a

Link: https://github.com/acpica/acpica/commit/0f64c317
Signed-off-by: Sven Barth <sb@miray.de>
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Erik Kaneda <erik.kaneda@intel.com>
---
 drivers/acpi/acpica/nsnames.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/acpi/acpica/nsnames.c b/drivers/acpi/acpica/nsnames.c
index 832b79c4b008..d4d26147610e 100644
--- a/drivers/acpi/acpica/nsnames.c
+++ b/drivers/acpi/acpica/nsnames.c
@@ -346,7 +346,7 @@ char *acpi_ns_build_prefixed_pathname(union acpi_generic_state *prefix_scope,
 	char *full_path = NULL;
 	char *external_path = NULL;
 	char *prefix_path = NULL;
-	u32 prefix_path_length = 0;
+	acpi_size prefix_path_length = 0;
 
 	/* If there is a prefix, get the pathname to it */
 
-- 
2.21.0


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [PATCH 09/10] ACPICA: Fix a couple of typos
  2020-02-14 18:47 [PATCH 00/10] ACPICA release 20200214 Erik Kaneda
                   ` (7 preceding siblings ...)
  2020-02-14 18:48 ` [PATCH 08/10] ACPICA: use acpi_size instead of u32 for prefix_path_length Erik Kaneda
@ 2020-02-14 18:48 ` Erik Kaneda
  2020-02-14 18:48 ` [PATCH 10/10] ACPICA: Update version to 20200214 Version 20200214 Erik Kaneda
  2020-02-16  9:22 ` [PATCH 00/10] ACPICA release 20200214 Rafael J. Wysocki
  10 siblings, 0 replies; 12+ messages in thread
From: Erik Kaneda @ 2020-02-14 18:48 UTC (permalink / raw)
  To: Rafael J . Wysocki, linux-acpi; +Cc: Bob Moore, Erik Kaneda

From: Bob Moore <robert.moore@intel.com>

Squashed ACPICA commit e93a53d4d312a83a3ec72aa9cfb12d781b4fefca
and df52c574572344cd9095b66a0f580d51249deb2a

Submitted by: ehaouas@noos.fr

Link: https://github.com/acpica/acpica/commit/e93a53d4
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Erik Kaneda <erik.kaneda@intel.com>
---
 drivers/acpi/acpica/utobject.c | 2 +-
 include/acpi/actbl1.h          | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/acpi/acpica/utobject.c b/drivers/acpi/acpica/utobject.c
index 3e60bdac2200..bbec04c291d2 100644
--- a/drivers/acpi/acpica/utobject.c
+++ b/drivers/acpi/acpica/utobject.c
@@ -44,7 +44,7 @@ acpi_ut_get_element_length(u8 object_type,
  *
  * NOTE:        We always allocate the worst-case object descriptor because
  *              these objects are cached, and we want them to be
- *              one-size-satisifies-any-request. This in itself may not be
+ *              one-size-satisfies-any-request. This in itself may not be
  *              the most memory efficient, but the efficiency of the object
  *              cache should more than make up for this!
  *
diff --git a/include/acpi/actbl1.h b/include/acpi/actbl1.h
index 02d06b79e1cd..43549547ed3e 100644
--- a/include/acpi/actbl1.h
+++ b/include/acpi/actbl1.h
@@ -862,7 +862,7 @@ enum acpi_erst_instructions {
 /* Command status return values */
 
 enum acpi_erst_command_status {
-	ACPI_ERST_SUCESS = 0,
+	ACPI_ERST_SUCCESS = 0,
 	ACPI_ERST_NO_SPACE = 1,
 	ACPI_ERST_NOT_AVAILABLE = 2,
 	ACPI_ERST_FAILURE = 3,
-- 
2.21.0


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [PATCH 10/10] ACPICA: Update version to 20200214 Version 20200214.
  2020-02-14 18:47 [PATCH 00/10] ACPICA release 20200214 Erik Kaneda
                   ` (8 preceding siblings ...)
  2020-02-14 18:48 ` [PATCH 09/10] ACPICA: Fix a couple of typos Erik Kaneda
@ 2020-02-14 18:48 ` Erik Kaneda
  2020-02-16  9:22 ` [PATCH 00/10] ACPICA release 20200214 Rafael J. Wysocki
  10 siblings, 0 replies; 12+ messages in thread
From: Erik Kaneda @ 2020-02-14 18:48 UTC (permalink / raw)
  To: Rafael J . Wysocki, linux-acpi; +Cc: Bob Moore, Erik Kaneda

From: Bob Moore <robert.moore@intel.com>

ACPICA commit ac0c1b8a43a317702bb11e11fd5067a1c59e3002

Link: https://github.com/acpica/acpica/commit/ac0c1b8a
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Erik Kaneda <erik.kaneda@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 5867777bb7d0..e4faf1a9c8fb 100644
--- a/include/acpi/acpixf.h
+++ b/include/acpi/acpixf.h
@@ -12,7 +12,7 @@
 
 /* Current ACPICA subsystem version in YYYYMMDD format */
 
-#define ACPI_CA_VERSION                 0x20200110
+#define ACPI_CA_VERSION                 0x20200214
 
 #include <acpi/acconfig.h>
 #include <acpi/actypes.h>
-- 
2.21.0


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH 00/10] ACPICA release 20200214
  2020-02-14 18:47 [PATCH 00/10] ACPICA release 20200214 Erik Kaneda
                   ` (9 preceding siblings ...)
  2020-02-14 18:48 ` [PATCH 10/10] ACPICA: Update version to 20200214 Version 20200214 Erik Kaneda
@ 2020-02-16  9:22 ` Rafael J. Wysocki
  10 siblings, 0 replies; 12+ messages in thread
From: Rafael J. Wysocki @ 2020-02-16  9:22 UTC (permalink / raw)
  To: Erik Kaneda; +Cc: Rafael J . Wysocki, ACPI Devel Maling List

On Fri, Feb 14, 2020 at 8:08 PM Erik Kaneda <erik.kaneda@intel.com> wrote:
>
> This patch series contains the 20200214 release of ACPICA. For linux,
> this a relatively small release. Major changes include Enabling the
> sleep button on ACPI legacy wake. Aside from that, this release mainly
> consists of changes in the converter, type casts to suppress compiler
> warnings when building in 64 bit mode on msvc 2019, and updates to
> comments.
>
> This patch set is also available for viewing at the following link:
>
>
>
> Anchal Agarwal (1):
>   ACPICA: Enable sleep button on ACPI legacy wake
>
> Bob Moore (4):
>   ACPICA: Fix a comment "enable" fixed events -> "disable" all fixed
>     events.
>   ACPICA: Table Manager: Update comments in a function header
>   ACPICA: Fix a couple of typos
>   ACPICA: Update version to 20200214 Version 20200214.
>
> Erik Kaneda (2):
>   ACPICA: ASL-ASL+ converter: remove function parameters from
>     cv_init_file_tree ()
>   ACPICA: ASL-ASL+ converter: make root file a parameter for
>     cv_init_file_tree
>
> Sven Barth (3):
>   ACPICA: cast the result of the pointer difference to u32
>   ACPICA: cast length arguement to acpi_ns_build_normalized_path() as
>     u32
>   ACPICA: use acpi_size instead of u32 for prefix_path_length

The whole series has been queued up as 5.7 material, thanks!

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, back to index

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-14 18:47 [PATCH 00/10] ACPICA release 20200214 Erik Kaneda
2020-02-14 18:47 ` [PATCH 01/10] ACPICA: ASL-ASL+ converter: remove function parameters from cv_init_file_tree () Erik Kaneda
2020-02-14 18:47 ` [PATCH 02/10] ACPICA: ASL-ASL+ converter: make root file a parameter for cv_init_file_tree Erik Kaneda
2020-02-14 18:47 ` [PATCH 03/10] ACPICA: Fix a comment "enable" fixed events -> "disable" all fixed events Erik Kaneda
2020-02-14 18:47 ` [PATCH 04/10] ACPICA: Enable sleep button on ACPI legacy wake Erik Kaneda
2020-02-14 18:47 ` [PATCH 05/10] ACPICA: Table Manager: Update comments in a function header Erik Kaneda
2020-02-14 18:48 ` [PATCH 06/10] ACPICA: cast the result of the pointer difference to u32 Erik Kaneda
2020-02-14 18:48 ` [PATCH 07/10] ACPICA: cast length arguement to acpi_ns_build_normalized_path() as u32 Erik Kaneda
2020-02-14 18:48 ` [PATCH 08/10] ACPICA: use acpi_size instead of u32 for prefix_path_length Erik Kaneda
2020-02-14 18:48 ` [PATCH 09/10] ACPICA: Fix a couple of typos Erik Kaneda
2020-02-14 18:48 ` [PATCH 10/10] ACPICA: Update version to 20200214 Version 20200214 Erik Kaneda
2020-02-16  9:22 ` [PATCH 00/10] ACPICA release 20200214 Rafael J. Wysocki

Linux-ACPI Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-acpi/0 linux-acpi/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-acpi linux-acpi/ https://lore.kernel.org/linux-acpi \
		linux-acpi@vger.kernel.org
	public-inbox-index linux-acpi

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-acpi


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git