Re: [PATCH 1/2] AutoFDO: Remove the architecture specific config
From: Kees Cook
Date: Tue Feb 04 2025 - 15:04:43 EST
On Wed, Dec 11, 2024 at 02:29:42PM -0800, Rong Xu wrote:
> The CONFIG_AUTOFDO_CLANG option currently depends on
> ARCH_SUPPORTS_AUTOFDO_CLANG, but this dependency seems unnecessary.
>
> Remove ARCH_SUPPORTS_AUTOFDO_CLANG and allow users to control AutoFDO
> builds solely through CONFIG_AUTOFDO_CLANG. This simplifies the kconfig
> and avoids potential confusion.
>
> Signed-off-by: Rong Xu <xur@xxxxxxxxxx>
Looks right to me!
Reviewed-by: Kees Cook <kees@xxxxxxxxxx>
--
Kees Cook