Re: [PATCH 02/10] Blackfin SPI driver: use new GPIO API and add error handling

2007-10-14 Thread Wu, Bryan
On 10/13/07, David Brownell <[EMAIL PROTECTED]> wrote: > On Thursday 11 October 2007, Bryan Wu wrote: > > On Thu, 2007-10-11 at 23:26 -0700, David Brownell wrote: > > > On Thursday 11 October 2007, Bryan Wu wrote: > > > > @@ -1182,12 +1198,9 @@ static int __init bfin5xx_spi_probe(struct > > > > pl

Re: [patch 00/33] 2.6.20-stable review

2007-04-27 Thread Wu, Bryan
On Thu, 2007-04-26 at 09:54 -0700, Greg KH wrote: > This is the start of the stable review cycle for the 2.6.20.10 release. > There are 33 patches in this series, all will be posted as a response to > this one. If anyone has any issues with these being applied, please let > us know. If anyone is

Re: [PATCH] Blackfin: blackfin on-chip SPI controller driver

2007-04-16 Thread Wu, Bryan
l try to cleanup the code and most issues pointed out in your review. > On Monday 05 March 2007 2:41 am, Wu, Bryan wrote: > > > --- linux-2.6.orig/drivers/spi/Kconfig 2007-03-01 11:33:07.0 > > +0800 > > +++ linux-2.6/drivers/spi/Kconfig 2007-03-01 11:40:2

Re: [PATCH 0/12] Pass MAP_FIXED down to get_unmapped_area

2007-04-11 Thread Wu, Bryan
On Thu, 2007-04-12 at 12:20 +1000, Benjamin Herrenschmidt wrote: > This is a "first step" as there are still cleanups to be done in various > areas touched by that code but I think it's probably good to go as is and > at least enables me to implement what I need for PowerPC. > > (Andrew, this is a

[PATCH 5/5] nommu: fix bug ip_conntrack does not work on nommu

2007-04-11 Thread Wu, Bryan
num_physpages is not exported out in mm/nommu.c, so the ip_conntrack module link will fail. Signed-off-by: Bryan Wu <[EMAIL PROTECTED]> --- mm/nommu.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/mm/nommu.c b/mm/nommu.c index 0016557..db0452e 100644 --- a/mm/nommu.c +

[PATCH 3/5] blackfin arch: source kernel preemption option

2007-04-11 Thread Wu, Bryan
Signed-off-by: Aubrey Li <[EMAIL PROTECTED]> Signed-off-by: Bryan Wu <[EMAIL PROTECTED]> --- arch/blackfin/Kconfig |1 + arch/blackfin/kernel/vmlinux.lds.S |1 + 2 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/blackfin/Kconfig b/arch/blackfin/Kconfig index

[PATCH 4/5] blackfin arch: workaround BF561 anomaly 05000266

2007-04-11 Thread Wu, Bryan
[PATCH] blackfin arch: workaround BF561 anomaly 05000266 http://blackfin.uclinux.org/gf/project/uclinux-dist/tracker/?action=TrackerItemEdit&tracker_item_id=2958 Signed-off-by: Sonic Zhang <[EMAIL PROTECTED]> Signed-off-by: Bryan Wu <[EMAIL PROTECTED]> --- arch/blackfin/kernel/setup.c |5 +++

[PATCH 2/5] blackfin arch: fix bug data cannot be put into L1 DATA SRAM bank B

2007-04-11 Thread Wu, Bryan
[PATCH] blackfin arch: fix bug data cannot be put into L1 DATA SRAM bank B Don't allocate Bank B data sram in l1_data_A_sram_alloc (). Add l1_data_sram_alloc (), which allocates data sram from either Bank A or Bank B. Change all the code which call to l1_data_A_sram_alloc () to use l1_data_sram_al

[PATCH 1/5] blackfin arch: add missing Blackfin support in lib Kconfig debug CONFIG_FRAME_POINTER

2007-04-11 Thread Wu, Bryan
Signed-off-by: Aubrey Li <[EMAIL PROTECTED]> Signed-off-by: Bryan Wu <[EMAIL PROTECTED]> --- lib/Kconfig.debug |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index 558a22e..87afd62 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.de

Re: [PATCH] CONFIG_PACKET_MMAP should depend on MMU

2007-04-09 Thread Wu, Bryan
On Mon, 2007-04-09 at 16:08 -0400, Robin Getz wrote: > On Mon 9 Apr 2007 14:43, David Miller pondered: > > From: David Miller <[EMAIL PROTECTED]> > > Date: Mon, 09 Apr 2007 09:55:23 -0700 (PDT) > > > > > > I will apply this patch. > > > > Actually I won't, the other comments in this thread make a l

Re: [PATCH] CONFIG_PACKET_MMAP should depend on MMU

2007-04-09 Thread Wu, Bryan
On Mon, 2007-04-09 at 11:01 +0800, Aubrey Li wrote: > The option CONFIG_PACKET_MMAP should depend on MMU. > > Signed-off-by: Aubrey.Li <[EMAIL PROTECTED]> > --- > net/packet/Kconfig |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/net/packet/Kconfig b/net/packet/Kco

[PATCH] USB gadget rndis: fix struct rndis_packet_msg_type unaligned bug

2007-04-05 Thread Wu, Bryan
[PATCH] usb gadget rndis: skb_push function may return a pointer which is not aligned as required by struct rndis_packet_msg_type. Using attribute trick to fix this bug. Signed-off-by: Roy Huang <[EMAIL PROTECTED]> Signed-off-by: Jie Zhang <[EMAIL PROTECTED]> Signed-off-by: Bryan Wu <[EMAIL PROTE

Re: [PATCH] USB gadget rndis: fix bug skb_push function may return an unaligned pointer bug

2007-04-05 Thread Wu, Bryan
On Thu, 2007-04-05 at 14:29 -0700, David Brownell wrote: > On Tuesday 03 April 2007 11:28 pm, Wu, Bryan wrote: > > USB gadget rndis: skb_push function may return a pointer which is not > > aligned as required by struct rndis_packet_msg_type. > > Can you instead try to upda

[PATCH] blackfin arch: 0.4 and 0.5 silicon doesnt exist for BF534, BF536 adn BF537 so dont let people select the option

2007-04-05 Thread Wu, Bryan
Signed-off-by: Bryan Wu <[EMAIL PROTECTED]> --- arch/blackfin/Kconfig |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/blackfin/Kconfig b/arch/blackfin/Kconfig index 88e831a..91e6804 100644 --- a/arch/blackfin/Kconfig +++ b/arch/blackfin/Kconfig @@ -131,11 +131,11

[PATCH] blackfin arch: fix bug asserting gpio requested doesnt make sense with GPIO whole PORT accesses

2007-04-05 Thread Wu, Bryan
[PATCH] blackfin arch: A BUG_ON will fire in the STAMP533 board when enable ethernet support. This BUG_ON asserting is useless in the whole PORT accesses. So remove it. Signed-off-by: Bryan Wu <[EMAIL PROTECTED]> --- arch/blackfin/kernel/bfin_gpio.c |2 -- 1 files changed, 0 insertions(+), 2

Re: [PATCH] Blackfin arch: sync with uClibc no functional changes

2007-04-04 Thread Wu, Bryan
> > +.text > + > +.align 2 > + > ENTRY(_memchr) > - P0 = R0 ; /* P0 = address */ > - P2 = R2 ; /* P2 = count */ > + P0 = R0; // P0 = address > + P2 = R2; // P2 = count Sorry for introducing wrong coding style source. A updated one

[PATCH] Blackfin arch: sync with uClibc no functional changes

2007-04-04 Thread Wu, Bryan
Signed-off-by: Bryan Wu <[EMAIL PROTECTED]> --- arch/blackfin/lib/memchr.S | 31 +--- arch/blackfin/lib/memcmp.S | 46 ++ arch/blackfin/lib/memcpy.S | 24 +++--- arch/blackfin/lib/memmove.S | 12 ++

[PATCH] blackfin arch: use boot_command_line instead of saved_command_line in setup c file

2007-04-04 Thread Wu, Bryan
[PATCH] blackfin arch As boot_command_line is added in init/main.c for arch-specific boot command line, replace old saved_command_line to boot_command_line for right boot command passing in -mm tree. Signed-off-by: Bryan Wu <[EMAIL PROTECTED]> --- arch/blackfin/kernel/setup.c |4 ++-- 1 files

Re: [PATCH] blackfin arch: use boot_command_line instead of save_command_line in setup c file

2007-04-04 Thread Wu, Bryan
On Wed, 2007-04-04 at 08:07 -0700, Randy Dunlap wrote: > On Wed, 04 Apr 2007 14:28:23 +0800 Wu, Bryan wrote: > > > > > Signed-off-by: Bryan Wu <[EMAIL PROTECTED]> > > --- > > arch/blackfin/kernel/setup.c |2 +- > > 1 files changed, 1 insertions(+),

[PATCH] blackfin arch: define a new cacheline_aligned attribute to put it in L1 data memory with linkscript update

2007-04-04 Thread Wu, Bryan
Signed-off-by: Bryan Wu <[EMAIL PROTECTED]> --- arch/blackfin/Kconfig |8 arch/blackfin/kernel/vmlinux.lds.S |8 include/asm-blackfin/cache.h | 11 +++ 3 files changed, 23 insertions(+), 4 deletions(-) diff --git a/arch/blackfin/Kconfig b/ar

[PATCH] blackfin arch: add SCM_TIMESTAMPNS and SIOCGSTAMPNS to socket header file with code style cleaning up

2007-04-04 Thread Wu, Bryan
Signed-off-by: Bryan Wu <[EMAIL PROTECTED]> --- include/asm-blackfin/socket.h | 11 ++- include/asm-blackfin/sockios.h |3 ++- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/include/asm-blackfin/socket.h b/include/asm-blackfin/socket.h index f337bb3..5213c96 100644

[PATCH] blackfin arch: fix some coding style in include asm-blackin header files

2007-04-04 Thread Wu, Bryan
Signed-off-by: Bryan Wu <[EMAIL PROTECTED]> --- include/asm-blackfin/dma-mapping.h | 11 ++- include/asm-blackfin/gpio.h|2 -- include/asm-blackfin/mach-bf533/anomaly.h |1 - include/asm-blackfin/mach-bf533/blackfin.h |

Re: [PATCH] Blackfin arch: add asm-blackfin socket header files

2007-04-04 Thread Wu, Bryan
On Wed, 2007-04-04 at 14:55 +0800, Wu, Bryan wrote: > On Wed, 2007-04-04 at 14:28 +0800, Wu, Bryan wrote: > > Signed-off-by: Bryan Wu <[EMAIL PROTECTED]> > > --- > > include/asm-blackfin/socket.h | 55 > > > >

Re: [PATCH] Blackfin arch: add asm-blackfin socket header files

2007-04-03 Thread Wu, Bryan
On Wed, 2007-04-04 at 14:28 +0800, Wu, Bryan wrote: > Signed-off-by: Bryan Wu <[EMAIL PROTECTED]> > --- > include/asm-blackfin/socket.h | 55 > > include/asm-blackfin/sockios.h | 13 + > 2 files changed, 68 in

[PATCH] Blackfin arch: using asm-generic pgtable header file by adding PAGE access macros based on CPLB management

2007-04-03 Thread Wu, Bryan
Signed-off-by: Bryan Wu <[EMAIL PROTECTED]> --- include/asm-blackfin/pgtable.h | 44 +++ 1 files changed, 35 insertions(+), 9 deletions(-) diff --git a/include/asm-blackfin/pgtable.h b/include/asm-blackfin/pgtable.h index 9328537..5a8f9e4 100644 --- a/includ

[PATCH] Blackfin arch: sync with uClibc no functional changes

2007-04-03 Thread Wu, Bryan
Signed-off-by: Bryan Wu <[EMAIL PROTECTED]> --- arch/blackfin/lib/memchr.S | 31 +--- arch/blackfin/lib/memcmp.S | 46 ++ arch/blackfin/lib/memcpy.S | 24 +++--- arch/blackfin/lib/memmove.S | 12 ++

[PATCH] Blackfin arch: add missing __clear_user function to uaccess header file

2007-04-03 Thread Wu, Bryan
Signed-off-by: Bryan Wu <[EMAIL PROTECTED]> --- include/asm-blackfin/uaccess.h |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/include/asm-blackfin/uaccess.h b/include/asm-blackfin/uaccess.h index ed931bb..bfcb679 100644 --- a/include/asm-blackfin/uaccess.h +++ b/inclu

[PATCH] Blackfin arch: add asm-blackfin socket header files

2007-04-03 Thread Wu, Bryan
Signed-off-by: Bryan Wu <[EMAIL PROTECTED]> --- include/asm-blackfin/socket.h | 55 include/asm-blackfin/sockios.h | 13 + 2 files changed, 68 insertions(+), 0 deletions(-) create mode 100644 include/asm-blackfin/socket.h create mode 100644

[PATCH] USB gadget rndis: fix bug skb_push function may return an unaligned pointer bug

2007-04-03 Thread Wu, Bryan
USB gadget rndis: skb_push function may return a pointer which is not aligned as required by struct rndis_packet_msg_type. Signed-off-by: Bryan Wu <[EMAIL PROTECTED]> --- drivers/usb/gadget/rndis.c | 19 --- 1 files changed, 12 insertions(+), 7 deletions(-) diff --git a/drivers

[PATCH] move die notifier handling to common code fix vmalloc_sync_all in nommu

2007-04-03 Thread Wu, Bryan
Signed-off-by: Bryan Wu <[EMAIL PROTECTED]> --- mm/nommu.c |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/mm/nommu.c b/mm/nommu.c index 2d0a82f..0016557 100644 --- a/mm/nommu.c +++ b/mm/nommu.c @@ -261,6 +261,14 @@ void vunmap(void *addr) } /* + * Implement a

[PATCH] blackfin arch: use boot_command_line instead of save_command_line in setup c file

2007-04-03 Thread Wu, Bryan
Signed-off-by: Bryan Wu <[EMAIL PROTECTED]> --- arch/blackfin/kernel/setup.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/blackfin/kernel/setup.c b/arch/blackfin/kernel/setup.c index ce51882..9870c60 100644 --- a/arch/blackfin/kernel/setup.c +++ b/arch/blackfin/k

[PATCH] Blackfin arch: always include linux kallsysms header file in trap c

2007-04-03 Thread Wu, Bryan
[PATCH] Just include linux/kallsyms.h all the time as the header will handle prototypes/defines when CONFIG_KALLSYMS is disabled ... fixes build error when disabled due to print_ip_sym not being macroed away Signed-off-by: Bryan Wu <[EMAIL PROTECTED]> --- arch/blackfin/kernel/traps.c |5 ++---

[PATCH] nommu arch dont zero the anonymous mapping by adding UNINITIALIZE flag

2007-03-29 Thread Wu, Bryan
On architectures with MMU, malloc takes about the same speed, indepentant of malloc size, while on the Blackfin (NOMMU), as the malloc size increases, the time that malloc consumes grows This small application, which does a bunch of mallocs, and times them with gettimeofday(): ===

[PATCH] blackfin arch PNAV and Bluetechnix CM-BF537 use the MAC address programmed by u-boot and Warn if no valid MAC address found

2007-03-29 Thread Wu, Bryan
Signed-off-by: Bryan Wu <[EMAIL PROTECTED]> --- arch/blackfin/mach-bf537/boards/eth_mac.c |5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/arch/blackfin/mach-bf537/boards/eth_mac.c b/arch/blackfin/mach-bf537/boards/eth_mac.c index 81544a1..e129a08 100644 --- a/arch/bl

[PATCH] blackfin arch fix bug interrupt setup problem request_irq: set_gpio_dir called before gpio_request

2007-03-29 Thread Wu, Bryan
Signed-off-by: Bryan Wu <[EMAIL PROTECTED]> --- arch/blackfin/mach-common/ints-priority-dc.c | 36 +++- arch/blackfin/mach-common/ints-priority-sc.c | 38 +- include/asm-blackfin/gpio.h |6 ++-- 3 files changed, 63 insertions(+)

Re: [PATCH] blackfin arch fix stamp537 ISP1716 IRQ setting bug

2007-03-29 Thread Wu, Bryan
Sorry for word wrap. this one is ok. Signed-off-by: Bryan Wu <[EMAIL PROTECTED]> --- arch/blackfin/mach-bf537/boards/stamp.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/blackfin/mach-bf537/boards/stamp.c b/arch/blackfin/mach-bf537/boards/stamp.c index 0f90ff9.

[PATCH] blackfin arch fix bug prevent warning in case BF531 is target

2007-03-29 Thread Wu, Bryan
Signed-off-by: Bryan Wu <[EMAIL PROTECTED]> --- arch/blackfin/kernel/setup.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/blackfin/kernel/setup.c b/arch/blackfin/kernel/setup.c index 96ee2fa..ce51882 100644 --- a/arch/blackfin/kernel/setup.c +++ b/arch/blackfin/k

[PATCH] blackfin arch fix stamp537 ISP1716 IRQ setting bug

2007-03-29 Thread Wu, Bryan
Signed-off-by: Bryan Wu <[EMAIL PROTECTED]> --- arch/blackfin/mach-bf537/boards/stamp.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/blackfin/mach-bf537/boards/stamp.c b/arch/blackfin/mach-bf537/boards/stamp.c index 0f90ff9..a4219df 100644 --- a/arch/blackfin/mac

[PATCH -mm] blackfin arch fix bug bf561 rev ID are 8-bit

2007-03-29 Thread Wu, Bryan
Signed-off-by: Bryan Wu <[EMAIL PROTECTED]> --- arch/blackfin/kernel/setup.c|3 +++ include/asm-blackfin/mach-bf561/bf561.h |2 +- 2 files changed, 4 insertions(+), 1 deletions(-) diff --git a/arch/blackfin/kernel/setup.c b/arch/blackfin/kernel/setup.c index b494f73..96ee2fa 1

Re: [PATCH] revoke: generic_file_revoke stub for NOMMU

2007-03-27 Thread Wu, Bryan
On Wed, 2007-03-28 at 09:24 +0300, Pekka J Enberg wrote: > From: Pekka Enberg <[EMAIL PROTECTED]> > > As NOMMU does not include fs/revoke.c, we need to provide a stub for > generic_file_revoke() so that filesystems using it compile. > > Cc: Bryan Wu <[EMAIL PROTECTED]> > Signed-off-by: Pekka Enbe

Re: revoke: no revoke for nommu

2007-03-27 Thread Wu, Bryan
On Mon, 2007-03-26 at 15:12 +0300, Pekka J Enberg wrote: > From: Pekka Enberg <[EMAIL PROTECTED]> > > There's just no sane way to revoke shared memory mappings for NOMMU so lets > disable the thing completely when CONFIG_MMU=n. > > Cc: Bryan Wu <[EMAIL PROTECTED]> > Cc: David Howells <[EMAIL PRO

Re: [PATCH -mm] Blackfin arch: add kdebug header file

2007-03-27 Thread Wu, Bryan
On Tue, 2007-03-27 at 08:34 -0700, Randy Dunlap wrote: > On Tue, 27 Mar 2007 13:40:45 +0800 Wu, Bryan wrote: > > > On Mon, 2007-03-26 at 22:27 -0700, Randy Dunlap wrote: > > > On Tue, 27 Mar 2007 01:17:06 -0400 Mike Frysinger wrote: > > > > > > > On 3/2

Re: [PATCH -mm] Blackfin arch: add kdebug header file

2007-03-26 Thread Wu, Bryan
On Mon, 2007-03-26 at 22:27 -0700, Randy Dunlap wrote: > On Tue, 27 Mar 2007 01:17:06 -0400 Mike Frysinger wrote: > > > On 3/27/07, Paul Mundt <[EMAIL PROTECTED]> wrote: > > > On Tue, Mar 27, 2007 at 12:34:25AM -0400, Mike Frysinger wrote: > > > > On 3/26/07, Paul Mundt <[EMAIL PROTECTED]> wrote:

Re: [PATCH -mm] Blackfin arch: add kdebug header file

2007-03-26 Thread Wu, Bryan
On Tue, 2007-03-27 at 01:17 -0400, Mike Frysinger wrote: > On 3/27/07, Paul Mundt <[EMAIL PROTECTED]> wrote: > > On Tue, Mar 27, 2007 at 12:34:25AM -0400, Mike Frysinger wrote: > > > On 3/26/07, Paul Mundt <[EMAIL PROTECTED]> wrote: > > > >You should really consider the latter for getting updates m

Re: revoke: no revoke for nommu

2007-03-26 Thread Wu, Bryan
On Mon, 2007-03-26 at 13:25 +0100, David Howells wrote: > Pekka J Enberg <[EMAIL PROTECTED]> wrote: > > > There's just no sane way to revoke shared memory mappings for NOMMU so lets > > disable the thing completely when CONFIG_MMU=n. > > I think that's reasonable for now - we can always add suppo

Re: [PATCH -mm] Blackfin arch: add kdebug header file

2007-03-26 Thread Wu, Bryan
you know. How does a kernel guru to do this, send out dozens of patch emails a day? Is there any convenient tools to help this? > On Monday 26 March 2007, Wu, Bryan wrote: > > Hi folks, > > No need for this line, if it's there, Andrew just needs to remove > it from the c

Re: [PATCH -mm] Revoke core code: fix nommu arch compiling error bug

2007-03-26 Thread Wu, Bryan
On Mon, 2007-03-26 at 16:21 -0400, Mike Frysinger wrote: > On 3/26/07, David Howells <[EMAIL PROTECTED]> wrote: > > [*] The FRV, for example, does have some limited protection capability - but > > it is really limited and not really useful in this case. > Sorry for late response. > how so ? the

[PATCH -mm] vdso print fatal signals: fix compiling error bug in nommu arch

2007-03-26 Thread Wu, Bryan
Hi folks, As struct mm_struct vm_mm is hidden in struct vm_area_struct in NOMMU arch, this is a fixing method when compiling failure on blackfin arch. Signed-off-by: Bryan Wu <[EMAIL PROTECTED]> --- kernel/signal.c |4 1 file changed, 4 insertions(+) Index: linux-2.6/kernel/signal.c

[PATCH -mm] Revoke core code: fix nommu arch compiling error bug

2007-03-26 Thread Wu, Bryan
Hi folks, As struct mm_struct vm_mm is hidden in struct vm_area_struct in NOMMU arch, this is a fixing method when compiling failure on blackfin arch. Signed-off-by: Bryan Wu <[EMAIL PROTECTED]> --- fs/revoke.c | 22 +++--- 1 file changed, 15 insertions(+), 7 deletions(-) In

[PATCH -mm] Blackfin: spi driver cleanup and coding style fixing

2007-03-26 Thread Wu, Bryan
Hi folks, This patch cleanup blackfin SPI driver code and fix some coding style problems. Signed-off-by: Bryan Wu <[EMAIL PROTECTED]> --- drivers/spi/spi_bfin5xx.c | 322 +- 1 file changed, 179 insertions(+), 143 deletions(-) Index: linux-2.6/driver

[PATCH -mm] Blackfin: spi driver fix reboot kernel mounting spi flash print error bug

2007-03-26 Thread Wu, Bryan
Hi folks, This patch fix a printing error bug when reboot kernel mounting on SPI flash. Signed-off-by: Bryan Wu <[EMAIL PROTECTED]> --- drivers/spi/spi_bfin5xx.c |9 - 1 file changed, 9 deletions(-) Index: linux-2.6/drivers/spi/spi_bfin5xx.c ===

[PATCH -mm] Blackfin: rtc fix rtc_update_irq augument

2007-03-26 Thread Wu, Bryan
Hi folks, Replacing class_dev to directly using rtc_dev. Signed-off-by: Bryan Wu <[EMAIL PROTECTED]> --- drivers/rtc/rtc-bfin.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: linux-2.6/drivers/rtc/rtc-bfin.c ===

[PATCH -mm] Blackfin arch: cleanup cache header file

2007-03-26 Thread Wu, Bryan
Hi folks, According to Paul's review, this patch cleanup the include/asm-blackfin/cache.h comments. Signed-off-by: Bryan Wu <[EMAIL PROTECTED]> --- include/asm-blackfin/cache.h | 20 ++-- 1 file changed, 14 insertions(+), 6 deletions(-) Index: linux-2.6/include/asm-blackfin/

[PATCH -mm] Blackfin arch: fix reboot kernel mounting spi flash print error bug

2007-03-26 Thread Wu, Bryan
Hi folks, This patch fix a printing error bug when reboot kernel mounting on SPI flash. Signed-off-by: Bryan Wu <[EMAIL PROTECTED]> --- arch/blackfin/mach-bf533/boards/cm_bf533.c |2 +- arch/blackfin/mach-bf533/boards/ezkit.c |2 +- arch/blackfin/mach-bf533/boards/stamp.c

[PATCH -mm] Blackfin arch: fix compiling error in flat c file

2007-03-26 Thread Wu, Bryan
Hi folks, THis patch fixed including wrong header file when compiling in 2.6.21-rc4-mm. Signed-off-by: Bryan Wu <[EMAIL PROTECTED]> --- arch/blackfin/kernel/flat.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: linux-2.6/arch/blackfin/kernel/flat.c

[PATCH -mm] Blackfin arch: power management replace firmware disk mode

2007-03-26 Thread Wu, Bryan
Hi folks, This patches replace firmware disk mode according to include/linux/pm.h Signed-off-by: Bryan Wu <[EMAIL PROTECTED]> --- arch/blackfin/mach-common/pm.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: linux-2.6.x/arch/blackfin/mach-common/pm.c =

[PATCH -mm] Blackfin arch: add kdebug header file

2007-03-26 Thread Wu, Bryan
Hi folks, This patch adds kdebug.h header file to blackfin architecture. Signed-off-by: Bryan Wu <[EMAIL PROTECTED]> --- include/asm-blackfin/kdebug.h |1 + 1 file changed, 1 insertion(+) Index: linux-2.6/include/asm-blackfin/kdebug.h ==

[PATCH -mm] Blackfin arch: fix struct dmasg packing bug

2007-03-26 Thread Wu, Bryan
Hi folks, This patch fix a bug about struct dmasg packed missing bug. Using __attribute__ instead of pragma. Signed-off-by: Bryan Wu <[EMAIL PROTECTED]> --- include/asm-blackfin/dma.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: linux-2.6/include/asm-blackfin/dma.h =

Re: [PATCH -mm try#2] Blackfin: architecture update patch

2007-03-23 Thread Wu, Bryan
On Thu, 2007-03-22 at 23:59 -0800, Andrew Morton wrote: > On Fri, 23 Mar 2007 14:04:30 +0800 "Wu, Bryan" <[EMAIL PROTECTED]> wrote: > > > This is the latest blackfin update patch. > > I think I'm going to give up on the present set of blackfin patches. I

Re: [PATCH -mm try#2] Blackfin: on-chip Two Wire Interface I2C driver

2007-03-22 Thread Wu, Bryan
On Fri, 2007-03-23 at 08:27 +0100, Jean Delvare wrote: > Hi Bryan, > > On Fri, 23 Mar 2007 13:46:57 +0800, Wu, Bryan wrote: > > Changlogs: > > > > a) Fixed issues according to Jean's review. > > b) Add MAINTAINS infomation > > c) add I2C_HW_B_BLACKFIN

Re: [PATCH -mm try#2] Blackfin: architecture update patch

2007-03-22 Thread Wu, Bryan
On Fri, 2007-03-23 at 15:12 +0900, Paul Mundt wrote: > On Fri, Mar 23, 2007 at 02:04:30PM +0800, Wu, Bryan wrote: > > This is the latest blackfin update patch. Because there are lots of > > issue fixing in this one, I put all modification in one update patch > > which is

[PATCH -mm try#2] Blackfin: architecture update patch

2007-03-22 Thread Wu, Bryan
Hi folks: This is the latest blackfin update patch. Because there are lots of issue fixing in this one, I put all modification in one update patch which is located in: https://blackfin.uclinux.org/gf/download/frsrelease/39/2707/blackfin-arch-2.6.21-rc4-mm1-update.patch Changlogs: 1) fixed most o

[PATCH -mm try#2] Blackfin: on-chip Two Wire Interface I2C driver

2007-03-22 Thread Wu, Bryan
Hi folks, Changlogs: a) Fixed issues according to Jean's review. b) Add MAINTAINS infomation c) add I2C_HW_B_BLACKFIN to i2c-id.h [PATCH] Blackfin: on-chip Two Wire Interface I2C driver The i2c linux driver for blackfin architecture which supports blackfin on-chip TWI controller i2c operation.

Re: [PATCH -mm 1/4] Blackfin: architecture update patch

2007-03-21 Thread Wu, Bryan
On Wed, 2007-03-21 at 20:08 -0800, Andrew Morton wrote: > On Thu, 22 Mar 2007 10:24:51 +0800 "Wu, Bryan" <[EMAIL PROTECTED]> wrote: > > > > 1 out of 1 hunk FAILED -- saving rejects to file > > > include/asm-blackfin/cplbinit.h.rej > > >

Re: [PATCH -mm 1/4] Blackfin: architecture update patch

2007-03-21 Thread Wu, Bryan
On Wed, 2007-03-21 at 15:53 -0700, Andrew Morton wrote: > On Wed, 21 Mar 2007 18:19:23 +0800 > "Wu, Bryan" <[EMAIL PROTECTED]> wrote: > > > 1) Some issues are fixed according to LKML patch review. > > 2) Remove not supported BF535 code > > 3) Fixed som

Re: [PATCH -mm 1/4] Blackfin: architecture update patch

2007-03-21 Thread Wu, Bryan
On Wed, 2007-03-21 at 11:25 +0100, Arnd Bergmann wrote: > On Wednesday 21 March 2007, Wu, Bryan wrote: > > > @@ -97,6 +97,11 @@ static inline void leds_switch(int flag) > > /* > > * The idle loop on BFIN > > */ > > +#ifdef CONFIG_IDLE_L1 >

[PATCH -mm 4/4] Blackfin: on-chip Two Wire Interface I2C driver

2007-03-21 Thread Wu, Bryan
Hi folks, As GPIO based blackfin driver will be replaced by I2C-GPIO generic driver, we just update this latest version of blackfin on-chip TWI I2C driver according to LKML review. [PATCH] Blackfin: on-chip Two Wire Interface I2C driver The i2c linux driver for blackfin architecture which suppor

[PATCH -mm 2/4] Blackfin: serial update driver for Blackfin architecture

2007-03-21 Thread Wu, Bryan
Hi folks, Since we support break handling, we shouldn't use these flags. Signed-off-by: Bryan Wu <[EMAIL PROTECTED]> --- drivers/serial/bfin_5xx.c |6 +- 1 file changed, 1 insertion(+), 5 deletions(-) Index: linux-2.6/drivers/serial/bfin_5xx.c ==

[PATCH -mm 3/4] Blackfin: on-chip ethernet MAC controller update driver

2007-03-21 Thread Wu, Bryan
Hi folks, As we move 4 piece same board specific code get_bf537_ether_addr() into arch/blackfin/mach-bf537/boards/eth_mac.c, the comment of driver should be updated. Signed-off-by: Bryan Wu <[EMAIL PROTECTED]> --- drivers/net/bfin_mac.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [PATCH] blackfin: balance parenthesis in macros

2007-03-15 Thread Wu, Bryan
On Thu, 2007-03-15 at 18:12 -0400, Mariusz Kozlowski wrote: > Hello, > > This patch (against 2.6.21-rc3-mm1) balances parenthesis in blackfin > header files. > > Signed-off-by: Mariusz Kozlowski <[EMAIL PROTECTED]> > > include/asm-blackfin/mach-bf535/bf535.h |4 ++-- > include/asm-b

Re: [PATCH v2] Bitbanging i2c bus driver using the GPIO API

2007-03-11 Thread Wu, Bryan
On Sat, 2007-03-10 at 14:13 +0100, Haavard Skinnemoen wrote: > This is a very simple bitbanging i2c bus driver utilizing the new > arch-neutral GPIO API. Useful for chips that don't have a built-in > i2c controller, additional i2c busses, or testing purposes. > Sorry for missing this hot discussi

[PATCH] i2c-core: i2c bitbang gpio structure

2007-03-09 Thread Wu, Bryan
Hi folks, A new structure is added to i2c-core for GPIO-based I2C interface adapter. My latest GPIO based I2C adapter driver for Blackfin system will use this stuff. And also IXP4XX GPIO based I2C driver can also be moved to this. Signed-off-by: Bryan Wu <[EMAIL PROTECTED]> --- include/linux/i2

Re: [PATCH -mm] Blackfin: blackfin i2c driver

2007-03-07 Thread Wu, Bryan
> > Signed-off-by: Bryan Wu <[EMAIL PROTECTED]> > > --- > > drivers/i2c/busses/Kconfig | 47 > > drivers/i2c/busses/i2c-bfin-gpio.c | 98 + > > drivers/i2c/busses/i2c-bfin-twi.c | 589 > > > > I'd prefer i2c-bla

Re: [PATCH -mm] Blackfin: blackfin i2c driver

2007-03-06 Thread Wu, Bryan
On Tue, 2007-03-06 at 23:14 -0800, Andrew Morton wrote: > On Wed, 7 Mar 2007 07:58:22 +0100 Jean Delvare <[EMAIL PROTECTED]> wrote: > > > > +config BFIN_SDA > > > > I2C_BLACKFIN_SDA > > The blackfin architecture uses "bfin" pretty much universally, so this > usage is consistent. > > box:/usr/sr

Re: [PATCH] Blackfin: blackfin on-chip SPI controller driver

2007-03-06 Thread Wu, Bryan
Hi alls, Could you please give some feedback about this patch? I noticed some coding style issues and will update this patch according to your kindly review. Thanks -Bryan Wu - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] M

Re: [PATCH -mm] Blackfin: blackfin i2c driver

2007-03-06 Thread Wu, Bryan
> > > > OK, I change it into yield(). So, current process will be move to the > > tail of the run queue. Is that OK with you? > > Nope, yield is terribly bad when there are busy processes running: it can > stall for a very long time indeed, > > Is this hardware not capable of generating an inter

Re: [PATCH -mm] Blackfin: blackfin i2c driver

2007-03-06 Thread Wu, Bryan
Dear Andrew and Alexey: Thanks a lot for the review. Here is the updated blackfin i2c driver. [PATCH] Blackfin: blackfin i2c driver The i2c linux driver for blackfin architecture which supports both GPIO i2c operation and blackfin on-chip TWI controller i2c operation. Signed-off-by: Bryan Wu <

Re: [PATCH -mm] utrace: nommu fixup support utrace

2007-03-06 Thread Wu, Bryan
On Tue, 2007-03-06 at 09:37 +, David Howells wrote: > Wu, Bryan <[EMAIL PROTECTED]> wrote: > > > When adding utrace support to blackfin architecture, I found a compiling > > error in nommu related utrace stuff. Then this little patch will fix > > this for nomm

[PATCH -mm] utrace: nommu fixup support utrace

2007-03-05 Thread Wu, Bryan
Hi folks, When adding utrace support to blackfin architecture, I found a compiling error in nommu related utrace stuff. Then this little patch will fix this for nommu arch utrace. Signed-off-by: Bryan Wu <[EMAIL PROTECTED]> --- mm/nommu.c |4 1 file changed, 4 insertions(+) Index: lin

[PATCH -mm] Blackfin: blackfin i2c driver

2007-03-05 Thread Wu, Bryan
Hi folks, [PATCH] Blackfin: blackfin i2c driver The i2c linux driver for blackfin architecture which supports both GPIO i2c operation and blackfin on-chip TWI controller i2c operation. Signed-off-by: Bryan Wu <[EMAIL PROTECTED]> --- drivers/i2c/busses/Kconfig | 47 drivers/i2c/

[PATCH] Blackfin: blackfin on-chip SPI controller driver

2007-03-05 Thread Wu, Bryan
Hi folks, Here is the latest blackfin on-chip SPI controller driver for 2.6.21-rc2-mm1 [PATCH] Blackfin: blackfin on-chip SPI controller driver This patch implements the driver necessary use the Analog Devices Blackfin processor's SPI Port. Signed-off-by: Bryan Wu <[EMAIL PROTECTED]> --- driv

Re: [PATCH -mm 1/5] Blackfin: blackfin architecture patch update

2007-03-05 Thread Wu, Bryan
On Mon, 2007-03-05 at 09:47 +0100, Arnd Bergmann wrote: > On Monday 05 March 2007, Aubrey Li wrote: > > On 3/4/07, Arnd Bergmann <[EMAIL PROTECTED]> wrote: > > > > In general, please put EXPORT_SYMBOL lines below the definition > > > of the symbol itself. This list of exports should only be used >

Re: [PATCH -mm 1/5] Blackfin: blackfin architecture patch update

2007-03-04 Thread Wu, Bryan
On Sat, 2007-03-03 at 17:30 -0500, Arnd Bergmann wrote: > On Thursday 01 March 2007 05:14:40 Wu, Bryan wrote: > > Here is the update version of blackfin-arch.patch in -mm tree. > > simply add support to utrace and it was tested on blackfin STAMP > board > > as well as

[PATCH -mm] Blackfin: blackfin utrace patch

2007-03-04 Thread Wu, Bryan
Hi folks, As utrace is very promising in the -mm tree, a simple support is added to blackfin architecture. I send this patch out just for review and it is only a start point, we will make it fully work in the future. Now after applying this patch, the blackfin-arch can be compile in the 2.6.21-rc

Re: Questions about the SYSVIPC share memory on NOMMU uClinuxarchitecture

2007-03-04 Thread Wu, Bryan
On Fri, 2007-03-02 at 05:33 -0500, Wu, Bryan wrote: > Hi folks, > > Recently, I was struggling in a bug about the shm->nattch. Actually, > the > test case is from LTP kernel/syscall/ipc/shmctl/shmctl01.c code. We > ported it to the uClinux-blackfin platform. > Sorry

Questions about the SYSVIPC share memory on NOMMU uClinux architecture

2007-03-02 Thread Wu, Bryan
Hi folks, Recently, I was struggling in a bug about the shm->nattch. Actually, the test case is from LTP kernel/syscall/ipc/shmctl/shmctl01.c code. We ported it to the uClinux-blackfin platform. The algorithm is very simple. a) the parent process will create a share memory b) parent will vfork/

Re: [PATCH -mm 3/5] Blackfin: on-chip ethernet MAC controller driver

2007-03-02 Thread Wu, Bryan
On Thu, 2007-03-01 at 10:52 -0500, Stephen Hemminger wrote: > > Please do not use mixed case for function or structure member names > (see > Coding Style) > Here is the updated version of this driver. a) Change to follow kernel coding style b) rename some functions and structures c) chang

Re: [PATCH -mm 4/5] Blackfin: patch add blackfin support in smc91x ethernet controller driver

2007-03-01 Thread Wu, Bryan
On Thu, 2007-03-01 at 02:03 -0800, Andrew Morton wrote: > On Thu, 01 Mar 2007 17:52:48 +0800 "Wu, Bryan" <[EMAIL PROTECTED]> wrote: > > > > Please always prefer coding in C over coding in cpp. > > > > Yes, it can be writen as a C function. > > W

Re: [PATCH -mm 4/5] Blackfin: patch add blackfin support in smc91x ethernet controller driver

2007-03-01 Thread Wu, Bryan
On Thu, 2007-03-01 at 01:32 -0800, Andrew Morton wrote: > On Thu, 01 Mar 2007 17:23:23 +0800 "Wu, Bryan" <[EMAIL PROTECTED]> wrote: > > > On Thu, 2007-03-01 at 00:54 -0800, Andrew Morton wrote: > > > On Thu, 01 Mar 2007 12:15:29 +0800

Re: [PATCH -mm 4/5] Blackfin: patch add blackfin support in smc91x ethernet controller driver

2007-03-01 Thread Wu, Bryan
On Thu, 2007-03-01 at 00:54 -0800, Andrew Morton wrote: > On Thu, 01 Mar 2007 12:15:29 +0800 "Wu, Bryan" <[EMAIL PROTECTED]> wrote: > > > +/* check if the mac in reg is valid */ > > +#define SMC_GET_MAC_ADDR(addr)

[PATCH -mm 4/5] Blackfin: patch add blackfin support in smc91x ethernet controller driver

2007-02-28 Thread Wu, Bryan
Hi folks, As SMC91X ethernet controller are used in blackfin STAMP 533 development board, this patch add blackfin support to the smc91x linux driver. It's name is blackfin-driver-net-stamp533.patch. [PATCH] Blackfin: patch add blackfin support in smc91x ethernet controller driver Signed-off-by

[PATCH -mm 5/5] Blackfin: on-chip RTC controller driver

2007-02-28 Thread Wu, Bryan
Hi folks, Here is the blackfin on-chip RTC controller driver for Linux. It's name is blackfin-driver-rtc.patch [PATCH] Blackfin: on-chip RTC controller driver This patch implements the driver necessary use the Analog Devices Blackfin processor's on-chip RTC controller. Signed-off-by: Bryan Wu

[PATCH -mm 3/5] Blackfin: on-chip ethernet MAC controller driver

2007-02-28 Thread Wu, Bryan
Hi folks, Here is the blackfin on-chip ethernet MAC controller driver for Linux. It's name is blackfin-driver-net-stamp537.patch [PATCH] Blackfin: on-chip ethernet MAC controller driver This patch implements the driver necessary use the Analog Devices Blackfin processor's on-chip ethernet MAC c

[PATCH -mm 2/5] Blackfin: on-chip serial driver update

2007-02-28 Thread Wu, Bryan
Hi folks, Here is the update version of blackfin serial driver in -mm tree. Fixed some bugs and please rename the patch file to blackfin-driver-serial-core.patch. [PATCH] Blackfin: serial driver for Blackfin architecture This patch implements the driver necessary use the Analog Devices Blackfin

[PATCH -mm 1/5] Blackfin: blackfin architecture patch update

2007-02-28 Thread Wu, Bryan
Hi folks, Here is the update version of blackfin-arch.patch in -mm tree. simply add support to utrace and it was tested on blackfin STAMP board as well as other following patches. The whole patch is located at URL: https://blackfin.uclinux.org/gf/download/frsrelease/39/2583/blackfin-arch.patch Th

Re: [PATCH] shm: Fix the locking and cleanup error handling in do_shmat.

2007-02-15 Thread Wu, Bryan
On Thu, 2007-02-15 at 22:34 -0500, Eric W. Biederman wrote: > > drivers/video/Kconfig:1606:warning: 'select' used by config symbol > 'FB_PS3' > > refer to undefined symbol 'PS3_PS3AV' > > /mnt/md0/devel/linux-mm/ipc/shm.c: In function 'do_shmat': > > /mnt/md0/devel/linux-mm/ipc/shm.c:945: warnin

Re: [PATCH 1/3] Blackfin: architecture patch against Linux kernel2.6.20 (again)

2007-02-08 Thread Wu, Bryan
Hi folks, We know this is a large one and really appreciate anyone who is interested can review it. For any issues. We'll try to fix them ASAP. Thank you! -Bryan Wu On Mon, 2007-02-05 at 21:11 -0500, Wu, Bryan wrote: > Hi everyone, > > This is the Blackfin architecture patch

[PATCH 2/3, try #4] Blackfin: serial driver for Blackfin architecture against Linux kernel 2.6.20

2007-02-07 Thread Wu, Bryan
Hi forks, Aubrey update the patch according to Russell's review. Thanks Russell Here is the change log: a) arrange the driver to reflect the real settings in the termios b) don't use __builtin_bfin_ssync(), directly use SSYNC() instead Signed-off-by: Bryan Wu <[EMAIL PROTECTED]> Reviewed-by: Ala

[PATCH 2/3, try #3] Blackfin: serial driver for Blackfinarchitecture against Linux kernel 2.6.20

2007-02-07 Thread Wu, Bryan
Hi folks, Thanks Russell's review, we update the serial core driver according to Russell's comments. Here is the change log: a) use "ttyBF" as blackfin serial name and use new serial major/minor number b) can accept command line serial setting like "console=ttyBF0,115200", delete the baud rate

Re: [PATCH 3/3, try #2] Blackfin: documents and maintainer patch

2007-02-06 Thread Wu, Bryan
http://blackfin.uclinux.org +S: Supported + BAYCOM/HDLCDRV DRIVERS FOR AX.25 P: Thomas Sailer M: [EMAIL PROTECTED] --- Thanks a lot Best Regards -Bryan Wu <[EMAIL PROTECTED]> On Mon, 2007-02-05 at 22:49 -0500, Wu, Bryan wrote: > Hi folks, > > Update the MAINTAINE

  1   2   >