ACPICA release 20200925
Subsystems (2)
cover ACPICA release 20200925
This release contains the ACPICA patches from the 20200925 release. This contains patches that are mostly for user space tools such as iASL, acpihelp. The only direct impact to the linux kernel is the addition of several predefined names that were found in the SMBus specification.
Bob Moore (6):
ACPICA: Add predefined names found in the SMBus sepcification
ACPICA: acpi_help: Update UUID list
ACPICA: iASL: Return exceptions for string-to-integer conversions
ACPICA: Debugger: Add a new command: "ALL <NameSeg>"
ACPICA: Remove unnecessary semicolon
ACPICA: Update version to 20200925 Version 20200925.
Colin Ian King (2):
ACPICA: Add support for 64 bit risc-v compilation.
ACPICA: Tree-wide: fix various typos and spelling mistakes
Randy Dunlap (1):
ACPICA: Drop the repeated word "an" in a comment.
drivers/acpi/acpica/acdebug.h | 4 + drivers/acpi/acpica/acpredef.h | 33 +++- drivers/acpi/acpica/dbexec.c | 39 +++- drivers/acpi/acpica/dbinput.c | 14 +- drivers/acpi/acpica/dbmethod.c | 167 +++++++++++++++--- drivers/acpi/acpica/nsalloc.c | 2 +- drivers/acpi/acpica/nsarguments.c | 4 +- drivers/acpi/acpica/nsxfobj.c | 3 +- drivers/acpi/acpica/psparse.c | 4 +- drivers/acpi/acpica/utpredef.c | 5 +- drivers/acpi/acpica/utstrsuppt.c | 33 +++- include/acpi/acconfig.h | 2 +- include/acpi/acexcep.h | 4 +- include/acpi/acpixf.h | 2 +- include/acpi/actypes.h | 2 +- include/acpi/acuuid.h | 7 + include/acpi/platform/aclinux.h | 3 +- .../os_specific/service_layers/oslinuxtbl.c | 2 +- 18 files changed, 270 insertions(+), 60 deletions(-)
Signature · 1 line
2.25.1
PATCH 1/9 ACPICA: Add support for 64 bit risc-v compilation.
From: Colin Ian King <[email protected]>
ACPICA commit 0def627be286620c64a5d4d60ce2373f119169a9
Add 64 bit risc-v architecture. Useful for acpica tools and incorporating ACPICA into the Firmware Test Suite.
--- include/acpi/platform/aclinux.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
include/acpi/platform/aclinux.h +2 -1
@@ -194,7 +194,8 @@#if defined(__ia64__) || (defined(__x86_64__) && !defined(__ILP32__)) ||\ defined(__aarch64__) || defined(__PPC64__) ||\ - defined(__s390x__) + defined(__s390x__) ||\ + (defined(__riscv) && (defined(__LP64__) || defined(_LP64)))#define ACPI_MACHINE_WIDTH 64#define COMPILER_DEPENDENT_INT64 long#define COMPILER_DEPENDENT_UINT64 unsigned long
Signature · 1 line
2.25.1
PATCH 2/9 ACPICA: Drop the repeated word "an" in a comment.
In reply to Erik KanedaFrom: Randy Dunlap <[email protected]>
ACPICA commit 9ed2c006444d1def55bc6f08164ed5d9e809c856
--- include/acpi/actypes.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/acpi/actypes.h +1 -1
@@ -824,7 +824,7 @@ typedef u8 acpi_adr_space_type;* * Note: A Data Table region is a special type of operation region * that has its own AML opcode. However, internally, the AML -* interpreter simply creates an operation region with an an address +* interpreter simply creates an operation region with an address * space type of ACPI_ADR_SPACE_DATA_TABLE. */ #define ACPI_ADR_SPACE_DATA_TABLE (acpi_adr_space_type) 0x7E/* Internal to ACPICA only */
Signature · 1 line
2.25.1
PATCH 3/9 ACPICA: Tree-wide: fix various typos and spelling mistakes
In reply to Erik KanedaFrom: Colin Ian King <[email protected]>
ACPICA commit 6648a6ac8410813bcfedb5c8345259dd155ea851
Fix spelling issues found using the codespell checker
--- drivers/acpi/acpica/dbinput.c | 2 +- drivers/acpi/acpica/nsxfobj.c | 3 ++- include/acpi/acconfig.h | 2 +- tools/power/acpi/os_specific/service_layers/oslinuxtbl.c | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-)
drivers/acpi/acpica/dbinput.c +1 -1
@@ -436,7 +436,7 @@ static void acpi_db_display_help(char *command)acpi_os_printf ("\n" ); }else { -/* Display help for all commands that match the subtring */ +/* Display help for all commands that match the substring */ acpi_db_display_command_info (command, TRUE); }
drivers/acpi/acpica/nsxfobj.c +2 -1
@@ -24,7 +24,8 @@ ACPI_MODULE_NAME("nsxfobj")* * RETURN: Status * -* DESCRIPTION: This routine returns the type associatd with a particular handle +* DESCRIPTION: This routine returns the type associated with a particular +* handle * ******************************************************************************/ acpi_status acpi_get_type (acpi_handle handle,acpi_object_type *ret_type)
include/acpi/acconfig.h +1 -1
@@ -121,7 +121,7 @@* *****************************************************************************/ -/* Method info (in WALK_STATE), containing local variables and argumetns */ +/* Method info (in WALK_STATE), containing local variables and arguments */ #define ACPI_METHOD_NUM_LOCALS 8#define ACPI_METHOD_MAX_LOCAL 7
tools/power/acpi/os_specific/service_layers/oslinuxtbl.c +1 -1
@@ -110,7 +110,7 @@ u32 gbl_table_count = 0;* * RETURN: Status; Converted from errno. * -* DESCRIPTION: Get last errno and conver it to acpi_status. +* DESCRIPTION: Get last errno and convert it to acpi_status. * *****************************************************************************/
Signature · 1 line
2.25.1
PATCH 4/9 ACPICA: Add predefined names found in the SMBus sepcification
In reply to Erik KanedaFrom: Bob Moore <[email protected]>
Affects run-time (kernel) ACPICA, iASL, and acpi_help. The "SMBus Control Method Interface Specification, Version 1.0, December 10, 1999" containes predefined names: _SBA _SBI _SBR _SBT _SBW. This was done outside of the ACPI specification. This commit adds support for ACPICA to recognize these named objects as predefined named objects.
ACPICA commit 2fe13bd7ba9f97d3bf25488bf1bb1b2329427093
--- drivers/acpi/acpica/acpredef.h | 33 ++++++++++++++++++++++++++++++- drivers/acpi/acpica/nsarguments.c | 4 +++- drivers/acpi/acpica/psparse.c | 4 ++-- drivers/acpi/acpica/utpredef.c | 5 ++--- 4 files changed, 39 insertions(+), 7 deletions(-)
drivers/acpi/acpica/acpredef.h +32 -1
@@ -101,7 +101,7 @@ enum acpi_return_package_types {/* Support macros for users of the predefined info table */ -#define METHOD_PREDEF_ARGS_MAX 4 +#define METHOD_PREDEF_ARGS_MAX 5#define METHOD_ARG_BIT_WIDTH 3#define METHOD_ARG_MASK 0x0007#define ARG_COUNT_IS_MINIMUM 0x8000
@@ -117,6 +117,7 @@ enum acpi_return_package_types {#define METHOD_2ARGS (a1,a2) (2 | (a1 << 3) | (a2 << 6))#define METHOD_3ARGS (a1,a2,a3) (3 | (a1 << 3) | (a2 << 6) | (a3 << 9))#define METHOD_4ARGS (a1,a2,a3,a4) (4 | (a1 << 3) | (a2 << 6) | (a3 << 9) | (a4 << 12)) +#define METHOD_5ARGS (a1,a2,a3,a4,a5) (5 | (a1 << 3) | (a2 << 6) | (a3 << 9) | (a4 << 12) | (a5 << 15))#define METHOD_RETURNS (type) (type)#define METHOD_NO_RETURN_VALUE 0
@@ -902,9 +903,39 @@ const union acpi_predefined_info acpi_gbl_predefined_methods[] = { {{"_S4W" ,METHOD_0ARGS , METHOD_RETURNS(ACPI_RTYPE_INTEGER)}}, + {{"_SBA" ,METHOD_0ARGS , + METHOD_RETURNS(ACPI_RTYPE_PACKAGE)}}, /* Fixed-length (4 Int) */ +PACKAGE_INFO (ACPI_PTYPE1_FIXED ,ACPI_RTYPE_INTEGER ,4 ,0 ,0 ,0 ), + + {{"_SBI", METHOD_0ARGS, + METHOD_RETURNS(ACPI_RTYPE_PACKAGE)}}, /* Fixed-length (1 Int, 1 Buf) */ +PACKAGE_INFO (ACPI_PTYPE1_FIXED ,ACPI_RTYPE_INTEGER ,1 , +ACPI_RTYPE_BUFFER ,1 ,0 ), + + {{"_SBR", +METHOD_3ARGS (ACPI_TYPE_INTEGER ,ACPI_TYPE_INTEGER , +ACPI_TYPE_INTEGER ), + METHOD_RETURNS(ACPI_RTYPE_PACKAGE)}}, /* Fixed-length (2 Int) */ +PACKAGE_INFO (ACPI_PTYPE1_FIXED ,ACPI_RTYPE_INTEGER ,2 , +ACPI_RTYPE_BUFFER |ACPI_RTYPE_INTEGER ,1 ,0 ), + {{"_SBS", METHOD_0ARGS, METHOD_RETURNS(ACPI_RTYPE_INTEGER)}}, + {{"_SBT", +METHOD_4ARGS (ACPI_TYPE_INTEGER ,ACPI_TYPE_INTEGER ,ACPI_TYPE_INTEGER , +ACPI_TYPE_ANY ), + METHOD_RETURNS(ACPI_RTYPE_PACKAGE)}}, /* Fixed-length (2 Int, 1 Buf | Int) */ +PACKAGE_INFO (ACPI_PTYPE1_FIXED ,ACPI_RTYPE_INTEGER ,2 , +ACPI_RTYPE_BUFFER |ACPI_RTYPE_INTEGER ,1 ,0 ), + + {{"_SBW", +METHOD_5ARGS (ACPI_TYPE_INTEGER ,ACPI_TYPE_INTEGER ,ACPI_TYPE_INTEGER , +ACPI_TYPE_INTEGER ,ACPI_TYPE_ANY ), + METHOD_RETURNS(ACPI_RTYPE_PACKAGE)}}, +PACKAGE_INFO (ACPI_PTYPE1_FIXED ,ACPI_RTYPE_BUFFER |ACPI_RTYPE_INTEGER , +1 ,0 ,0 ,0 ), + {{"_SCP", METHOD_1ARGS(ACPI_TYPE_INTEGER) | ARG_COUNT_IS_MINIMUM, METHOD_NO_RETURN_VALUE}}, /* Acpi 1.0 allowed 1 integer arg. Acpi 3.0 expanded to 3 args. Allow both. */
drivers/acpi/acpica/nsarguments.c +3 -1
@@ -55,7 +55,9 @@ void acpi_ns_check_argument_types(struct acpi_evaluate_info *info) arg_type =METHOD_GET_NEXT_TYPE (arg_type_list); user_arg_type = info->parameters[i]->common.type; -if (user_arg_type != arg_type) { +/* No typechecking for ACPI_TYPE_ANY */ + +if ((user_arg_type != arg_type) && (arg_type !=ACPI_TYPE_ANY )) { ACPI_WARN_PREDEFINED((AE_INFO, info->full_pathname, ACPI_WARN_ALWAYS, "Argument #%u type mismatch - "
drivers/acpi/acpica/psparse.c +2 -2
@@ -508,8 +508,8 @@ acpi_status acpi_ps_parse_aml(struct acpi_walk_state *walk_state) }/* -* If the transfer to the new method method call worked -*, a new walk state was created -- get it +* If the transfer to the new method method call worked, +* a new walk state was created -- get it */ walk_state =acpi_ds_get_current_walk_state (thread);continue ;
drivers/acpi/acpica/utpredef.c +2 -3
@@ -151,7 +151,7 @@ static u32 acpi_ut_get_argument_types(char *buffer, u16 argument_types);static const char *ut_external_type_names[] =/* Indexed by ACPI_TYPE_* */ { -", UNSUPPORTED-TYPE" , +", Type_ANY" ,", Integer" ,", String" ,", Buffer" ,
@@ -311,8 +311,7 @@ static u32 acpi_ut_get_argument_types(char *buffer, u16 argument_types)for (i =0 ; i < arg_count; i++) { this_argument_type =METHOD_GET_NEXT_TYPE (argument_types); -if (!this_argument_type - || (this_argument_type >METHOD_MAX_ARG_TYPE )) { +if (this_argument_type >METHOD_MAX_ARG_TYPE ) {printf ("**** Invalid argument type (%u) " "in predefined info structure\n" , this_argument_type);
Signature · 1 line
2.25.1
PATCH 5/9 ACPICA: acpi_help: Update UUID list
In reply to Erik KanedaFrom: Bob Moore <[email protected]>
Added the following UUID's
Memory Device
Generic Buttons Device
NVDIMM Root Device
Control Method Battery
Device Graphs for _DSD method
Hierarchical Data Extension
ARM core_sight Graph UUID
This commit squashes the following ACPICA commits:93e9aa864a7c5e10db876a9af3f2086e50cc6cf5 759aaf73942af4a1a0d13715ce5e6b054af351fa 24751ce4cf3089a7c1709e4986bc82dfb5cca7bc
--- include/acpi/acuuid.h | 7 +++++++ 1 file changed, 7 insertions(+)
include/acpi/acuuid.h +7 -0
@@ -27,6 +27,10 @@#define UUID_PCI_HOST_BRIDGE "33db4d5b-1ff7-401c-9657-7441c03dd766"#define UUID_I2C_DEVICE "3cdff6f7-4267-4555-ad05-b30a3d8938de"#define UUID_POWER_BUTTON "dfbcf3c5-e7a5-44e6-9c1f-29c76f6e059c" +#define UUID_MEMORY_DEVICE "03b19910-f473-11dd-87af-0800200c9a66" +#define UUID_GENERIC_BUTTONS_DEVICE "fa6bd625-9ce8-470d-a2c7-b3ca36c4282e" +#define UUID_NVDIMM_ROOT_DEVICE "2f10e7a4-9e91-11e4-89d3-123b93f75cba" +#define UUID_CONTROL_METHOD_BATTERY "f18fc78b-0f15-4978-b793-53f833a1d35b"/* Interfaces */
@@ -56,5 +60,8 @@#define UUID_BATTERY_THERMAL_LIMIT "4c2067e3-887d-475c-9720-4af1d3ed602e"#define UUID_THERMAL_EXTENSIONS "14d399cd-7a27-4b18-8fb4-7cb7b9f4e500"#define UUID_DEVICE_PROPERTIES "daffd814-6eba-4d8c-8a91-bc9bbf4aa301" +#define UUID_DEVICE_GRAPHS "ab02a46b-74c7-45a2-bd68-f7d344ef2153" +#define UUID_HIERARCHICAL_DATA_EXTENSION "dbb8e3e6-5886-4ba6-8795-1319f52a966b" +#define UUID_CORESIGHT_GRAPH "3ecbc8b6-1d0e-4fb3-8107-e627f805c6cd"#endif /* __ACUUID_H__ */
Signature · 1 line
2.25.1
PATCH 6/9 ACPICA: iASL: Return exceptions for string-to-integer conversions
In reply to Erik KanedaFrom: Bob Moore <[email protected]>
This allows iASL to generate errors by passing exceptions that may be encountered during string-to-integer conversions. The exceptions point out invalid hex, decimal, and octal integers.
ACPICA commit e98b8c0a3d96fdabb167c0ef18a809b32ade3228
--- drivers/acpi/acpica/utstrsuppt.c | 33 +++++++++++++++++++++++--------- include/acpi/acexcep.h | 4 ++-- 2 files changed, 26 insertions(+), 11 deletions(-)
drivers/acpi/acpica/utstrsuppt.c +24 -9
@@ -45,10 +45,15 @@ acpi_status acpi_ut_convert_octal_string(char *string, u64 *return_value_ptr)/* Convert each ASCII byte in the input string */ while (*string) { - -/* Character must be ASCII 0-7, otherwise terminate with no error */ - +/* +* Character must be ASCII 0-7, otherwise: +* 1) Runtime: terminate with no error, per the ACPI spec +* 2) Compiler: return an error +*/ if (!(ACPI_IS_OCTAL_DIGIT (*string))) { +#ifdef ACPI_ASL_COMPILER + status =AE_BAD_OCTAL_CONSTANT ; +#endif break ; }
@@ -94,10 +99,15 @@ acpi_status acpi_ut_convert_decimal_string(char *string, u64 *return_value_ptr)/* Convert each ASCII byte in the input string */ while (*string) { - -/* Character must be ASCII 0-9, otherwise terminate with no error */ - +/* +* Character must be ASCII 0-9, otherwise: +* 1) Runtime: terminate with no error, per the ACPI spec +* 2) Compiler: return an error +*/ if (!isdigit (*string)) { +#ifdef ACPI_ASL_COMPILER + status =AE_BAD_DECIMAL_CONSTANT ; +#endif break ; }
@@ -143,10 +153,15 @@ acpi_status acpi_ut_convert_hex_string(char *string, u64 *return_value_ptr)/* Convert each ASCII byte in the input string */ while (*string) { - -/* Must be ASCII A-F, a-f, or 0-9, otherwise terminate with no error */ - +/* +* Character must be ASCII A-F, a-f, or 0-9, otherwise: +* 1) Runtime: terminate with no error, per the ACPI spec +* 2) Compiler: return an error +*/ if (!isxdigit (*string)) { +#ifdef ACPI_ASL_COMPILER + status =AE_BAD_HEX_CONSTANT ; +#endif break ; }
include/acpi/acexcep.h +2 -2
@@ -40,12 +40,12 @@struct acpi_exception_info {char *name; -#ifdef ACPI_HELP_APP +#if defined (ACPI_HELP_APP ) || defined (ACPI_ASL_COMPILER )char *description;#endif }; -#ifdef ACPI_HELP_APP +#if defined (ACPI_HELP_APP ) || defined (ACPI_ASL_COMPILER )#define EXCEP_TXT (name,description) {name, description}#else #define EXCEP_TXT (name,description) {name}
Signature · 1 line
2.25.1
PATCH 7/9 ACPICA: Debugger: Add a new command: "ALL <NameSeg>"
In reply to Erik KanedaFrom: Bob Moore <[email protected]>
This command will execute/evaluate all objects with a match to the <NameSeg> argument.
ACPICA commit a1a32ec054f067d1617067e2bafb0a27a8728e07
--- drivers/acpi/acpica/acdebug.h | 4 + drivers/acpi/acpica/dbexec.c | 39 ++++++-- drivers/acpi/acpica/dbinput.c | 12 +++ drivers/acpi/acpica/dbmethod.c | 167 ++++++++++++++++++++++++++++----- 4 files changed, 188 insertions(+), 34 deletions(-)
drivers/acpi/acpica/acdebug.h +4 -0
@@ -37,12 +37,14 @@ struct acpi_db_argument_info {struct acpi_db_execute_walk {u32 count;u32 max_count; +char name_seg[ACPI_NAMESEG_SIZE +1 ]; };#define PARAM_LIST (pl) pl#define EX_NO_SINGLE_STEP 1#define EX_SINGLE_STEP 2 +#define EX_ALL 4/* * dbxface - external debugger interfaces
@@ -124,6 +126,8 @@ void acpi_db_disassemble_aml(char *statements, union acpi_parse_object *op);void acpi_db_evaluate_predefined_names (void ); +void acpi_db_evaluate_all (char *name_seg); +/* * dbnames - namespace commands */
drivers/acpi/acpica/dbexec.c +30 -9
@@ -86,7 +86,8 @@ void acpi_db_delete_objects(u32 count, union acpi_object *objects)* * RETURN: Status * -* DESCRIPTION: Execute a control method. +* DESCRIPTION: Execute a control method. Used to evaluate objects via the +* "EXECUTE" or "EVALUATE" commands. * ******************************************************************************/
@@ -314,11 +315,12 @@ acpi_db_execution_walk(acpi_handle obj_handle, status =acpi_evaluate_object (node,NULL ,NULL , &return_obj); + acpi_gbl_method_executing = FALSE; +acpi_os_printf ("Evaluation of [%4.4s] returned %s\n" ,acpi_ut_get_node_name (node),acpi_format_exception (status)); - acpi_gbl_method_executing = FALSE;return (AE_OK ); }
@@ -334,7 +336,8 @@ acpi_db_execution_walk(acpi_handle obj_handle,* RETURN: None * * DESCRIPTION: Execute a control method. Name is relative to the current -* scope. +* scope. Function used for the "EXECUTE", "EVALUATE", and +* "ALL" commands * ******************************************************************************/
@@ -372,6 +375,12 @@ acpi_db_execute(char *name, char **args, acpi_object_type *types, u32 flags)return ; } +if ((flags &EX_ALL ) && (strlen (name) >4 )) { +acpi_os_printf ("Input name (%s) must be a 4-char NameSeg\n" , + name); +return ; + } + name_string =ACPI_ALLOCATE (strlen (name) +1 );if (!name_string) {return ;
@@ -389,13 +398,24 @@ acpi_db_execute(char *name, char **args, acpi_object_type *types, u32 flags)return ; } - acpi_gbl_db_method_info.name = name_string; - acpi_gbl_db_method_info.args = args; - acpi_gbl_db_method_info.types = types; - acpi_gbl_db_method_info.flags = flags; +/* Command (ALL <nameseg>) to execute all methods of a particular name */ - return_obj.pointer =NULL ; - return_obj.length =ACPI_ALLOCATE_BUFFER ; +else if (flags &EX_ALL ) { + acpi_gbl_db_method_info.name = name_string; + return_obj.pointer =NULL ; + return_obj.length =ACPI_ALLOCATE_BUFFER ; +acpi_db_evaluate_all (name_string); +ACPI_FREE (name_string); +return ; + }else { + acpi_gbl_db_method_info.name = name_string; + acpi_gbl_db_method_info.args = args; + acpi_gbl_db_method_info.types = types; + acpi_gbl_db_method_info.flags = flags; + + return_obj.pointer =NULL ; + return_obj.length =ACPI_ALLOCATE_BUFFER ; + } status =acpi_db_execute_setup (&acpi_gbl_db_method_info);if (ACPI_FAILURE (status)) {
@@ -450,6 +470,7 @@ acpi_db_execute(char *name, char **args, acpi_object_type *types, u32 flags) (u32)return_obj.length);acpi_db_dump_external_object (return_obj.pointer,1 ); +acpi_os_printf ("\n" );/* Dump a _PLD buffer if present */
drivers/acpi/acpica/dbinput.c +12 -0
@@ -37,6 +37,7 @@ acpi_db_match_command_help(const char *command,enum acpi_ex_debugger_commands {CMD_NOT_FOUND =0 ,CMD_NULL , +CMD_ALL ,CMD_ALLOCATIONS ,CMD_ARGS ,CMD_ARGUMENTS ,
@@ -115,6 +116,7 @@ enum acpi_ex_debugger_commands {static const struct acpi_db_command_info acpi_gbl_db_commands[] = { {"<NOT FOUND>" ,0 }, {"<NULL>" ,0 }, + {"ALL" ,1 }, {"ALLOCATIONS" ,0 }, {"ARGS" ,0 }, {"ARGUMENTS" ,0 },
@@ -222,6 +224,7 @@ static const struct acpi_db_command_help acpi_gbl_db_command_help[] = { {1, " Type <Object>", "Display object type\n"}, {0, "\nControl Method Execution:", "\n"}, + {1, " All <NameSeg>", "Evaluate all objects named NameSeg\n"}, {1, " Evaluate <Namepath> [Arguments]", "Evaluate object or control method\n"}, {1, " Execute <Namepath> [Arguments]", "Synonym for Evaluate\n"},
@@ -740,6 +743,15 @@ acpi_db_command_dispatch(char *input_buffer, }break ; +case CMD_ALL : + +acpi_os_printf ("Executing all objects with NameSeg: %s\n" , + acpi_gbl_db_args[1 ]); +acpi_db_execute (acpi_gbl_db_args[1 ], &acpi_gbl_db_args[2 ], + &acpi_gbl_db_arg_types[2 ], +EX_NO_SINGLE_STEP |EX_ALL ); +break ; +case CMD_ALLOCATIONS :#ifdef ACPI_DBG_TRACK_ALLOCATIONS
drivers/acpi/acpica/dbmethod.c +142 -25
220 lines not on this page · raw message
Signature · 1 line
2.25.1
PATCH 8/9 ACPICA: Remove unnecessary semicolon
In reply to Erik KanedaFrom: Bob Moore <[email protected]>
ACPICA commit 02ffcba2af123a891eefbaed4d37780ba1e36ccc
Reported by: Zou Wei.
--- drivers/acpi/acpica/nsalloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/acpi/acpica/nsalloc.c +1 -1
@@ -294,7 +294,7 @@ void acpi_ns_delete_children(struct acpi_namespace_node *parent_node) node_to_delete = next_node; next_node = next_node->peer;acpi_ns_delete_node (node_to_delete); - }; + }/* Clear the parent's child pointer */
Signature · 1 line
2.25.1
PATCH 9/9 ACPICA: Update version to 20200925 Version 20200925.
In reply to Erik KanedaFrom: Bob Moore <[email protected]>
ACPICA commit 70add34a9a4729b5496d0695ad14d6a1dc435879
--- include/acpi/acpixf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/acpi/acpixf.h +1 -1
@@ -12,7 +12,7 @@/* Current ACPICA subsystem version in YYYYMMDD format */ -#define ACPI_CA_VERSION 0x20200717 +#define ACPI_CA_VERSION 0x20200925#include <acpi/acconfig.h> #include <acpi/actypes.h>
Signature · 1 line
2.25.1
Rafael J. Wysocki
maintainerQuoted 43 lines · Erik Kaneda
This release contains the ACPICA patches from the 20200925 release. This contains patches that are mostly for user space tools such as iASL, acpihelp. The only direct impact to the linux kernel is the addition of several predefined names that were found in the SMBus specification.
Signed-off-by Erik Kaneda <[email protected]>Bob Moore (6):
ACPICA: Add predefined names found in the SMBus sepcification
ACPICA:acpi_help: Update UUID list
ACPICA: iASL: Return exceptions for string-to-integer conversions
ACPICA: Debugger: Add a new command: "ALL <NameSeg>"
ACPICA: Remove unnecessary semicolon
ACPICA: Update version to 20200925 Version 20200925.Colin Ian King (2):
ACPICA: Add support for 64 bit risc-v compilation.
ACPICA: Tree-wide: fix various typos and spelling mistakesRandy Dunlap (1):
ACPICA: Drop the repeated word "an" in a comment.drivers/acpi/acpica/acdebug.h | 4 + drivers/acpi/acpica/acpredef.h | 33 +++- drivers/acpi/acpica/dbexec.c | 39 +++- drivers/acpi/acpica/dbinput.c | 14 +- drivers/acpi/acpica/dbmethod.c | 167 +++++++++++++++--- drivers/acpi/acpica/nsalloc.c | 2 +- drivers/acpi/acpica/nsarguments.c | 4 +- drivers/acpi/acpica/nsxfobj.c | 3 +- drivers/acpi/acpica/psparse.c | 4 +- drivers/acpi/acpica/utpredef.c | 5 +- drivers/acpi/acpica/utstrsuppt.c | 33 +++- include/acpi/acconfig.h | 2 +- include/acpi/acexcep.h | 4 +- include/acpi/acpixf.h | 2 +- include/acpi/actypes.h | 2 +- include/acpi/acuuid.h | 7 + include/acpi/platform/aclinux.h | 3 +- .../os_specific/service_layers/oslinuxtbl.c | 2 +- 18 files changed, 270 insertions(+), 60 deletions(-)
Quoted 1 line
--
All applied as 5.10 material (I dropped a few terminating periods from patch subjects), thanks!
Quoted 54 lines
-----Original Message-----
From: Rafael J. Wysocki <[email protected]>
Sent: Thursday, October 8, 2020 9:07 AM
To: Kaneda, Erik <[email protected]>
Cc: Rafael J . Wysocki <[email protected]>; ACPI Devel Maling List <linux- [email protected]>
Subject: Re: [PATCH 0/9] ACPICA release 20200925Quoted 43 lines · Erik Kaneda
This release contains the ACPICA patches from the 20200925 release. This contains patches that are mostly for user space tools such as iASL, acpihelp. The only direct impact to the linux kernel is the addition of several predefined names that were found in the SMBus specification.
Signed-off-by Erik Kaneda <[email protected]>Bob Moore (6):
ACPICA: Add predefined names found in the SMBus sepcification
ACPICA:acpi_help: Update UUID list
ACPICA: iASL: Return exceptions for string-to-integer conversions
ACPICA: Debugger: Add a new command: "ALL <NameSeg>"
ACPICA: Remove unnecessary semicolon
ACPICA: Update version to 20200925 Version 20200925.Colin Ian King (2):
ACPICA: Add support for 64 bit risc-v compilation.
ACPICA: Tree-wide: fix various typos and spelling mistakesRandy Dunlap (1):
ACPICA: Drop the repeated word "an" in a comment.drivers/acpi/acpica/acdebug.h | 4 + drivers/acpi/acpica/acpredef.h | 33 +++- drivers/acpi/acpica/dbexec.c | 39 +++- drivers/acpi/acpica/dbinput.c | 14 +- drivers/acpi/acpica/dbmethod.c | 167 +++++++++++++++--- drivers/acpi/acpica/nsalloc.c | 2 +- drivers/acpi/acpica/nsarguments.c | 4 +- drivers/acpi/acpica/nsxfobj.c | 3 +- drivers/acpi/acpica/psparse.c | 4 +- drivers/acpi/acpica/utpredef.c | 5 +- drivers/acpi/acpica/utstrsuppt.c | 33 +++- include/acpi/acconfig.h | 2 +- include/acpi/acexcep.h | 4 +- include/acpi/acpixf.h | 2 +- include/acpi/actypes.h | 2 +- include/acpi/acuuid.h | 7 + include/acpi/platform/aclinux.h | 3 +- .../os_specific/service_layers/oslinuxtbl.c | 2 +- 18 files changed, 270 insertions(+), 60 deletions(-)
Quoted 4 lines
Quoted 1 line
--
All applied as 5.10 material (I dropped a few terminating periods from patch subjects), thanks!
Thanks for the edits!
Also, I am currently holding on to 2 patches from this ACPICA release that update the HMAT table.
These patches remove some macros that are in use in drivers/acpi/numa/hmat.c
If I were to apply the patches without fixing hmat.c, I will get a build error. I will send out those patches after I get feedback on how to fix hmat.c.
Thanks,
Erik