On 21/12/12 17:31, Philippe Gerum wrote:
On 12/21/2012 02:26 PM, Wolfgang Mauerer wrote:
Hi Gilles, Jan,
here's a proposal to make ipipe compatible with ftrace that
does not require global modifications to the preemption system,
but makes do with local changes. The approach should be ea
The ipipe_safe_preempt_xyz() functions provide the same
semantics as the preempt_xyz() counterparts, but can
be safely called from non-root context.
Signed-off-by: Wolfgang Mauerer
---
include/linux/ipipe_foreign_stack.h |9 ++
kernel/ipipe/core.c | 51
.
Signed-off-by: Wolfgang Mauerer
---
kernel/trace/trace.h |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/kernel/trace/trace.h b/kernel/trace/trace.h
index 5aec220..50d1e9d 100644
--- a/kernel/trace/trace.h
+++ b/kernel/trace/trace.h
@@ -12,6 +12,7 @@
#include
#include
on
preempt_schedule entry.
Signed-off-by: Jan Kiszka
Signed-off-by: Wolfgang Mauerer
---
kernel/sched/core.c |3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/kernel/sched/core.c b/kernel/sched/core.c
index ec38567..9fdcc22 100644
--- a/kernel/sched/core.c
+++ b/kernel
Including replaces all
calls to preemption functions with calls to alternatives
that are safe in non-root context.
Signed-off-by: Wolfgang Mauerer
---
include/linux/ipipe_switch_preempt.h | 31 +++
1 files changed, 31 insertions(+), 0 deletions(-)
create mode
From: Jan Kiszka
We depend on hard-irqs being disabled to push trace_printk
data safely to ftrace.
Signed-off-by: Wolfgang Mauerer
Signed-off-by: Jan Kiszka
---
kernel/trace/trace.c |6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/kernel/trace/trace.c b/kernel
ns to access foreign stacks)
so that the mechanism can be used in contexts where not
the full ipipe API is required.
Signed-off-by: Wolfgang Mauerer
---
include/linux/ipipe.h | 32 +--
include/linux/ipipe_foreign_stack.h | 61 +++
k
API change: ipipe_root_domain_p -> ipipe_root_p
Signed-off-by: Wolfgang Mauerer
---
kernel/sched/core.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/kernel/sched/core.c b/kernel/sched/core.c
index 9fdcc22..d8e0e9e 100644
--- a/kernel/sched/core.c
+++ b/kernel/sc
From: Jan Kiszka
Convert local_irq_save/restore into hw variates in those cpu/sched_clock
paths that are used by ftrace and perf. We don't want to trace them to
reduce the overhead.
Signed-off-by: Jan Kiszka
Signed-off-by: Wolfgang Mauerer
---
kernel/sched/clock.c |6 --
k
Signed-off-by: Wolfgang Mauerer
---
include/linux/ipipe.h |1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/include/linux/ipipe.h b/include/linux/ipipe.h
index 11fc093..bcd5d41 100644
--- a/include/linux/ipipe.h
+++ b/include/linux/ipipe.h
@@ -22,7 +22,6 @@
#ifndef
From: Jan Kiszka
Again no tracing of local_irq_disable/enable_hw for the sake of reduced
overhead.
Signed-off-by: Jan Kiszka
Signed-off-by: Wolfgang Mauerer
---
kernel/trace/trace_functions.c |8
kernel/trace/trace_functions_graph.c |8
2 files changed, 8
Harden trace_vbprintk for non-root use
Wolfgang Mauerer (6):
ipipe: Remove superfluous include file in ipipe.h
ipipe: safe thread_info access from non-root context
ipipe: Add mechanism to allow preemption calls from non-root context
ipipe: Introduce preemption call replacement
On 21/12/12 01:28, Gilles Chanteperdrix wrote:
On 12/20/2012 05:34 PM, Wolfgang Mauerer wrote:
On 20/12/12 17:25, Gilles Chanteperdrix wrote:
On 12/20/2012 05:22 PM, Wolfgang Mauerer wrote:
On 19/12/12 22:06, Gilles Chanteperdrix wrote:
On 12/18/2012 03:58 PM, Wolfgang Mauerer wrote:
On
On 20/12/12 17:25, Gilles Chanteperdrix wrote:
On 12/20/2012 05:22 PM, Wolfgang Mauerer wrote:
On 19/12/12 22:06, Gilles Chanteperdrix wrote:
On 12/18/2012 03:58 PM, Wolfgang Mauerer wrote:
On 18/12/12 15:47, Gilles Chanteperdrix wrote:
On 12/18/2012 12:23 PM, Jan Kiszka wrote:
On 2012-12
On 19/12/12 22:06, Gilles Chanteperdrix wrote:
On 12/18/2012 03:58 PM, Wolfgang Mauerer wrote:
On 18/12/12 15:47, Gilles Chanteperdrix wrote:
On 12/18/2012 12:23 PM, Jan Kiszka wrote:
On 2012-12-15 20:16, Gilles Chanteperdrix wrote:
On 12/15/2012 11:03 PM, Wolfgang Mauerer wrote:
Hi
On 18/12/12 15:47, Gilles Chanteperdrix wrote:
On 12/18/2012 12:23 PM, Jan Kiszka wrote:
On 2012-12-15 20:16, Gilles Chanteperdrix wrote:
On 12/15/2012 11:03 PM, Wolfgang Mauerer wrote:
Hi Gilles,
On 15/12/2012 22:24, Gilles Chanteperdrix wrote:
I see some (recent) activity on this git
On 15/12/12 23:16, Gilles Chanteperdrix wrote:
> On 12/15/2012 11:03 PM, Wolfgang Mauerer wrote:
>> On 15/12/2012 22:24, Gilles Chanteperdrix wrote:
>>> I see some (recent) activity on this git repository:
>>> https://github.com/siemens/ipipe/commits/core-3.5_for-upstre
On 15/12/2012 12:59, Gilles Chanteperdrix wrote:
> On 12/13/2012 05:05 PM, Héctor Vargas wrote:
>
>> Hi everyone,
>>
>> I want to create an application where a control task (real time control
>> of a DC motor) developed in Xenomai (posix skin) can be controlled from
>> a Java interface (GUI). Th
Hi Gilles,
On 15/12/2012 22:24, Gilles Chanteperdrix wrote:
> I see some (recent) activity on this git repository:
> https://github.com/siemens/ipipe/commits/core-3.5_for-upstream
>
> In what state is this branch, can I pull from it?
please don't pull yet, I need to port a few more patches forwa
On 27/09/12 20:33, Gilles Chanteperdrix wrote:
> On 09/27/2012 02:47 PM, Wolfgang Mauerer wrote:
>
>> On 27/09/12 14:04, Gilles Chanteperdrix wrote:
>>> On 09/27/2012 10:28 AM, Wolfgang Mauerer wrote:
>>>> On 26/09/12 23:28, Gilles Chanteperdrix wrote:
>&
On 27/09/12 14:54, Gilles Chanteperdrix wrote:
> On 09/27/2012 02:47 PM, Wolfgang Mauerer wrote:
>> On 27/09/12 14:04, Gilles Chanteperdrix wrote:
>>> On 09/27/2012 10:28 AM, Wolfgang Mauerer wrote:
>>>> On 26/09/12 23:28, Gilles Chanteperdrix wrote:
>>>>
On 27/09/12 14:04, Gilles Chanteperdrix wrote:
> On 09/27/2012 10:28 AM, Wolfgang Mauerer wrote:
>> On 26/09/12 23:28, Gilles Chanteperdrix wrote:
>>> On 09/26/2012 03:16 PM, Wolfgang Mauerer wrote:
(...)
>>> Talking about readability, I find a goto with a clear label
On 26/09/12 23:28, Gilles Chanteperdrix wrote:
> On 09/26/2012 03:16 PM, Wolfgang Mauerer wrote:
>
>> Make the control flow more readable. No functional changes.
>>
>> Signed-off-by: Wolfgang Mauerer
>> ---
&
Make the control flow more readable. No functional changes.
Signed-off-by: Wolfgang Mauerer
---
kernel/ipipe/timer.c | 82 +++--
1 files changed, 52 insertions(+), 30 deletions(-)
diff --git a/kernel/ipipe/timer.c b/kernel/ipipe/timer.c
index
If a CPU that is not supported by ipipe, but used by Linux
shares an IRQ with a timer utilised by ipipe, it must be
possible to forward IRQs received on behalf of the Linux CPU.
Based on a patch by Gilles Chanteperdrix.
Signed-off-by: Wolfgang Mauerer
---
kernel/ipipe/timer.c | 36
On 25/09/12 16:57, Gilles Chanteperdrix wrote:
> On 09/25/2012 04:45 PM, Wolfgang Mauerer wrote:
>> +if (!cpumask_test_cpu(cpu, mask)
>> +&& t->irq == per_cpu(ipipe_percpu.hrtimer_irq, 0)) {
>> +
On 25/09/12 16:57, Gilles Chanteperdrix wrote:
> On 09/25/2012 04:45 PM, Wolfgang Mauerer wrote:
>> +if (!cpumask_test_cpu(cpu, mask)
>> +&& t->irq == per_cpu(ipipe_percpu.hrtimer_irq, 0)) {
>> +
On 20/09/12 18:11, Gilles Chanteperdrix wrote:
> On 09/19/2012 02:15 PM, Wolfgang Mauerer wrote:
>> On 18/09/12 21:36, Gilles Chanteperdrix wrote:
>>> On 09/18/2012 05:27 PM, Wolfgang Mauerer wrote:
>>> Ok. We have a currently pending issue on x86 which you should b
Don't left-shift further than the bit-width of the
shifted type allows. In this particular constellation,
this leads to selecting CPUs that are not specified in
supported_cpus_arg on systems with more than 32 cores.
Signed-off-by: Wolfgang Mauerer
---
ksrc/arch/generic/hal.c |2 +-
On 18/09/12 21:36, Gilles Chanteperdrix wrote:
> On 09/18/2012 05:27 PM, Wolfgang Mauerer wrote:
>
>> On 18/09/12 16:25, Gilles Chanteperdrix wrote:
>>> On 09/18/2012 04:11 PM, Wolfgang Mauerer wrote:
>>>> Dear all,
>>>>
>>>> here'
On 18/09/12 16:25, Gilles Chanteperdrix wrote:
> On 09/18/2012 04:11 PM, Wolfgang Mauerer wrote:
>> Dear all,
>>
>> here's a rebase of the x86-specific bits of core-4 to core-5. I've
>> included all x86 specific changes that are not yet in core-5, and
>>
x IOAPIC with CONFIG_IRQ_REMAP
ipipe/x86: fix compilation for AMD processors
Philippe Gerum (1):
x86/ipipe: ipipe_head_switch_mm -> ipipe_switch_mm_head
Wolfgang Mauerer (5):
ipipe-core4-x86 applied to core-5
x86/ipipe: Make io_apic_level_ack_pending available for ipipe
On 13/09/12 15:26, Gilles Chanteperdrix wrote:
> On 09/13/2012 02:58 PM, Wolfgang Mauerer wrote:
>> On 13/09/12 11:40, Gilles Chanteperdrix wrote:
>>> On 09/13/2012 10:46 AM, Wolfgang Mauerer wrote:
>>>> On 13/09/12 08:43, Gilles Chanteperdrix wrote:
>>
>&
On 13/09/12 11:40, Gilles Chanteperdrix wrote:
> On 09/13/2012 10:46 AM, Wolfgang Mauerer wrote:
>> On 13/09/12 08:43, Gilles Chanteperdrix wrote:
... (some code with varying amounts of pops and pushed)...
>> that fixes the bug, too -- thanks. However, I deliberately spen
On 13/09/12 08:43, Gilles Chanteperdrix wrote:
> On 09/12/2012 07:00 PM, Wolfgang Mauerer wrote:
>
>> Earlier kernels abused the frame pointer to store the
>> old stack pointer in SAVE_ARGS_IRQ. This behaviour was
>> changed in upstream commit a2bbe75089d, which breaks
base
pointer stored in %rsi.
Signed-off-by: Wolfgang Mauerer
Tested-by: Gernot Hillier
---
arch/x86/kernel/entry_64.S |8 ++--
1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/arch/x86/kernel/entry_64.S b/arch/x86/kernel/entry_64.S
index b523908..693ad08 100644
--- a/arch/x86
It's exported in mainline from 3911ff30f5 onwards.
Signed-off-by: Wolfgang Mauerer
---
arch/x86/kernel/ipipe.c |3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/arch/x86/kernel/ipipe.c b/arch/x86/kernel/ipipe.c
index 30515a2..1a56b5f 100644
--- a/arch/x86/kernel/ip
The function is required by the ipipe tracer.
Signed-off-by: Wolfgang Mauerer
---
arch/x86/include/asm/irqflags.h |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/arch/x86/include/asm/irqflags.h b/arch/x86/include/asm/irqflags.h
index cb58e32..65567b6 100644
--- a/arch
timers (2012-09-03 11:15:35 +0200)
are available in the git repository at:
https://github.com/siemens/ipipe.git for-upstream
Wolfgang Mauerer (3):
ipipe: Remove superfluous symbol export of irq_to_desc
ipipe,x86: Introduce hard_irqs_disabled_flags
Fix IRQs-off-tracer for
39 matches
Mail list logo