public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* [RFC PATCH 0/7] static call updates
@ 2021-11-09 16:45 Ard Biesheuvel
  2021-11-09 16:45 ` [RFC PATCH 1/7] static_call: get rid of static_call_cond() Ard Biesheuvel
                   ` (6 more replies)
  0 siblings, 7 replies; 22+ messages in thread
From: Ard Biesheuvel @ 2021-11-09 16:45 UTC (permalink / raw)
  To: linux-kernel
  Cc: linux-arm-kernel, Ard Biesheuvel, Peter Zijlstra, Josh Poimboeuf,
	Jason Baron, Steven Rostedt, Mark Rutland, Kees Cook

This series addresses a number of asymmetries and inconsistencies in
both the API and the implementation of static calls. The aim is to
ensure that the documented API is fully implemented and works correctly,
regardless of which variety of static calls the arch decides to
implement.

Another goal of this series is to ensure that the caller of the API does
not need to choose a particular kind of macro depending on whether the
static call exports its key and/or whether the static call in question
may implement the NULL flavor.

Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Josh Poimboeuf <jpoimboe@redhat.com>
Cc: Jason Baron <jbaron@akamai.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Kees Cook <keescook@chromium.org>

Ard Biesheuvel (7):
  static_call: get rid of static_call_cond()
  static_call: deal with unexported keys without cluttering up the API
  static_call: use helper to access non-exported key
  static_call: fix broken static_call_query() for non-exported keys
  static_call: use non-function types to refer to the trampolines
  static_call: rename EXPORT_ macros to be more self-explanatory
  static_call: add generic support for non-exported keys

 arch/x86/events/core.c                  |  20 ++--
 arch/x86/include/asm/kvm_host.h         |   4 +-
 arch/x86/include/asm/preempt.h          |   4 +-
 arch/x86/include/asm/static_call.h      |   6 -
 arch/x86/kvm/irq.c                      |   2 +-
 arch/x86/kvm/x86.c                      |  10 +-
 include/asm-generic/vmlinux.lds.h       |   5 +-
 include/linux/kernel.h                  |   2 +-
 include/linux/sched.h                   |   2 +-
 include/linux/static_call.h             | 117 +++++++++-----------
 include/linux/static_call_types.h       |  54 +++++----
 kernel/extable.c                        |   1 +
 kernel/sched/core.c                     |   8 +-
 kernel/static_call.c                    |  29 +----
 tools/include/linux/static_call_types.h |  54 +++++----
 tools/objtool/check.c                   |  43 ++++---
 16 files changed, 174 insertions(+), 187 deletions(-)

-- 
2.30.2


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2021-11-09 19:47 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-11-09 16:45 [RFC PATCH 0/7] static call updates Ard Biesheuvel
2021-11-09 16:45 ` [RFC PATCH 1/7] static_call: get rid of static_call_cond() Ard Biesheuvel
2021-11-09 18:38   ` Peter Zijlstra
2021-11-09 18:41     ` Ard Biesheuvel
2021-11-09 19:22       ` Peter Zijlstra
2021-11-09 19:32   ` Peter Zijlstra
2021-11-09 16:45 ` [RFC PATCH 2/7] static_call: deal with unexported keys without cluttering up the API Ard Biesheuvel
2021-11-09 18:49   ` Peter Zijlstra
2021-11-09 18:53     ` Ard Biesheuvel
2021-11-09 19:41       ` Peter Zijlstra
2021-11-09 16:45 ` [RFC PATCH 3/7] static_call: use helper to access non-exported key Ard Biesheuvel
2021-11-09 18:53   ` Peter Zijlstra
2021-11-09 18:54     ` Ard Biesheuvel
2021-11-09 19:42       ` Peter Zijlstra
2021-11-09 19:45         ` Ard Biesheuvel
2021-11-09 16:45 ` [RFC PATCH 4/7] static_call: fix broken static_call_query() for non-exported keys Ard Biesheuvel
2021-11-09 18:56   ` Peter Zijlstra
2021-11-09 16:45 ` [RFC PATCH 5/7] static_call: use non-function types to refer to the trampolines Ard Biesheuvel
2021-11-09 16:45 ` [RFC PATCH 6/7] static_call: rename EXPORT_ macros to be more self-explanatory Ard Biesheuvel
2021-11-09 19:00   ` Peter Zijlstra
2021-11-09 19:03     ` Ard Biesheuvel
2021-11-09 16:45 ` [RFC PATCH 7/7] static_call: add generic support for non-exported keys Ard Biesheuvel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox