Re: [uClinux-dev] linux-2.6.25-uc0 patch set and a git tree

2008-06-24 Thread Sebastian Siewior
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

Re: [uClinux-dev] linux-2.6.25-uc0 patch set and a git tree

2008-06-24 Thread Sebastian Siewior
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

[uClinux-dev] [PATCH v2] m68knommu: add byteswap assembly opcode for ISA A+

2008-05-17 Thread Sebastian Siewior
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

[uClinux-dev] [RFC / PATCH] ftrace support on m68knommu

2008-05-13 Thread Sebastian Siewior
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

[uClinux-dev] [PATCH] m68knommu: add read_barrier_depends() and irqs_disabled_flags()

2008-05-13 Thread Sebastian Siewior
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

[uClinux-dev] [PATCH] ftrace: also dump the entry->flag field

2008-05-13 Thread Sebastian Siewior
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/

[uClinux-dev] [PATCH] m68knommu: add FTRACE support

2008-05-13 Thread Sebastian Siewior
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

[uClinux-dev] Re: [PATCH v2] m68knommu: Add Coldfire DMA Timer support

2008-05-12 Thread Sebastian Siewior
* 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

[uClinux-dev] [PATCH v2] m68knommu: Add Coldfire DMA Timer support

2008-05-09 Thread Sebastian Siewior
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

[uClinux-dev] [PATCH v4] m68knommu: m68knommu: add old stack trace method

2008-05-09 Thread Sebastian Siewior
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

[uClinux-dev] [PATCH v3] m68knommu: add ffs and __ffs plattform which support ISA A+ or ISA C

2008-05-09 Thread Sebastian Siewior
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

[uClinux-dev] [PATCH v2] m68knommu: add byteswap assembly opcode for ISA A+

2008-05-08 Thread Sebastian Siewior
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

[uClinux-dev] Re: [PATCH v2] m68knommu: add ffs and __ffs and enable it on plattform which support ISA A+

2008-05-08 Thread Sebastian Siewior
* 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

[uClinux-dev] [PATCH v3] m68knommu: add old stack trace method

2008-05-08 Thread Sebastian Siewior
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

[uClinux-dev] Re: [PATCH v2] m68knommu: add old stack trace method

2008-05-08 Thread Sebastian Siewior
* 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??

[uClinux-dev] [PATCH v2] m68knommu: add ffs and __ffs and enable it on plattform which support ISA A+

2008-05-07 Thread Sebastian Siewior
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

[uClinux-dev] [PATCH v2] m68knommu: add old stack trace method

2008-05-07 Thread Sebastian Siewior
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("\

[uClinux-dev] Re: [PATCH] m68knommu: add ffs and __ffs for plattform which support ISA A+

2008-05-07 Thread Sebastian Siewior
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

[uClinux-dev] Re: [PATCH] m68knommu: add ffs and __ffs for plattform which support ISA A+

2008-05-07 Thread Sebastian Siewior
* 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

[uClinux-dev] [PATCH] m68knommu: add old stack trace method

2008-05-06 Thread Sebastian Siewior
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

Re: [uClinux-dev] I'm not really happy but who is?

2008-05-02 Thread Sebastian Siewior
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

Re: [uClinux-dev] I'm not really happy but who is?

2008-05-02 Thread Sebastian Siewior
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

Re: [uClinux-dev] [PATCH] m68knommu: BUG: scheduling while atomic:

2008-05-01 Thread Sebastian Siewior
* 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

[uClinux-dev] I'm not really happy but who is?

2008-05-01 Thread Sebastian Siewior
- 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

[uClinux-dev] [PATCH] m68knommu: Add info about removing mcfserial

2008-04-30 Thread Sebastian Siewior
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.

[uClinux-dev] [PATCH] m6 8knommu: fec: move some code around

2008-04-30 Thread Sebastian Siewior
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

[uClinux-dev] [PATCH] m6 8knommu: fec: don't allo cate unusedinterrupts

2008-04-30 Thread Sebastian Siewior
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]>

[uClinux-dev] [PATCH] m6 8knommu: fec: kill warni ngs

2008-04-30 Thread Sebastian Siewior
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

[uClinux-dev] [PATCH] m6 8knommu: add a missing b ackslash n in setupcode

2008-04-30 Thread Sebastian Siewior
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

[uClinux-dev] [PATCH] m6 8knommu: mcfserial: piec e fromlinux-2.6.24-uc0.p atch

2008-04-30 Thread Sebastian Siewior
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

[uClinux-dev] [PATCH] m6 8knommu: mcfserial,enabl e UART after IRQ line is availble

2008-04-30 Thread Sebastian Siewior
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

[uClinux-dev] [PATCH] m6 8knommu: use one exist f rom execption

2008-04-30 Thread Sebastian Siewior
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

[uClinux-dev] [PATCH] m6 8knommu: fec: get rid of unusedfec_phy_ack_intr( )

2008-04-30 Thread Sebastian Siewior
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

[uClinux-dev] [PATCH] m6 8knommu: use generic IRQ with a irq-chip

