summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Update version to 20220331.R03_31_22Robert Moore2022-03-311-1/+1
| | | | Version 20220331.
* Logfile: Changes for version 20220331.Robert Moore2022-03-311-0/+78
| | | | Version 20220331.
* Update MSVC project filesRobert Moore2022-03-319-2/+26
| | | | | For new flags due to the use of SSCB scans. Also, use of digital signatures for the various utilities.
* Merge pull request #765 from shamiali2008/master-iort-revE.d-v2Robert Moore2022-03-299-14/+53
|\ | | | | IORT: Updates for revision E.d
| * IORT: Updates for revision E.dShameer Kolothum2022-03-289-14/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | IORT revision is now updated to E.d (ARM DEN 0049E.d) and contains a few additions like, -Added descriptor in the root complex node for specifying PASID width supported by the root complex. -Updated RMR node Flags field. -Introduced memory access attributes in the RMR node. Please note that IORT Rev E.c is deprecated and not supported. Signed-off-by: Shameer Kolothum <shameerali.kolothum.thodi@huawei.com>
* | Merge pull request #753 from marcj303/masterRobert Moore2022-03-298-5/+43
|\ \ | | | | | | Add DMAR SATC structure to iasl
| * | Add DMAR SATC structure to iaslMarc Jones2022-03-258-5/+43
| |/ | | | | | | | | | | | | | | | | | | | | | | | | Add the DMAR SATC structure support from the Intel ® Virtualization Technology for Directed I/O \ Architecture Specification, Rev. 3.4, Order Number: D51397-014 Test: $ iasl -d dmar.dat -> dmar.dsl $ iasl dmar.dsl -> dmar.aml $ cmp dmar.dat dmar.dsl Signed-off-by: Marc Jones <marcj303@gmail.com>
* | Additional fix for dmtbdump2.cRobert Moore2022-03-291-8/+8
| | | | | | | | Use ACPI_FORMAT_UINT64 in DbgPrint macros.
* | exsystem.c: Use ACPI_FORMAT_UINT64 for 64-bit output.Robert Moore2022-03-291-1/+3
| | | | | | | | %llu fails on 32-bit compilers.
* | Merge pull request #764 from selgan01/masterRobert Moore2022-03-291-2/+2
|\ \ | | | | | | executer/exsystem: Fix some typo mistakes
| * | executer/exsystem: Fix some typo mistakesSelvarasu Ganesan2022-03-281-2/+2
|/ / | | | | | | Signed-off-by: Selvarasu Ganesan <selvarasu.ganesan@arm.com>
* | Merge pull request #751 from rafaeljw/headersRobert Moore2022-03-251-1/+1
|\ \ | | | | | | Headers: Replace zero-length array with flexible-array member
| * | Headers: Replace zero-length array with flexible-array memberGustavo A. R. Silva2022-02-181-1/+1
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is a regular need in the kernel to provide a way to declare having a dynamically sized set of trailing elements in a structure. Kernel code should always use “flexible array members”[1] for these cases. The older style of one-element or zero-length arrays should no longer be used[2]. [1] https://en.wikipedia.org/wiki/Flexible_array_member [2] https://www.kernel.org/doc/html/v5.16/process/deprecated.html#zero-length-and-one-element-arrays Link: https://github.com/KSPP/linux/issues/78 Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org> Reviewed-by: Kees Cook <keescook@chromium.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
* | Merge pull request #754 from paulmenzel/warn-about-long-delaysRobert Moore2022-03-251-11/+26
|\ \ | | | | | | Warn about long delays
| * | executer/exsystem: Warn about sleeps greater than 10 msPaul Menzel2022-03-161-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | Quick boottime is important, so warn about sleeps greater than 10 ms. Distribution Linux kernels reach initrd in 350 ms, so excessive delays should be called out. 10 ms is chosen randomly, but three of such delays would already make up ten percent of the boottime.
| * | executer/exsystem: Inform users about ACPI spec violationPaul Menzel2022-03-131-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Values greater than 100 microseconds violate the ACPI specification, so warn users about it. From ACPI Specification version 6.2 Errata A, 19.6.128 *Stall (Stall for a Short Time)*: > The implementation of Stall is OS-specific, but must not relinquish > control of the processor. Because of this, delays longer than 100 > microseconds must use Sleep instead of Stall.
| * | executer/exsystem: Add units to time variable namesPaul Menzel2022-03-021-11/+11
| |/ | | | | | | | | `HowLong` refers to different units in both functions, so make it more clear, what unit they expect. That also makes one comment superfluous.
* | Merge pull request #758 from bwicaksononv/apmtRobert Moore2022-03-259-0/+309
|\ \ | | | | | | Add support for ARM Performance Monitoring Unit Table.
| * | Add support for ARM Performance Monitoring Unit Table.Besar Wicaksono2022-03-089-0/+309
| |/ | | | | | | | | | | | | | | | | | | | | The specification of this table is described in "ARM Performance Monitoring Unit Architecture 1.0 Platform Design Document" ARM DEN0117. This patch adds the necessary types and support for compiling/disassembling APMT. Signed-off-by: Besar Wicaksono <bwicaksono@nvidia.com>
* | Merge pull request #762 from jongwu/build_errorRobert Moore2022-03-241-4/+4
|\ \ | | | | | | dmtbdump2: fix build error
| * | dmtbdump2: fix build errorJianyong Wu2022-03-191-4/+4
|/ / | | | | | | | | | | There are some format print grammar error, thus fix them here. Signed-off-by: Jianyong Wu <jianyong.wu@.arm.com>
* | iASL/MADT: Add OEM-defined subtableRobert Moore2022-03-187-9/+91
| | | | | | | | Adds support for the "reserved for OEM use" subtable (types 0x80 to 0xFF).
* | Improve an iASL error messageRobert Moore2022-03-182-2/+4
| | | | | | | | Add the filename to the Maximum error count exceeded message.
* | iASL: Fix for SDEV table - subtable lengthRobert Moore2022-03-151-1/+1
|/ | | | | | Subtable lengths were not being set correctly during the compile. Added the DT_LENGTH flag to the SDEV subtable header to force the compiler to insert the subtable length.
* Automated cleanup; No functional changesRobert Moore2022-02-177-62/+70
| | | | Removed some tabs and // comments.
* Use _exit instead of exit in signal handlersRobert Moore2022-02-172-3/+3
| | | | This is apparently much safer.
* Merge branch 'master' of ssh://ssh.github.com/acpica/acpicaRobert Moore2022-02-171-1/+9
|\
| * Merge pull request #750 from bpfoley/disass-anon-rsrctmplRobert Moore2022-02-161-1/+9
| |\ | | | | | | Fix buffer overflow when disassembling anonymous ResourceTemplate()
| | * Fix buffer overflow when disassembling anonymous ResourceTemplate()Brian Foley2022-02-141-1/+9
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | AcpiDmPredefinedDescription only works if acpi_parse_object is Named rather than Common. Without this check, an ASAN build of the disassembler will fail with an out of bounds error when trying to disassemble code like Store(ResourceTemplate() { QWordMemory ( ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0, 0, 6, 0, 7, , , , AddressRangeMemory, TypeStatic) }, Local2) This particular case was reduced from code in seabios
* | Update copyright notices to the year 2022Robert Moore2022-02-17428-433/+433
|/ | | | Affects all source modules and utility signons.
* Merge pull request #748 from pmaziarz/masterRobert Moore2022-02-041-2/+2
|\ | | | | iASL: NHLT: Fix variable shadowing
| * iASL: NHLT: Fix variable shadowingPiotr Maziarz2022-02-041-2/+2
| | | | | | | | | | Variable named Capabilities was declared twice in one function that caused variable shadowing. Renaming one of them will fix this issue.
* | Merge pull request #747 from trixirt/fix-from-kernelRobert Moore2022-02-042-2/+2
|\ \ | |/ |/| cleanup double word in comment
| * cleanup double word in commentTom Rix2022-02-032-2/+2
|/ | | | | | Remove the second 'know' and 'than'. Signed-off-by: Tom Rix <trix@redhat.com>
* Merge pull request #742 from MasterDrogo/add-cedt-subtable_CFMWSRobert Moore2022-01-277-39/+164
|\ | | | | Add the sub-table CFMWS to the CEDT table
| * Fix Compile issue with CEDT and add templateLawrence Hileman2022-01-172-23/+103
| |
| * Add the subtable CFMWS to the CEDT tableLawrence Hileman2022-01-076-18/+63
| |
* | Merge pull request #743 from pmaziarz/masterRobert Moore2022-01-277-124/+97
|\ \ | | | | | | Improvements for NHLT
| * | iASL: NHLT: Use UINT8 buffer for CapabilitiesPiotr Maziarz2022-01-131-3/+2
| | | | | | | | | | | | | | | Using FormatSubtable works properly, but using proper type increases readibility.
| * | iASL: NHLT: Rename linux specific strucures to DeviceInfoPiotr Maziarz2022-01-136-35/+35
| | | | | | | | | | | | | | | Those structures aren't used by Linux drivers, and in other NHLT related tools they are called DeviceInfo.
| * | iASL: NHLT: Fix parsing undocumented bytes at the end of EndpointPiotr Maziarz2022-01-136-61/+28
| | | | | | | | | | | | | | | | | | | | | Descriptor Undocumented bytes at the end of Endpoint Descriptor can be present independently of Linux-specific structures. Their size can also vary.
| * | iASL: NHLT: Treat Terminator as SpecificConfigPiotr Maziarz2022-01-136-25/+32
| |/ | | | | | | | | | | SpecificConfig has 4 bytes of size and then an amount of bytes specified by size. All of the terminators that I've seen had a size equal to 4, but theoretically it can vary.
* | Merge pull request #746 from rafaeljw/namespace-currentRobert Moore2022-01-271-0/+4
|\ \ | | | | | | Namespace: Avoid walking the Namespace if it is not there
| * | Namespace: Avoid walking the Namespace if it is not thereRafael J. Wysocki2022-01-271-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Prevent AcpiNsWalkNamespace () from crashing when called with StartNode equal to ACPI_ROOT_OBJECT if the Namespace has not been instantiated yet and AcpiGbl_RootNode is NULL. For instance, this can happen in the Linux kernel if it is run with "acpi=off" in the command line. Reported-by: Hans de Goede <hdegoede@redhat.com> Link: https://lore.kernel.org/linux-acpi/6a0233cd-d931-8a36-3b9e-08b774cec7b0@redhat.com/ Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
* | | Merge pull request #744 from rafaeljw/headersRobert Moore2022-01-272-0/+9
|\ \ \ | |/ / |/| | Headers: Use uintptr_t and offsetof() in Linux kernel builds
| * | Headers: Use uintptr_t and offsetof() in Linux kernel buildsRafael J. Wysocki2022-01-142-0/+9
| |/ | | | | | | | | | | | | | | | | | | | | | | To avoid "performing pointer subtraction with a null pointer has undefined behavior" compiler warnings, use uintptr_t and offsetof() that are always available during Linux kernel builds to define ACPI_UINTPTR_T and the ACPI_TO_INTEGER() and ACPI_OFFSET() macros when building the ACPICA code in the Linux kernel. Based on earlier proposal from Arnd Bergmann. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
* | Add new acpi 6.4 semantics for LoadTable operatorRobert Moore2022-01-202-9/+19
| | | | | | | | DDB_HANDLE is gone, now loadtable returns a pass/fail integer.
* | Add new acpi 6.4 semantics to the Load() operatorRobert Moore2022-01-208-24/+45
| | | | | | | | | | DDB_HANDLE is gone, now load returns a pass/fail integer, as well as storing it in an optional 2nd argument.
* | Remove a remark due to excessive outputRobert Moore2022-01-202-1/+8
|/ | | | | Removed a remark for duplicate Offset() operators, due to a user complaint.
* Merge pull request #740 from superm1/windows-11-osiRobert Moore2022-01-052-0/+2
|\ | | | | Add support for the Windows 11 _OSI string