Skip to contentSkip to conversation

ipipe: 4.4 fixes for x86 and tracer, update to 4.4.37

GIT PULL Jan Kiszka 2 participants 4 messages Dec 19, 2016 – Jan 19, 2017

lore
Share & tools
lore

Jan Kiszka

author
#0 lore raw

Hi Philippe,

The following changes since commit 8121a3aca1742df09940f29b24ebee291481c1ef:

ipipe: do not read irq_desc[] out of bounds with virqs (2016-11-25 17:11:39 +0100)

are available in the git repository at:

git://git.xenomai.org/ipipe-jki for-upstream/4.4

for you to fetch changes up to b0499d6f230268b60b44ccc2dcacee8a30cd4e62:

Merge tag 'v4.4.37' into for-upstream/4.4 (2016-12-09 19:46:32 +0100)

As noted earlier, we missed some x86 patches from releases > 3.14. I think I found them all.

Note: The 4.4.37 merge was not tested on archs!=x86.

Jan

----------------------------------------------------------------
[leaving out the merge part in the stats]

Jan Kiszka (11):
x86/ipipe: Skip lockdep check for vector_lock under I-pipe x86/ipipe: Always leave do_syscall_32_irqs_on with hard irqs disabled x86/ipipe: Maintain Linux IRQ tracing in enable/disable_local_irqs x86/ipipe: Fix DEBUG_LOCKS instrumentation of load_mm_ldt x86/ipipe: Fix root state on return from certain exceptions
ipipe: Remove stray tabs from tracer output
ipipe: Do not trace Linux irqs over the head domain x86/ipipe: Remove unneeded !CONFIG_IPIPE guard around TRACE_IRQS_OFF x86/ipipe: Resync exception handling with ipipe-3.14
ipipe: Extend root domain guard to preempt_schedule_notrace Merge tag 'v4.4.37' into for-upstream/4.4

 arch/x86/entry/common.c            | 16 ++++++++++++----
 arch/x86/entry/entry_64.S          |  3 +--
 arch/x86/include/asm/ipipe.h       | 20 +++++++++++++++++---
 arch/x86/include/asm/mmu_context.h |  3 ++-
 arch/x86/kernel/apic/vector.c      |  2 ++
 arch/x86/kernel/ipipe.c            | 83 +++++++++++++++++++++++++++++++----------------------------------------------------
 arch/x86/kernel/traps.c            | 11 ++++++++++-
 kernel/ipipe/tracer.c              |  4 ++--
 kernel/locking/lockdep.c           | 10 +++++++++-
 kernel/sched/core.c                |  2 +-
 kernel/trace/trace_irqsoff.c       |  8 ++++----
 11 files changed, 91 insertions(+), 71 deletions(-)
Signature · 2 lines
Siemens AG, Corporate Technology, CT RDA ITP SES-DE
Corporate Competence Center Embedded Linux
author
#1 lore raw
Quoted 37 lines · Jan Kiszka

Hi Philippe,

The following changes since commit 8121a3aca1742df09940f29b24ebee291481c1ef:

ipipe: do not read irq_desc[] out of bounds with virqs (2016-11-25 17:11:39 +0100)

are available in the git repository at:

git://git.xenomai.org/ipipe-jki for-upstream/4.4

for you to fetch changes up to b0499d6f230268b60b44ccc2dcacee8a30cd4e62:

Merge tag 'v4.4.37' into for-upstream/4.4 (2016-12-09 19:46:32 +0100)

As noted earlier, we missed some x86 patches from releases > 3.14. I think I found them all.

Note: The 4.4.37 merge was not tested on archs!=x86.

Jan

----------------------------------------------------------------
[leaving out the merge part in the stats]

Jan Kiszka (11):
x86/ipipe: Skip lockdep check for vector_lock under I-pipe x86/ipipe: Always leave do_syscall_32_irqs_on with hard irqs disabled x86/ipipe: Maintain Linux IRQ tracing in enable/disable_local_irqs x86/ipipe: Fix DEBUG_LOCKS instrumentation of load_mm_ldt x86/ipipe: Fix root state on return from certain exceptions
ipipe: Remove stray tabs from tracer output
ipipe: Do not trace Linux irqs over the head domain x86/ipipe: Remove unneeded !CONFIG_IPIPE guard around TRACE_IRQS_OFF x86/ipipe: Resync exception handling with ipipe-3.14
ipipe: Extend root domain guard to preempt_schedule_notrace Merge tag 'v4.4.37' into for-upstream/4.4

Quoted 13 lines
 arch/x86/entry/common.c            | 16 ++++++++++++----
 arch/x86/entry/entry_64.S          |  3 +--
 arch/x86/include/asm/ipipe.h       | 20 +++++++++++++++++---
 arch/x86/include/asm/mmu_context.h |  3 ++-
 arch/x86/kernel/apic/vector.c      |  2 ++
 arch/x86/kernel/ipipe.c            | 83 +++++++++++++++++++++++++++++++----------------------------------------------------
 arch/x86/kernel/traps.c            | 11 ++++++++++-
 kernel/ipipe/tracer.c              |  4 ++--
 kernel/locking/lockdep.c           | 10 +++++++++-
 kernel/sched/core.c                |  2 +-
 kernel/trace/trace_irqsoff.c       |  8 ++++----
 11 files changed, 91 insertions(+), 71 deletions(-)

Hold on, I've found (at least) one remaining issue and will also take the chance to update the stable merge. May take longer though, this year is ending "soon".

Jan

