Andy Chiu <[email protected]> writes:

> Some caller-saved registers which are not defined as function arguments
> in the ABI can still be passed as arguments when the kernel is compiled
> with Clang. As a result, we must save and restore those registers to
> prevent ftrace from clobbering them.
>
> - [1]: https://reviews.llvm.org/D68559
>
> Reported-by: Evgenii Shatokhin <[email protected]>
> Closes: 
> https://lore.kernel.org/linux-riscv/[email protected]/
> Acked-by: Nathan Chancellor <[email protected]>
> Signed-off-by: Andy Chiu <[email protected]>

Shouldn't this be a separate fix? Still reading the details, but it
smells like something what should be disabled when building w/ LLVM, no?


Björn

Reply via email to