[HIRSUTE][linux-riscv][PATCH 0/3] Disable ftrace of all sbi functions

Stefan Bader stefan.bader at canonical.com
Wed Aug 18 07:36:19 UTC 2021


On 17.08.21 18:27, Dimitri John Ledkov wrote:
> Cherry-pick upstream patches that correctly disable ftrace of all
> sbi.c functions, thus preventing spurious failure to boot. One cannot
> ftrace functions that are used in ftrace setup.
> 
> This has been fixed in v5.12, did not make into 5.11.x-stable which is
> no longer stable upstream.
> 
> Our previous, incomplete fix, to disable ftrace on just one sbi
> function call is thus no longer needed with these cherrypicks and can
> be reverted, given that all sbi functions have tracing disabled with
> these patches.
> 
> BugLink: https://bugs.launchpad.net/bugs/1934548

All patches are missing the BugLink and you cannot re-use above bug report. That 
is already committed and there would be no sane way to track that the follow-up 
things are applied.

-Stefan

> 
> Dimitri John Ledkov (1):
>    Revert "UBUNTU: SAUCE: RISC-V: prevent sbi_send_cpumask_ipi race with
>      ftrace"
> 
> Guo Ren (2):
>    riscv: Fixup wrong ftrace remove cflag
>    riscv: Fixup patch_text panic in ftrace
> 
>   arch/riscv/kernel/Makefile | 5 +++--
>   arch/riscv/kernel/sbi.c    | 2 +-
>   arch/riscv/mm/Makefile     | 3 ++-
>   3 files changed, 6 insertions(+), 4 deletions(-)
> 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20210818/fe64e245/attachment.sig>


More information about the kernel-team mailing list