This was used to log the number of newly discovered GPEs post table
load in AcpiEvUpdateGpes, but we never incremented the number inside
AcpiEvMatchGpeMethod so that was never logged.
Signed-off-by: Daniil Tatianin <99danilt@gmail.com>
Because of a typo we would inverse the mask twice, thus producing a
bogus result.
Fixes: 36dcfd8818 ("Events: Make it possible to enable runtime GPEs earlier")
Signed-off-by: Daniil Tatianin <99danilt@gmail.com>
struct acpi_cedt_rdpas does not match with CXL r3.0 9.17.1.5
Table 9-24. reserved1 and length fields are already added by
struct acpi_cedt_header.
Signed-off-by: Hojin Nam <hj96.nam@samsung.com>
Errors in AcpiEvaluateObject can lead to incorrect state of Buffer.
This can lead to access to data in previously ACPI_FREEd Buffer and
secondary ACPI_FREE to the same Buffer later.
Handle errors in AcpiEvaluateObject the same way it is done earlier
with AcpiNsHandleToPathname.
Add definition of RISC-V Interrupt Controller(RINTC)
affinity structure which was approved by UEFI forum
and will be part of next ACPI spec version(6.6).
Reference: Mantis ID: 2433
Signed-off-by: Haibo Xu <haibo1.xu@intel.com>
modify 4 macros:
ACPI_OBJECT_COMMON_HEADER,
ACPI_COMMON_BUFFER_INFO,
ACPI_COMMON_NOTIFY_INFO,
ACPI_COMMON_FIELD_INFO
they cause poor readability.so del the last ";"
and when use them in a single line with the ";"in the end.
Signed-off-by: lijun <lijun01@kylinos.cn>
NRMT is initialized as "", which is a zero-length string. Trying to
Store a longer string to it works on ACPICA, however, is incompatible
with other implementations like Acpi.sys, which doesn't allow resizing
existing buffers with Store. Therefore any Store operation to it
produces the same result on those implementations.
Use CopyObject to avoid any possible behavior differences.
Signed-off-by: Daniil Tatianin <99danilt@gmail.com>
Add new flags and related fields to the MADT GICC/GICR/ITS
structures according to the code first ECR:
https://bugzilla.tianocore.org/show_bug.cgi?id=4557
Update the MADT template to the latest MADT revision.
Signed-off-by: Lorenzo Pieralisi <lpieralisi@kernel.org>
There are a handful of spelling mistakes in various files as found
using codespell. Fix these. No code changes.
Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
To support conversion of NHLT related types, update the identifier table
with all the structs and unions that define the NHLT.
Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
Non HDAudio Link Table (NHLT) is designed to separate hardware-related
description (registers) from AudioDSP firmware-related one i.e.:
pipelines and modules that together make up the audio stream on Intel
DSPs. This task is important as same set of hardware registers can be
used with different topologies and vice versa, same topology could be
utilized with different set of hardware. As the hardware registers
description is directly tied to specific platform, intention is to have
such description part of low-level firmware e.g.: BIOS.
The initial design has been provided in early Sky Lake (SKL) days. The
audio architecture goes by the name cAVS. SKL is a representative of
cAVS 1.5. The table helps describe endpoint capabilities ever since.
While Raptor Lake (RPL) is the last of cAVS architecture - cAVS 2.5 to
be precise - its successor, the ACE architecture which begun with
Meteor Lake (MTL) inherited the design for all I2S and PDM
configurations. These two configurations are the primary targets for
NHLT table.
Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
The output from iasl -d included a timestamp. This meant that each execution
returned different output. Do not emit the timestamp if the option for
deterministic output is enabled.
Existing code puts a timestamp in the .lst files, e.g.:
Compilation of ".../src/fw/ssdt-misc.i" - Thu Oct 22 13:38:41 2023
This makes the build non-deterministic.
update AcpiOsGetTimer implementation with arch specific timer
implementation instead of using system timer which might use driver
interface such as HPET and this might cause init priority issue if
a driver which need to init before system timer driver instantiate.
Signed-off-by: Najumon B.A <najumon.ba@intel.com>