Re: [uml-devel] [PATCH] UML: Fix some apparent bitrot

2009-06-25 Thread Paul Menage
On Thu, Jun 25, 2009 at 12:57 AM, Boaz Harrosh wrote: > > Paul? we did not receive any feedback from you I split it out into two patches and sent them about an hour ago. (One for mmu_context.h sent to Rusty and one for the other two fixes, sent to Linus) Paul

[uml-devel] [PATCH] UML: Fix some apparent bitrot

2009-06-19 Thread Paul Menage
UML: Fix some apparent bitrot - migration of net_device methods into net_device_ops - dma_sync_single() changes - cpumask_clear() -> cpumask_clear_cpu() Signed-off-by: Paul Menage -- Fixes the following compile errors: include/linux/dma-mapping.h:113: error: redefinition of 'dma_syn

[uml-devel] [RFC][PATCH 0/5] UML: Support lockdep on x86-64 UML

2009-06-15 Thread Paul Menage
900 hardirqs last enabled at (29899): [<600a87a5>] kmem_cache_alloc+0xa0/0x10b hardirqs last disabled at (29900): [<600240a3>] sigio_handler+0x18/0x76 softirqs last enabled at (19414): [<601c1706>] xfrm_state_unlock_afinfo+0xe/0x10 softirqs las

Re: [uml-devel] Building/runing UML in SMP mode

2009-06-15 Thread Paul Menage
On Mon, Jun 15, 2009 at 6:03 PM, Jeff Dike wrote: > > The problem with SMP on skas0 Does that mean that it works more easily on skas3? > I actually had this somewhat working, but the code was a horror show, > with much nastiness about ignoring the signals that are needed in > order to prevent a d

[uml-devel] [PATCH 5/5] UML: Remove sigio_lock()/sigio_unlock() lockdep warnings

2009-06-15 Thread Paul Menage
passed to sigio_lock() and sigio_unlock() to allow them to use spin_lock_irqsave() and spin_unlock_irqrestore(). Signed-off-by: Paul Menage --- arch/um/include/shared/sigio.h |4 +-- arch/um/kernel/sigio.c |8 +++--- arch/um/os-Linux/sigio.c | 55 +

[uml-devel] [PATCH 3/5] UML: Enable CONFIG_STACKTRACE_SUPPORT

2009-06-15 Thread Paul Menage
UML: Enable CONFIG_STACKTRACE_SUPPORT Adds a simple stacktrace function, only tested/enabled on X86 Signed-off-by: Paul Menage --- arch/um/Kconfig.common |2 + arch/um/kernel/Makefile |1 + arch/um/kernel/stacktrace.c | 68 +++ arch

[uml-devel] [PATCH 2/5] UML: Enable CONFIG_TRACE_IRQFLAGS_SUPPORT

2009-06-15 Thread Paul Menage
UML: Enable CONFIG_TRACE_IRQFLAGS_SUPPORT Signed-off-by: Paul Menage --- arch/um/Kconfig.common|2 +- arch/um/include/asm/system.h | 39 ++- arch/um/kernel/irq.c |1 + arch/um/kernel/process.c |1 - arch/um/kernel/skas

[uml-devel] [PATCH 4/5] UML: Avoid lockdep issues during initialization

2009-06-15 Thread Paul Menage
is called. Signed-off-by: Paul Menage --- arch/um/kernel/skas/process.c | 26 ++ arch/um/kernel/um_arch.c | 20 2 files changed, 26 insertions(+), 20 deletions(-) diff --git a/arch/um/kernel/skas/process.c b/arch/um/kernel/skas/process.c ind

[uml-devel] [PATCH 1/5] UML: Fix some apparent bitrot

2009-06-15 Thread Paul Menage
UML: Fix some apparent bitrot - migration of net_device methods into net_device_ops - address space layout changes - dma_sync_single() changes Signed-off-by: Paul Menage --- arch/um/drivers/slip_kern.c|1 - arch/um/drivers/slirp_kern.c |1 - arch/um/include/asm/dma

[uml-devel] Building/runing UML in SMP mode

2009-06-11 Thread Paul Menage
For a while now (since tt mode was dropped and skas mode became the only option?) it looks as though UML has been UP-only on x86-64. And even though the configs appear to allow building SMP on x86-32, there are things like the panic() call in kernel/smp.c:idle_thread() which imply that it won't wo