Greg Ungerer wrote:
Hi Sebastian,
Hi Greg,
http://www.kernel.org/pub/scm/linux/kernel/git/gerg/uclinux.git
Greg, you need to run git-update-server-info in order to create
info/refs which is required for dump protocols like http.
It might be a good idea to set the +x bit on hooks/post-update i
Greg Ungerer wrote:
Hi Greg,
[EMAIL PROTECTED]:~/nios/uClinux-dist/greg> git clone
http://git.kernel.org/pub/scm/linux/kernel/git/greg/uclinux.git
Initialized empty Git repository in
/home/mschnell/nios/uClinux-dist/greg/uclinux/.git/
Cannot get remote repository information.
Perhaps git-upd
Signed-off-by: Sebastian Siewior <[EMAIL PROTECTED]>
---
This new version contains a bugfix: byterev can not be used on address
registers.
include/asm-m68knommu/byteorder.h | 16 +++-
1 files changed, 15 insertions(+), 1 deletions(-)
diff --git a/include/asm-m68knommu/byteo
Hi Ingo, Greg,
This patch series includes ftrace support on m68knommu and is against
ftrace-devel.
Ingo: irq flags aren't conditional so I guess this is one of the things
that an arch has to implement (patch #2). In that case you can dump the
status as well couldn't you (patch #3)? I'm not sure
igeasy/git/linux-2.6-ftrace/kernel/trace/ftrace.c: In function
'ftrace_list_func':
/home/bigeasy/git/linux-2.6-ftrace/kernel/trace/ftrace.c:61: error: implicit
declaration of function 'read_barrier_depends'
Signed-off-by: Sebastian Siewior <[EMAIL PROTECTED]>
---
includ
The data is collected anyway so why not print it?
Signed-off-by: Sebastian Siewior <[EMAIL PROTECTED]>
---
kernel/trace/trace.c |9 -
1 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c
index 06c85b3..0b0e996 100644
--- a/
due to a gcc bug or feature, the following patch has to be applied to gcc:
|m68k: remove label generation on -pg
|
|haven't found a reason why this flag is needed. Maybe glibc needs this label.
|However this implementation puts the labels too far away.
|
|Signed-off-by: Sebastian Siewior &l
* Greg Ungerer | 2008-05-12 13:46:00 [+1000]:
>Hi Sebastian, Benedikt,
Hi Greg,
>Sebastian Siewior wrote:
>>This one could be used as a hrtimer.
>>
>>Signed-off-by: Benedikt Spranger <[EMAIL PROTECTED]>
>>Signed-off-by: Sebastian Siewior <[EMAIL PROTEC
This one could be used as a hrtimer.
Signed-off-by: Benedikt Spranger <[EMAIL PROTECTED]>
Signed-off-by: Sebastian Siewior <[EMAIL PROTECTED]>
---
I
- added DMA_TIMER_X define
- removed the comment
- added a new comment which describes what is done
- changed from reseting to free c
The old method is used when frame pointers are not available.
Also fix formating with CONFIG_KALLSYMS=n which eliminates \n.
Signed-off-by: Sebastian Siewior <[EMAIL PROTECTED]>
---
Gavin: thanks again for the hint. Now it should be complete.
arch/m68knommu/kernel/traps.c
the ff1 and bitrev opcode appears in ISA C and ISA A+ what isn't
supported by all plattforms. The assembly optimization is automaticly
enabled if the compiler understand the required cpu keyword.
My m5235 seems to boot and run fine so far.
Signed-off-by: Sebastian Siewior <[EMAIL P
Signed-off-by: Sebastian Siewior <[EMAIL PROTECTED]>
---
Updated because define changed.
include/asm-m68knommu/byteorder.h | 16 +++-
1 files changed, 15 insertions(+), 1 deletions(-)
diff --git a/include/asm-m68knommu/byteorder.h
b/include/asm-m68knommu/byteorder.h
index 8
* Greg Ungerer | 2008-05-08 16:26:12 [+1000]:
>Hi Sebastian,
Hi Greg,
>I am ok with that. But in the past I have been asked to
>change flags used in this way to not use a CONFIG_ prefix.
>(Since it is now not a Kconfig set item).
Makes sense.
>My preference would be something like M68K_ISA_APLUS
The old method is used when frame pointers are not available.
Also fix formating with CONFIG_KALLSYMS=n which eliminates \n.
Signed-off-by: Sebastian Siewior <[EMAIL PROTECTED]>
---
Just noticed __kernel_text_address(). That one also checks the module
area.
arch/m68knommu/kernel/traps.c
* Greg Ungerer | 2008-05-08 16:34:41 [+1000]:
>Hi Sebastian,
Hi Greg,
>
>After patch applied, and with CONFIG_FRAME_POINTE disabled...
>
> CC arch/m68knommu/kernel/traps.o
>arch/m68knommu/kernel/traps.c: In function ???__show_stack???:
>arch/m68knommu/kernel/traps.c:190: error: ???_start??
the ff1 and bitrev opcode appears in ISA C and ISA A+ what isn't
supported by all plattforms. The assembly optimization is automaticly
enabled if the compiler understand the required cpu keyword.
My m5235 seems to boot and run fine so far.
Signed-off-by: Sebastian Siewior <[EMAIL P
The old method is used when frame pointers are not available.
Signed-off-by: Sebastian Siewior <[EMAIL PROTECTED]>
--- a/arch/m68knommu/kernel/traps.c
+++ b/arch/m68knommu/kernel/traps.c
@@ -142,7 +142,21 @@ static void __show_stack(struct task_str
}
printk("\
Greg Ungerer wrote:
Hi Sebastian,
Hi Greg,
-mcpu is not supported in gcc-4.1.1 (I currently use that).
I looked at the online docs and it looked like 4.2 didn't have it,
but never trust the docs!
My gcc is from CodeSourcery so one of their patches could be responsible
for that. I check on
* Greg Ungerer | 2008-05-07 14:07:43 [+1000]:
Hi Greg,
>Comments below.
mine, too
>Sebastian Siewior wrote:
>>the ff1 and bitrev opcode appears in ISA C and ISA A+ what is supported
>>only by three in kernel plattforms.
>>This patch changes the CFLAGS because the old one
The old method is used when frame pointers are not available.
Signed-off-by: Sebastian Siewior <[EMAIL PROTECTED]>
---
Greg, here it is back. I altered the comment because I don't thing that
vmalloc()ed code is considered.
arch/m68knommu/kernel/traps.c | 16 +++-
1 fi
Greg Ungerer wrote:
Sebastian Siewior wrote:
Greg Ungerer wrote:
Sebastian Siewior wrote:
May we agree on a git tree? This would make things easier I guess. Even
Russell has one these days :) This would atleast avoid [2]. And if you
remove the stack address in my other patch please let me
Greg Ungerer wrote:
Hi Sebastian,
Hi Greg,
Sebastian Siewior wrote:
- you forwarded my patches after you edit them.
Rebased, and regenerated them. Any other change is an
over site. Can you be more specific what content changed?
- You removed the stack address from the backtrace.
- A few
* Rakesh Jagota | 2008-04-30 22:16:01 [-0700]:
>I am using uc Linux kernel version 2.6.23 and architecture in m68knommu.
>Can anyone in the community help me out to get resolve this issue?
Is it possible to apply [1]. With this patch we get a symbolic backtrace
so we might get a hint where it is
- you forwarded my patches after you edit them.
- I was not on CC
- I sent [1] you did [2]. Did not check further because I went bm
- You did not take even one of my fec clean up patches but you merged
the locking fix. Since this patch was after the cleanup one you had
spent some time to ma
From: Sebastian Siewior <[EMAIL PROTECTED]>
Schedule a removal for this driver. Alternative driver is
available for a while now.
Signed-off-by: Sebastian Siewior <[EMAIL PROTECTED]>
---
Greg said [1] and I hope .28 is not too late.
[1] http://www.mail-archive.com/uclinux-dev@uclinux.
Title: [uClinux-dev] [PATCH] m68knommu: fec: move some code around
we get rid of some prototypes and code is in its natural order.
Signed-off-by: Sebastian Siewior <[EMAIL PROTECTED]>
---
drivers/net/fec.c | 270 ++---
1 files c
ecause it was not handled, registered and
rarely the only flag in the status reg. Registering an interrupt source without
enabling it is also pointless.
This patch removes them all except the three that are handled by the isr.
Signed-off-by: Sebastian Siewior <[EMAIL PROTECTED]>
ivers/net/fec.c:2136: warning: 'mii_link_interrupt' defined but not used
Signed-off-by: Sebastian Siewior <[EMAIL PROTECTED]>
---
drivers/net/fec.c | 11 +--
1 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/drivers/net/fec.c b/drivers/net/fec.c
index d7a3ea
Title: [uClinux-dev] [PATCH] m68knommu: add a missing backslash n in setupcode
Signed-off-by: Sebastian Siewior <[EMAIL PROTECTED]>
---
arch/m68knommu/kernel/setup.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/m68knommu/kernel/setup.c b/arch/m68
Title: [uClinux-dev] [PATCH] m68knommu: mcfserial: piece fromlinux-2.6.24-uc0.patch
this has not been applied to v2.6.25
the whole thing http://www.uclinux.org/pub/uClinux/uClinux-2.6.x/linux-2.6.24-uc0.patch.gz
---
drivers/serial/mcfserial.c | 11 +++-
include/asm-m68knommu/m52
f the request_irq fails we have a device that can trigger interrupts
which remain unhandled
- request_irq() can't be called with interrupts enabled what is required
for threaded interrupts.
Signed-off-by: Sebastian Siewior <[EMAIL PROTECTED]>
---
drivers/serial/mc
as well. This is also handy because if we return from the timer interrupt
and we need to resched than we check for this :)
Signed-off-by: Sebastian Siewior <[EMAIL PROTECTED]>
---
arch/m68knommu/platform/coldfire/entry.S | 15 ++-
1 files changed, 2 insertions(+), 13 del
Title: [uClinux-dev] [PATCH] m68knommu: fec: get rid of unusedfec_phy_ack_intr()
that one seems to be only used by fec_phy_ack_intr() which in turn
is only active on CONFIG_M5272
Signed-off-by: Sebastian Siewior <[EMAIL PROTECTED]>
---
drivers/net/fec.c
. Other platforms work as usual.
Signed-off-by: Sebastian Siewior <[EMAIL PROTECTED]>
---
arch/m68knommu/Kconfig | 4 +
arch/m68knommu/kernel/irq.c | 11 ++-
arch/m68knommu/platform/coldfire/Makefile | 2 +-
arch/m68knommu/platform/co
Title: [uClinux-dev] [PATCH] m68knommu: fec: add __init a few times
fec_request_intrs(), fec_set_mii(), fec_get_mac() and fec_uncache()
are all called from fec_enet_init() what is allready __init
Signed-off-by: Sebastian Siewior <[EMAIL PROTECTED]>
---
drivers/net/fec.c
Title: [uClinux-dev] [PATCH] m68knommu: fec: fixup locking
it's easy: grab locks before talking to hardware and realease
them afterwards. The one big lock has been splitted into a hw_lock
and mii_lock.
Signed-off-by: Sebastian Siewior <[EMAIL PROTECTED]>
---
drivers/net/f
Title: [uClinux-dev] [PATCH] m68knommu: fec: move mii_link_interrupt intoits own IFDEF block.
since CONFIG_FADS is gone there are no other possibilities.
Signed-off-by: Sebastian Siewior <[EMAIL PROTECTED]>
---
drivers/net/fec.c | 6 +-
1 files changed, 1 insertions
Title: [uClinux-dev] [PATCH] m68knommu: fix compare race in sched relatedcode
The interrupts must be disabled before considering the need resched
bit of the task struct and they have to be disabled before calling
schedule()
Signed-off-by: Sebastian Siewior <[EMAIL PROTECTED]>
---
Title: [uClinux-dev] [PATCH] m68knommu: add some missing section into thelds script.
Those are required for spinlocks & kallsyms
Signed-off-by: Sebastian Siewior <[EMAIL PROTECTED]>
---
arch/m68knommu/kernel/vmlinux.lds.S | 4
1 files changed, 4 insertions(+), 0
ART & RAM_LENGTH is comming from Kconfig and describes
the memory.
With this patch the arch specific vmlinux.lds.S could get a little
smaller and requires less updates cycles (after adding new section
to the kernel).
Signed-off-by: Sebastian Siewior <[EMAIL PROTECTED]>
---
includ
Title: [uClinux-dev] [PATCH] m68knommu: add sched_clock() for the DMA timer
with this printk() and other sched_clock() user use the more precise
timestamps. The highly optimized math is from arch/x86/kernel/tsc_32.c.
Signed-off-by: Sebastian Siewior <[EMAIL PROTECTED]>
---
(PIT_CYCLES_PER_JIFFY) because it
is known at compile time and does not change afterwards.
Signed-off-by: Benedikt Spranger <[EMAIL PROTECTED]>
Signed-off-by: Sebastian Siewior <[EMAIL PROTECTED]>
---
arch/m68knommu/Kconfig | 10
arch/m68knommu/kernel/time.c |
Title: [uClinux-dev] [PATCH] m68knommu: mcfserial add __init setup code
Signed-off-by: Sebastian Siewior <[EMAIL PROTECTED]>
---
drivers/serial/mcfserial.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/serial/mcfserial.c b/drivers/serial/mcfse
Title: [uClinux-dev] [PATCH] m68knommu: remove RPXCLASSIC from the m68ktree
This ifdefs are leftovers from the time as the driver was running
on a ppc.
Signed-off-by: Sebastian Siewior <[EMAIL PROTECTED]>
---
drivers/net/fec.c
: Sebastian Siewior <[EMAIL PROTECTED]>
---
arch/m68knommu/kernel/traps.c | 89 +
1 files changed, 55 insertions(+), 34 deletions(-)
diff --git a/arch/m68knommu/kernel/traps.c b/arch/m68knommu/kernel/traps.c
index 437a061..e66297f 100644
---
Title: [uClinux-dev] [PATCH] m68knommu: add byteswap assembly opcode forISA A+
Signed-off-by: Sebastian Siewior <[EMAIL PROTECTED]>
---
include/asm-m68knommu/byteorder.h | 14 ++
1 files changed, 14 insertions(+), 0 deletions(-)
diff --git a/include/asm-m68
Title: [uClinux-dev] [PATCH] m68knommu: update MAX_M68K_DMA_CHANNELS forsome plattforms
include/asm-m68knommu/mcfdma.h defines base0-3 for M523x,
M527x and M528x so it looks this has been forgotten.
Signed-off-by: Sebastian Siewior <[EMAIL PROTECTED]>
---
include/asm-m68knommu
kernel.org/.../jejb/scsi-misc-2.6
are available in the git repository at:
git://git.breakpoint.cc/bigeasy/linux.git m68knommu
Sebastian Siewior (35):
m68knommu: mcfserial: piece from linux-2.6.24-uc0.patch
m68knommu: update MAX_M68K_DMA_CHANNELS for some plattforms
m68knomm
grab the same lock.
Signed-off-by: Sebastian Siewior <[EMAIL PROTECTED]>
---
drivers/net/fec.c | 16
1 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/drivers/net/fec.c b/drivers/net/fec.c
index b7042b5..2cda909 100644
--- a/drivers/net/fec.c
+++ b/drive
Title: [uClinux-dev] Re: [RFC 01/11] m68knommu: add pretty back strace v2
* Greg Ungerer | 2008-04-28 16:15:13 [+1000]:
>Hi Sebastian,
Hi Greg,
>>+#ifdef CONFIG_FRAME_POINTER
>>+ printk(KERN_EMERG "Call Trace:\n");
>>+#else
>>+ printk(KERN_EMERG "The following call trace is a
familiar :)
Signed-off-by: Sebastian Siewior <[EMAIL PROTECTED]>
---
arch/m68knommu/Kconfig | 4
arch/m68knommu/kernel/time.c | 38 ++
2 files changed, 14 insertions(+), 28 deletions(-)
diff --git a/arch/m68knommu/Kconfig b/arch/m6
ch it. Kconfig
enables the preemption item only on coldfire.
Signed-off-by: Sebastian Siewior <[EMAIL PROTECTED]>
---
arch/m68knommu/Kconfig | 4 +++-
arch/m68knommu/kernel/asm-offsets.c | 1 +
arch/m68knommu/platform/coldfire/entry.S | 16 ++
Title: [uClinux-dev] [PATCH] m68knommu: move code within time.c
This patch creates two functions do_set_rtc() and read_rtc_mmss()
based on allready available code.
Signed-off-by: Sebastian Siewior <[EMAIL PROTECTED]>
---
arch/m68knommu/kernel/time.c
Title: [uClinux-dev] [PATCH] m68knommu: FEC: replace the HAVE_mmi thing bythe code itself
Signed-off-by: Sebastian Siewior <[EMAIL PROTECTED]>
---
drivers/net/fec.c | 49 +
1 files changed, 21 insertions(+), 28 deletions(-)
diff -
Title: [uClinux-dev] [PATCH] m68knommu: Add Coldfire DMA Timer support
This one could be used as a hrtimer.
Signed-off-by: Benedikt Spranger <[EMAIL PROTECTED]>
Signed-off-by: Sebastian Siewior <[EMAIL PROTECTED]>
---
arch/m68knommu/platform/coldfire/Makefile |
Title: [uClinux-dev] [PATCH] m68knommu: use generic vmlinux.lds.S.h
now the generic vmlinux.lds.S.h file can be resused.
Signed-off-by: Sebastian Siewior <[EMAIL PROTECTED]>
---
arch/m68knommu/kernel/vmlinux.lds.S | 92 ---
1 files chang
Greg Ungerer wrote:
Hi Sebastian,
Hi Greg,
Here is an interresting observation with this change.
Note that I haven't applied all of the fec changes.
But it doesn't matter, we can consider this locking change
on its own.
yes, those patches should be 100% bisectable.
Everything seems to work
I deleted that email by accident before even reading it. If the content
is still relevant than I would be glad if the original Sender could
resend her/his email. I promise that I will pay more attention this time :)
Sebastian
___
uClinux-dev mailing l
* Greg Ungerer | 2008-04-29 11:26:51 [+1000]:
>Hi Sebastian,
Hi Greg,
>Sebastian Siewior wrote:
>>This is my proposal for .25. I don't know when the mcfserial driver becomes
>>obsolete / gets removed. Good to know that there is allready a driver that
>>supports t
The M523x initialized the irq controller properly, the driver must not do
it anymore.
Signed-off-by: Sebastian Siewior <[EMAIL PROTECTED]>
---
drivers/serial/mcfserial.c |3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/drivers/serial/mcfserial.c b/drivers/
The M523x initialized the irq controller properly, the driver must not do
it anymore.
Signed-off-by: Sebastian Siewior <[EMAIL PROTECTED]>
---
arch/m68knommu/platform/coldfire/pit.c |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/arch/m68knommu/platform/coldfire
The M523x initialized the irq controller properly, the driver must not do
it anymore.
Signed-off-by: Sebastian Siewior <[EMAIL PROTECTED]>
---
drivers/net/fec.c |5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/net/fec.c b/drivers/net/fec.c
index 5
Greg Ungerer wrote:
Hi Sebastian,
Hi Greg,
Sebastian Siewior wrote:
The M523x initialized the irq controller properly, the driver must not do
it anymore.
Signed-off-by: Sebastian Siewior <[EMAIL PROTECTED]> ---
Got lost in the ifdef mine field.
--- a/drivers/serial/mcfserial.c
+++ b/d
I found config FADS only in ppc/Kconfig. Bye bye relic.
Signed-off-by: Sebastian Siewior <[EMAIL PROTECTED]>
---
drivers/net/fec.c | 11 ---
1 files changed, 0 insertions(+), 11 deletions(-)
diff --git a/drivers/net/fec.c b/drivers/net/fec.c
index ff0772f..495eb07 100644
--- a/d
Signed-off-by: Sebastian Siewior <[EMAIL PROTECTED]>
---
drivers/serial/mcfserial.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/serial/mcfserial.c b/drivers/serial/mcfserial.c
index 1d5a999..da2aee8 100644
--- a/drivers/serial/mcfserial.c
+++ b/drivers/
now the generic vmlinux.lds.S.h file can be resused.
Signed-off-by: Sebastian Siewior <[EMAIL PROTECTED]>
---
arch/m68knommu/kernel/vmlinux.lds.S | 92 ---
1 files changed, 20 insertions(+), 72 deletions(-)
diff --git a/arch/m68knommu/kernel/vmlinux.ld
pecific vmlinux.lds.S could get a little
smaller and requires less updates cycles (after adding new section
to the kernel).
Signed-off-by: Sebastian Siewior <[EMAIL PROTECTED]>
---
include/asm-generic/vmlinux.lds.h | 43
1 files changed, 24 insertions(+), 19 delet
with this printk() and other sched_clock() user use the more precise
timestamps. The highly optimized math is from arch/x86/kernel/tsc_32.c.
Signed-off-by: Sebastian Siewior <[EMAIL PROTECTED]>
---
arch/m68knommu/platform/coldfire/dma_timer.c | 16
1 files chang
As the subject says this patch adds the support for kernel preemption
on m68knommu Coldfire. I thing the same changes could be applied to
68360 & 68328 but since I don't have the HW, I don't touch it. Kconfig
enables the preemption item only on coldfire.
Signed-off-by: Sebastian S
This patch creates two functions do_set_rtc() and read_rtc_mmss()
based on allready available code.
Signed-off-by: Sebastian Siewior <[EMAIL PROTECTED]>
---
arch/m68knommu/kernel/time.c | 40 ++--
1 files changed, 26 insertions(+), 14 deletions(-)
Make a typedef for a function that is refered as a function pointer.
Also move the conditial call of the callback function in fec_enet_mii()
of the area that is protected with spinlock beacause the callbacked
function might grab the same lock.
Signed-off-by: Sebastian Siewior <[EMAIL PROTEC
d
but not used
Signed-off-by: Sebastian Siewior <[EMAIL PROTECTED]>
---
drivers/net/fec.c | 11 +--
1 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/drivers/net/fec.c b/drivers/net/fec.c
index d7a3ea8..71b2499 100644
--- a/drivers/net/fec.c
+++ b/drivers/n
the ff1 and bitrev opcode appears in ISA C and ISA A+ what is supported
only by three in kernel plattforms.
This patch changes the CFLAGS because the old one does not support
this opcodes.
My m5235 seems to boot and run fine so far.
Signed-off-by: Sebastian Siewior <[EMAIL PROTECTED]>
---
we get rid of some prototypes and code is in its natural order.
Signed-off-by: Sebastian Siewior <[EMAIL PROTECTED]>
---
drivers/net/fec.c | 270 ++---
1 files changed, 131 insertions(+), 139 deletions(-)
diff --git a/drivers/net/fec.c b/d
that one seems to be only used by fec_phy_ack_intr() which in turn
is only active on CONFIG_M5272
Signed-off-by: Sebastian Siewior <[EMAIL PROTECTED]>
---
drivers/net/fec.c | 32
1 files changed, 8 insertions(+), 24 deletions(-)
diff --git a/drivers/net
Signed-off-by: Sebastian Siewior <[EMAIL PROTECTED]>
---
include/asm-m68knommu/byteorder.h | 14 ++
1 files changed, 14 insertions(+), 0 deletions(-)
diff --git a/include/asm-m68knommu/byteorder.h
b/include/asm-m68knommu/byteorder.h
index 8fcde90..13f341b 100644
--- a/inclu
fec_request_intrs(), fec_set_mii(), fec_get_mac() and fec_uncache()
are all called from fec_enet_init() what is allready __init
Signed-off-by: Sebastian Siewior <[EMAIL PROTECTED]>
---
drivers/net/fec.c | 40
1 files changed, 20 insertions(
since CONFIG_FADS is gone there are no other possibilities.
Signed-off-by: Sebastian Siewior <[EMAIL PROTECTED]>
---
drivers/net/fec.c |6 +-
1 files changed, 1 insertions(+), 5 deletions(-)
diff --git a/drivers/net/fec.c b/drivers/net/fec.c
index 495eb07..64f6292 100644
--- a/d
to resched than we check for this :)
Signed-off-by: Sebastian Siewior <[EMAIL PROTECTED]>
---
arch/m68knommu/platform/coldfire/entry.S | 15 ++-
1 files changed, 2 insertions(+), 13 deletions(-)
diff --git a/arch/m68knommu/platform/coldfire/entry.S
b/arch/m68knommu/pl
This ifdefs are leftovers from the time as the driver was running
on a ppc.
Signed-off-by: Sebastian Siewior <[EMAIL PROTECTED]>
---
drivers/net/fec.c| 39 --
include/asm-m68knommu/commproc.h | 19 --
2 files chan
Signed-off-by: Sebastian Siewior <[EMAIL PROTECTED]>
---
drivers/net/fec.c | 49 +
1 files changed, 21 insertions(+), 28 deletions(-)
diff --git a/drivers/net/fec.c b/drivers/net/fec.c
index bbfb87f..ff0772f 100644
--- a/drivers/net/fec.c
do_set_rtc() isn't required because the work that is handled is
allready served if read_persistent_clock() & update_persistent_clock()
are implemented and CONFIG_GENERIC_CMOS_UPDATE is. sync_cmos_clock()
looks very familiar :)
Signed-off-by: Sebastian Siewior <[EMAIL PROTECTED
t_irq() can't be called with interrupts enabled what is required
for threaded interrupts.
Signed-off-by: Sebastian Siewior <[EMAIL PROTECTED]>
---
drivers/serial/mcfserial.c | 113 +--
1 files changed, 55 insertions(+), 58 deletions(-)
diff --git
This patch implements a basic irq_chip which supports mask / unmask
of interrupt sources. The plan is move more and more drivers to this
approach and setting the IRQ source by them self.
This is only enabled M523x. Other platforms work as usual.
Signed-off-by: Sebastian Siewior <[EMAIL PROTEC
The interrupts must be disabled before considering the need resched
bit of the task struct and they have to be disabled before calling
schedule()
Signed-off-by: Sebastian Siewior <[EMAIL PROTECTED]>
---
arch/m68knommu/platform/coldfire/entry.S |2 ++
1 files changed, 2 insertions
-by: Benedikt Spranger <[EMAIL PROTECTED]>
Signed-off-by: Sebastian Siewior <[EMAIL PROTECTED]>
---
arch/m68knommu/Kconfig | 10
arch/m68knommu/kernel/time.c |2 +
arch/m68knommu/platform/coldfire/pit.c | 91 +++-
3 files
With this patch and
CONFIG_FRAME_POINTER=y
CONFIG_KALLSYMS=y
The backtrace shows resolved function names and their numeric
address and the stack address where the address of the function
was read from.
Signed-off-by: Sebastian Siewior <[EMAIL PROTECTED]>
---
arch/m68knommu/kernel/t
Signed-off-by: Sebastian Siewior <[EMAIL PROTECTED]>
---
arch/m68knommu/kernel/setup.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/m68knommu/kernel/setup.c b/arch/m68knommu/kernel/setup.c
index d6f0200..03f4fe6 100644
--- a/arch/m68knommu/kernel/setup.c
This one could be used as a hrtimer.
Signed-off-by: Benedikt Spranger <[EMAIL PROTECTED]>
Signed-off-by: Sebastian Siewior <[EMAIL PROTECTED]>
---
arch/m68knommu/platform/coldfire/Makefile|2 +-
arch/m68knommu/platform/coldfire/dma_timer.c | 70 +++
it's easy: grab locks before talking to hardware and realease
them afterwards. The one big lock has been splitted into a hw_lock
and mii_lock.
Signed-off-by: Sebastian Siewior <[EMAIL PROTECTED]>
---
drivers/net/fec.c | 51 ++-
1 fi
this has not been applied to v2.6.25
the whole thing
http://www.uclinux.org/pub/uClinux/uClinux-2.6.x/linux-2.6.24-uc0.patch.gz
---
drivers/serial/mcfserial.c | 11 +++-
include/asm-m68knommu/m523xsim.h | 147 -
include/asm-m68knommu/m528xsim.h | 61
it is also pointless.
This patch removes them all except the three that are handled by the isr.
Signed-off-by: Sebastian Siewior <[EMAIL PROTECTED]>
---
drivers/net/fec.c | 99 +++-
1 files changed, 44 insertions(+), 55 deletions(-)
diff -
pository at:
git://git.breakpoint.cc/bigeasy/linux.git m68knommu
Sebastian Siewior (35):
m68knommu: mcfserial: piece from linux-2.6.24-uc0.patch
m68knommu: update MAX_M68K_DMA_CHANNELS for some plattforms
m68knommu: add some missing section into the lds script.
m68knommu: add
include/asm-m68knommu/mcfdma.h defines base0-3 for M523x,
M527x and M528x so it looks this has been forgotten.
Signed-off-by: Sebastian Siewior <[EMAIL PROTECTED]>
---
include/asm-m68knommu/dma.h |3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/include/asm-m68
Those are required for spinlocks & kallsyms
Signed-off-by: Sebastian Siewior <[EMAIL PROTECTED]>
---
arch/m68knommu/kernel/vmlinux.lds.S |4
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/arch/m68knommu/kernel/vmlinux.lds.S
b/arch/m68knommu/kernel/vmlinux.l
* Greg Ungerer | 2008-04-28 16:15:13 [+1000]:
>Hi Sebastian,
Hi Greg,
>>+#ifdef CONFIG_FRAME_POINTER
>>+ printk(KERN_EMERG "Call Trace:\n");
>>+#else
>>+ printk(KERN_EMERG "The following call trace is a joke. "
>>+ "Enable CONFIG_FRAME_POINTER in Kernel Kconfig for usefull "
>
The M523x initialized the irq controller properly, the driver must not do
it anymore.
Signed-off-by: Sebastian Siewior <[EMAIL PROTECTED]>
---
Got lost in the ifdef mine field.
--- a/drivers/serial/mcfserial.c
+++ b/drivers/serial/mcfserial.c
@@ -1548,6 +1548,7 @@ static void mcfrs_i
The M523x initialized the irq controller properly, the driver must not do
it anymore.
Signed-off-by: Sebastian Siewior <[EMAIL PROTECTED]>
--- a/arch/m68knommu/platform/coldfire/pit.c
+++ b/arch/m68knommu/platform/coldfire/pit.c
@@ -178,11 +178,13 @@ void hw_timer_init(void)
set
The M523x initialized the irq controller properly, the driver must not do
it anymore.
Signed-off-by: Sebastian Siewior <[EMAIL PROTECTED]>
--- a/drivers/net/fec.c
+++ b/drivers/net/fec.c
@@ -1409,7 +1409,7 @@ static void fec_request_intrs(struct net
printk("FEC: Could n
The M523x initialized the irq controller properly, the driver must not do
it anymore.
Signed-off-by: Sebastian Siewior <[EMAIL PROTECTED]>
--- a/drivers/serial/mcfserial.c
+++ b/drivers/serial/mcfserial.c
@@ -1518,7 +1518,12 @@ static void mcfrs_irqinit(struct mcf_ser
*portp = (
1 - 100 of 134 matches
Mail list logo