Skip to content

A few more cpuidle vs rcu fixes

Peter Zijlstra kvm linux-pm linux-trace-kernel lkml virtualization 2 versions – Applied

Status from this message: The following commit has been merged into the sched/core branch of tip:

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest9 patches 2 repliesApplied
  2. v16 patches 20 repliesApplied

Changes in v2 from the cover letter

- fixed recursive RCU splats
- fixed psci thingies for arm (null)
- improved the tracing WARN (rostedt)
- fixed TRACE_PREEMPT_TOGGLE (null)

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/9drivers: firmware: psci: Dont instrument suspend codedrivers/firmware/psci/psci.c+19 -120 replies
2/9bug: Disable rcu_is_watching() during WARN/BUGinclude/linux/context_tracking.h kernel/locking/lockdep.c kernel/panic.c +1 more+49 -10 replies
3/9tracing: Warn about !rcu_is_watching()include/linux/trace_recursion.h+18 -00 replies
4/9tracing, preempt: Squash _rcuidle tracingkernel/trace/trace_preemptirq.c+2 -40 replies
4/9tracing, preempt: Squash _rcuidle tracingkernel/trace/trace_preemptirq.c+6 -80 replies
5/9x86: Always inline arch_atomic64arch/x86/include/asm/atomic64_32.h arch/x86/include/asm/atomic64_64.h+40 -400 replies
6/9x86/pvclock: improve atomic update of last_value in pvclock_clocksource_readarch/x86/kernel/pvclock.c+2 -30 replies
7/9x86: Mark sched_clock() noinstrarch/x86/include/asm/kvmclock.h arch/x86/include/asm/paravirt.h arch/x86/include/asm/pvclock.h +6 more+38 -191 reply
8/9sched/clock: Make local_clock() noinstrinclude/linux/sched/clock.h kernel/sched/clock.c+24 -110 replies
9/9cpuidle: Fix poll_idle() noinstr annotationdrivers/cpuidle/cpuidle.c drivers/cpuidle/poll_state.c+1 -30 replies

Reviews trailers per patch

1 of 10 patches has a Reviewed-by or Acked-by.

PatchRafael J. WysockiMark Rutland
1/9
2/9
3/9
4/9T-b T-b
4/9T-b T-b
5/9
6/9
7/9
8/9
9/9A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/9] A few more cpuidle vs rcu fixes

0-day robot reported graph-tracing made the cpuidle-vs-rcu rework go splat.

These patches appear to cure this, the ftrace selftest now runs to completion without spamming scary messages to dmesg.

Since v1:

- fixed recursive RCU splats
- fixed psci thingies for arm (null)
- improved the tracing WARN (rostedt)
- fixed TRACE_PREEMPT_TOGGLE (null)

---
 arch/x86/include/asm/atomic64_32.h | 44 +++++++++++++++++++-------------------
 arch/x86/include/asm/atomic64_64.h | 36 +++++++++++++++----------------
 arch/x86/include/asm/kvmclock.h    |  2 +-
 arch/x86/include/asm/paravirt.h    |  2 +-
 arch/x86/include/asm/pvclock.h     |  3 ++-
 arch/x86/kernel/cpu/vmware.c       |  2 +-
 arch/x86/kernel/kvmclock.c         |  6 +++---
 arch/x86/kernel/pvclock.c          | 22 +++++++++++++------
 arch/x86/kernel/tsc.c              |  7 +++---
 arch/x86/xen/time.c                | 12 +++++++++--
 drivers/cpuidle/cpuidle.c          |  2 +-
 drivers/cpuidle/poll_state.c       |  2 --
 drivers/firmware/psci/psci.c       | 31 ++++++++++++++++-----------
 include/linux/context_tracking.h   | 27 +++++++++++++++++++++++
 include/linux/math64.h             |  4 ++--
 include/linux/sched/clock.h        |  8 +++----
 include/linux/trace_recursion.h    | 18 ++++++++++++++++
 kernel/locking/lockdep.c           |  3 +++
 kernel/panic.c                     |  5 +++++
 kernel/sched/clock.c               | 27 +++++++++++++++++------
 kernel/trace/trace_preemptirq.c    |  6 ++----
 lib/bug.c                          | 15 ++++++++++++-
 22 files changed, 192 insertions(+), 92 deletions(-)

_______________________________________________
Virtualization mailing list
[email protected]
https://lists.linuxfoundation.org/mailman/listinfo/virtualization