Home
last modified time | relevance | path

Searched hist:f43e09a12e4f4f32185d3e2accceb65895d1f16b (Results 1 – 2 of 2) sorted by relevance

/rk3399_ARM-atf/lib/cpus/
H A Derrata_report.cf43e09a12e4f4f32185d3e2accceb65895d1f16b Fri Jun 09 12:22:16 UTC 2023 Boyan Karatotev <boyan.karatotev@arm.com> fix(cpus): reduce generic_errata_report()'s size

For a pretty implementation and straightforward code, the CVE/erratum
dispatching of the errata status reporting was done with a macro,
closely following the old code. Unfortunately, this produces a function
that was over a kilobyte in size, which unsurprisingly doesn't fit on
some platforms.

Convert the macro to a proper C function and call it once. Also hide the
errata ordering checking behind the FEATURE_DETECTION flag to further
save space. This functionality is not necessary for most builds.
Development and platform bringup builds, which should find this
functionality useful, are expected to have FEATURE_DETECTION enabled.

This reduces the function to under 600 bytes.

Signed-off-by: Boyan Karatotev <boyan.karatotev@arm.com>
Change-Id: Ibf5376a26cbae28d9dc010128452cb3c694a3f78
/rk3399_ARM-atf/docs/getting_started/
H A Dbuild-options.rstf43e09a12e4f4f32185d3e2accceb65895d1f16b Fri Jun 09 12:22:16 UTC 2023 Boyan Karatotev <boyan.karatotev@arm.com> fix(cpus): reduce generic_errata_report()'s size

For a pretty implementation and straightforward code, the CVE/erratum
dispatching of the errata status reporting was done with a macro,
closely following the old code. Unfortunately, this produces a function
that was over a kilobyte in size, which unsurprisingly doesn't fit on
some platforms.

Convert the macro to a proper C function and call it once. Also hide the
errata ordering checking behind the FEATURE_DETECTION flag to further
save space. This functionality is not necessary for most builds.
Development and platform bringup builds, which should find this
functionality useful, are expected to have FEATURE_DETECTION enabled.

This reduces the function to under 600 bytes.

Signed-off-by: Boyan Karatotev <boyan.karatotev@arm.com>
Change-Id: Ibf5376a26cbae28d9dc010128452cb3c694a3f78