Home | History | Annotate | Download | only in dispatcher
History log of /src/sys/external/bsd/acpica/dist/dispatcher/dswexec.c
RevisionDateAuthorComments
 1.5  24-Aug-2025  christos merge our changes into 20250807
 1.4  24-Feb-2025  christos merge conflicts between 2024-08-27 and 2024-12-12
 1.3  01-Sep-2023  christos branches: 1.3.6;
merge conflicts between 20230628 and 20221020
 1.2  16-Sep-2022  msaitoh Fix out of range access in AcpiDsExecEndOp().

- Found by kUBSan.
- See: https://github.com/acpica/acpica/pull/745
 1.1  17-Feb-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 Import acpica-20230628 (last was 20221020)
 1.1.1.16  27-Aug-2022  christos Import acpica-2022-03-31
 1.1.1.15  28-Oct-2021  christos 30 September 2021. Summary of changes for version 20210930:

This release is available at https://acpica.org/downloads

1) ACPICA kernel-resident subsystem:

Hardware: Avoid evaluating methods too early during system resume.
During wakeup from system-wide sleep states, AcpiGetSleepTypeData()
is called and it tries to get memory from the OS in order to evaluate
a control method, but if KFENCE is enabled in the Linux kernel,
the memory allocation attempt causes an IRQ work to be queued and
a self-IPI to be sent to the CPU running the code which requires
the memory controller to be ready, so if that happens too early in
the wakeup path, it doesn't work.

Prevent that from taking place by calling AcpiGetSleepTypeData()
for S0 upfront, when preparing to enter a given sleep state, and
saving the data obtained by it for later use during system wakeup.

Added a new _OSI string, "Windows 2020". Posted by superm1.

2) iASL Compiler/Disassembler and ACPICA tools:

iASL compiler: Updated the check for usage of _CRS, _DIS, _PRS, and _SRS objects:
New/latest rules: Under a Device Object:
1) If _PRS is present, must have _CRS and _SRS
2) If _SRS is present, must have _PRS (_PRS requires _CRS and _SRS)
3) If _DIS is present, must have _SRS (_SRS requires _PRS, _PRS requires _CRS
and _SRS)
4) If _SRS is present, probably should have a _DIS (Remark only)

iASL table disassembler: Added disassembly support for the NHLT
ACPI table. Note: support for Vendor-defined microphone arrays and
SNR extensions are not supported at this time -- mostly due to a
lack of example tables. Actual compiler support for NHLT is
forthcoming.

Added a new subtable type for ACPI 6.4 SRAT Generic Port Affinity.
It uses the same subtable structure as the existing Generic Initiator
Affinity type.

Added the flag for online capable in the MADT, introduced in ACPI
6.3. Posted by superm1.

3) ACPICA documentation: Updated the legal info (that appears at
the start of the Documents) to clarify distribution rights that
are granted.

30 July 2021. Summary of changes for version 20210730:

This release is available at https://acpica.org/downloads

1) ACPICA kernel-resident subsystem:

2) iASL Compiler/Disassembler and ACPICA tools:

iasl: Check usage of _CRS, _DIS, _PRS, and _SRS objects (July 2021).
Under the Device Object:
1) If _DIS is present, must have a _CRS and _SRS
2) If _PRS is present, must have a _CRS, _DIS, and _SRS
3) If _SRS is present, must have a _CRS and _DIS
A warning will be issued for each of these cases.
Note: For existing ASL/projects, these warnings may be disabled by
specifying this on the command line:
"-vw 3141"

iASL Table Disassembler/Table compiler: Fix for WPBT table with no
command-line arguments. Handle the case where the Command-line
Arguments table field does not exist (zero).

Headers: Add new DBG2 Serial Port Subtypes
The Microsoft Debug Port Table 2 (DBG2) specification revision
September 21, 2020 comprises additional Serial Port Subtypes [1].
Reflect that in the actbl1.h header file. Submitted by:
semihalf-wojtas-marcin

