Re: [PATCH] riscv: enable DEBUG_FORCE_FUNCTION_ALIGN_64B

From: Palmer Dabbelt
Date: Wed Aug 30 2023 - 14:36:59 EST



On Fri, 28 Jul 2023 00:03:56 +0800, Jisheng Zhang wrote:
> Allow to force all function address 64B aligned as it is possible for
> other architectures. This may be useful when verify if performance
> bump is caused by function alignment changes.
>
> Before commit 1bf18da62106 ("lib/Kconfig.debug: add ARCH dependency
> for FUNCTION_ALIGN option"), riscv supports enabling the
> DEBUG_FORCE_FUNCTION_ALIGN_64B option, but after that commit, each
> arch needs to claim the support explicitly. I tried the config file in
> [1] for both RV64 and RV32, I can't reproduce the build error as [1],
> there is no reason for not allowing to enforce this function alignment.
>
> [...]

Applied, thanks!

[1/1] riscv: enable DEBUG_FORCE_FUNCTION_ALIGN_64B
https://git.kernel.org/palmer/c/74f438e75483

Best regards,
--
Palmer Dabbelt <palmer@xxxxxxxxxxxx>