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 31 March 2021. Summary of chang...



details:   https://anonhg.NetBSD.org/src/rev/6a24d1bebd04
branches:  trunk
changeset: 954271:6a24d1bebd04
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Apr 03 17:43:31 2021 +0000

description:
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.

diffstat:

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

diffs (truncated from 11705 to 300 lines):

diff -r afac07bf686d -r 6a24d1bebd04 sys/external/bsd/acpica/dist/changes.txt
--- a/sys/external/bsd/acpica/dist/changes.txt  Sat Apr 03 17:02:31 2021 +0000
+++ b/sys/external/bsd/acpica/dist/changes.txt  Sat Apr 03 17:43:31 2021 +0000
@@ -1,5 +1,101 @@
 ----------------------------------------
-
+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.
+
+----------------------------------------
+05 January 2021. Summary of changes for version 20210105:
+
+This release is available at https://acpica.org/downloads
+
+
+1) ACPICA kernel-resident subsystem:
+
+Updated all copyrights to 2021. This affects all ACPICA source code 
+modules.
+
+2) iASL Compiler/Disassembler and ACPICA tools:
+
+ASL test suite (ASLTS): Updated all copyrights to 2021.
+
+Tools and utilities: Updated all signon copyrights to 2021.
+
+iASL Table Compiler: Removed support for obsolete ACPI tables: VRTC, 
+MTMR. Al Stone.
+
+
+----------------------------------------
+17 December 2020. Summary of changes for version 20201217:
+
+This release is available at https://acpica.org/downloads
+
+
+1) ACPICA kernel-resident subsystem:
+
+Note: The implementation of ACPI 6.4 is underway, and is expected to be 
+mostly finished next month, when ACPI 6.4 is released.
+
+From qzed:- fixed-ae-class-macros. Fix exception code class checks. Added 
+several new macros, such as ACPI_CNTL_EXCEPTION(Status) in order to 
+enable this.
+
+AcpiExec/iASL/AcpiHelp: Added a few changes for support of GCC 10.2.0. 
+These included a few casts, as well as a null pointer check.
+
+Fix -Wfallthrough: GCC 7.1 gained -Wimplicit-fallthrough to warn on 
+implicit fallthrough, as well as __attribute__((__fallthrough__)) and 
+comments to explicitly denote that cases of fallthrough were intentional. 
+Clang also supports this warning and statement attribute, but not the 
+comment form. Added a new macro, ACPI_FALLTHROUGH to support this feature 
+of GCC. With assistance from @nickdesaulniers. 
+
+2) iASL Compiler/Disassembler and ACPICA tools: 
+
+Added improvement to method call analysis by saving the return type and 
+relaxing certain cases of type checking.
+
+iASL Table Compiler: Improved info messages. Added a message to the -T 
+option for when the default template (DSDT) is used.
+Also added a note for when multiple SSDTs are created with a DSDT that 
+the SSDTs are created in the same file as the DSDT.
+
+
+----------------------------------------
 
 13 November 2020. Summary of changes for version 20201113:
 
diff -r afac07bf686d -r 6a24d1bebd04 sys/external/bsd/acpica/dist/common/acfileio.c
--- a/sys/external/bsd/acpica/dist/common/acfileio.c    Sat Apr 03 17:02:31 2021 +0000
+++ b/sys/external/bsd/acpica/dist/common/acfileio.c    Sat Apr 03 17:43:31 2021 +0000
@@ -5,7 +5,7 @@
  *****************************************************************************/
 
 /*
- * Copyright (C) 2000 - 2020, Intel Corp.
+ * Copyright (C) 2000 - 2021, Intel Corp.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -30,7 +30,7 @@
  * NO WARRANTY
  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
  * HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
@@ -451,6 +451,9 @@
 
     if (Actual < sizeof (ACPI_TABLE_HEADER))
     {
+        fprintf (stderr,
+            "Could not read entire table header: Actual %u, Requested %u\n",
+            (UINT32) Actual, (UINT32) sizeof (ACPI_TABLE_HEADER));
         return (AE_ERROR);
     }
 
diff -r afac07bf686d -r 6a24d1bebd04 sys/external/bsd/acpica/dist/common/acgetline.c
--- a/sys/external/bsd/acpica/dist/common/acgetline.c   Sat Apr 03 17:02:31 2021 +0000
+++ b/sys/external/bsd/acpica/dist/common/acgetline.c   Sat Apr 03 17:43:31 2021 +0000
@@ -5,7 +5,7 @@
  *****************************************************************************/
 
 /*
- * Copyright (C) 2000 - 2020, Intel Corp.
+ * Copyright (C) 2000 - 2021, Intel Corp.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -30,7 +30,7 @@
  * NO WARRANTY
  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
  * HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
diff -r afac07bf686d -r 6a24d1bebd04 sys/external/bsd/acpica/dist/common/adfile.c
--- a/sys/external/bsd/acpica/dist/common/adfile.c      Sat Apr 03 17:02:31 2021 +0000
+++ b/sys/external/bsd/acpica/dist/common/adfile.c      Sat Apr 03 17:43:31 2021 +0000
@@ -5,7 +5,7 @@
  *****************************************************************************/
 
 /*
- * Copyright (C) 2000 - 2020, Intel Corp.
+ * Copyright (C) 2000 - 2021, Intel Corp.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -30,7 +30,7 @@
  * NO WARRANTY
  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
  * HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
diff -r afac07bf686d -r 6a24d1bebd04 sys/external/bsd/acpica/dist/common/adisasm.c
--- a/sys/external/bsd/acpica/dist/common/adisasm.c     Sat Apr 03 17:02:31 2021 +0000
+++ b/sys/external/bsd/acpica/dist/common/adisasm.c     Sat Apr 03 17:43:31 2021 +0000
@@ -5,7 +5,7 @@
  *****************************************************************************/
 
 /*
- * Copyright (C) 2000 - 2020, Intel Corp.
+ * Copyright (C) 2000 - 2021, Intel Corp.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -30,7 +30,7 @@
  * NO WARRANTY
  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
  * HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
diff -r afac07bf686d -r 6a24d1bebd04 sys/external/bsd/acpica/dist/common/adwalk.c
--- a/sys/external/bsd/acpica/dist/common/adwalk.c      Sat Apr 03 17:02:31 2021 +0000
+++ b/sys/external/bsd/acpica/dist/common/adwalk.c      Sat Apr 03 17:43:31 2021 +0000
@@ -5,7 +5,7 @@
  *****************************************************************************/
 
 /*
- * Copyright (C) 2000 - 2020, Intel Corp.
+ * Copyright (C) 2000 - 2021, Intel Corp.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -30,7 +30,7 @@
  * NO WARRANTY
  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
  * HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
diff -r afac07bf686d -r 6a24d1bebd04 sys/external/bsd/acpica/dist/common/ahids.c
--- a/sys/external/bsd/acpica/dist/common/ahids.c       Sat Apr 03 17:02:31 2021 +0000
+++ b/sys/external/bsd/acpica/dist/common/ahids.c       Sat Apr 03 17:43:31 2021 +0000
@@ -5,7 +5,7 @@
  *****************************************************************************/
 
 /*
- * Copyright (C) 2000 - 2020, Intel Corp.
+ * Copyright (C) 2000 - 2021, Intel Corp.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -30,7 +30,7 @@
  * NO WARRANTY
  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
  * HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
@@ -80,6 +80,8 @@
     {"ACPI0012",    "NVDIMM Root Device"},
     {"ACPI0013",    "Generic Event Device"},
     {"ACPI0014",    "Wireless Power Calibration Device"},
+    {"ACPI0015",    "USB4 host interface device"},
+    {"ACPI0016",    "Compute Express Link Host Bridge"},
     {"ADMA0F28",    "Intel Audio DMA"},
     {"AMCR0F28",    "Intel Audio Machine Driver"},
     {"ATK4001",     "Asus Radio Control Button"},
diff -r afac07bf686d -r 6a24d1bebd04 sys/external/bsd/acpica/dist/common/ahpredef.c
--- a/sys/external/bsd/acpica/dist/common/ahpredef.c    Sat Apr 03 17:02:31 2021 +0000
+++ b/sys/external/bsd/acpica/dist/common/ahpredef.c    Sat Apr 03 17:43:31 2021 +0000
@@ -5,7 +5,7 @@
  *****************************************************************************/
 
 /*
- * Copyright (C) 2000 - 2020, Intel Corp.
+ * Copyright (C) 2000 - 2021, Intel Corp.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -30,7 +30,7 @@
  * NO WARRANTY
  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
  * HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
@@ -92,12 +92,16 @@
     AH_PREDEF ("_BMC",    "Battery Maintenance Control", "Sets battery maintenance and control features"),
     AH_PREDEF ("_BMD",    "Battery Maintenance Data", "Returns battery maintenance, control, and state data"),
     AH_PREDEF ("_BMS",    "Battery Measurement Sampling Time", "Sets the battery measurement sampling time"),
+    AH_PREDEF ("_BPC",    "Battery Power Characteristics", "Returns static values used to configure power threshold support in the platform firmware"),
+    AH_PREDEF ("_BPS",    "Battery Power State", "Returns the power delivery capabilities of the battery at the present time"),
+    AH_PREDEF ("_BPT",    "Battery Power Threshold", "Set a relative battery peak power capability change threshold"),
     AH_PREDEF ("_BQC",    "Brightness Query Current", "Returns the current display brightness level"),
     AH_PREDEF ("_BST",    "Battery Status", "Returns a Control Method Battery status block"),
     AH_PREDEF ("_BTH",    "Battery Throttle Limit", "Thermal limit for charging and discharging"),
     AH_PREDEF ("_BTM",    "Battery Time", "Returns the battery runtime"),
     AH_PREDEF ("_BTP",    "Battery Trip Point", "Sets a Control Method Battery trip point"),
     AH_PREDEF ("_CBA",    "Configuration Base Address", "Sets the base address for a PCI Express host bridge"),
+    AH_PREDEF ("_CBR",    "CXL Host Bridge Register Info", "Get the memory location of CXL Host Bridge Registers"),
     AH_PREDEF ("_CCA",    "Cache Coherency Attribute", "Returns a device's support level for cache coherency"),
     AH_PREDEF ("_CDM",    "Clock Domain", "Returns a logical processor's clock domain identifier"),
     AH_PREDEF ("_CID",    "Compatible ID", "Returns a device's Plug and Play Compatible ID list"),
diff -r afac07bf686d -r 6a24d1bebd04 sys/external/bsd/acpica/dist/common/ahtable.c
--- a/sys/external/bsd/acpica/dist/common/ahtable.c     Sat Apr 03 17:02:31 2021 +0000
+++ b/sys/external/bsd/acpica/dist/common/ahtable.c     Sat Apr 03 17:43:31 2021 +0000
@@ -5,7 +5,7 @@
  *****************************************************************************/
 
 /*
- * Copyright (C) 2000 - 2020, Intel Corp.
+ * Copyright (C) 2000 - 2021, Intel Corp.
  * All rights reserved.
  *




Home | Main Index | Thread Index | Old Index