<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Tianocore/edk2.git/DynamicTablesPkg/Library/Acpi, branch dependabot/github_actions/github/codeql-action-4.39.3</title>
<subtitle>EDK II (mirror)</subtitle>
<id>https://git.radix-linux.su/Tianocore/edk2.git/atom?h=dependabot%2Fgithub_actions%2Fgithub%2Fcodeql-action-4.39.3</id>
<link rel='self' href='https://git.radix-linux.su/Tianocore/edk2.git/atom?h=dependabot%2Fgithub_actions%2Fgithub%2Fcodeql-action-4.39.3'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/'/>
<updated>2026-10-29T09:14:34+00:00</updated>
<entry>
<title>DynamicTablesPkg/AcpiPcctLib: Fix AddressLength range check</title>
<updated>2026-10-29T09:14:34+00:00</updated>
<author>
<name>Ilya Somkin</name>
<email>onto1024b@gmail.com</email>
</author>
<published>2026-10-19T15:45:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=fb0f2f86fea4bfc9e3a8784e3c1ceb9eeefc174f'/>
<id>urn:sha1:fb0f2f86fea4bfc9e3a8784e3c1ceb9eeefc174f</id>
<content type='text'>
`AddressLength` is a `UINT64` and `MAX_UINT32` is defined as
`((UINT32)0xFFFFFFFF)`, so `~MAX_UINT32` is a 32-bit zero and
`(AddressLength &amp; ~MAX_UINT32) == 0` is always `TRUE`.
Compare `AddressLength` directly against `MAX_UINT32` to ensure that any
length truncation caused by the `UINT32` cast to the extended PCC
subspace Address Length field is properly detected.

Signed-off-by: Ilya Somkin &lt;onto1024b@gmail.com&gt;
</content>
</entry>
<entry>
<title>DynamicTablesPkg/AcpiSsdtPcieLib: Fix 32-bit memory window checks</title>
<updated>2026-10-29T09:14:34+00:00</updated>
<author>
<name>Ilya Somkin</name>
<email>onto1024b@gmail.com</email>
</author>
<published>2026-10-19T15:45:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=e32965dfc13dfba04f69824c8c92412d94878b42'/>
<id>urn:sha1:e32965dfc13dfba04f69824c8c92412d94878b42</id>
<content type='text'>
`MAX_UINT32` is defined as `((UINT32)0xFFFFFFFF)`, so `~MAX_UINT32`
evaluates to a 32-bit zero. The condition `(Value &amp; ~MAX_UINT32) == 0`
evaluates to `TRUE` for any `UINT64` Value. As a result, the range
checks for the `PCI_SS_M32` and `PCI_SS_M32_UC` windows are never
triggered and out-of-range values are silently truncated by the `UINT32`
casts passed to `AmlCodeGenRdDWordMemory ()`.

Also when a 32-bit memory window is mapped to a CPU address above 4GB,
its translation offset does not fit the DWord memory descriptor: the
generated `_TRA` loses the upper 32 bits and the OS accesses the window
at a wrong address. The same applies to a CPU address below the PCI
address.

Likewise, a 32-bit window covering the whole 4GB has a range length
of 0x100000000, which the DWord descriptor truncates to zero.

Return `EFI_INVALID_PARAMETER` if the PCI address range of a 32-bit
window is empty or does not lie below 4GB. When the range length or the
translation offset does not fit 32 bits, fall through to the
`PCI_SS_M64` or `PCI_SS_M64_UC`, which uses the QWord memory descriptor.

Signed-off-by: Ilya Somkin &lt;onto1024b@gmail.com&gt;
</content>
</entry>
<entry>
<title>DynamicTablesPkg/AcpiSpcrLib: Use a fully qualified NameSpaceString</title>
<updated>2026-10-28T12:27:40+00:00</updated>
<author>
<name>Ilya Somkin</name>
<email>onto1024b@gmail.com</email>
</author>
<published>2026-10-27T12:26:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=931973afa488b9bc3debee3aa9390e184a460870'/>
<id>urn:sha1:931973afa488b9bc3debee3aa9390e184a460870</id>
<content type='text'>
The `SPCR` specification describes `NamespaceString[]` as "a fully
qualified reference to the object that represents this device in the
ACPI namespace". The generator sets it to `COM1`, the name of the
device in the `SSDT` built along with the `SPCR` table, which is not a
fully qualified path, so set it to `\_SB_.COM1`.

