[PATCH] riscv: enable DEBUG_FORCE_FUNCTION_ALIGN_64B
Palmer Dabbelt
palmer at rivosinc.com
Wed Aug 30 06:24:39 PDT 2023
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 at rivosinc.com>
More information about the linux-riscv
mailing list