Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/external/bsd/acpica/dist -------------------------------...



details:   https://anonhg.NetBSD.org/src/rev/d69ac719ab34
branches:  trunk
changeset: 998737:d69ac719ab34
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Apr 29 00:29:53 2019 +0000

description:
----------------------------------------
05 April 2019. Summary of changes for version 20190405:


1) ACPICA kernel-resident subsystem:

Event Manager: History: Commit 18996f2db918 ("ACPICA: Events: Stop
unconditionally clearing ACPI IRQs during suspend/resume") was added
earlier to stop clearing of event status bits unconditionally on suspend
and resume paths. Though this change fixed an issue on suspend path, it
introduced regressions on several resume paths. In the case of S0ix,
events are enabled as part of device suspend path. If status bits for the
events are set when they are enabled, it could result in premature wake
from S0ix. If status is cleared for any event that is being enabled so
that any stale events are cleared out. In case of S0ix, events are
enabled as part of device suspend path. If status bits for the events are
set when they are enabled, it could result in premature wake from S0ix.

This change ensures that status is cleared for any event that is being
enabled so that any stale events are cleared out.


2) iASL Compiler/Disassembler and ACPICA tools:

iASL: Implemented an enhanced multiple file compilation that combines
named objects from all input files to a single namespace. With this
feature, any unresolved external declarations as well as duplicate named
object declarations can be detected during compilation rather than
generating errors much later at runtime. The following commands are
examples that utilize this feature:
    iasl dsdt.asl ssdt.asl
    iasl dsdt.asl ssdt1.asl ssdt2.asl
    iasl dsdt.asl ssdt*.asl

----------------------------------------
29 March 2019. Summary of changes for version 20190329:


1) ACPICA kernel-resident subsystem:

Namespace support: Remove the address nodes from global list after method
termination. The global address list contains pointers to namespace nodes
that represent Operation Regions. This change properly removes Operation
Region namespace nodes that are declared dynamically during method
execution.

Linux: Use a different debug default than ACPICA. There was a divergence
between Linux and the ACPICA codebases. In order to resolve this
divergence, Linux now declares its own debug default in aclinux.h

Renamed some internal macros to improve code understanding and
maintenance. The macros below all operate on single 4-character ACPI
NameSegs, not generic strings (old -> new):
    ACPI_NAME_SIZE    -> ACPI_NAMESEG_SIZE
    ACPI_COMPARE_NAME -> ACPI_COMPARE_NAMESEG
    ACPI_MOVE_NAME    -> ACPI_COPY_NAMESEG

Fix for missing comma in array declaration for the AcpiGbl_GenericNotify
table.

Test suite: Update makefiles, add PCC operation region support


2) iASL Compiler/Disassembler and Tools:

iASL: Implemented additional illegal forward reference detection. Now
detect and emit an error upon detection of a forward reference from a
Field to an Operation Region. This will fail at runtime if allowed to
pass the compiler.

AcpiExec: Add an address list check for dynamic Operation Regions. This
feature performs a sanity test for each node the global address list.
This is done in order to ensure that all dynamic operation regions are
properly removed from the global address list and no dangling pointers
are left behind.

Disassembler: Improved generation of resource pathnames. This change
improves the code that generates resource descriptor and resource tag
pathnames. The original code used a bunch of str* C library functions
that caused warnings on some compilers.

iASL: Removed some uses of strncpy and replaced with memmove. The strncpy
function can overwrite buffers if the calling code is not very careful.
In the case of generating a module/table header, use of memmove is a
better implementation.


3) Status of new features that have not been completed at this time:

iASL: Implementing an enhanced multiple file compilation into a single
namespace feature (Status): This feature will be released soon, and
allows multiple ASL files to be compiled into the same single namespace.
By doing so, any unresolved external declarations as well as duplicate
named object declarations can be detected during compilation (rather than
later during runtime). The following commands are examples that utilize
this feature:
    iasl dsdt.asl ssdt.asl
    iasl dsdt.asl ssdt1.asl ssdt2.asl
    iasl dsdt.asl ssdt*.asl

ASL tutorial status: Feedback is being gathered internally and the
current plan is to publish this tutorial on the ACPICA website after a
final review by a tech writer.

----------------------------------------
15 February 2019. Summary of changes for version 20190215:


0) Support for ACPI specification version 6.3:

Add PCC operation region support for the AML interpreter. This adds PCC
operation region support in the AML interpreter and a default handler for
acpiexec. The change also renames the PCC region address space keyword to
PlatformCommChannel.

Support for new predefined methods _NBS, _NCH, _NIC, _NIH, and _NIG.
These methods provide OSPM with health information and device boot
status.

PDTT: Add TriggerOrder to the PCC Identifier structure. The field value
defines if the trigger needs to be invoked by OSPM before or at the end
of kernel crash dump processing/handling operation.

SRAT: Add Generic Affinity Structure subtable. This subtable in the SRAT
is used for describing devices such as heterogeneous processors,
accelerators, GPUs, and IO devices with integrated compute or DMA
engines.

MADT: Add support for statistical profiling in GICC. Statistical
profiling extension (SPE) is an architecture-specific feature for ARM.

MADT: Add online capable flag. If this bit is set, system hardware
supports enabling this processor during OS runtime.

New Error Disconnect Recover Notification value. There are a number of
scenarios where system Firmware in collaboration with hardware may
disconnect one or more devices from the rest of the system for purposes
of error containment. Firmware can use this new notification value to
alert OSPM of such a removal.

PPTT: New additional fields in Processor Structure Flags. These flags
provide more information about processor topology.

NFIT/Disassembler: Change a field name from "Address Range" to "Region
Type".

HMAT updates: make several existing fields to be reserved as well as
rename subtable 0 to "memory proximity domain attributes".

GTDT: Add support for new GTDT Revision 3. This revision adds information
for the EL2 timer.

iASL: Update the HMAT example template for new fields.

iASL: Add support for the new revision of the GTDT (Rev 3).


1) ACPICA kernel-resident subsystem:

AML Parser: fix the main AML parse loop to correctly skip erroneous
extended opcodes. AML opcodes come in two lengths: 1-byte opcodes and 2-
byte extended opcodes. If an error occurs during an AML table load, the
AML parser will continue loading the table by skipping the offending
opcode. This implements a "load table at any cost" philosophy.


2) iASL Compiler/Disassembler and Tools:

iASL: Add checks for illegal object references, such as a reference
outside of method to an object within a method. Such an object is only
temporary.

iASL: Emit error for creation of a zero-length operation region. Such a
region is rather pointless. If encountered, a runtime error is also
implemented in the interpeter.

Debugger: Fix a possible fault with the "test objects" command.

iASL: Makefile: support parent directory filenames containing embedded
spaces.

iASL: Update the TPM2 template to revision 4.

iASL: Add the ability to report specific warnings or remarks as errors.

Disassembler: Disassemble OEMx tables as actual AML byte code.
Previously, these tables were treated as "unknown table".

iASL: Add definition and disassembly for TPM2 revision 3.

iASL: Add support for TPM2 rev 3 compilation.


----------------------------------------
08 January 2019. Summary of changes for version 20190108:


1) ACPICA kernel-resident subsystem:

Updated all copyrights to 2019. This affects all source code modules.


2) iASL Compiler/Disassembler and Tools:

ASL test suite (ASLTS): Updated all copyrights to 2019.

Tools: Updated all signon copyrights to 2019.

AcpiExec: Added a new option to dump extra information concerning any
memory leaks detected by the internal object/cache tracking mechanism. -
va

iASL: Updated the table template for the TPM2 table to the newest version
of the table (Revision 4)

