Re: [PATCH v1 3/4] ACPI: APEI: GHES: Add Grace and Vera KUnit coverage
From: Julian Braha
Date: Fri Jun 12 2026 - 10:04:58 EST
On 6/12/26 13:09, Kai-Heng Feng wrote:
> +config ACPI_APEI_GHES_NVIDIA_KUNIT_TEST
> + tristate "NVIDIA GHES vendor record handler KUnit tests"
> + depends on KUNIT && ACPI_APEI_GHES_NVIDIA
> + default KUNIT_ALL_TESTS
> + help
> + KUnit tests for NVIDIA GHES vendor CPER parser helpers.
> + They cover Grace helper decoding, Vera payload parsing, and
> + section routing.
> + They are enabled only for KUnit test builds.
> + They are not intended for production firmware paths.
> +
> + If unsure, say N.
> +
Hi Kai-Heng, could you hide this option from the Kconfig frontend
when KUNIT_ALL_TESTS is enabled?
E.g.:
tristate "NVIDIA GHES vendor record handler KUnit tests" if !KUNIT_ALL_TESTS
>From Documentation/dev-tools/kunit/style.rst:
"This Kconfig entry must:
<snip>
* be visible only if ``CONFIG_KUNIT_ALL_TESTS`` is not enabled."
- Julian Braha