Signed-off-by: Ilya Somkin &lt;onto1024b@gmail.com&gt;
</content>
</entry>
<entry>
<title>DynamicTablesPkg: Add Arm SCMI SSDT generator</title>
<updated>2026-10-23T00:18:37+00:00</updated>
<author>
<name>Varshit Pandya</name>
<email>varshit.pandya@arm.com</email>
</author>
<published>2026-10-08T14:29:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=a36bdc97ab558c424ed40f954c2e2218a3380723'/>
<id>urn:sha1:a36bdc97ab558c424ed40f954c2e2218a3380723</id>
<content type='text'>
Add an Arm SSDT generator that describes SCMI ACPI devices using the
ARML0001 hardware identifier.

Generate the SCMI device properties for PCC transports, power capping
and monitoring, and system telemetry protocols. Validate the SCMI
device, protocol, transport, and PCC subspace relationships before
generating AML.

Use the semantic AmlLib SCMI interfaces to generate transport and
protocol properties, and keep generator-specific definitions in a
private header.

Iterate over the direction-indexed transport arrays when validating
common and protocol-exclusive channels.

Register the SCMI generator for AARCH64 builds.

Signed-off-by: Varshit Pandya &lt;varshit.pandya@arm.com&gt;
</content>
</entry>
<entry>
<title>DynamicTablesPkg: Add Virtio MMIO Device SSDT generator</title>
<updated>2026-10-22T08:59:56+00:00</updated>
<author>
<name>Kajal Agarwal</name>
<email>kajal.agarwal@arm.com</email>
</author>
<published>2026-10-21T17:00:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=b117e495e38bba3709b1baa573769200c50d1ae2'/>
<id>urn:sha1:b117e495e38bba3709b1baa573769200c50d1ae2</id>
<content type='text'>
Generate an SSDT for each Virtio MMIO device under \_SB, assigning
names and UIDs from the Configuration Manager array indices. Describe
MMIO ranges with Memory32Fixed or QWordMemory and emit _CCA from the
CacheCoherent field.

Decode Extended Interrupt flags for resource usage, trigger mode,
polarity, and sharing. Validate resources and reject unsupported wake
flags. Release partially generated tables on failure and transfer
ownership only after all device tables have been built.

Add the object parser and register the generator through the extended
table generation interface and Dynamic Tables build integration.

Signed-off-by: Kajal Agarwal &lt;kajal.agarwal@arm.com&gt;
</content>
</entry>
<entry>
<title>DynamicTablesPkg/AcpiSpcrLib: Fix NameSpaceString buffer overflow</title>
<updated>2026-10-19T22:32:49+00:00</updated>
<author>
<name>Ilya Somkin</name>
<email>onto1024b@gmail.com</email>
</author>
<published>2026-10-14T14:03:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=03fd4a5b397d18f8653e148900e382e44cac53ef'/>
<id>urn:sha1:03fd4a5b397d18f8653e148900e382e44cac53ef</id>
<content type='text'>
`EFI_ACPI_SERIAL_PORT_CONSOLE_REDIRECTION_TABLE_4` ends with the
flexible array member `NameSpaceString[]`, so the static `AcpiSpcr`
template provides no storage for the namespace string. For SPCR
revision 3 and above, `AsciiStrCpyS ()` writes `NAME_STR_SPCR_PORT` past
the end of `AcpiSpcr` and corrupts the adjacent global data of the
module. For revision 4 the installed table also includes those bytes,
read from beyond the template.

On a RISC-V platform the write overwrote the `SsdtCpuTopologyGenerator`
header in `DynamicTableFactoryDxe`: its `GeneratorID` became "COM1" and
the build of the SSDT CPU topology table, requested after the `SPCR`,
asserted on `AcpiTableInfo-&gt;TableGeneratorId == This-&gt;GeneratorID`.

Build the table in a buffer allocated with the full table size: copy
the template into it, store the namespace string for revision 4 and
free the buffer in `FreeSpcrTableEx ()` and on the error path.

Signed-off-by: Ilya Somkin &lt;onto1024b@gmail.com&gt;
</content>
</entry>
<entry>
<title>DynamicTablesPkg: Propagate SMC91X AML cleanup failures</title>
<updated>2026-10-15T23:44:21+00:00</updated>
<author>
<name>Kajal Agarwal</name>
<email>kajal.agarwal@arm.com</email>
</author>
<published>2026-10-15T13:22:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=e48d7192fafcdda509f32315c9a3f07cfa4d58e5'/>
<id>urn:sha1:e48d7192fafcdda509f32315c9a3f07cfa4d58e5</id>
<content type='text'>
Preserve an existing table build error, otherwise return the AML tree
deletion error. Free the generated table after cleanup status has been
incorporated so failure always leaves an empty output.

Signed-off-by: Kajal Agarwal &lt;kajal.agarwal@arm.com&gt;
</content>
</entry>
<entry>
<title>DynamicTablesPkg: Add SSDT generator for SMC91X devices</title>
<updated>2026-10-15T23:44:21+00:00</updated>
<author>
<name>Kajal Agarwal</name>
<email>kajal.agarwal@arm.com</email>
</author>
<published>2026-10-14T13:23:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=54ac9af085a9ab8985163027eebf16f2a7a2eb99'/>
<id>urn:sha1:54ac9af085a9ab8985163027eebf16f2a7a2eb99</id>
<content type='text'>
Generate an SSDT describing a single SMC91X network device using the
architecture-common Configuration Manager object. Create NET0 under
\_SB with HID LNRO0003, UID 0 and the platform-provided interrupt.

Describe writable register ranges with Memory32Fixed when they fit its
32-bit fields and QWordMemory for larger ranges. Reject empty or
overflowing ranges and unsupported interrupt flags before creating AML.

Register the generator with the Dynamic Tables framework and release
allocated AML nodes on failure.

Signed-off-by: Kajal Agarwal &lt;kajal.agarwal@arm.com&gt;
</content>
</entry>
<entry>
<title>DynamicTablesPkg: Add PL050 SSDT generator</title>
<updated>2026-10-09T06:30:58+00:00</updated>
<author>
<name>Amrathesh</name>
<email>amrathesh@arm.com</email>
</author>
<published>2026-10-08T05:48:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=691f04f86d5e1a36ed46bdd0499fab8debceab42'/>
<id>urn:sha1:691f04f86d5e1a36ed46bdd0499fab8debceab42</id>
<content type='text'>
Add a Dynamic Tables generator for Arm PrimeCell PL050 keyboard and
mouse interfaces.

Introduce Configuration Manager objects describing the interface
type, MMIO base address, and AML Extended Interrupt attributes.

Generate one SSDT containing the configured PL050 devices under \_SB.
Describe the KMIDATA, KMICR, and KMISTAT registers followed by the
interrupt resource. Use Memory32Fixed for ranges within the 32-bit
address space and QWordMemory for higher addresses.

Signed-off-by: Amrathesh &lt;amrathesh@arm.com&gt;
</content>
</entry>
<entry>
<title>DynamicTablesPkg: Enable RISCV64 package build coverage</title>
<updated>2026-10-07T09:36:02+00:00</updated>
<author>
<name>Djordje Nedic</name>
<email>djordje.nedic@nextsilicon.com</email>
</author>
<published>2026-10-01T13:10:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=275ff0725a6d6691b6bfd10e666d91f9d8e9fb89'/>
<id>urn:sha1:275ff0725a6d6691b6bfd10e666d91f9d8e9fb89</id>
<content type='text'>
Add RISCV64 to the package's supported architectures and include the
FDT parser in its RISC-V components. This lets the package compiler
checks exercise the RISC-V parser and table generators instead of
silently excluding them.

Keep the parser limited to AARCH64 and RISCV64, the architectures
for which it implements a dispatcher.

Address the uninitialized-value warnings exposed by the RISCV64 GCC
build without disabling warnings:
- Return success after grouping CM objects and generating PCI slots.
- Initialize the DBG2 cleanup result when there are no SSDT tables.
- Initialize the SMBIOS Type 7 cleanup count before allocations.
- Initialize the four affected SMBIOS Type 42 CM object pointers.
- Assign RHCT section and PPTT cache offsets before their count checks.

These changes accompany the HMAT and PLIC/APLIC fixes earlier in the
series so both DEBUG and RELEASE package builds succeed with -Werror.

Signed-off-by: Djordje Nedic &lt;djordje.nedic@nextsilicon.com&gt;
</content>
</entry>
</feed>
