Merge branch 'fixes' into features
authorVasily Gorbik <gor@linux.ibm.com>
Tue, 1 Mar 2022 20:02:48 +0000 (21:02 +0100)
committerVasily Gorbik <gor@linux.ibm.com>
Tue, 1 Mar 2022 20:02:48 +0000 (21:02 +0100)
This helps to avoid several merge conflicts later.

* fixes:
  s390/extable: fix exception table sorting
  s390/ftrace: fix arch_ftrace_get_regs implementation
  s390/ftrace: fix ftrace_caller/ftrace_regs_caller generation
  s390/setup: preserve memory at OLDMEM_BASE and OLDMEM_SIZE
  s390/cio: verify the driver availability for path_event call
  s390/module: fix building test_modules_helpers.o with clang
  MAINTAINERS: downgrade myself to Reviewer for s390
  MAINTAINERS: add Alexander Gordeev as maintainer for s390

Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
1  2 
MAINTAINERS
arch/s390/kernel/ftrace.c
arch/s390/kernel/mcount.S

diff --cc MAINTAINERS
Simple merge
@@@ -188,8 -217,14 +217,14 @@@ int ftrace_make_nop(struct module *mod
  
  int ftrace_make_call(struct dyn_ftrace *rec, unsigned long addr)
  {
 -      brcl_enable((void *)rec->ip);
 -      return 0;
+       struct ftrace_hotpatch_trampoline *trampoline;
+       trampoline = ftrace_get_trampoline(rec);
+       if (IS_ERR(trampoline))
+               return PTR_ERR(trampoline);
+       s390_kernel_write(&trampoline->interceptor, &addr, sizeof(addr));
 +      /* Expect brcl 0x0,... */
 +      return ftrace_patch_branch_mask((void *)rec->ip, 0xc004, true);
  }
  
  int ftrace_update_ftrace_func(ftrace_func_t func)
Simple merge