Up to [cvs.NetBSD.org] / src / sys / external / bsd / acpica / dist / include / platform
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: intel, MAIN
Import acpica-20240827 (previous was acpica-20230628) ---------------------------------------- 27 August 2024. Summary of changes for version 20240827: Major changes: Fix the PHAT table working: ensure that the PHAT firmware health record offset works correctly, fix various sub-table offsets, prevent segmentation faults when encountering invalid device paths. Contributed by: Armin Wolf <W_Armin@gmx.de> Fix the optional table 4-byte signature. Contributed by: Daniil Tatianin <99danilt@gmail.com> Correct the dumping of SLIC and DBG2 tables. Contributed by: Al Stone (Fedora) <ahs3@ahs3.net> Add support for QWordPCC and DWordPCC by Jose Marinho (ARM) Fix the integer to hex string conversions by Armin Wolf Detecting FACS in reduced HW mode and allowing setting waking vector thereby waking up from S3 state Fixing issues with crossing page boundaries when mapping operation regions by Raju Rangoju, Sanath S and Mario Limonciello (AMD) Update the support for IORT, HMAT, MPAM, AEST, CEDT, SPCR etc. tables Fix multiple issues with table parsing, compilation and disassembly by Myra DeMere (Google) Allow for more flexibility in _DSM usage. ---------------------------------------- 22 March 2024. Summary of changes for version 20240322: Major changes: Update all the license header year from 2023 to 2024. Fix table argument ordering to work properly with iasl. Get rid of the annoying repeated warning types in MSVC and Windows. Fix a test in ASLTS with edge case failure. Fix a couple of issues with how GPEs are counted and enabled. Add new tables for various architectures/OS, mainly RISC-V and also update many more. Add an option to either make the output deterministic or non-deterministic. Remove redundant checks, duplicated code and fix spellings in various files. fix flex arrays for C++ compilers and also make ACPICA overall more compatible with different compilers which throw warnings related to memory sanitization etc.
Import acpica-20230628 (last was 20221020) ---------------------------------------- 28 June 2023. Summary of changes for version 20230628: 0) Global changes: Fixed a problem with the ASL/AML Timer() operator. Discovered by UBSAN: ?array-index-out-of-bounds in acpica/dswexec.c:401:12 index -1 is out of range for type 'acpi_operand_object?. Added AML_NO_OPERAND_RESOLVE flag to Timer (since there are no runtime arguments). Reported by: Abhishek Mainkar abmainkar@nvidia.com. Added a define for size of acpi_srat_generic_affinity DeviceHandle. Replaced a magic number with a define. The Linux kernel code will utilize this. Reported by Dave Jiang dave.jiang@intel.com. Added support for _DSC (Deepest State for Configuration) as per ACPI 6.5. 1) ACPICA kernel-resident subsystem: Added port definitions for CDAT SSLBIS. Add upstream port and any port definitions for SSLBIS. Reported by: Dave Jiang dave.jiang@intel.com. Fixed misspelled CDAT DSMAS define: ACPI_CEDT_DSMAS_NON_VOLATILE -> ACPI_CDAT_DSMAS_NON_VOLATILE. Reported by: Dave Jiang dave.jiang@intel.com. 1) ACPICA kernel-resident subsystem: Fix GCC 12 dangling-pointer warning. We're storing a persistent pointer to an ephemeral local variable which technically is a dangling pointer and the compiler is correct. However, since we never indirect the pointer, this is a safe operation and we can suppress the warning. Also, some C run-times (like MUSL) aren't including <stdint.h> indirectly so we must include it explicitly or we won't have the type definition for uintptr_t. 2) iASL Compiler/Disassembler and ACPICA tools:. IASL/RHCT: Enable dumping and compiling newly added nodes. The RHCT table is updated with new nodes. Add compile and dump functionality for these new structures. AcpiExec: Added a new command, ?interrupt?. The Interrupt command simulates an interrupt with a IntID (GSIV) equal to the first argument of the call/invocation. The acpiexec code simulates the behavior by OSPM: execute the _EVT method of the GED device associated with that IntID. Submitted by: Jose Marinho jose.marinho@arm.com. AcpiExec: Detect GED device and keep track of _EVT. The GED device is described by a _HID of ACPI0013. This code traverses the namespace identifying all GED devices. For each GED device in the namespace we record the Interrupt object and the _EVT method. This information is used when an interrupt is simulated via the ?interrupt? command. Submitted by: Jose Marinho jose.marinho@arm.com. ---------------------------------------- 31 March 2023. Summary of changes for version 20230331: This release is available at https://acpica.org/downloads 0) Global changes: Update all copyright notices to the year 2023. This effects all source modules, as well as utility signons. Add OS-specific support for Zephyr RTOS. Fix miscellaneous code that accesses various objects. Remove some dead code. Add C ?Flexible Array? support. Add support for 64 bit LoongArch compilation. Add first batch of RISC-V related definitions. Performed a global automated update to remove tabs, fix indentation issues, etc. 1) ACPICA kernel-resident subsystem: hwvalid: Drop port I/O validation. 2) ACPICA tools and utilities: iASL: Added full macro support in the preprocessor. Example: #define ABCD(a,b,c,d) a+b+c-d Known macro support limitations (at this time): No support for multi-line #define macros (backslash continuation lines) No support for the C-style ternary operator No support for the stringizing operator (#) No support for the concatenation (token pasting) operator (##) No support for variable number of macro arguments Add support for AMD Secure Processor Table (ASPT) version 1. Add support for Arm's MPAM ACPI table version 2. ACPI 6.5: MADT: add support for trace buffer extension in GICC. Headers: Delete bogus NodeArray array of pointers from AEST table. PHAT table support is still ongoing.
Initial revision