2008-04-30 Thread Sebastian Siewior
. 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

[uClinux-dev] [PATCH] m6 8knommu: fec: add __init a few times

2008-04-30 Thread Sebastian Siewior
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

[uClinux-dev] [PATCH] m6 8knommu: fec: fixup lock ing

2008-04-30 Thread Sebastian Siewior
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

[uClinux-dev] [PATCH] m6 8knommu: fec: move mii_l ink_interrupt intoits ow n IFDEF block.

2008-04-30 Thread Sebastian Siewior
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

[uClinux-dev] [PATCH] m6 8knommu: fix compare rac e in sched relatedcode

2008-04-30 Thread Sebastian Siewior
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]> ---

[uClinux-dev] [PATCH] m6 8knommu: add some missin g section into thelds sc ript.

2008-04-30 Thread Sebastian Siewior
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

[uClinux-dev] [PATCH] ge neric: add OUTPUT_DATA_S ECTION tovmlinux.lds.h

2008-04-30 Thread Sebastian Siewior
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

[uClinux-dev] [PATCH] m6 8knommu: add sched_clock () for the DMA timer

2008-04-30 Thread Sebastian Siewior
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]> ---

[uClinux-dev] [PATCH] m6 8knommu: MCF5307 PIT GEN ERIC_CLOCKEVENTSsupport

2008-04-30 Thread Sebastian Siewior
(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   |  

[uClinux-dev] [PATCH] m6 8knommu: mcfserial add _ _init setup code

2008-04-30 Thread Sebastian Siewior
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

[uClinux-dev] [PATCH] m6 8knommu: remove RPXCLASS IC from the m68ktree

2008-04-30 Thread Sebastian Siewior
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   

[uClinux-dev] [PATCH] m6 8knommu: add pretty back strace

2008-04-30 Thread Sebastian Siewior
: 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 ---

[uClinux-dev] [PATCH] m6 8knommu: add byteswap as sembly opcode forISA A+

2008-04-30 Thread Sebastian Siewior
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

[uClinux-dev] [PATCH] m6 8knommu: update MAX_M68K _DMA_CHANNELS forsome pl attforms

2008-04-30 Thread Sebastian Siewior
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

[uClinux-dev] My .25 pro posal

2008-04-30 Thread Sebastian Siewior
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

[uClinux-dev] [PATCH] m6 8knommu: fec typedef a f unction

2008-04-30 Thread Sebastian Siewior
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

[uClinux-dev] Re: [RFC 0 1/11] m68knommu: add pre tty back strace v2

2008-04-30 Thread Sebastian Siewior
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

[uClinux-dev] [PATCH] m6 8knommu: complete generi c time

2008-04-30 Thread Sebastian Siewior
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

[uClinux-dev] [PATCH] m6 8knommu: coldfire add su pport for kernelpreempti on

2008-04-30 Thread Sebastian Siewior
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 ++

[uClinux-dev] [PATCH] m6 8knommu: move code withi n time.c

2008-04-30 Thread Sebastian Siewior
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

[uClinux-dev] [PATCH] m6 8knommu: FEC: replace th e HAVE_mmi thing bythe c ode itself

2008-04-30 Thread Sebastian Siewior
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 -

[uClinux-dev] [PATCH] m6 8knommu: Add Coldfire DM A Timer support

2008-04-30 Thread Sebastian Siewior
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    |   

[uClinux-dev] [PATCH] m6 8knommu: use generic vml inux.lds.S.h

2008-04-30 Thread Sebastian Siewior
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

[uClinux-dev] Re: [PATCH] m68knommu: fec: fixup locking

2008-04-30 Thread Sebastian Siewior
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

[uClinux-dev] Some sent me an email with /.*DMA.*/ in Subject

2008-04-29 Thread Sebastian Siewior
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

[uClinux-dev] Re: My .25 proposal

2008-04-29 Thread Sebastian Siewior
* 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

[uClinux-dev] [PATCH] m68knommu: don't touch the irq controler in the mcfserial driver

2008-04-28 Thread Sebastian Siewior
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/

[uClinux-dev] [PATCH] m68knommu: don't touch the irq controler in the pit driver

2008-04-28 Thread Sebastian Siewior
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

[uClinux-dev] [PATCH] m68knommu: don't touch the irq controler in the FEC driver

2008-04-28 Thread Sebastian Siewior
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

[uClinux-dev] Re: [RFC] m68knommu: dont touch the irq controler in the mcfserial driver (v2)

2008-04-28 Thread Sebastian Siewior
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

[uClinux-dev] [PATCH] m68knommu: fec: remove FADS

2008-04-28 Thread Sebastian Siewior
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

[uClinux-dev] [PATCH] m68knommu: mcfserial add __init setup code

2008-04-28 Thread Sebastian Siewior
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/

[uClinux-dev] [PATCH] m68knommu: use generic vmlinux.lds.S.h

2008-04-28 Thread Sebastian Siewior
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

[uClinux-dev] [PATCH] generic: add OUTPUT_DATA_SECTION to vmlinux.lds.h

2008-04-28 Thread Sebastian Siewior
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

[uClinux-dev] [PATCH] m68knommu: add sched_clock() for the DMA timer

2008-04-28 Thread Sebastian Siewior
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

[uClinux-dev] [PATCH] m68knommu: coldfire add support for kernel preemption

2008-04-28 Thread Sebastian Siewior
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

[uClinux-dev] [PATCH] m68knommu: move code within time.c

2008-04-28 Thread Sebastian Siewior
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(-)

[uClinux-dev] [PATCH] m68knommu: fec typedef a function

2008-04-28 Thread Sebastian Siewior
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

[uClinux-dev] [PATCH] m68knommu: fec: kill warnings

2008-04-28 Thread Sebastian Siewior
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

[uClinux-dev] [PATCH] m68knommu: add ffs and __ffs for plattform which support ISA A+

2008-04-28 Thread Sebastian Siewior
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]> ---

[uClinux-dev] [PATCH] m68knommu: fec: move some code around

2008-04-28 Thread Sebastian Siewior
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

[uClinux-dev] [PATCH] m68knommu: fec: get rid of unused fec_phy_ack_intr()

2008-04-28 Thread Sebastian Siewior
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

[uClinux-dev] [PATCH] m68knommu: add byteswap assembly opcode for ISA A+

2008-04-28 Thread Sebastian Siewior
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

[uClinux-dev] [PATCH] m68knommu: fec: add __init a few times

2008-04-28 Thread Sebastian Siewior
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(

[uClinux-dev] [PATCH] m68knommu: fec: move mii_link_interrupt into its own IFDEF block.

2008-04-28 Thread Sebastian Siewior
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

[uClinux-dev] [PATCH] m68knommu: use one exist from execption

2008-04-28 Thread Sebastian Siewior
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

[uClinux-dev] [PATCH] m68knommu: remove RPXCLASSIC from the m68k tree

2008-04-28 Thread Sebastian Siewior
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

[uClinux-dev] [PATCH] m68knommu: FEC: replace the HAVE_mmi thing by the code itself

2008-04-28 Thread Sebastian Siewior
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

[uClinux-dev] [PATCH] m68knommu: complete generic time

2008-04-28 Thread Sebastian Siewior
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

[uClinux-dev] [PATCH] m68knommu: mcfserial, enable UART after IRQ line is availble

2008-04-28 Thread Sebastian Siewior
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

[uClinux-dev] [PATCH] m68knommu: use generic IRQ with a irq-chip

2008-04-28 Thread Sebastian Siewior
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

[uClinux-dev] [PATCH] m68knommu: fix compare race in sched related code

2008-04-28 Thread Sebastian Siewior
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

[uClinux-dev] [PATCH] m68knommu: MCF5307 PIT GENERIC_CLOCKEVENTS support

2008-04-28 Thread Sebastian Siewior
-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

[uClinux-dev] [PATCH] m68knommu: add pretty back strace

2008-04-28 Thread Sebastian Siewior
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

[uClinux-dev] [PATCH] m68knommu: add a missing backslash n in setup code

2008-04-28 Thread Sebastian Siewior
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

[uClinux-dev] [PATCH] m68knommu: Add Coldfire DMA Timer support

2008-04-28 Thread Sebastian Siewior
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 +++

[uClinux-dev] [PATCH] m68knommu: fec: fixup locking

2008-04-28 Thread Sebastian Siewior
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

[uClinux-dev] [PATCH] m68knommu: mcfserial: piece from linux-2.6.24-uc0.patch

2008-04-28 Thread Sebastian Siewior
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

[uClinux-dev] [PATCH] m68knommu: fec: don't allocate unused interrupts

2008-04-28 Thread Sebastian Siewior
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 -

[uClinux-dev] My .25 proposal

2008-04-28 Thread Sebastian Siewior
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

[uClinux-dev] [PATCH] m68knommu: update MAX_M68K_DMA_CHANNELS for some plattforms

2008-04-28 Thread Sebastian Siewior
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

[uClinux-dev] [PATCH] m68knommu: add some missing section into the lds script.

2008-04-28 Thread Sebastian Siewior
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

[uClinux-dev] Re: [RFC 01/11] m68knommu: add pretty back strace v2

2008-04-27 Thread Sebastian Siewior
* 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 " >

[uClinux-dev] [RFC] m68knommu: dont touch the irq controler in the mcfserial driver (v2)

2008-04-09 Thread Sebastian Siewior
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

[uClinux-dev] [RFC 11/11] m68knommu: dont touch the irq controler in the pit driver

2008-04-09 Thread Sebastian Siewior
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

[uClinux-dev] [RFC 09/11] m68knommu: dont touch the irq controler in the FEC driver

2008-04-09 Thread Sebastian Siewior
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

[uClinux-dev] [RFC 10/11] m68knommu: dont touch the irq controler in the mcfserial driver

2008-04-09 Thread Sebastian Siewior
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   2   >