All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai] [PULL] x86/ipipe: Small fixes and patch against BUG on legacy IRQs to APs
@ 2013-03-01 17:38 Jan Kiszka
  2013-03-01 18:57 ` Jan Kiszka
  0 siblings, 1 reply; 2+ messages in thread
From: Jan Kiszka @ 2013-03-01 17:38 UTC (permalink / raw)
  To: Philippe Gerum; +Cc: Xenomai

The following changes since commit 946ca3977e75316751caecc7182f4e64af6499d5:

  ipipe-core-3.5.7-blackfin-3 (2013-01-22 11:41:34 +0100)

are available in the git repository at:
  git://git.xenomai.org/ipipe-jki.git for-upstream/3.5
  (well, whatever transport works by then)

The most important fix is the backport of the upstream patch to fix
unhandled legacy PIC IRQs that show up on secondary CPUs. Linux gets
confused about this, I-pipe even raises a BUG in __ipipe_handle_irq.
That's solved now according to user reports.

The rest deals with non-GPL exports of central symbols, a small fix for
the latency tracer on x86 and cleanups.

Jan Kiszka (8):
      ipipe: Export ipipe_root_only also for non-GPL modules
      ipipe: Export __ipipe_spin_unlock_debug also for non-GPL modules
      ipipe: Allow local_irq_enable/disable etc. for non-GPL modules
      x86/ipipe: Fix irqoff tracing in __ipipe_syscall_root
      x86/ipipe: Stop saving/restoring flags in __ipipe_syscall_root
      x86/ipipe: Consolidate printing of I-pipe domain in show_regs
      ipipe: Convert ipipe_check_irqoff into macro
      ipipe: Remove unused get_wall_to_monotonic

Suresh Siddha (1):
      x86, apic: Cleanup cfg->domain setup for legacy interrupts

 arch/x86/kernel/apic/io_apic.c |   20 ++++----------------
 arch/x86/kernel/dumpstack_32.c |    6 +++---
 arch/x86/kernel/dumpstack_64.c |    4 +---
 arch/x86/kernel/ipipe.c        |   11 +++++++----
 include/linux/ipipe_debug.h    |   10 +++++-----
 include/linux/time.h           |    1 -
 kernel/ipipe/core.c            |   10 +++++-----
 kernel/time/timekeeping.c      |    6 ------
 8 files changed, 25 insertions(+), 43 deletions(-)


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

* Re: [Xenomai] [PULL] x86/ipipe: Small fixes and patch against BUG on legacy IRQs to APs
  2013-03-01 17:38 [Xenomai] [PULL] x86/ipipe: Small fixes and patch against BUG on legacy IRQs to APs Jan Kiszka
@ 2013-03-01 18:57 ` Jan Kiszka
  0 siblings, 0 replies; 2+ messages in thread
From: Jan Kiszka @ 2013-03-01 18:57 UTC (permalink / raw)
  To: Philippe Gerum; +Cc: Xenomai

On 2013-03-01 18:38, Jan Kiszka wrote:
> The following changes since commit 946ca3977e75316751caecc7182f4e64af6499d5:
> 
>   ipipe-core-3.5.7-blackfin-3 (2013-01-22 11:41:34 +0100)
> 
> are available in the git repository at:
>   git://git.xenomai.org/ipipe-jki.git for-upstream/3.5
>   (well, whatever transport works by then)
> 
> The most important fix is the backport of the upstream patch to fix
> unhandled legacy PIC IRQs that show up on secondary CPUs. Linux gets
> confused about this, I-pipe even raises a BUG in __ipipe_handle_irq.
> That's solved now according to user reports.
> 
> The rest deals with non-GPL exports of central symbols, a small fix for
> the latency tracer on x86 and cleanups.
> 
> Jan Kiszka (8):
>       ipipe: Export ipipe_root_only also for non-GPL modules
>       ipipe: Export __ipipe_spin_unlock_debug also for non-GPL modules
>       ipipe: Allow local_irq_enable/disable etc. for non-GPL modules
>       x86/ipipe: Fix irqoff tracing in __ipipe_syscall_root
>       x86/ipipe: Stop saving/restoring flags in __ipipe_syscall_root
>       x86/ipipe: Consolidate printing of I-pipe domain in show_regs
>       ipipe: Convert ipipe_check_irqoff into macro
>       ipipe: Remove unused get_wall_to_monotonic

Sorry, but I got hold of another bug and extended the pull therefor:

     x86/ipipe: Do not call TRACE_IRQS_OFF before __ipipe_divert_exception

 arch/x86/kernel/entry_32.S |    4 ++--
 arch/x86/kernel/entry_64.S |    8 ++++++--
 2 files changed, 8 insertions(+), 4 deletions(-)

Not critical as long as CONFIG_TRACE_IRQFLAGS if off. But when it's on
and someone triggers e.g. an INT1 or INT3, we corrupt the root domain
state.

Jan

> 
> Suresh Siddha (1):
>       x86, apic: Cleanup cfg->domain setup for legacy interrupts
> 
>  arch/x86/kernel/apic/io_apic.c |   20 ++++----------------
>  arch/x86/kernel/dumpstack_32.c |    6 +++---
>  arch/x86/kernel/dumpstack_64.c |    4 +---
>  arch/x86/kernel/ipipe.c        |   11 +++++++----
>  include/linux/ipipe_debug.h    |   10 +++++-----
>  include/linux/time.h           |    1 -
>  kernel/ipipe/core.c            |   10 +++++-----
>  kernel/time/timekeeping.c      |    6 ------
>  8 files changed, 25 insertions(+), 43 deletions(-)
> 

-- 
Siemens AG, Corporate Technology, CT RTC ITP SDP-DE
Corporate Competence Center Embedded Linux


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

end of thread, other threads:[~2013-03-01 18:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-01 17:38 [Xenomai] [PULL] x86/ipipe: Small fixes and patch against BUG on legacy IRQs to APs Jan Kiszka
2013-03-01 18:57 ` Jan Kiszka

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.