iASL: Add full support for the AEST table (data compiler)
Includes support in the table compiler and the disassembler.

Add PRMT module header to facilitate parsing.
This structure is used in to parse PRMT in other Operating Systems
that relies on using subtable headers in order to parse ACPI tables.
Although the PRMT doesn't have "subtables" it has a list of module
information structures that act as subtables.

iASL: Table disassembler: Add missing strings to decode subtable types.
Includes the MADT and CEDT tables.
 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  28-Mar-2020  christos branches: 1.1.1.13.4; 1.1.1.13.6;
 1.1.1.12  29-Apr-2019  christos branches: 1.1.1.12.2;
 1.1.1.11  07-Apr-2018  christos branches: 1.1.1.11.2;
 1.1.1.10  15-Sep-2017  christos branches: 1.1.1.10.2;
 1.1.1.9  30-Apr-2017  christos 
 1.1.1.8  25-Jan-2017  christos branches: 1.1.1.8.4;
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  13-Apr-2015  christos 
 1.1.1.4  25-Oct-2014  christos branches: 1.1.1.4.2;
 1.1.1.3  27-Dec-2013  christos import new acpica
 1.1.1.2  17-Feb-2011  jruoho branches: 1.1.1.2.2; 1.1.1.2.4; 1.1.1.2.8; 1.1.1.2.10; 1.1.1.2.20; 1.1.1.2.24;
Import 20110211.
 1.1.1.1  17-Feb-2011  jruoho Reimport ACPICA 20100528 to a new location.
 1.1.1.13.6.1  03-Apr-2021  thorpej Sync with HEAD.
 1.1.1.13.4.1  03-Apr-2021  thorpej Sync with HEAD.
 1.1.1.12.2.1  18-Sep-2022  martin Pull up following revision(s) (requested by msaitoh in ticket #1527):

sys/external/bsd/acpica/dist/dispatcher/dswexec.c: revision 1.2

Fix out of range access in AcpiDsExecEndOp().

- Found by kUBSan.
- See: https://github.com/acpica/acpica/pull/745
 1.1.1.11.2.2  08-Apr-2020  martin Merge changes from current as of 20200406
 1.1.1.11.2.1  10-Jun-2019  christos Sync with HEAD
 1.1.1.10.2.1  16-Apr-2018  pgoyette Sync with HEAD, resolve some conflicts
 1.1.1.8.4.1  02-May-2017  pgoyette Sync with HEAD - tag prg-localcount2-base1
 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.4.2.5  28-Aug-2017  skrll Sync with HEAD
 1.1.1.4.2.4  05-Feb-2017  skrll Sync with HEAD
 1.1.1.4.2.3  05-Dec-2016  skrll Sync with HEAD
 1.1.1.4.2.2  19-Mar-2016  skrll Sync with HEAD
 1.1.1.4.2.1  06-Jun-2015  skrll Sync with HEAD
 1.1.1.2.24.1  18-May-2014  rmind sync with head
 1.1.1.2.20.2  03-Dec-2017  jdolecek update from HEAD
 1.1.1.2.20.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.1.2.10.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")
 1.1.1.2.8.2  06-Jun-2011  jruoho Sync with HEAD.
 1.1.1.2.8.1  17-Feb-2011  jruoho file dswexec.c was added on branch jruoho-x86intr on 2011-06-06 09:08:55 +0000
 1.1.1.2.4.2  05-Mar-2011  rmind sync with head
 1.1.1.2.4.1  17-Feb-2011  rmind file dswexec.c was added on branch rmind-uvmplock on 2011-03-05 20:54:29 +0000
 1.1.1.2.2.2  17-Feb-2011  bouyer Sync with HEAD
 1.1.1.2.2.1  17-Feb-2011  bouyer file dswexec.c was added on branch bouyer-quota2 on 2011-02-17 12:00:22 +0000
 1.3.6.1  02-Aug-2025  perseant Sync with HEAD

RSS XML Feed