History log of /src/sys/external/bsd/acpica/dist/tools/acpihelp/ahmain.c |
Revision | | Date | Author | Comments |
1.1 |
| 28-Jun-2011 |
jruoho | branches: 1.1.1; Initial revision
|
1.1.1.19 |
| 24-Aug-2025 |
christos | Import 20250807 (previous was 20241212)
|
1.1.1.18 |
| 24-Feb-2025 |
christos | Import new acpica-2024-12-12; previous one was 2024-08-27
|
1.1.1.17 |
| 01-Sep-2023 |
christos | branches: 1.1.1.17.6; Import acpica-20230628 (last was 20221020)
|
1.1.1.16 |
| 10-Dec-2022 |
christos | Import acpica 2022-10-20
20 October 2022. Summary of changes for version 20221020:
This release is available at https://acpica.org/downloads
0) Global changes:
Allow disabling of -Werror. For distro maintainers having `-Werror` can delay update of GCC. Since every GCC release might add new warnings that were not yet captured, it might break the build of packages. With this change, distros can now build with `NOWERROR=TRUE` instead of patching either the errors or the makefiles. The default behavior keeps on using `-Werror`.
1) ACPICA kernel-resident subsystem:
Added support for FFH Operation Region special context data. FFH(Fixed Function Hardware) Opregion is approved to be added in ACPI 6.5 via code first approach[1]. It requires special context data similar to GPIO and Generic Serial Bus as it needs to know platform specific offset and length.
Reverted this commit "executer/exsystem: Warn about sleeps greater than 10 ms." Due to user complaints about valid sleeps greater than 10ms seen in some existing machines -- generating lots of warnings.
Do not touch VGA memory when EBDA < 1KiB. The ACPICA code assumes that EBDA region must be at least 1KiB in size. Because this is not guaranteed, it might happen that while scanning the memory for RSDP pointer, the kernel touches memory above 640KiB. This is unwanted as the VGA memory range may not be decoded or even present when running under virtualization.
Check that EBDA pointer is in valid memory. If the memory at 0x40e is uninitialized, the retrieved physical memory address of EBDA may be beyond the low memory (i.e. above 640K). If so, the kernel may unintentionally access the VGA memory, that might not be decoded or even present in case of virtualization.
2) iASL Compiler/Disassembler and ACPICA tools:
Completed the existing partial support for the CDAT "table". Although this isn't technically an ACPI table (It doesn't go into the XSDT), it is possible to support this table in the Data Table compiler. Created one new file, "utilities/utcksum.c", used to centralize checksum generation/validation into one location. Includes changes to makefiles and MSVC project files.
Updated support for the IORT table - update to version E.e
Added CXL 3.0 structures (CXIMS & RDPAS) to the CEDT table
iASL: Added CCEL table to both compiler/disassembler.
iASL: NHLT table: Fixed compilation of optional undocumented fields
iASL: Fix iASL compile error due to ACPI_TDEL_OFFSET. Commit # 10e4763 ("iASL: Add CCEL table to both compiler/disassembler") introduced the iASL build issue. The issue is due to using ACPI_TDEL_OFFSET for CCEL table member reference. To fix it, change ACPI_TDEL_OFFSET with ACPI_CCEL_OFFSET.
|
1.1.1.15 |
| 27-Aug-2022 |
christos | Import acpica-2022-03-31
|
1.1.1.14 |
| 03-Apr-2021 |
christos | 31 March 2021. Summary of changes for version 20210331:
This release is available at https://acpica.org/downloads, and includes all ACPI 6.4 support
1) ACPICA kernel-resident subsystem: ACPI 6.4: iASL: deprecate DDBHandleObj keyword Always create namespace nodes using AcpiNsCreateNode(). ACPICA is allocating an object using kmalloc(), but then frees it using kmem_cache_free(<"Acpi-Namespace" kmem_cache>). This is wrong. Fixed a race condition in generic serial bus operation region handler. Fixed by Hans de Goede.
2) iASL Compiler/Disassembler and ACPICA tools:
ACPI 6.4: NFIT: add Location Cookie field ACPI 6.4: HMAT: add new fields/flags ACPI 6.4: Add new flags in SRAT ACPI 6.4: add SDEV secure access components ACPI 6.4: add Csi2Bus resource template ACPI 6.4: add support for PHAT table ACPI 6.4: add support for PMTT table Add disassembly support for the IVRS table. Compilation of the table is not yet complete. Fixed a potential infinite loop due to type mismatch. The for-loop is using a UINT8 counter and comparing the upper limit against a UINT32 AslGbl_ExpectedMessagesIndex maximum. In the case where AslGbl_ExpectedMessagesIndex is > 255 the counter i will wrap around to zero and the loop will never exit. I suspect the AslGbl_ExpectedMessagesIndex is never that high, but fixing this does future proof the code and cleans up static analysis warnings.Colin King.
iASL/TableCompiler: update it with IORT table E.b revision changes. From shamiali2008. iASL/TableCompiler: Add compilation support for the VIOT table. Signed-off-by: Jean-Philippe Brucker. iASL/TableCompiler: Add compilation support for CEDT table. Also, update the CEDT template.
|
1.1.1.13 |
| 27-Nov-2020 |
christos | branches: 1.1.1.13.2; 13 November 2020. Summary of changes for version 20201113:
This release is available at https://acpica.org/downloads
1) ACPICA kernel-resident subsystem:
Interpreter: fixed a memory leak by using use existing buffer in _HID repair. There was a memory leak that occurred when a _CID object is defined as a package containing string objects. When _CID is checked for any possible repairs, it calls a helper function to repair _HID (because _CID basically contains multiple _HID entries). The _HID repair function assumes that string objects are standalone objects that are not contained inside of any packages. The _HID repair function replaced the string object with a brand new object and attempted to delete the old object by decrementing the reference count of the old object. Strings inside of packages have a reference count of 2 so the _HID repair function leaves this object in a dangling state and causes a memory leak. Instead of allocating a brand new object and removing the old object, use the existing object when repairing the _HID object.
Added function trace macros to improve namespace debugging. The namespace repair mechanism does not have function tracing macros. Add several trace macros to improve debuggability.
Handle "orphan" _REG methods for GPIO OpRegions. Before this change AcpiEvExecuteRegMethods() had special handling to handle "orphan" (no matching OpRegion declared) _REG methods for EC nodes. On Intel Cherry Trail devices there are 2 possible ACPI OpRegions for accessing GPIOs. The standard GeneralPurposeIo OpRegion and the Cherry Trail - specific UserDefined 0x9X OpRegions. Having 2 different types of OpRegions leads to potential issues with checks for OpRegion availability, or in other words checks if _REG has been called for the OpRegion which the ACPI code wants to use. Except for the "orphan" EC handling, ACPICA core does not call _REG on an ACPI node which does not define an OpRegion matching the type being registered; and the reference design DSDT, from which most Cherry Trail DSDTs are derived, does not define GeneralPurposeIo, nor UserDefined(0x93) OpRegions for the GPO2 (UID 3) device, because no pins were assigned ACPI controlled functions in the reference design. Together this leads to the perfect storm, at least on the Cherry Trail based Medion Akayo E1239T. This design does use a GPO2 pin from its ACPI code and has added the Cherry Trail specific UserDefined(0x93) opregion to its GPO2 ACPI node to access this pin. But it uses a "has _REG been called" availability check for the standard GeneralPurposeIo OpRegion. This clearly is a bug in the DSDT, but this does work under Windows. This issue leads to the intel vbtn driver reporting the device always being in tablet-mode at boot, even if it is in laptop mode. Which in turn causes userspace to ignore touchpad events. So in other words, this issue causes the touchpad to not work at boot. This change fixes this by extending the "orphan" _REG method handling to also apply to GPIO address-space handlers.
2) iASL Compiler/Disassembler and ACPICA tools:
iASL: Added more info to namespace dump file (-ln option). In a separate section of the dump file (after the main namespace dump), emit the full pathname for each namespace node, its type, and the ASL filename and line number where it is declared.
AcpiHelp: Added an option to display/decode iASL exceptions. Option is: -x [Hex Value] where "Hex Value" is the iASL exception code. If Hex Value is omitted, all iASL exceptions are displayed.
iASL: Use StringLiteral instead of StringData for some ASL macros. The use of the stringData rule allows for some "string" oriented opcodes (Such as ToString, ToHexString, etc.) None of which make sense with the macros in question. This change modifies the StringData part of the rule for these macros to a simple string literal - thus disallowing the use of ToString, ToHexString, etc. The following ASL operators (macros) are affected: EisaId Fprintf Printf ToUuid Unicode Note: The MS compiler requires the use of string literals for these operators also.
iASL: Added a remark for an unknown UUID: ASL_MSG_UUID_NOT_FOUND. Search the list of "known" UUIDs for the input to the ToUUID macro.
Added 5 new UUIDs to the known UUID table. All related to NVDIMM and the NFIT table.
|
1.1.1.12 |
| 28-Mar-2020 |
christos | branches: 1.1.1.12.4;
|
1.1.1.11 |
| 29-Apr-2019 |
christos |
|
1.1.1.10 |
| 07-Apr-2018 |
christos | branches: 1.1.1.10.2;
|
1.1.1.9 |
| 12-Nov-2017 |
christos | branches: 1.1.1.9.2;
|
1.1.1.8 |
| 25-Jan-2017 |
christos | One more time in the right place...
|
1.1.1.7 |
| 11-Nov-2016 |
christos | branches: 1.1.1.7.2; Import acpica-20160930:
|
1.1.1.6 |
| 09-Jan-2016 |
christos | branches: 1.1.1.6.2; import new acpica:
|
1.1.1.5 |
| 18-Aug-2015 |
christos |
|
1.1.1.4 |
| 13-Apr-2015 |
christos |
|
1.1.1.3 |
| 25-Oct-2014 |
christos | branches: 1.1.1.3.2;
|
1.1.1.2 |
| 27-Dec-2013 |
christos | import new acpica
|
1.1.1.1 |
| 28-Jun-2011 |
jruoho | branches: 1.1.1.1.2; 1.1.1.1.12; 1.1.1.1.16; Import ACPICA 20110623.
Selected changes since 20110211 include, among other things, fixes to _PRW parsing, fix to a regression with the Load() operator, improvements in NULL package element removal, support for "spurious" global lock interrupts, execution of orphaned _REG methods under acpiec(4), and smaller iasl(8) improvements.
|
1.1.1.17.6.1 |
| 02-Aug-2025 |
perseant | Sync with HEAD
|
1.1.1.13.2.1 |
| 03-Apr-2021 |
thorpej | Sync with HEAD.
|
1.1.1.12.4.2 |
| 03-Apr-2021 |
thorpej | Sync with HEAD.
|
1.1.1.12.4.1 |
| 14-Dec-2020 |
thorpej | Sync w/ HEAD.
|
1.1.1.10.2.2 |
| 08-Apr-2020 |
martin | Merge changes from current as of 20200406
|
1.1.1.10.2.1 |
| 10-Jun-2019 |
christos | Sync with HEAD
|
1.1.1.9.2.1 |
| 16-Apr-2018 |
pgoyette | Sync with HEAD, resolve some conflicts
|
1.1.1.7.2.1 |
| 21-Apr-2017 |
bouyer | Sync with HEAD
|
1.1.1.6.2.2 |
| 20-Mar-2017 |
pgoyette | Sync with HEAD
|
1.1.1.6.2.1 |
| 07-Jan-2017 |
pgoyette | Sync with HEAD. (Note that most of these changes are simply $NetBSD$ tag issues.)
|
1.1.1.3.2.5 |
| 05-Feb-2017 |
skrll | Sync with HEAD
|
1.1.1.3.2.4 |
| 05-Dec-2016 |
skrll | Sync with HEAD
|
1.1.1.3.2.3 |
| 19-Mar-2016 |
skrll | Sync with HEAD
|
1.1.1.3.2.2 |
| 22-Sep-2015 |
skrll | Sync with HEAD
|
1.1.1.3.2.1 |
| 06-Jun-2015 |
skrll | Sync with HEAD
|
1.1.1.1.16.1 |
| 18-May-2014 |
rmind | sync with head
|
1.1.1.1.12.2 |
| 03-Dec-2017 |
jdolecek | update from HEAD
|
1.1.1.1.12.1 |
| 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
1.1.1.1.2.1 |
| 22-May-2014 |
yamt | sync with head.
for a reference, the tree before this commit was tagged as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments")
|