diffstat:

 sys/external/bsd/acpica/dist/changes.txt                            |  240 +++++++++-
 sys/external/bsd/acpica/dist/common/acfileio.c                      |    4 +-
 sys/external/bsd/acpica/dist/common/acgetline.c                     |    2 +-
 sys/external/bsd/acpica/dist/common/adfile.c                        |    2 +-
 sys/external/bsd/acpica/dist/common/adisasm.c                       |    6 +-
 sys/external/bsd/acpica/dist/common/adwalk.c                        |    4 +-
 sys/external/bsd/acpica/dist/common/ahids.c                         |    2 +-
 sys/external/bsd/acpica/dist/common/ahpredef.c                      |   11 +-
 sys/external/bsd/acpica/dist/common/ahtable.c                       |    4 +-
 sys/external/bsd/acpica/dist/common/ahuuids.c                       |    4 +-
 sys/external/bsd/acpica/dist/common/cmfsize.c                       |    2 +-
 sys/external/bsd/acpica/dist/common/dmextern.c                      |    4 +-
 sys/external/bsd/acpica/dist/common/dmrestag.c                      |   28 +-
 sys/external/bsd/acpica/dist/common/dmswitch.c                      |    2 +-
 sys/external/bsd/acpica/dist/common/dmtable.c                       |   11 +-
 sys/external/bsd/acpica/dist/common/dmtables.c                      |    4 +-
 sys/external/bsd/acpica/dist/common/dmtbdump1.c                     |   23 +-
 sys/external/bsd/acpica/dist/common/dmtbdump2.c                     |    2 +-
 sys/external/bsd/acpica/dist/common/dmtbdump3.c                     |    7 +-
 sys/external/bsd/acpica/dist/common/dmtbinfo1.c                     |   19 +-
 sys/external/bsd/acpica/dist/common/dmtbinfo2.c                     |   26 +-
 sys/external/bsd/acpica/dist/common/dmtbinfo3.c                     |   16 +-
 sys/external/bsd/acpica/dist/common/getopt.c                        |    2 +-
 sys/external/bsd/acpica/dist/compiler/aslallocate.c                 |    2 +-
 sys/external/bsd/acpica/dist/compiler/aslascii.c                    |    2 +-
 sys/external/bsd/acpica/dist/compiler/aslbtypes.c                   |    2 +-
 sys/external/bsd/acpica/dist/compiler/aslcache.c                    |    2 +-
 sys/external/bsd/acpica/dist/compiler/aslcodegen.c                  |   70 +-
 sys/external/bsd/acpica/dist/compiler/aslcstyle.y                   |    2 +-
 sys/external/bsd/acpica/dist/compiler/asldebug.c                    |    2 +-
 sys/external/bsd/acpica/dist/compiler/asldefine.h                   |    5 +-
 sys/external/bsd/acpica/dist/compiler/aslexternal.c                 |    2 +-
 sys/external/bsd/acpica/dist/compiler/aslfold.c                     |    2 +-
 sys/external/bsd/acpica/dist/compiler/aslglobal.h                   |   50 +-
 sys/external/bsd/acpica/dist/compiler/aslhelp.c                     |    2 +-
 sys/external/bsd/acpica/dist/compiler/aslhelpers.y                  |    2 +-
 sys/external/bsd/acpica/dist/compiler/aslhex.c                      |    2 +-
 sys/external/bsd/acpica/dist/compiler/aslkeywords.y                 |    2 +-
 sys/external/bsd/acpica/dist/compiler/asllength.c                   |    2 +-
 sys/external/bsd/acpica/dist/compiler/asllisting.c                  |    9 +-
 sys/external/bsd/acpica/dist/compiler/asllistsup.c                  |    2 +-
 sys/external/bsd/acpica/dist/compiler/aslmain.c                     |   83 ++-
 sys/external/bsd/acpica/dist/compiler/aslmap.c                      |    2 +-
 sys/external/bsd/acpica/dist/compiler/aslmapenter.c                 |    2 +-
 sys/external/bsd/acpica/dist/compiler/aslmapoutput.c                |    2 +-
 sys/external/bsd/acpica/dist/compiler/aslmaputils.c                 |    2 +-
 sys/external/bsd/acpica/dist/compiler/aslmessages.c                 |   13 +-
 sys/external/bsd/acpica/dist/compiler/aslmessages.h                 |    9 +-
 sys/external/bsd/acpica/dist/compiler/aslmethod.c                   |   10 +-
 sys/external/bsd/acpica/dist/compiler/aslnamesp.c                   |    2 +-
 sys/external/bsd/acpica/dist/compiler/asloffset.c                   |   12 +-
 sys/external/bsd/acpica/dist/compiler/asloperands.c                 |   41 +-
 sys/external/bsd/acpica/dist/compiler/aslparseop.c                  |    2 +-
 sys/external/bsd/acpica/dist/compiler/aslparser.y                   |    2 +-
 sys/external/bsd/acpica/dist/compiler/aslpld.c                      |    2 +-
 sys/external/bsd/acpica/dist/compiler/aslprimaries.y                |    2 +-
 sys/external/bsd/acpica/dist/compiler/aslprintf.c                   |    4 +-
 sys/external/bsd/acpica/dist/compiler/aslprune.c                    |    2 +-
 sys/external/bsd/acpica/dist/compiler/aslresource.c                 |    2 +-
 sys/external/bsd/acpica/dist/compiler/aslresources.y                |    6 +-
 sys/external/bsd/acpica/dist/compiler/aslrestype1.c                 |    2 +-
 sys/external/bsd/acpica/dist/compiler/aslrestype1i.c                |    2 +-
 sys/external/bsd/acpica/dist/compiler/aslrestype2.c                 |    2 +-
 sys/external/bsd/acpica/dist/compiler/aslrestype2d.c                |    2 +-
 sys/external/bsd/acpica/dist/compiler/aslrestype2e.c                |    2 +-
 sys/external/bsd/acpica/dist/compiler/aslrestype2q.c                |    2 +-
 sys/external/bsd/acpica/dist/compiler/aslrestype2s.c                |    2 +-
 sys/external/bsd/acpica/dist/compiler/aslrestype2w.c                |    2 +-
 sys/external/bsd/acpica/dist/compiler/aslrules.y                    |    2 +-
 sys/external/bsd/acpica/dist/compiler/aslstartup.c                  |  132 ++---
 sys/external/bsd/acpica/dist/compiler/aslstubs.c                    |    2 +-
 sys/external/bsd/acpica/dist/compiler/aslsupport.y                  |    2 +-
 sys/external/bsd/acpica/dist/compiler/asltokens.y                   |    2 +-
 sys/external/bsd/acpica/dist/compiler/asltransform.c                |    4 +-
 sys/external/bsd/acpica/dist/compiler/asltypes.h                    |   64 ++-
 sys/external/bsd/acpica/dist/compiler/asltypes.y                    |    2 +-
 sys/external/bsd/acpica/dist/compiler/asluuid.c                     |    2 +-
 sys/external/bsd/acpica/dist/compiler/aslxrefout.c                  |    2 +-
 sys/external/bsd/acpica/dist/compiler/cvcompiler.c                  |   12 +-
 sys/external/bsd/acpica/dist/compiler/cvdisasm.c                    |    2 +-
 sys/external/bsd/acpica/dist/compiler/cvparser.c                    |    8 +-
 sys/external/bsd/acpica/dist/compiler/dtcompiler.h                  |    2 +-
 sys/external/bsd/acpica/dist/compiler/dtexpress.c                   |    4 +-
 sys/external/bsd/acpica/dist/compiler/dtio.c                        |    4 +-
 sys/external/bsd/acpica/dist/compiler/dtparser.l                    |    2 +-
 sys/external/bsd/acpica/dist/compiler/dttable1.c                    |   26 +-
 sys/external/bsd/acpica/dist/compiler/dttable2.c                    |    7 +-
 sys/external/bsd/acpica/dist/compiler/dttemplate.c                  |   24 +-
 sys/external/bsd/acpica/dist/compiler/dttemplate.h                  |   78 +-
 sys/external/bsd/acpica/dist/compiler/preprocess.h                  |    2 +-
 sys/external/bsd/acpica/dist/compiler/prexpress.c                   |    2 +-
 sys/external/bsd/acpica/dist/compiler/prmacros.c                    |    2 +-
 sys/external/bsd/acpica/dist/compiler/prparser.l                    |    2 +-
 sys/external/bsd/acpica/dist/compiler/prscan.c                      |    2 +-
 sys/external/bsd/acpica/dist/debugger/dbconvert.c                   |    2 +-
 sys/external/bsd/acpica/dist/debugger/dbfileio.c                    |    2 +-
 sys/external/bsd/acpica/dist/debugger/dbhistry.c                    |    2 +-
 sys/external/bsd/acpica/dist/debugger/dbobject.c                    |    4 +-
 sys/external/bsd/acpica/dist/debugger/dbstats.c                     |    2 +-
 sys/external/bsd/acpica/dist/debugger/dbxface.c                     |    2 +-
 sys/external/bsd/acpica/dist/disassembler/dmdeferred.c              |    2 +-
 sys/external/bsd/acpica/dist/disassembler/dmnames.c                 |   10 +-
 sys/external/bsd/acpica/dist/disassembler/dmopcode.c                |    2 +-
 sys/external/bsd/acpica/dist/disassembler/dmresrcs.c                |    4 +-
 sys/external/bsd/acpica/dist/disassembler/dmutils.c                 |    2 +-
 sys/external/bsd/acpica/dist/dispatcher/dsargs.c                    |    2 +-
 sys/external/bsd/acpica/dist/dispatcher/dsdebug.c                   |    2 +-
 sys/external/bsd/acpica/dist/dispatcher/dsfield.c                   |    8 +-
 sys/external/bsd/acpica/dist/dispatcher/dsinit.c                    |    4 +-
 sys/external/bsd/acpica/dist/dispatcher/dsmethod.c                  |    2 +-
 sys/external/bsd/acpica/dist/dispatcher/dsmthdat.c                  |    2 +-
 sys/external/bsd/acpica/dist/dispatcher/dsobject.c                  |    3 +-
 sys/external/bsd/acpica/dist/dispatcher/dswexec.c                   |    2 +-
 sys/external/bsd/acpica/dist/dispatcher/dswload.c                   |    2 +-
 sys/external/bsd/acpica/dist/dispatcher/dswload2.c                  |    4 +-
 sys/external/bsd/acpica/dist/dispatcher/dswscope.c                  |    2 +-
 sys/external/bsd/acpica/dist/dispatcher/dswstate.c                  |    2 +-
 sys/external/bsd/acpica/dist/events/evevent.c                       |    2 +-
 sys/external/bsd/acpica/dist/events/evglock.c                       |    2 +-
 sys/external/bsd/acpica/dist/events/evgpe.c                         |   12 +-
 sys/external/bsd/acpica/dist/events/evgpeblk.c                      |    2 +-
 sys/external/bsd/acpica/dist/events/evgpeinit.c                     |    6 +-
 sys/external/bsd/acpica/dist/events/evgpeutil.c                     |    2 +-
 sys/external/bsd/acpica/dist/events/evhandler.c                     |    2 +-
 sys/external/bsd/acpica/dist/events/evmisc.c                        |    2 +-
 sys/external/bsd/acpica/dist/events/evsci.c                         |    2 +-
 sys/external/bsd/acpica/dist/events/evxfevnt.c                      |    2 +-
 sys/external/bsd/acpica/dist/events/evxfgpe.c                       |    6 +-
 sys/external/bsd/acpica/dist/events/evxfregn.c                      |    2 +-
 sys/external/bsd/acpica/dist/executer/exconcat.c                    |    2 +-
 sys/external/bsd/acpica/dist/executer/exconvrt.c                    |    4 +-
 sys/external/bsd/acpica/dist/executer/excreate.c                    |    2 +-
 sys/external/bsd/acpica/dist/executer/exfield.c                     |   64 ++-
 sys/external/bsd/acpica/dist/executer/exfldio.c                     |    2 +-
 sys/external/bsd/acpica/dist/executer/exmisc.c                      |    2 +-
 sys/external/bsd/acpica/dist/executer/exmutex.c                     |    2 +-
 sys/external/bsd/acpica/dist/executer/exnames.c                     |    8 +-
 sys/external/bsd/acpica/dist/executer/exoparg1.c                    |    2 +-
 sys/external/bsd/acpica/dist/executer/exoparg2.c                    |    4 +-
 sys/external/bsd/acpica/dist/executer/exoparg3.c                    |    2 +-
 sys/external/bsd/acpica/dist/executer/exoparg6.c                    |    2 +-
 sys/external/bsd/acpica/dist/executer/exprep.c                      |    2 +-
 sys/external/bsd/acpica/dist/executer/exregion.c                    |    2 +-
 sys/external/bsd/acpica/dist/executer/exresnte.c                    |    2 +-
 sys/external/bsd/acpica/dist/executer/exresolv.c                    |    2 +-
 sys/external/bsd/acpica/dist/executer/exresop.c                     |    2 +-
 sys/external/bsd/acpica/dist/executer/exserial.c                    |    4 +-
 sys/external/bsd/acpica/dist/executer/exstore.c                     |    2 +-
 sys/external/bsd/acpica/dist/executer/exstoren.c                    |    2 +-
 sys/external/bsd/acpica/dist/executer/exstorob.c                    |    2 +-
 sys/external/bsd/acpica/dist/executer/exsystem.c                    |    2 +-
 sys/external/bsd/acpica/dist/executer/extrace.c                     |    2 +-
 sys/external/bsd/acpica/dist/executer/exutils.c                     |    5 +-
 sys/external/bsd/acpica/dist/generate/unix/iasl/Makefile            |    2 +-
 sys/external/bsd/acpica/dist/hardware/hwacpi.c                      |    2 +-
 sys/external/bsd/acpica/dist/hardware/hwgpe.c                       |    2 +-
 sys/external/bsd/acpica/dist/hardware/hwpci.c                       |    2 +-
 sys/external/bsd/acpica/dist/hardware/hwtimer.c                     |    2 +-
 sys/external/bsd/acpica/dist/hardware/hwvalid.c                     |    2 +-
 sys/external/bsd/acpica/dist/hardware/hwxface.c                     |    2 +-
 sys/external/bsd/acpica/dist/include/acbuffer.h                     |    2 +-
 sys/external/bsd/acpica/dist/include/acclib.h                       |    4 +-
 sys/external/bsd/acpica/dist/include/accommon.h                     |    2 +-
 sys/external/bsd/acpica/dist/include/acconfig.h                     |    4 +-
 sys/external/bsd/acpica/dist/include/acconvert.h                    |    2 +-
 sys/external/bsd/acpica/dist/include/acdispat.h                     |    2 +-
 sys/external/bsd/acpica/dist/include/acevents.h                     |    2 +-
 sys/external/bsd/acpica/dist/include/achware.h                      |    2 +-
 sys/external/bsd/acpica/dist/include/acnames.h                      |    2 +-
 sys/external/bsd/acpica/dist/include/acobject.h                     |    3 +-
 sys/external/bsd/acpica/dist/include/acopcode.h                     |    2 +-
 sys/external/bsd/acpica/dist/include/acparser.h                     |    2 +-
 sys/external/bsd/acpica/dist/include/acpi.h                         |    2 +-
 sys/external/bsd/acpica/dist/include/acpredef.h                     |   17 +-
 sys/external/bsd/acpica/dist/include/acrestyp.h                     |   16 +-
 sys/external/bsd/acpica/dist/include/acstruct.h                     |    2 +-
 sys/external/bsd/acpica/dist/include/actbinfo.h                     |    9 +-
 sys/external/bsd/acpica/dist/include/actbl.h                        |    6 +-
 sys/external/bsd/acpica/dist/include/actbl2.h                       |   17 +-
 sys/external/bsd/acpica/dist/include/actbl3.h                       |   25 +-
 sys/external/bsd/acpica/dist/include/acuuid.h                       |    2 +-
 sys/external/bsd/acpica/dist/include/amlcode.h                      |    2 +-
 sys/external/bsd/acpica/dist/include/amlresrc.h                     |    2 +-
 sys/external/bsd/acpica/dist/include/platform/accygwin.h            |    2 +-
 sys/external/bsd/acpica/dist/include/platform/acdragonfly.h         |    2 +-
 sys/external/bsd/acpica/dist/include/platform/acdragonflyex.h       |    2 +-
 sys/external/bsd/acpica/dist/include/platform/acefi.h               |    4 +-
 sys/external/bsd/acpica/dist/include/platform/acefiex.h             |    2 +-
 sys/external/bsd/acpica/dist/include/platform/acenv.h               |    2 +-
 sys/external/bsd/acpica/dist/include/platform/acenvex.h             |    2 +-
 sys/external/bsd/acpica/dist/include/platform/acfreebsd.h           |    2 +-
 sys/external/bsd/acpica/dist/include/platform/acgccex.h             |    2 +-
 sys/external/bsd/acpica/dist/include/platform/achaiku.h             |    2 +-
 sys/external/bsd/acpica/dist/include/platform/acintel.h             |    2 +-
 sys/external/bsd/acpica/dist/include/platform/aclinux.h             |    7 +-
 sys/external/bsd/acpica/dist/include/platform/aclinuxex.h           |    2 +-
 sys/external/bsd/acpica/dist/include/platform/acmacosx.h            |    2 +-
 sys/external/bsd/acpica/dist/include/platform/acmsvc.h              |    2 +-
 sys/external/bsd/acpica/dist/include/platform/acmsvcex.h            |    2 +-
 sys/external/bsd/acpica/dist/include/platform/acos2.h               |    2 +-
 sys/external/bsd/acpica/dist/include/platform/acqnx.h               |    2 +-
 sys/external/bsd/acpica/dist/include/platform/acwin.h               |    2 +-
 sys/external/bsd/acpica/dist/include/platform/acwin64.h             |    2 +-
 sys/external/bsd/acpica/dist/namespace/nsalloc.c                    |    7 +-
 sys/external/bsd/acpica/dist/namespace/nsarguments.c                |    2 +-
 sys/external/bsd/acpica/dist/namespace/nsconvert.c                  |    2 +-
 sys/external/bsd/acpica/dist/namespace/nsdumpdv.c                   |    2 +-
 sys/external/bsd/acpica/dist/namespace/nsload.c                     |    4 +-
 sys/external/bsd/acpica/dist/namespace/nsnames.c                    |   10 +-
 sys/external/bsd/acpica/dist/namespace/nsobject.c                   |    7 +-
 sys/external/bsd/acpica/dist/namespace/nsparse.c                    |   74 +--
 sys/external/bsd/acpica/dist/namespace/nspredef.c                   |    2 +-
 sys/external/bsd/acpica/dist/namespace/nsprepkg.c                   |    2 +-
 sys/external/bsd/acpica/dist/namespace/nsrepair.c                   |    4 +-
 sys/external/bsd/acpica/dist/namespace/nssearch.c                   |    2 +-
 sys/external/bsd/acpica/dist/namespace/nsutils.c                    |   16 +-
 sys/external/bsd/acpica/dist/namespace/nswalk.c                     |    2 +-
 sys/external/bsd/acpica/dist/namespace/nsxfobj.c                    |    2 +-
 sys/external/bsd/acpica/dist/os_specific/service_layers/osbsdtbl.c  |   32 +-
 sys/external/bsd/acpica/dist/os_specific/service_layers/osgendbg.c  |    2 +-
 sys/external/bsd/acpica/dist/os_specific/service_layers/osunixdir.c |    2 +-
 sys/external/bsd/acpica/dist/os_specific/service_layers/osunixmap.c |    2 +-
 sys/external/bsd/acpica/dist/os_specific/service_layers/osunixxf.c  |    2 +-
 sys/external/bsd/acpica/dist/os_specific/service_layers/oswindir.c  |    2 +-
 sys/external/bsd/acpica/dist/os_specific/service_layers/oswintbl.c  |   15 +-
 sys/external/bsd/acpica/dist/os_specific/service_layers/oswinxf.c   |    4 +-
 sys/external/bsd/acpica/dist/parser/psargs.c                        |   10 +-
 sys/external/bsd/acpica/dist/parser/psloop.c                        |  197 +--------
 sys/external/bsd/acpica/dist/parser/psobject.c                      |    2 +-
 sys/external/bsd/acpica/dist/parser/psparse.c                       |    6 +-
 sys/external/bsd/acpica/dist/parser/psscope.c                       |    2 +-
 sys/external/bsd/acpica/dist/parser/pstree.c                        |    2 +-
 sys/external/bsd/acpica/dist/parser/psutils.c                       |    2 +-
 sys/external/bsd/acpica/dist/parser/pswalk.c                        |    2 +-
 sys/external/bsd/acpica/dist/parser/psxface.c                       |    2 +-
 sys/external/bsd/acpica/dist/resources/rsaddr.c                     |    2 +-
 sys/external/bsd/acpica/dist/resources/rscalc.c                     |    2 +-
 sys/external/bsd/acpica/dist/resources/rscreate.c                   |    2 +-
 sys/external/bsd/acpica/dist/resources/rsinfo.c                     |    2 +-
 sys/external/bsd/acpica/dist/resources/rsio.c                       |    2 +-
 sys/external/bsd/acpica/dist/resources/rsirq.c                      |   10 +-
 sys/external/bsd/acpica/dist/resources/rslist.c                     |    2 +-
 sys/external/bsd/acpica/dist/resources/rsmemory.c                   |    2 +-
 sys/external/bsd/acpica/dist/resources/rsmisc.c                     |    2 +-
 sys/external/bsd/acpica/dist/resources/rsserial.c                   |   12 +-
 sys/external/bsd/acpica/dist/tables/tbfind.c                        |    8 +-
 sys/external/bsd/acpica/dist/tables/tbprint.c                       |   12 +-
 sys/external/bsd/acpica/dist/tests/misc/grammar.asl                 |   12 +-
 sys/external/bsd/acpica/dist/tools/acpibin/abcompare.c              |    2 +-
 sys/external/bsd/acpica/dist/tools/acpibin/abmain.c                 |    2 +-
 sys/external/bsd/acpica/dist/tools/acpibin/acpibin.h                |    2 +-
 sys/external/bsd/acpica/dist/tools/acpidump/acpidump.h              |    2 +-
 sys/external/bsd/acpica/dist/tools/acpidump/apdump.c                |   10 +-
 sys/external/bsd/acpica/dist/tools/acpidump/apmain.c                |    2 +-
 sys/external/bsd/acpica/dist/tools/acpiexec/aecommon.h              |    6 +-
 sys/external/bsd/acpica/dist/tools/acpiexec/aeexception.c           |    4 +-
 sys/external/bsd/acpica/dist/tools/acpiexec/aeexec.c                |    2 +-
 sys/external/bsd/acpica/dist/tools/acpiexec/aehandlers.c            |    2 +-
 sys/external/bsd/acpica/dist/tools/acpiexec/aeinitfile.c            |    2 +-
 sys/external/bsd/acpica/dist/tools/acpiexec/aeinstall.c             |    3 +-
 sys/external/bsd/acpica/dist/tools/acpiexec/aemain.c                |   20 +-
 sys/external/bsd/acpica/dist/tools/acpiexec/aeregion.c              |   21 +-
 sys/external/bsd/acpica/dist/tools/acpiexec/aetables.c              |   24 +-
 sys/external/bsd/acpica/dist/tools/acpiexec/aetables.h              |    2 +-
 sys/external/bsd/acpica/dist/tools/acpiexec/aetests.c               |   62 ++-
 sys/external/bsd/acpica/dist/tools/acpihelp/acpihelp.h              |    2 +-
 sys/external/bsd/acpica/dist/tools/acpihelp/ahaml.c                 |    2 +-
 sys/external/bsd/acpica/dist/tools/acpihelp/ahamlops.c              |    2 +-
 sys/external/bsd/acpica/dist/tools/acpihelp/ahasl.c                 |    2 +-
 sys/external/bsd/acpica/dist/tools/acpihelp/ahaslkey.c              |    2 +-
 sys/external/bsd/acpica/dist/tools/acpihelp/ahaslops.c              |    2 +-
 sys/external/bsd/acpica/dist/tools/acpihelp/ahdecode.c              |    8 +-
 sys/external/bsd/acpica/dist/tools/acpihelp/ahgrammar.c             |    2 +-
 sys/external/bsd/acpica/dist/tools/acpihelp/ahmain.c                |    2 +-
 sys/external/bsd/acpica/dist/tools/acpinames/acpinames.h            |    2 +-
 sys/external/bsd/acpica/dist/tools/acpinames/anmain.c               |    4 +-
 sys/external/bsd/acpica/dist/tools/acpinames/anstubs.c              |    2 +-
 sys/external/bsd/acpica/dist/tools/acpinames/antables.c             |   16 +-
 sys/external/bsd/acpica/dist/tools/acpisrc/acpisrc.h                |    2 +-
 sys/external/bsd/acpica/dist/tools/acpisrc/ascase.c                 |    2 +-
 sys/external/bsd/acpica/dist/tools/acpisrc/asconvrt.c               |    4 +-
 sys/external/bsd/acpica/dist/tools/acpisrc/asfile.c                 |    2 +-
 sys/external/bsd/acpica/dist/tools/acpisrc/asmain.c                 |    2 +-
 sys/external/bsd/acpica/dist/tools/acpisrc/asremove.c               |    2 +-
 sys/external/bsd/acpica/dist/tools/acpisrc/astable.c                |   11 +-
 sys/external/bsd/acpica/dist/tools/acpisrc/asutils.c                |    2 +-
 sys/external/bsd/acpica/dist/tools/acpixtract/acpixtract.h          |    2 +-
 sys/external/bsd/acpica/dist/tools/acpixtract/axmain.c              |    2 +-
 sys/external/bsd/acpica/dist/tools/acpixtract/axutils.c             |    8 +-
 sys/external/bsd/acpica/dist/tools/efihello/efihello.c              |    2 +-
 sys/external/bsd/acpica/dist/tools/examples/examples.c              |    2 +-
 sys/external/bsd/acpica/dist/tools/examples/examples.h              |    2 +-
 sys/external/bsd/acpica/dist/tools/examples/exstubs.c               |    2 +-
 sys/external/bsd/acpica/dist/tools/examples/extables.c              |    2 +-
 sys/external/bsd/acpica/dist/utilities/utaddress.c                  |    2 +-
 sys/external/bsd/acpica/dist/utilities/utalloc.c                    |    2 +-
 sys/external/bsd/acpica/dist/utilities/utascii.c                    |    4 +-
 sys/external/bsd/acpica/dist/utilities/utbuffer.c                   |    2 +-
 sys/external/bsd/acpica/dist/utilities/utclib.c                     |    6 +-
 sys/external/bsd/acpica/dist/utilities/utcopy.c                     |    2 +-
 sys/external/bsd/acpica/dist/utilities/uterror.c                    |   11 +-
 sys/external/bsd/acpica/dist/utilities/utexcep.c                    |    2 +-
 sys/external/bsd/acpica/dist/utilities/uthex.c                      |    2 +-
 sys/external/bsd/acpica/dist/utilities/utids.c                      |    2 +-
 sys/external/bsd/acpica/dist/utilities/utinit.c                     |    2 +-
 sys/external/bsd/acpica/dist/utilities/utlock.c                     |    2 +-
 sys/external/bsd/acpica/dist/utilities/utmath.c                     |    2 +-
 sys/external/bsd/acpica/dist/utilities/utownerid.c                  |    2 +-
 sys/external/bsd/acpica/dist/utilities/utpredef.c                   |    6 +-
 sys/external/bsd/acpica/dist/utilities/utresdecode.c                |    2 +-
 sys/external/bsd/acpica/dist/utilities/utresrc.c                    |    2 +-
 sys/external/bsd/acpica/dist/utilities/utstate.c                    |    2 +-
 sys/external/bsd/acpica/dist/utilities/utstring.c                   |    8 +-
 sys/external/bsd/acpica/dist/utilities/utstrsuppt.c                 |    2 +-
 sys/external/bsd/acpica/dist/utilities/utstrtoul64.c                |    2 +-
 sys/external/bsd/acpica/dist/utilities/utxface.c                    |    2 +-
 sys/external/bsd/acpica/dist/utilities/utxferror.c                  |   55 ++-
 sys/external/bsd/acpica/dist/utilities/utxfinit.c                   |    2 +-
 sys/external/bsd/acpica/dist/utilities/utxfmutex.c                  |    2 +-
 319 files changed, 1454 insertions(+), 1055 deletions(-)

diffs (truncated from 7946 to 300 lines):

diff -r aca38d5fc404 -r d69ac719ab34 sys/external/bsd/acpica/dist/changes.txt
--- a/sys/external/bsd/acpica/dist/changes.txt  Sun Apr 28 21:36:19 2019 +0000
+++ b/sys/external/bsd/acpica/dist/changes.txt  Mon Apr 29 00:29:53 2019 +0000
@@ -1,4 +1,220 @@
 ----------------------------------------
+05 April 2019. Summary of changes for version 20190405:
+
+
+1) ACPICA kernel-resident subsystem:
+
+Event Manager: History: Commit 18996f2db918 ("ACPICA: Events: Stop 
+unconditionally clearing ACPI IRQs during suspend/resume") was added 
+earlier to stop clearing of event status bits unconditionally on suspend 
+and resume paths. Though this change fixed an issue on suspend path, it 
+introduced regressions on several resume paths. In the case of S0ix, 
+events are enabled as part of device suspend path. If status bits for the 
+events are set when they are enabled, it could result in premature wake 
+from S0ix. If status is cleared for any event that is being enabled so 
+that any stale events are cleared out. In case of S0ix, events are 
+enabled as part of device suspend path. If status bits for the events are 
+set when they are enabled, it could result in premature wake from S0ix.
+
+This change ensures that status is cleared for any event that is being 
+enabled so that any stale events are cleared out.
+
+
+2) iASL Compiler/Disassembler and ACPICA tools:
+
+iASL: Implemented an enhanced multiple file compilation that combines 
+named objects from all input files to a single namespace. With this 
+feature, any unresolved external declarations as well as duplicate named 
+object declarations can be detected during compilation rather than 
+generating errors much later at runtime. The following commands are 
+examples that utilize this feature:
+    iasl dsdt.asl ssdt.asl
+    iasl dsdt.asl ssdt1.asl ssdt2.asl
+    iasl dsdt.asl ssdt*.asl
+
+----------------------------------------
+29 March 2019. Summary of changes for version 20190329:
+
+
+1) ACPICA kernel-resident subsystem:
+
+Namespace support: Remove the address nodes from global list after method 
+termination. The global address list contains pointers to namespace nodes 
+that represent Operation Regions. This change properly removes Operation 
+Region namespace nodes that are declared dynamically during method 
+execution.
+
+Linux: Use a different debug default than ACPICA. There was a divergence 
+between Linux and the ACPICA codebases. In order to resolve this 
+divergence, Linux now declares its own debug default in aclinux.h
+
+Renamed some internal macros to improve code understanding and 
+maintenance. The macros below all operate on single 4-character ACPI 
+NameSegs, not generic strings (old -> new):
+    ACPI_NAME_SIZE    -> ACPI_NAMESEG_SIZE
+    ACPI_COMPARE_NAME -> ACPI_COMPARE_NAMESEG
+    ACPI_MOVE_NAME    -> ACPI_COPY_NAMESEG
+
+Fix for missing comma in array declaration for the AcpiGbl_GenericNotify 
+table.
+
+Test suite: Update makefiles, add PCC operation region support
+
+
+2) iASL Compiler/Disassembler and Tools:
+
+iASL: Implemented additional illegal forward reference detection. Now 
+detect and emit an error upon detection of a forward reference from a 
+Field to an Operation Region. This will fail at runtime if allowed to 
+pass the compiler.
+
+AcpiExec: Add an address list check for dynamic Operation Regions. This 
+feature performs a sanity test for each node the global address list. 
+This is done in order to ensure that all dynamic operation regions are 
+properly removed from the global address list and no dangling pointers 
+are left behind.
+
+Disassembler: Improved generation of resource pathnames. This change 
+improves the code that generates resource descriptor and resource tag 
+pathnames. The original code used a bunch of str* C library functions 
+that caused warnings on some compilers.
+
+iASL: Removed some uses of strncpy and replaced with memmove. The strncpy 
+function can overwrite buffers if the calling code is not very careful. 
+In the case of generating a module/table header, use of memmove is a 
+better implementation.
+
+
+3) Status of new features that have not been completed at this time:
+
+iASL: Implementing an enhanced multiple file compilation into a single 
+namespace feature (Status): This feature will be released soon, and 
+allows multiple ASL files to be compiled into the same single namespace. 
+By doing so, any unresolved external declarations as well as duplicate 
+named object declarations can be detected during compilation (rather than 
+later during runtime). The following commands are examples that utilize 
+this feature:
+    iasl dsdt.asl ssdt.asl
+    iasl dsdt.asl ssdt1.asl ssdt2.asl
+    iasl dsdt.asl ssdt*.asl
+
+ASL tutorial status: Feedback is being gathered internally and the 
+current plan is to publish this tutorial on the ACPICA website after a 
+final review by a tech writer.
+
+----------------------------------------
+15 February 2019. Summary of changes for version 20190215:
+
+
+0) Support for ACPI specification version 6.3:
+
+Add PCC operation region support for the AML interpreter. This adds PCC 
+operation region support in the AML interpreter and a default handler for 
+acpiexec. The change also renames the PCC region address space keyword to 
+PlatformCommChannel.
+
+Support for new predefined methods _NBS, _NCH, _NIC, _NIH, and _NIG. 
+These methods provide OSPM with health information and device boot 
+status.
+
+PDTT: Add TriggerOrder to the PCC Identifier structure. The field value 
+defines if the trigger needs to be invoked by OSPM before or at the end 
+of kernel crash dump processing/handling operation.
+
+SRAT: Add Generic Affinity Structure subtable. This subtable in the SRAT 
+is used for describing devices such as heterogeneous processors, 
+accelerators, GPUs, and IO devices with integrated compute or DMA 
+engines.
+
+MADT: Add support for statistical profiling in GICC. Statistical 
+profiling extension (SPE) is an architecture-specific feature for ARM.
+
+MADT: Add online capable flag. If this bit is set, system hardware 
+supports enabling this processor during OS runtime.
+
+New Error Disconnect Recover Notification value. There are a number of 
+scenarios where system Firmware in collaboration with hardware may 
+disconnect one or more devices from the rest of the system for purposes 
+of error containment. Firmware can use this new notification value to 
+alert OSPM of such a removal.
+
+PPTT: New additional fields in Processor Structure Flags. These flags 
+provide more information about processor topology.
+
+NFIT/Disassembler: Change a field name from "Address Range" to "Region 
+Type".
+
+HMAT updates: make several existing fields to be reserved as well as 
+rename subtable 0 to "memory proximity domain attributes".
+
+GTDT: Add support for new GTDT Revision 3. This revision adds information 
+for the EL2 timer.
+
+iASL: Update the HMAT example template for new fields.
+
+iASL: Add support for the new revision of the GTDT (Rev 3).
+
+
+1) ACPICA kernel-resident subsystem:
+
+AML Parser: fix the main AML parse loop to correctly skip erroneous 
+extended opcodes. AML opcodes come in two lengths: 1-byte opcodes and 2-
+byte extended opcodes. If an error occurs during an AML table load, the 
+AML parser will continue loading the table by skipping the offending 
+opcode. This implements a "load table at any cost" philosophy.
+
+
+2) iASL Compiler/Disassembler and Tools:
+
+iASL: Add checks for illegal object references, such as a reference 
+outside of method to an object within a method. Such an object is only 
+temporary.
+
+iASL: Emit error for creation of a zero-length operation region. Such a 
+region is rather pointless. If encountered, a runtime error is also 
+implemented in the interpeter.
+
+Debugger: Fix a possible fault with the "test objects" command.
+
+iASL: Makefile: support parent directory filenames containing embedded 
+spaces.
+
+iASL: Update the TPM2 template to revision 4.
+
+iASL: Add the ability to report specific warnings or remarks as errors.
+
+Disassembler: Disassemble OEMx tables as actual AML byte code. 
+Previously, these tables were treated as "unknown table".
+
+iASL: Add definition and disassembly for TPM2 revision 3.
+
+iASL: Add support for TPM2 rev 3 compilation.
+
+
+----------------------------------------
+08 January 2019. Summary of changes for version 20190108:
+
+
+1) ACPICA kernel-resident subsystem:
+
+Updated all copyrights to 2019. This affects all source code modules.
+
+
+2) iASL Compiler/Disassembler and Tools:
+
+ASL test suite (ASLTS): Updated all copyrights to 2019.
+
+Tools: Updated all signon copyrights to 2019.
+
+AcpiExec: Added a new option to dump extra information concerning any 
+memory leaks detected by the internal object/cache tracking mechanism. -
+va
+
+iASL: Updated the table template for the TPM2 table to the newest version 
+of the table (Revision 4)
+
+
+----------------------------------------
 13 December 2018. Summary of changes for version 20181213:
 
 
@@ -1193,7 +1409,7 @@
 
 Debugger: Fixed an AML interpreter mutex issue during the single stepping 
 of control methods. If certain debugger commands are executed during 
-stepping, a mutex aquire/release error could occur. Lv Zheng.
+stepping, a mutex acquire/release error could occur. Lv Zheng.
 
 Fixed some issues generating ACPICA with the Intel C compiler by 
 restoring the original behavior and compiler-specific include file in 
@@ -6735,7 +6951,7 @@
 be 
 configured on a per-compiler basis. Lin Ming.
 
-Made the system global AcpiGbl_SystemAwakeAndRunning publically 
+Made the system global AcpiGbl_SystemAwakeAndRunning publicly
 available. 
 Added an extern for this boolean in acpixf.h. Some hosts utilize this 
 value 
@@ -11402,9 +11618,9 @@
 Removed the length limit (200) on string objects as per the upcoming ACPI 
 3.0A specification. This affects the following areas of the interpreter: 
 1) 
-any implicit conversion of a Buffer to a String, 2) a String object 
+any implicit conversion of a Buffer to a String, 2) a String object
 result 
-of the ASL Concatentate operator, 3) the String object result of the ASL 
+of the ASL Concatenate operator, 3) the String object result of the ASL
 ToString operator.
 
 Fixed a problem in the Windows OS interface layer (OSL) where a 
@@ -13560,7 +13776,7 @@
 Renamed OSD_HANDLER to ACPI_OSD_HANDLER, and OSD_EXECUTION_CALLBACK to 
 ACPI_OSD_EXEC_CALLBACK for consistency with other ACPI symbols.  Also, 
 these 
-symbols are lowercased by the latest version of the AcpiSrc tool.
+symbols are lowercase by the latest version of the AcpiSrc tool.
 
 The prototypes for the PCI interfaces in acpiosxf.h have been updated to 
 rename "Register" to simply "Reg" to prevent certain compilers from 
@@ -14932,8 +15148,8 @@
 Removed the non-Linux SourceSafe module revision number from each
 module header.
 
-Completed major overhaul of symbols to be lowercased for linux.
-Doubled the number of symbols that are lowercased.
+Completed major overhaul of symbols to be lowercase for linux.
+Doubled the number of symbols that are lowercase.
 
 Fixed a problem where identifiers within procedure headers and
 within quotes were not fully lower cased (they were left with a
@@ -16429,7 +16645,7 @@
 Implemented support in AcpiLoadTable to allow loading of FACS and
 FADT tables.
 
-Suport for the now-obsolete interim 0.71 64-bit ACPI tables has
+Support for the now-obsolete interim 0.71 64-bit ACPI tables has
 been removed.  All 64-bit platforms should be migrated to the ACPI
 2.0 tables.  The actbl71.h header has been removed from the source
 tree.
@@ -16779,7 +16995,7 @@
 
 Added basic PCI Interrupt Routing Table (PRT) support for IA32
 (acpi_pci.c), and unified the PRT code for IA32 and IA64.  This
-version supports both static and dyanmic PRT entries, but dynamic
+version supports both static and dynamic PRT entries, but dynamic
 entries are treated as if they were static (not yet
 reconfigurable).  Architecture- specific code to use this data is
 absent on IA32 but should be available shortly.
@@ -16868,7 +17084,7 @@
 
 Added additional typechecking for Fields within restricted access
 Operation Regions.  All fields within EC and CMOS regions must be
-declared with ByteAcc. All fields withing SMBus regions must be
+declared with ByteAcc. All fields within SMBus regions must be
 declared with the BufferAcc access type.
 




Home | Main Index | Thread Index | Old Index