mbox series

[stable,4.14,v3,0/4] ARM: ftrace MODULE_PLTS warning

Message ID 20210927210259.3216965-1-f.fainelli@gmail.com (mailing list archive)
Headers show
Series ARM: ftrace MODULE_PLTS warning | expand

Message

Florian Fainelli Sept. 27, 2021, 9:02 p.m. UTC
This patch series is present in v5.14 and fixes warnings seen at insmod
with FTRACE and MODULE_PLTS enabled on ARM/Linux.

Changes in v3:

- resolved build error with allmodconfig enabling CONFIG_OLD_MCOUNT

Changes in v2:

- included build fix without DYNAMIC_FTRACE
- preserved Author's original name in 4.9 submission

Alex Sverdlin (4):
  ARM: 9077/1: PLT: Move struct plt_entries definition to header
  ARM: 9078/1: Add warn suppress parameter to arm_gen_branch_link()
  ARM: 9079/1: ftrace: Add MODULE_PLTS support
  ARM: 9098/1: ftrace: MODULE_PLT: Fix build problem without
    DYNAMIC_FTRACE

 arch/arm/include/asm/ftrace.h |  3 +++
 arch/arm/include/asm/insn.h   |  8 +++---
 arch/arm/include/asm/module.h | 10 +++++++
 arch/arm/kernel/ftrace.c      | 50 ++++++++++++++++++++++++++++-------
 arch/arm/kernel/insn.c        | 19 ++++++-------
 arch/arm/kernel/module-plts.c | 49 ++++++++++++++++++++++++++--------
 6 files changed, 105 insertions(+), 34 deletions(-)