Signature · 2 lines
Siemens AG, Corporate Technology, CT RDA ITP SES-DE
Corporate Competence Center Embedded Linux
#2 lore raw
Quoted 52 lines · Jan Kiszka
Quoted 37 lines · Jan Kiszka

Hi Philippe,

The following changes since commit 8121a3aca1742df09940f29b24ebee291481c1ef:

ipipe: do not read irq_desc[] out of bounds with virqs (2016-11-25 17:11:39 +0100)

are available in the git repository at:

git://git.xenomai.org/ipipe-jki for-upstream/4.4

for you to fetch changes up to b0499d6f230268b60b44ccc2dcacee8a30cd4e62:

Merge tag 'v4.4.37' into for-upstream/4.4 (2016-12-09 19:46:32 +0100)

As noted earlier, we missed some x86 patches from releases > 3.14. I think I found them all.

Note: The 4.4.37 merge was not tested on archs!=x86.

Jan

----------------------------------------------------------------
[leaving out the merge part in the stats]

Jan Kiszka (11):
x86/ipipe: Skip lockdep check for vector_lock under I-pipe x86/ipipe: Always leave do_syscall_32_irqs_on with hard irqs disabled x86/ipipe: Maintain Linux IRQ tracing in enable/disable_local_irqs x86/ipipe: Fix DEBUG_LOCKS instrumentation of load_mm_ldt x86/ipipe: Fix root state on return from certain exceptions
ipipe: Remove stray tabs from tracer output
ipipe: Do not trace Linux irqs over the head domain x86/ipipe: Remove unneeded !CONFIG_IPIPE guard around TRACE_IRQS_OFF x86/ipipe: Resync exception handling with ipipe-3.14
ipipe: Extend root domain guard to preempt_schedule_notrace Merge tag 'v4.4.37' into for-upstream/4.4

Quoted 13 lines
 arch/x86/entry/common.c            | 16 ++++++++++++----
 arch/x86/entry/entry_64.S          |  3 +--
 arch/x86/include/asm/ipipe.h       | 20 +++++++++++++++++---
 arch/x86/include/asm/mmu_context.h |  3 ++-
 arch/x86/kernel/apic/vector.c      |  2 ++
 arch/x86/kernel/ipipe.c            | 83 +++++++++++++++++++++++++++++++----------------------------------------------------
 arch/x86/kernel/traps.c            | 11 ++++++++++-
 kernel/ipipe/tracer.c              |  4 ++--
 kernel/locking/lockdep.c           | 10 +++++++++-
 kernel/sched/core.c                |  2 +-
 kernel/trace/trace_irqsoff.c       |  8 ++++----
 11 files changed, 91 insertions(+), 71 deletions(-)
Quoted 4 lines

Hold on, I've found (at least) one remaining issue and will also take the chance to update the stable merge. May take longer though, this year is ending "soon".

Ok.

Signature · 1 line
Philippe.
author
#3 lore raw

[Xenomai] [PULL v2] ipipe: 4.4 fixes for x86 and tracer, update to 4.4.43

In reply to Jan Kiszka

Hi Philippe,

The following changes since commit 8121a3aca1742df09940f29b24ebee291481c1ef:

ipipe: do not read irq_desc[] out of bounds with virqs (2016-11-25 17:11:39 +0100)

are available in the git repository at:

git://git.xenomai.org/ipipe-jki for-upstream/4.4

for you to fetch changes up to eca25839f95f585e874bf3e4d46f5761907c08df:

Merge tag 'v4.4.43' into for-upstream/4.4 (2017-01-16 17:21:42 +0100)

Note: The 4.4.43 merge was not tested on archs!=x86.

Changes in v2:
- two additional fixes, interrupt-related
- updated to 4.4.43

----------------------------------------------------------------
[leaving out the merge part in the stats]

Jan Kiszka (12):
x86/ipipe: Skip lockdep check for vector_lock under I-pipe x86/ipipe: Always leave do_syscall_32_irqs_on with hard irqs disabled x86/ipipe: Maintain Linux IRQ tracing in enable/disable_local_irqs x86/ipipe: Fix DEBUG_LOCKS instrumentation of load_mm_ldt x86/ipipe: Fix root state on return from certain exceptions
ipipe: Remove stray tabs from tracer output
ipipe: Do not trace Linux irqs over the head domain x86/ipipe: Remove unneeded !CONFIG_IPIPE guard around TRACE_IRQS_OFF x86/ipipe: Resync exception handling with ipipe-3.14
ipipe: Extend root domain guard to preempt_schedule_notrace x86/ipipe: Initialize vector_irq for IRQ_MOVE_CLEANUP_VECTOR x86/ipipe: Fix deadlock on irq migration

 arch/x86/entry/common.c            | 16 ++++++--
 arch/x86/entry/entry_64.S          |  3 +-
 arch/x86/include/asm/ipipe.h       | 20 +++++++--
 arch/x86/include/asm/mmu_context.h |  3 +-
 arch/x86/kernel/apic/io_apic.c     |  2 +-
 arch/x86/kernel/apic/vector.c      |  2 +
 arch/x86/kernel/ipipe.c            | 83 ++++++++++++++------------------------
 arch/x86/kernel/irqinit.c          |  7 ++++
 arch/x86/kernel/traps.c            | 11 ++++-
 kernel/ipipe/tracer.c              |  4 +-
 kernel/locking/lockdep.c           | 10 ++++-
 kernel/sched/core.c                |  2 +-
 kernel/trace/trace_irqsoff.c       |  8 ++--
 13 files changed, 99 insertions(+), 72 deletions(-)
Signature · 2 lines
Siemens AG, Corporate Technology, CT RDA ITP SES-DE
Corporate Competence Center Embedded Linux