linux-rt-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH RT 0/2] Linux 3.2.63-rt93-rc1
@ 2014-10-31  1:09 Steven Rostedt
  2014-10-31  1:09 ` [PATCH RT 1/2] lockdep: Fix backport of "Correctly annotate hardirq context in irq_exit()" Steven Rostedt
  2014-10-31  1:09 ` [PATCH RT 2/2] Linux 3.2.63-rt93-rc1 Steven Rostedt
  0 siblings, 2 replies; 3+ messages in thread
From: Steven Rostedt @ 2014-10-31  1:09 UTC (permalink / raw)
  To: linux-kernel, linux-rt-users
  Cc: Thomas Gleixner, Carsten Emde, Sebastian Andrzej Siewior,
	John Kacur, Paul Gortmaker


Dear RT Folks,

This is the RT stable review cycle of patch 3.2.63-rt93-rc1.

Please scream at me if I messed something up. Please test the patches too.

The -rc release will be uploaded to kernel.org and will be deleted when
the final release is out. This is just a review release (or release candidate).

The pre-releases will not be pushed to the git repository, only the
final release is.

If all goes well, this patch will be converted to the next main release
on 11/3/2014.

Enjoy,

-- Steve


To build 3.2.63-rt93-rc1 directly, the following patches should be applied:

  http://www.kernel.org/pub/linux/kernel/v3.x/linux-3.2.tar.xz

  http://www.kernel.org/pub/linux/kernel/v3.x/patch-3.2.63.xz

  http://www.kernel.org/pub/linux/kernel/projects/rt/3.2/patch-3.2.63-rt93-rc1.patch.xz

You can also build from 3.2.63-rt92 by applying the incremental patch:

http://www.kernel.org/pub/linux/kernel/projects/rt/3.2/incr/patch-3.2.63-rt92-rt93-rc1.patch.xz


Changes from 3.2.63-rt92:

---


Steven Rostedt (Red Hat) (2):
      lockdep: Fix backport of "Correctly annotate hardirq context in irq_exit()"
      Linux 3.2.63-rt93-rc1

----
 kernel/softirq.c | 5 +++--
 localversion-rt  | 2 +-
 2 files changed, 4 insertions(+), 3 deletions(-)

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

* [PATCH RT 1/2] lockdep: Fix backport of "Correctly annotate hardirq context in irq_exit()"
  2014-10-31  1:09 [PATCH RT 0/2] Linux 3.2.63-rt93-rc1 Steven Rostedt
@ 2014-10-31  1:09 ` Steven Rostedt
  2014-10-31  1:09 ` [PATCH RT 2/2] Linux 3.2.63-rt93-rc1 Steven Rostedt
  1 sibling, 0 replies; 3+ messages in thread
From: Steven Rostedt @ 2014-10-31  1:09 UTC (permalink / raw)
  To: linux-kernel, linux-rt-users
  Cc: Thomas Gleixner, Carsten Emde, Sebastian Andrzej Siewior,
	John Kacur, Paul Gortmaker, Peter Zijlstra

[-- Attachment #1: 0001-lockdep-Fix-backport-of-Correctly-annotate-hardirq-c.patch --]
[-- Type: text/plain, Size: 1672 bytes --]

3.2.63-rt93-rc1 stable review patch.
If anyone has any objections, please let me know.

------------------

From: "Steven Rostedt (Red Hat)" <rostedt@goodmis.org>

The backport of f1a83e652bed "lockdep: Correctly annotate hardirq context
in irq_exit()" to v3.2.53-rt76 wasn't correct because v3.2-rt had two
calls to invoke_softirq(). One when __ARCH_IRQ_EXIT_IRQS_DISABLED is defined
and another when it is not defined. v3.14 which introduced this change
only had one version.

When I backported this change, I didn't see the two places and only one
was added. Unfortunately, it was the one that x86 does not use, and this
caused a lockdep splat on one of my tests. It only affected the -rt patch
when PREEMPT_RT_FULL was not set, so I did not spend much time looking to
see what broke.

Well, I finally spent a little time and found the cause, and this was
a simple fix. Now my all my tests pass on the v3.2-rt kernel, even the
one where I test CONFIG_PREEMPT_RT_FULL not set.

Cc: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
---
 kernel/softirq.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/kernel/softirq.c b/kernel/softirq.c
index 7d882ccfa22b..56d30853345d 100644
--- a/kernel/softirq.c
+++ b/kernel/softirq.c
@@ -637,9 +637,10 @@ static inline void invoke_softirq(void)
 static inline void invoke_softirq(void)
 {
 #ifndef CONFIG_PREEMPT_RT_FULL
-	if (!force_irqthreads)
+	if (!force_irqthreads) {
+		lockdep_softirq_from_hardirq();
 		do_softirq();
-	else {
+	} else {
 		__local_bh_disable((unsigned long)__builtin_return_address(0),
 				SOFTIRQ_OFFSET);
 		wakeup_softirqd();
-- 
2.1.1

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

* [PATCH RT 2/2] Linux 3.2.63-rt93-rc1
  2014-10-31  1:09 [PATCH RT 0/2] Linux 3.2.63-rt93-rc1 Steven Rostedt
  2014-10-31  1:09 ` [PATCH RT 1/2] lockdep: Fix backport of "Correctly annotate hardirq context in irq_exit()" Steven Rostedt
@ 2014-10-31  1:09 ` Steven Rostedt
  1 sibling, 0 replies; 3+ messages in thread
From: Steven Rostedt @ 2014-10-31  1:09 UTC (permalink / raw)
  To: linux-kernel, linux-rt-users
  Cc: Thomas Gleixner, Carsten Emde, Sebastian Andrzej Siewior,
	John Kacur, Paul Gortmaker

[-- Attachment #1: 0002-Linux-3.2.63-rt93-rc1.patch --]
[-- Type: text/plain, Size: 411 bytes --]

3.2.63-rt93-rc1 stable review patch.
If anyone has any objections, please let me know.

------------------

From: "Steven Rostedt (Red Hat)" <rostedt@goodmis.org>

---
 localversion-rt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/localversion-rt b/localversion-rt
index 4905d52a4828..4821d0e04d28 100644
--- a/localversion-rt
+++ b/localversion-rt
@@ -1 +1 @@
--rt92
+-rt93-rc1
-- 
2.1.1

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

end of thread, other threads:[~2014-10-31  1:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-31  1:09 [PATCH RT 0/2] Linux 3.2.63-rt93-rc1 Steven Rostedt
2014-10-31  1:09 ` [PATCH RT 1/2] lockdep: Fix backport of "Correctly annotate hardirq context in irq_exit()" Steven Rostedt
2014-10-31  1:09 ` [PATCH RT 2/2] Linux 3.2.63-rt93-rc1 Steven Rostedt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).