Re: [PATCH 5.10.y 0/2] disable ftrace of sbi functions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Aug 18, 2021 at 01:34:04PM +0100, Dimitri John Ledkov wrote:
> One cannot ftrace functions used to setup ftrace. Doing so leads to a
> racy kernel panic as observed by users on SiFive HiFive Unmatched
> boards with Ubuntu kernels.
> 
> This has been debugged and fixed in v5.12 kernels by ensuring that all
> sbi functions are excluded from ftrace.
> 
> Link: https://forums.sifive.com/t/u-boot-says-unhandled-exception-illegal-instruction/4898/12
> BugLink: https://bugs.launchpad.net/bugs/1934548
> 
> Guo Ren (2):
>   riscv: Fixup wrong ftrace remove cflag
>   riscv: Fixup patch_text panic in ftrace
> 
>  arch/riscv/kernel/Makefile | 5 +++--
>  arch/riscv/mm/Makefile     | 3 ++-
>  2 files changed, 5 insertions(+), 3 deletions(-)
> 
> -- 
> 2.30.2
> 

Now queued up, thanks.

greg k-h



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux