mirror of
https://github.com/torvalds/linux
synced 2024-10-15 07:47:34 +00:00
Merge branch 'acpica'
Merge ACPICA material for 6.4-rc1: - Delete bogus node_array array of pointers from AEST table (Jessica Clarke). - Add support for trace buffer extension in GICC to the ACPI MADT parser (Xiongfeng Wang). - Add missing macro ACPI_FUNCTION_TRACE() for acpi_ns_repair_HID() (Xiongfeng Wang). - Add missing tables to astable (Pedro Falcato). - Add support for 64 bit loong_arch compilation to ACPICA (Huacai Chen). - Add support for ASPT table in disassembler to ACPICA (Jeremi Piotrowski). - Add support for Arm's MPAM ACPI table version 2 (Hesham Almatary). - Update all copyrights/signons in ACPICA to 2023 (Bob Moore). - Add support for ClockInput resource (v6.5) (Niyas Sait). - Add RISC-V INTC interrupt controller definition to the list of supported interrupt controllers for MADT (Sunil V L). - Add structure definitions for the RISC-V RHCT ACPI table (Sunil V L). - Address several cases in which the ACPICA code might lead to undefined behavior (Tamir Duberstein). - Make ACPICA code support flexible arrays properly (Kees Cook). - Check null return of ACPI_ALLOCATE_ZEROED in acpi_db_display_objects() (void0red). - Add os specific support for Zephyr RTOS to ACPICA (Najumon). - Update version to 20230331 (Bob Moore). * acpica: (32 commits) ACPICA: Update version to 20230331 ACPICA: add os specific support for Zephyr RTOS ACPICA: ACPICA: check null return of ACPI_ALLOCATE_ZEROED in acpi_db_display_objects ACPICA: acpi_resource_irq: Replace 1-element arrays with flexible array ACPICA: acpi_madt_oem_data: Fix flexible array member definition ACPICA: acpi_dmar_andd: Replace 1-element array with flexible array ACPICA: acpi_pci_routing_table: Replace fixed-size array with flex array member ACPICA: struct acpi_resource_dma: Replace 1-element array with flexible array ACPICA: Introduce ACPI_FLEX_ARRAY ACPICA: struct acpi_nfit_interleave: Replace 1-element array with flexible array ACPICA: actbl2: Replace 1-element arrays with flexible arrays ACPICA: actbl1: Replace 1-element arrays with flexible arrays ACPICA: struct acpi_resource_vendor: Replace 1-element array with flexible array ACPICA: Avoid undefined behavior: load of misaligned address ACPICA: Avoid undefined behavior: member access within misaligned address ACPICA: Avoid undefined behavior: member access within misaligned address ACPICA: Avoid undefined behavior: member access within misaligned address ACPICA: Avoid undefined behavior: member access within misaligned address ACPICA: Avoid undefined behavior: member access within null pointer ACPICA: Avoid undefined behavior: applying zero offset to null pointer ...
This commit is contained in:
commit
c90b29cede
|
@ -3,7 +3,7 @@
|
|||
*
|
||||
* Module Name: acapps - common include for ACPI applications/tools
|
||||
*
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* Copyright (C) 2000 - 2023, Intel Corp.
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
*
|
||||
* Name: accommon.h - Common include files for generation of ACPICA source
|
||||
*
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* Copyright (C) 2000 - 2023, Intel Corp.
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
*
|
||||
* Module Name: acapps - common include for ACPI applications/tools
|
||||
*
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* Copyright (C) 2000 - 2023, Intel Corp.
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
*
|
||||
* Name: acdebug.h - ACPI/AML debugger
|
||||
*
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* Copyright (C) 2000 - 2023, Intel Corp.
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
*
|
||||
* Name: acdispat.h - dispatcher (parser to interpreter interface)
|
||||
*
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* Copyright (C) 2000 - 2023, Intel Corp.
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
*
|
||||
* Name: acevents.h - Event subcomponent prototypes and defines
|
||||
*
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* Copyright (C) 2000 - 2023, Intel Corp.
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
*
|
||||
* Name: acglobal.h - Declarations for global variables
|
||||
*
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* Copyright (C) 2000 - 2023, Intel Corp.
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
*
|
||||
* Name: achware.h -- hardware specific interfaces
|
||||
*
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* Copyright (C) 2000 - 2023, Intel Corp.
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
*
|
||||
* Name: acinterp.h - Interpreter subcomponent prototypes and defines
|
||||
*
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* Copyright (C) 2000 - 2023, Intel Corp.
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
*
|
||||
* Name: aclocal.h - Internal data types used across the ACPI subsystem
|
||||
*
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* Copyright (C) 2000 - 2023, Intel Corp.
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
|
@ -1122,7 +1122,8 @@ struct acpi_port_info {
|
|||
#define ACPI_RESOURCE_NAME_PIN_GROUP 0x90
|
||||
#define ACPI_RESOURCE_NAME_PIN_GROUP_FUNCTION 0x91
|
||||
#define ACPI_RESOURCE_NAME_PIN_GROUP_CONFIG 0x92
|
||||
#define ACPI_RESOURCE_NAME_LARGE_MAX 0x92
|
||||
#define ACPI_RESOURCE_NAME_CLOCK_INPUT 0x93
|
||||
#define ACPI_RESOURCE_NAME_LARGE_MAX 0x94
|
||||
|
||||
/*****************************************************************************
|
||||
*
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
*
|
||||
* Name: acmacros.h - C macros for the entire subsystem.
|
||||
*
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* Copyright (C) 2000 - 2023, Intel Corp.
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
*
|
||||
* Name: acnamesp.h - Namespace subcomponent prototypes and defines
|
||||
*
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* Copyright (C) 2000 - 2023, Intel Corp.
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
*
|
||||
* Name: acobject.h - Definition of union acpi_operand_object (Internal object only)
|
||||
*
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* Copyright (C) 2000 - 2023, Intel Corp.
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
*
|
||||
* Name: acopcode.h - AML opcode information for the AML parser and interpreter
|
||||
*
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* Copyright (C) 2000 - 2023, Intel Corp.
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
*
|
||||
* Module Name: acparser.h - AML Parser subcomponent prototypes and defines
|
||||
*
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* Copyright (C) 2000 - 2023, Intel Corp.
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
*
|
||||
* Name: acpredef - Information table for ACPI predefined methods and objects
|
||||
*
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* Copyright (C) 2000 - 2023, Intel Corp.
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
*
|
||||
* Name: acresrc.h - Resource Manager function prototypes
|
||||
*
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* Copyright (C) 2000 - 2023, Intel Corp.
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
|
@ -306,6 +306,7 @@ extern struct acpi_rsconvert_info acpi_rs_convert_pin_config[];
|
|||
extern struct acpi_rsconvert_info acpi_rs_convert_pin_group[];
|
||||
extern struct acpi_rsconvert_info acpi_rs_convert_pin_group_function[];
|
||||
extern struct acpi_rsconvert_info acpi_rs_convert_pin_group_config[];
|
||||
extern struct acpi_rsconvert_info acpi_rs_convert_clock_input[];
|
||||
|
||||
/* These resources require separate get/set tables */
|
||||
|
||||
|
@ -361,6 +362,7 @@ extern struct acpi_rsdump_info acpi_rs_dump_pin_config[];
|
|||
extern struct acpi_rsdump_info acpi_rs_dump_pin_group[];
|
||||
extern struct acpi_rsdump_info acpi_rs_dump_pin_group_function[];
|
||||
extern struct acpi_rsdump_info acpi_rs_dump_pin_group_config[];
|
||||
extern struct acpi_rsdump_info acpi_rs_dump_clock_input[];
|
||||
#endif
|
||||
|
||||
#endif /* __ACRESRC_H__ */
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
*
|
||||
* Name: acstruct.h - Internal structs
|
||||
*
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* Copyright (C) 2000 - 2023, Intel Corp.
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
*
|
||||
* Name: actables.h - ACPI table management
|
||||
*
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* Copyright (C) 2000 - 2023, Intel Corp.
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
*
|
||||
* Name: acutils.h -- prototypes for the common (subsystem-wide) procedures
|
||||
*
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* Copyright (C) 2000 - 2023, Intel Corp.
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
|
@ -53,6 +53,8 @@ extern const char *acpi_gbl_sb_decode[];
|
|||
extern const char *acpi_gbl_fc_decode[];
|
||||
extern const char *acpi_gbl_pt_decode[];
|
||||
extern const char *acpi_gbl_ptyp_decode[];
|
||||
extern const char *acpi_gbl_clock_input_mode[];
|
||||
extern const char *acpi_gbl_clock_input_scale[];
|
||||
#endif
|
||||
|
||||
/*
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
* Declarations and definitions contained herein are derived
|
||||
* directly from the ACPI specification.
|
||||
*
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* Copyright (C) 2000 - 2023, Intel Corp.
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
*
|
||||
* Module Name: amlresrc.h - AML resource descriptors
|
||||
*
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* Copyright (C) 2000 - 2023, Intel Corp.
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
|
@ -70,6 +70,8 @@
|
|||
#define ACPI_RESTAG_TYPE "_TTP" /* Translation(1), Static (0) */
|
||||
#define ACPI_RESTAG_XFERTYPE "_SIZ" /* 8(0), 8And16(1), 16(2) */
|
||||
#define ACPI_RESTAG_VENDORDATA "_VEN"
|
||||
#define ACPI_RESTAG_FQN "_FQN"
|
||||
#define ACPI_RESTAG_FQD "_FQD"
|
||||
|
||||
/* Default sizes for "small" resource descriptors */
|
||||
|
||||
|
@ -259,7 +261,10 @@ struct aml_resource_address16 {
|
|||
struct aml_resource_extended_irq {
|
||||
AML_RESOURCE_LARGE_HEADER_COMMON u8 flags;
|
||||
u8 interrupt_count;
|
||||
u32 interrupts[1];
|
||||
union {
|
||||
u32 interrupt;
|
||||
ACPI_FLEX_ARRAY(u32, interrupts);
|
||||
};
|
||||
/* res_source_index, res_source optional fields follow */
|
||||
};
|
||||
|
||||
|
@ -427,6 +432,20 @@ struct aml_resource_pin_config {
|
|||
*/
|
||||
};
|
||||
|
||||
#define AML_RESOURCE_CLOCK_INPUT_REVISION 1 /* ACPI 6.5 */
|
||||
|
||||
struct aml_resource_clock_input {
|
||||
AML_RESOURCE_LARGE_HEADER_COMMON u8 revision_id;
|
||||
u16 flags;
|
||||
u16 frequency_divisor;
|
||||
u32 frequency_numerator;
|
||||
/*
|
||||
* Optional fields follow immediately:
|
||||
* 1) Resource Source index
|
||||
* 2) Resource Source String
|
||||
*/
|
||||
};
|
||||
|
||||
#define AML_RESOURCE_PIN_CONFIG_REVISION 1 /* ACPI 6.2 */
|
||||
|
||||
struct aml_resource_pin_group {
|
||||
|
@ -533,6 +552,7 @@ union aml_resource {
|
|||
struct aml_resource_pin_group pin_group;
|
||||
struct aml_resource_pin_group_function pin_group_function;
|
||||
struct aml_resource_pin_group_config pin_group_config;
|
||||
struct aml_resource_clock_input clock_input;
|
||||
|
||||
/* Utility overlays */
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
*
|
||||
* Module Name: dbhistry - debugger HISTORY command
|
||||
*
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* Copyright (C) 2000 - 2023, Intel Corp.
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
|
|
|
@ -652,6 +652,9 @@ acpi_status acpi_db_display_objects(char *obj_type_arg, char *display_count_arg)
|
|||
object_info =
|
||||
ACPI_ALLOCATE_ZEROED(sizeof(struct acpi_object_info));
|
||||
|
||||
if (!object_info)
|
||||
return (AE_NO_MEMORY);
|
||||
|
||||
/* Walk the namespace from the root */
|
||||
|
||||
(void)acpi_walk_namespace(ACPI_TYPE_ANY, ACPI_ROOT_OBJECT,
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
* Module Name: dsargs - Support for execution of dynamic arguments for static
|
||||
* objects (regions, fields, buffer fields, etc.)
|
||||
*
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* Copyright (C) 2000 - 2023, Intel Corp.
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
* Module Name: dscontrol - Support for execution control opcodes -
|
||||
* if/else/while/return
|
||||
*
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* Copyright (C) 2000 - 2023, Intel Corp.
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
*
|
||||
* Module Name: dsdebug - Parser/Interpreter interface - debugging
|
||||
*
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* Copyright (C) 2000 - 2023, Intel Corp.
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
*
|
||||
* Module Name: dsfield - Dispatcher field routines
|
||||
*
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* Copyright (C) 2000 - 2023, Intel Corp.
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
*
|
||||
* Module Name: dsinit - Object initialization namespace walk
|
||||
*
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* Copyright (C) 2000 - 2023, Intel Corp.
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
*
|
||||
* Module Name: dsmethod - Parser/Interpreter interface - control method parsing
|
||||
*
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* Copyright (C) 2000 - 2023, Intel Corp.
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
*
|
||||
* Module Name: dsobject - Dispatcher object management routines
|
||||
*
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* Copyright (C) 2000 - 2023, Intel Corp.
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
*
|
||||
* Module Name: dsopcode - Dispatcher support for regions and fields
|
||||
*
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* Copyright (C) 2000 - 2023, Intel Corp.
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
*
|
||||
* Module Name: dspkginit - Completion of deferred package initialization
|
||||
*
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* Copyright (C) 2000 - 2023, Intel Corp.
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
* Module Name: dswexec - Dispatcher method execution callbacks;
|
||||
* dispatch to interpreter.
|
||||
*
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* Copyright (C) 2000 - 2023, Intel Corp.
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
*
|
||||
* Module Name: dswload - Dispatcher first pass namespace load callbacks
|
||||
*
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* Copyright (C) 2000 - 2023, Intel Corp.
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
*
|
||||
* Module Name: dswload2 - Dispatcher second pass namespace load callbacks
|
||||
*
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* Copyright (C) 2000 - 2023, Intel Corp.
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
*
|
||||
* Module Name: dswscope - Scope stack manipulation
|
||||
*
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* Copyright (C) 2000 - 2023, Intel Corp.
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
*
|
||||
* Module Name: dswstate - Dispatcher parse tree walk management routines
|
||||
*
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* Copyright (C) 2000 - 2023, Intel Corp.
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
|
@ -576,9 +576,14 @@ acpi_ds_init_aml_walk(struct acpi_walk_state *walk_state,
|
|||
ACPI_FUNCTION_TRACE(ds_init_aml_walk);
|
||||
|
||||
walk_state->parser_state.aml =
|
||||
walk_state->parser_state.aml_start = aml_start;
|
||||
walk_state->parser_state.aml_end =
|
||||
walk_state->parser_state.pkg_end = aml_start + aml_length;
|
||||
walk_state->parser_state.aml_start =
|
||||
walk_state->parser_state.aml_end =
|
||||
walk_state->parser_state.pkg_end = aml_start;
|
||||
/* Avoid undefined behavior: applying zero offset to null pointer */
|
||||
if (aml_length != 0) {
|
||||
walk_state->parser_state.aml_end += aml_length;
|
||||
walk_state->parser_state.pkg_end += aml_length;
|
||||
}
|
||||
|
||||
/* The next_op of the next_walk will be the beginning of the method */
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
*
|
||||
* Module Name: evevent - Fixed Event handling and dispatch
|
||||
*
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* Copyright (C) 2000 - 2023, Intel Corp.
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
*
|
||||
* Module Name: evglock - Global Lock support
|
||||
*
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* Copyright (C) 2000 - 2023, Intel Corp.
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
*
|
||||
* Module Name: evgpe - General Purpose Event handling and dispatch
|
||||
*
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* Copyright (C) 2000 - 2023, Intel Corp.
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
*
|
||||
* Module Name: evgpeblk - GPE block creation and initialization.
|
||||
*
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* Copyright (C) 2000 - 2023, Intel Corp.
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
*
|
||||
* Module Name: evgpeinit - System GPE initialization and update
|
||||
*
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* Copyright (C) 2000 - 2023, Intel Corp.
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
*
|
||||
* Module Name: evgpeutil - GPE utilities
|
||||
*
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* Copyright (C) 2000 - 2023, Intel Corp.
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
*
|
||||
* Module Name: evhandler - Support for Address Space handlers
|
||||
*
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* Copyright (C) 2000 - 2023, Intel Corp.
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
*
|
||||
* Module Name: evmisc - Miscellaneous event manager support functions
|
||||
*
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* Copyright (C) 2000 - 2023, Intel Corp.
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
*
|
||||
* Module Name: evregion - Operation Region support
|
||||
*
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* Copyright (C) 2000 - 2023, Intel Corp.
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
*
|
||||
* Module Name: evrgnini- ACPI address_space (op_region) init
|
||||
*
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* Copyright (C) 2000 - 2023, Intel Corp.
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
|
@ -430,7 +430,7 @@ acpi_ev_data_table_region_setup(acpi_handle handle,
|
|||
{
|
||||
union acpi_operand_object *region_desc =
|
||||
(union acpi_operand_object *)handle;
|
||||
struct acpi_data_table_space_context *local_region_context;
|
||||
struct acpi_data_table_mapping *local_region_context;
|
||||
|
||||
ACPI_FUNCTION_TRACE(ev_data_table_region_setup);
|
||||
|
||||
|
@ -445,7 +445,7 @@ acpi_ev_data_table_region_setup(acpi_handle handle,
|
|||
/* Create a new context */
|
||||
|
||||
local_region_context =
|
||||
ACPI_ALLOCATE_ZEROED(sizeof(struct acpi_data_table_space_context));
|
||||
ACPI_ALLOCATE_ZEROED(sizeof(struct acpi_data_table_mapping));
|
||||
if (!(local_region_context)) {
|
||||
return_ACPI_STATUS(AE_NO_MEMORY);
|
||||
}
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
*
|
||||
* Module Name: evxface - External interfaces for ACPI events
|
||||
*
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* Copyright (C) 2000 - 2023, Intel Corp.
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
*
|
||||
* Module Name: evxfevnt - External Interfaces, ACPI event disable/enable
|
||||
*
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* Copyright (C) 2000 - 2023, Intel Corp.
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
*
|
||||
* Module Name: evxfgpe - External Interfaces for General Purpose Events (GPEs)
|
||||
*
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* Copyright (C) 2000 - 2023, Intel Corp.
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
* Module Name: evxfregn - External Interfaces, ACPI Operation Regions and
|
||||
* Address Spaces.
|
||||
*
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* Copyright (C) 2000 - 2023, Intel Corp.
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
*
|
||||
* Module Name: exconcat - Concatenate-type AML operators
|
||||
*
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* Copyright (C) 2000 - 2023, Intel Corp.
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
*
|
||||
* Module Name: exconfig - Namespace reconfiguration (Load/Unload opcodes)
|
||||
*
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* Copyright (C) 2000 - 2023, Intel Corp.
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
*
|
||||
* Module Name: exconvrt - Object conversion routines
|
||||
*
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* Copyright (C) 2000 - 2023, Intel Corp.
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
*
|
||||
* Module Name: excreate - Named object creation
|
||||
*
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* Copyright (C) 2000 - 2023, Intel Corp.
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
*
|
||||
* Module Name: exdebug - Support for stores to the AML Debug Object
|
||||
*
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* Copyright (C) 2000 - 2023, Intel Corp.
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
*
|
||||
* Module Name: exdump - Interpreter debug output routines
|
||||
*
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* Copyright (C) 2000 - 2023, Intel Corp.
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
*
|
||||
* Module Name: exfield - AML execution - field_unit read/write
|
||||
*
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* Copyright (C) 2000 - 2023, Intel Corp.
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
*
|
||||
* Module Name: exfldio - Aml Field I/O
|
||||
*
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* Copyright (C) 2000 - 2023, Intel Corp.
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
*
|
||||
* Module Name: exmisc - ACPI AML (p-code) execution - specific opcodes
|
||||
*
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* Copyright (C) 2000 - 2023, Intel Corp.
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
*
|
||||
* Module Name: exmutex - ASL Mutex Acquire/Release functions
|
||||
*
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* Copyright (C) 2000 - 2023, Intel Corp.
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
*
|
||||
* Module Name: exnames - interpreter/scanner name load/execute
|
||||
*
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* Copyright (C) 2000 - 2023, Intel Corp.
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
*
|
||||
* Module Name: exoparg1 - AML execution - opcodes with 1 argument
|
||||
*
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* Copyright (C) 2000 - 2023, Intel Corp.
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
*
|
||||
* Module Name: exoparg2 - AML execution - opcodes with 2 arguments
|
||||
*
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* Copyright (C) 2000 - 2023, Intel Corp.
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
*
|
||||
* Module Name: exoparg3 - AML execution - opcodes with 3 arguments
|
||||
*
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* Copyright (C) 2000 - 2023, Intel Corp.
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
*
|
||||
* Module Name: exoparg6 - AML execution - opcodes with 6 arguments
|
||||
*
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* Copyright (C) 2000 - 2023, Intel Corp.
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
*
|
||||
* Module Name: exprep - ACPI AML field prep utilities
|
||||
*
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* Copyright (C) 2000 - 2023, Intel Corp.
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
*
|
||||
* Module Name: exregion - ACPI default op_region (address space) handlers
|
||||
*
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* Copyright (C) 2000 - 2023, Intel Corp.
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
|
@ -509,12 +509,12 @@ acpi_ex_data_table_space_handler(u32 function,
|
|||
u64 *value,
|
||||
void *handler_context, void *region_context)
|
||||
{
|
||||
struct acpi_data_table_space_context *mapping;
|
||||
struct acpi_data_table_mapping *mapping;
|
||||
char *pointer;
|
||||
|
||||
ACPI_FUNCTION_TRACE(ex_data_table_space_handler);
|
||||
|
||||
mapping = (struct acpi_data_table_space_context *) region_context;
|
||||
mapping = (struct acpi_data_table_mapping *) region_context;
|
||||
pointer = ACPI_CAST_PTR(char, mapping->pointer) +
|
||||
(address - ACPI_PTR_TO_PHYSADDR(mapping->pointer));
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
*
|
||||
* Module Name: exresnte - AML Interpreter object resolution
|
||||
*
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* Copyright (C) 2000 - 2023, Intel Corp.
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
*
|
||||
* Module Name: exresolv - AML Interpreter object resolution
|
||||
*
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* Copyright (C) 2000 - 2023, Intel Corp.
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
*
|
||||
* Module Name: exresop - AML Interpreter operand/object resolution
|
||||
*
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* Copyright (C) 2000 - 2023, Intel Corp.
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
*
|
||||
* Module Name: exserial - field_unit support for serial address spaces
|
||||
*
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* Copyright (C) 2000 - 2023, Intel Corp.
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
*
|
||||
* Module Name: exstore - AML Interpreter object store support
|
||||
*
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* Copyright (C) 2000 - 2023, Intel Corp.
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
* Module Name: exstoren - AML Interpreter object store support,
|
||||
* Store to Node (namespace object)
|
||||
*
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* Copyright (C) 2000 - 2023, Intel Corp.
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
*
|
||||
* Module Name: exstorob - AML object store support, store to object
|
||||
*
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* Copyright (C) 2000 - 2023, Intel Corp.
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
*
|
||||
* Module Name: exsystem - Interface to OS services
|
||||
*
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* Copyright (C) 2000 - 2023, Intel Corp.
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
*
|
||||
* Module Name: extrace - Support for interpreter execution tracing
|
||||
*
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* Copyright (C) 2000 - 2023, Intel Corp.
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
*
|
||||
* Module Name: exutils - interpreter/scanner utilities
|
||||
*
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* Copyright (C) 2000 - 2023, Intel Corp.
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
*
|
||||
* Module Name: hwacpi - ACPI Hardware Initialization/Mode Interface
|
||||
*
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* Copyright (C) 2000 - 2023, Intel Corp.
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
* Name: hwesleep.c - ACPI Hardware Sleep/Wake Support functions for the
|
||||
* extended FADT-V5 sleep registers.
|
||||
*
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* Copyright (C) 2000 - 2023, Intel Corp.
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
*
|
||||
* Module Name: hwgpe - Low level GPE enable/disable/clear functions
|
||||
*
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* Copyright (C) 2000 - 2023, Intel Corp.
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
* Name: hwsleep.c - ACPI Hardware Sleep/Wake Support functions for the
|
||||
* original/legacy sleep/PM registers.
|
||||
*
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* Copyright (C) 2000 - 2023, Intel Corp.
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
*
|
||||
* Name: hwtimer.c - ACPI Power Management Timer Interface
|
||||
*
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* Copyright (C) 2000 - 2023, Intel Corp.
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
*
|
||||
* Module Name: hwvalid - I/O request validation
|
||||
*
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* Copyright (C) 2000 - 2023, Intel Corp.
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
*
|
||||
* Module Name: hwxface - Public ACPICA hardware interfaces
|
||||
*
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* Copyright (C) 2000 - 2023, Intel Corp.
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
*
|
||||
* Name: hwxfsleep.c - ACPI Hardware Sleep/Wake External Interfaces
|
||||
*
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* Copyright (C) 2000 - 2023, Intel Corp.
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
*
|
||||
* Module Name: nsarguments - Validation of args for ACPI predefined methods
|
||||
*
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* Copyright (C) 2000 - 2023, Intel Corp.
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
* Module Name: nsconvert - Object conversions for objects returned by
|
||||
* predefined methods
|
||||
*
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* Copyright (C) 2000 - 2023, Intel Corp.
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
*
|
||||
* Module Name: nsdump - table dumping routines for debug
|
||||
*
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* Copyright (C) 2000 - 2023, Intel Corp.
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
*
|
||||
* Module Name: nsdump - table dumping routines for debug
|
||||
*
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* Copyright (C) 2000 - 2023, Intel Corp.
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
*
|
||||
* Module Name: nsinit - namespace initialization
|
||||
*
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* Copyright (C) 2000 - 2023, Intel Corp.
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
*
|
||||
* Module Name: nsload - namespace loading/expanding/contracting procedures
|
||||
*
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* Copyright (C) 2000 - 2023, Intel Corp.
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
*
|
||||
* Module Name: nsparse - namespace interface to AML parser
|
||||
*
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* Copyright (C) 2000 - 2023, Intel Corp.
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
*
|
||||
* Module Name: nspredef - Validation of ACPI predefined methods and objects
|
||||
*
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* Copyright (C) 2000 - 2023, Intel Corp.
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
*
|
||||
* Module Name: nsprepkg - Validation of package objects for predefined names
|
||||
*
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* Copyright (C) 2000 - 2023, Intel Corp.
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
*
|
||||
* Module Name: nsrepair - Repair for objects returned by predefined methods
|
||||
*
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* Copyright (C) 2000 - 2023, Intel Corp.
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
* Module Name: nsrepair2 - Repair for objects returned by specific
|
||||
* predefined methods
|
||||
*
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* Copyright (C) 2000 - 2023, Intel Corp.
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
|
@ -499,7 +499,7 @@ acpi_ns_repair_HID(struct acpi_evaluate_info *info,
|
|||
char *source;
|
||||
char *dest;
|
||||
|
||||
ACPI_FUNCTION_NAME(ns_repair_HID);
|
||||
ACPI_FUNCTION_TRACE(ns_repair_HID);
|
||||
|
||||
/* We only care about string _HID objects (not integers) */
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
* Module Name: nsutils - Utilities for accessing ACPI namespace, accessing
|
||||
* parents and siblings and Scope manipulation
|
||||
*
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* Copyright (C) 2000 - 2023, Intel Corp.
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
*
|
||||
* Module Name: nswalk - Functions for walking the ACPI namespace
|
||||
*
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* Copyright (C) 2000 - 2023, Intel Corp.
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue