| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Version 20220331.
|
|
|
|
| |
Version 20220331.
|
|
|
|
|
| |
For new flags due to the use of SSCB scans. Also, use of
digital signatures for the various utilities.
|
|\
| |
| | |
IORT: Updates for revision E.d
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
|\ \
| | |
| | | |
Add DMAR SATC structure to iasl
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| | |
Use ACPI_FORMAT_UINT64 in DbgPrint macros.
|
| |
| |
| |
| | |
%llu fails on 32-bit compilers.
|
|\ \
| | |
| | | |
executer/exsystem: Fix some typo mistakes
|
|/ /
| |
| |
| | |
Signed-off-by: Selvarasu Ganesan <selvarasu.ganesan@arm.com>
|
|\ \
| | |
| | | |
Headers: Replace zero-length array with flexible-array member
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
|\ \
| | |
| | | |
Warn about long delays
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| |/
| |
| |
| |
| | |
`HowLong` refers to different units in both functions, so make it more
clear, what unit they expect. That also makes one comment superfluous.
|
|\ \
| | |
| | | |
Add support for ARM Performance Monitoring Unit Table.
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
|\ \
| | |
| | | |
dmtbdump2: fix build error
|
|/ /
| |
| |
| |
| |
| | |
There are some format print grammar error, thus fix them here.
Signed-off-by: Jianyong Wu <jianyong.wu@.arm.com>
|
| |
| |
| |
| | |
Adds support for the "reserved for OEM use" subtable (types 0x80 to 0xFF).
|
| |
| |
| |
| | |
Add the filename to the Maximum error count exceeded message.
|
|/
|
|
|
|
| |
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.
|
|
|
|
| |
Removed some tabs and // comments.
|
|
|
|
| |
This is apparently much safer.
|
|\ |
|
| |\
| | |
| | | |
Fix buffer overflow when disassembling anonymous ResourceTemplate()
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|/
|
|
| |
Affects all source modules and utility signons.
|
|\
| |
| | |
iASL: NHLT: Fix variable shadowing
|
| |
| |
| |
| |
| | |
Variable named Capabilities was declared twice in one function that caused
variable shadowing. Renaming one of them will fix this issue.
|
|\ \
| |/
|/| |
cleanup double word in comment
|
|/
|
|
|
|
| |
Remove the second 'know' and 'than'.
Signed-off-by: Tom Rix <trix@redhat.com>
|
|\
| |
| | |
Add the sub-table CFMWS to the CEDT table
|
| | |
|
| | |
|
|\ \
| | |
| | | |
Improvements for NHLT
|
| | |
| | |
| | |
| | |
| | | |
Using FormatSubtable works properly, but using proper type increases
readibility.
|
| | |
| | |
| | |
| | |
| | | |
Those structures aren't used by Linux drivers, and in other NHLT related
tools they are called DeviceInfo.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Descriptor
Undocumented bytes at the end of Endpoint Descriptor can be present
independently of Linux-specific structures. Their size can also vary.
|
| |/
| |
| |
| |
| |
| | |
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.
|
|\ \
| | |
| | | |
Namespace: Avoid walking the Namespace if it is not there
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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>
|
|\ \ \
| |/ /
|/| | |
Headers: Use uintptr_t and offsetof() in Linux kernel builds
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| | |
DDB_HANDLE is gone, now loadtable returns a pass/fail integer.
|
| |
| |
| |
| |
| | |
DDB_HANDLE is gone, now load returns a pass/fail integer,
as well as storing it in an optional 2nd argument.
|
|/
|
|
|
| |
Removed a remark for duplicate Offset() operators, due to a
user complaint.
|
|\
| |
| | |
Add support for the Windows 11 _OSI string
|