Adds the dual GNU/BSD dual license to the existing Intel license.
Provides all licensing information in each source module.
Affects all ACPICA source modules.
In the current IORT template, ID array example is only prepared for the ITS
group node while it is defined in the spec that the ITS group node doesn't
contain the ID array:
Table 11 ITS Group Format
Number of ID mappings:
This field has a value of 0. ITS groups do not have IDs.
In the refined IORT template, ID array(s) is deleted from the ITS group and
are prepared for all other nodes so that after we automatically resets
MappingOffset in the iasl IORT compilation code, MappingOffset can still be
properly set to the developer re-usable values. ACPICA BZ 1340, reported by
Alexei Fedorov, fixed by Lv Zheng.
Link: https://bugs.acpica.org/show_bug.cgi?id=1340
Reported-by: Alexei Fedorov <Alexei.Fedorov@arm.com>
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
The most recent version of the IORT specification adds in a definition
for a subtable to describe SMMUv3 devices; there is already a subtable
for SMMUv1/v2 devices.
Add in the definition of the subtable, add in the code to compile it,
and add in a template for it.
Signed-off-by: Al Stone <ahs3@redhat.com>
Individual patch descriptions (8):
Using a minus number with ACPI_ADD_PTR() will cause compiler warnings, such
warnings cannot be eliminated by force casting an unsigned value to a
signed value. This patch thus introduces ACPI_SUB_PTR() to be used with
minus numbers. Lv Zheng.
In CSRT/DBG2, there is ACPI_DMT_BUFFER defined for the variable length
fields and the support around such variable length fields is broken:
1. CSRT cannot compile "ResourceInfo" buffer.
2. There is an extra empty line appended before such fields.
3. CSRT contains broken subtable length fields due to this variable length
field.
4. Code in CSRT support doesn't manage "parent table", "sub-table"
correctly.
This patch fixes CSRT/DBG2 table decompilation/compilation issues using new
ACPI_DMT_RAW_BUFFER. Since there is no user of the MultiLine parameter,
this patch also removes it from AcpiDmDumpBuffer(). Also this patch
enhances AcpiDmDumpBuffer() to allow small sized buffer to be dumped to the
same line as its header to ensure no user experience regression. Lv Zheng.
This patch adds support for IORT (IO Remapping Table) in iasl.
Note that some field names are modified to shrink their length or the
decompiled IORT ASL will contain fields with ugly ":" alignment.
This patch doesn't add inline table support for the SMMU interrupt fields
and memroy access properties fields. They will be added by seperate
patches. Lv Zheng.
The IORT contains field definitions around "Memory Access Properties".
This patch adds support to encode/decode it using inline table. Lv Zheng.
Some data tables reserve fields for future extension. So we need to compile
the higher versioning table's fields using generic compiling betwee the
known field names.
This patch adds support to allow optional fields insertion. Lv Zheng.
This patch implements OptionalPadding in a different way so that newer
versioned IORT can be written with the generic data types to generate the
"OptionalPadding" field. Lv Zheng.
This patch implements Padding in a different way so that users can specify
an offset in the "Offset to ID mappings" field to determine the length of
the "Padding" field. Lv Zheng.
This patch adds support for DRTM (Dynamic Root of Trust for Measurement
table) in iasl. Lv Zheng.
MTMR table is used in the recent ACPI BIOS enabled Intel MID platforms.
The format of this table has been defined in the "Simple Firmware
Interface Specification" except it uses GAS instead of 64-bit values for
address fields.
This patch introduces MTMR table support into ACPICA.
Lv Zheng.
VRTC is used in Intel MID platforms as a replacement of the traditional
x86 RTC. VRTC table can be found in the recent ACPI BIOS enabled Intel
MID platforms. The format of this table has been defined in the "Simple
Firmware Interface Specification" except it uses GAS instead of 64-bit
values for address fields.
This patch introduces VRTC table support into ACPICA.
Lv Zheng.