Skip to content

Alex fixes manual#556

Closed
AlexGhiti wants to merge 3 commits into
masterfrom
alex-fixes_manual
Closed

Alex fixes manual#556
AlexGhiti wants to merge 3 commits into
masterfrom
alex-fixes_manual

Conversation

@AlexGhiti
Copy link
Copy Markdown

No description provided.

@AlexGhiti AlexGhiti force-pushed the alex-fixes_manual branch 2 times, most recently from 9006f39 to 5a9263d Compare June 24, 2025 10:20
@AlexGhiti AlexGhiti force-pushed the alex-fixes_manual branch 7 times, most recently from 826677c to eabc434 Compare July 2, 2025 08:38
As reported by lockdep, some patching was done without acquiring
text_mutex, so there could be a race when mapping the page to patch
since we use the same fixmap entry.

Reported-by: Han Gao <rabenda.cn@gmail.com>
Reported-by: Vivian Wang <wangruikang@iscas.ac.cn>
Reported-by: Yao Zi <ziyao@disroot.org>
Closes: https://lore.kernel.org/linux-riscv/aGODMpq7TGINddzM@pie.lan/
Tested-by: Yao Zi <ziyao@disroot.org>
Signed-off-by: Alexandre Ghiti <alexghiti@rivosinc.com>
@AlexGhiti AlexGhiti force-pushed the alex-fixes_manual branch from eabc434 to cff0e76 Compare July 2, 2025 13:56
Alexandre Ghiti added 2 commits July 3, 2025 09:58
Now that DYNAMIC_FTRACE was introduced, there is no need to support
static ftrace as it is way less performant. This simplifies the code and
prevents build failures as reported by kernel test robot when
!DYNAMIC_FTRACE.

Fixes: b2137c3 ("riscv: ftrace: prepare ftrace for atomic code patching")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202506191949.o3SMu8Zn-lkp@intel.com/
Signed-off-by: Alexandre Ghiti <alexghiti@rivosinc.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants