08 Dec, 2011

1 commit


09 Nov, 2011

1 commit


20 Oct, 2011

2 commits

  • When trying to compile the 3.1-rc10 kernel for my MIPS board with C=1
    (sparse checking), the build fails early with the error:

    CHK include/linux/version.h
    UPD include/linux/version.h
    CHK include/generated/utsrelease.h
    UPD include/generated/utsrelease.h
    Checking missing-syscalls for N32
    CALL scripts/checksyscalls.sh
    Checking missing-syscalls for O32
    CALL scripts/checksyscalls.sh
    CC kernel/bounds.s
    GEN include/generated/bounds.h
    CC arch/mips/kernel/asm-offsets.s
    GEN include/generated/asm-offsets.h
    CALL scripts/checksyscalls.sh
    HOSTCC scripts/genksyms/genksyms.o
    SHIPPED scripts/genksyms/lex.lex.c
    SHIPPED scripts/genksyms/keywords.hash.c
    SHIPPED scripts/genksyms/parse.tab.h
    HOSTCC scripts/genksyms/lex.lex.o
    SHIPPED scripts/genksyms/parse.tab.c
    HOSTCC scripts/genksyms/parse.tab.o
    HOSTLD scripts/genksyms/genksyms
    /bin/sh: Syntax error: "(" unexpected
    make[3]: *** [scripts/mod/empty.o] Error 2
    make[2]: *** [scripts/mod] Error 2
    make[1]: *** [scripts] Error 2

    It seems the shell chokes because sparse is called with command line
    arguments such as:

    -D__INT8_C(c)='c'

    Converting these to form:

    -D'__INT8_C(c)'='c'

    seems to fix the problem.

    [ralf@linux-mips.org: This affects builds with gcc 4.5 and newer.]

    Signed-off-by: Aaro Koskinen
    Cc: linux-kernel@vger.kernel.org
    Patchwork: https://patchwork.linux-mips.org/patch/2827/
    Signed-off-by: Ralf Baechle

    Aaro Koskinen
     
  • Signed-off-by: Ralf Baechle

    Ralf Baechle
     

21 Jul, 2011

1 commit

  • This patch combines linux-mips.org patches
    637d69600fb1773da56487271ec2a79c33d237ed [MIPS: Netlogic: Yank out crap.]
    and 5e3c263b9658a4b1c6c5577793e9347efb44854e [MIPS: XLR, XLS: Add Kbuild
    files for platform.]

    Signed-off-by: Ralf Baechle
    Signed-off-by: Jayachandran C
    Cc: linux-mips@linux-mips.org
    Patchwork: https://patchwork.linux-mips.org/patch/2415/
    Signed-off-by: Ralf Baechle

    Ralf Baechle
     

19 May, 2011

1 commit


31 Mar, 2011

1 commit


17 Mar, 2011

1 commit


30 Oct, 2010

2 commits

  • The CN63XXP1 needs a couple of workarounds to ensure memory is not written
    in unexpected ways.

    All PREF with hints in the range 0-4,6-24 are replaced with PREF 28. We
    pass a flag to the assembler to cover compiler generated code, and patch
    uasm for the dynamically generated code.

    The write buffer threshold is reduced to 4.

    Signed-off-by: David Daney
    Patchwork: http://patchwork.linux-mips.org/patch/1672/
    Signed-off-by: Ralf Baechle

    David Daney
     
  • It was a nice optimization - on paper at least. In practice it results in
    branches that may exceed the maximum legal range for a branch. We can
    fight that problem with -ffunction-sections but -ffunction-sections again
    is incompatible with -pg used by the function tracer.

    By rewriting the loop around all simple LL/SC blocks to C we reduce the
    amount of inline assembler and at the same time allow GCC to often fill
    the branch delay slots with something sensible or whatever else clever
    optimization it may have up in its sleeve.

    With this optimization gone we also no longer need -ffunction-sections,
    so drop it.

    This optimization was originally introduced in 2.6.21, commit
    5999eca25c1fd4b9b9aca7833b04d10fe4bc877d (linux-mips.org) rsp.
    f65e4fa8e0c6022ad58dc88d1b11b12589ed7f9f (kernel.org).

    Original fix for the issues which caused me to pull this optimization by
    Paul Gortmaker .

    Signed-off-by: Ralf Baechle

    Ralf Baechle
     

06 Aug, 2010

1 commit

  • * 'kbuild' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild-2.6:
    modpost: support objects with more than 64k sections
    trivial: fix a typo in a filename
    frv: clean up arch/frv/Makefile
    kbuild: allow assignment to {A,C}FLAGS_KERNEL on the command line
    kbuild: allow assignment to {A,C,LD}FLAGS_MODULE on the command line
    Kbuild: Add option to set -femit-struct-debug-baseonly
    Makefile: "make kernelrelease" should show the correct full kernel version
    Makefile.build: make KBUILD_SYMTYPES work again

    Linus Torvalds
     

05 Aug, 2010

29 commits