13 Dec, 2011

1 commit

  • This patch changes the nwfpe implementation to use the new generic
    ARM instruction set condition code checks, rather than a local
    implementation. It also removes the existing condition code checking,
    which has been used for the generic support (in kernel/opcodes.{ch}).

    This code has not been tested beyond building, linking and booting.

    Signed-off-by: Leif Lindholm
    Reviewed-by: Will Deacon
    Signed-off-by: Russell King

    Leif Lindholm
     

18 Oct, 2010

1 commit


25 May, 2010

2 commits


18 May, 2010

1 commit


15 May, 2010

1 commit


21 Apr, 2010

1 commit

  • /tmp/ccJ3ssZW.s: Assembler messages:
    /tmp/ccJ3ssZW.s:1952: Error: can't resolve `.text' {.text section} - `.LFB1077'

    This is caused because:

    .section .data
    .section .text
    .section .text
    .previous

    does not return us to the .text section, but the .data section; this
    makes use of .previous dangerous if the ordering of previous sections
    is not known.

    Fix up the other users of .previous; .pushsection and .popsection are
    a safer pairing to use than .section and .previous.

    Signed-off-by: Russell King

    Russell King
     

19 Dec, 2009

1 commit

  • 26-bit ARM support was removed a long time ago, and this symbol has
    been defined to be 'y' ever since. As it's never disabled anymore,
    we can kill it without any side effects.

    Signed-off-by: Russell King

    Russell King
     

15 May, 2009

2 commits

  • The symbol 'floatx80_is_nan' prototype was defined
    locally in fpa11_cprt.c when it was built outside the
    file in softfloat-specialisze.

    Move this into softfloat.h to fix the following sparse
    warning:

    softfloat-specialize:276:6: warning: symbol 'floatx80_is_nan' was not declared. Should it be static?

    Signed-off-by: Ben Dooks

    Ben Dooks
     
  • Add header file decleration for 'ExtendedCPDO' in fpa11.h
    to stop the following sparse warning:

    extended_cpdo.c:90:14: warning: symbol 'ExtendedCPDO' was not declared. Should it be static?

    Signed-off-by: Ben Dooks

    Ben Dooks
     

06 Sep, 2008

1 commit


03 Aug, 2008

1 commit


20 Oct, 2007

1 commit

  • * Convert files to UTF-8.

    * Also correct some people's names
    (one example is Eißfeldt, which was found in a source file.
    Given that the author used an ß at all in a source file
    indicates that the real name has in fact a 'ß' and not an 'ss',
    which is commonly used as a substitute for 'ß' when limited to
    7bit.)

    * Correct town names (Goettingen -> Göttingen)

    * Update Eberhard Mönkeberg's address (http://lkml.org/lkml/2007/1/8/313)

    Signed-off-by: Jan Engelhardt
    Signed-off-by: Adrian Bunk

    Jan Engelhardt
     

19 Oct, 2007

1 commit

  • To be consistent with the use of attributes in the rest of the kernel
    replace all use of __attribute_pure__ with __pure and delete the definition
    of __attribute_pure__.

    Signed-off-by: Ralf Baechle
    Cc: Russell King
    Acked-by: Mauro Carvalho Chehab
    Cc: Bryan Wu
    Cc: Paul Mackerras
    Cc: Benjamin Herrenschmidt
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Ralf Baechle
     

13 Oct, 2007

2 commits


01 Aug, 2007

1 commit

  • The arm26 port has been in a state where it was far from even compiling
    for quite some time.

    Ian Molton agreed with the removal.

    Signed-off-by: Adrian Bunk
    Cc: Ian Molton
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Adrian Bunk
     

30 May, 2007

1 commit

  • Fix the undeclared symbols sparse is warning about.

    arch/arm/nwfpe/softfloat.c:1727:7: warning: symbol 'float64_to_uint32' was not declared. Should it be static?
    arch/arm/nwfpe/softfloat.c:1753:7: warning: symbol 'float64_to_uint32_round_to_zero' was not declared. Should it be static?

    Signed-off-by: Ben Dooks
    Signed-off-by: Russell King

    Ben Dooks
     

13 Jul, 2006

1 commit


01 Jul, 2006

1 commit


25 Jun, 2006

1 commit


22 Jun, 2006

1 commit

  • Some machine classes need to allow VFP support to be built into the
    kernel, but still allow the kernel to run even though VFP isn't
    present. Unfortunately, the kernel hard-codes VFP instructions
    into the thread switch, which prevents this being run-time selectable.

    Solve this by introducing a notifier which things such as VFP can
    hook into to be informed of events which affect the VFP subsystem
    (eg, creation and destruction of threads, switches between threads.)

    Signed-off-by: Russell King

    Russell King
     

15 Jan, 2006

1 commit


08 Nov, 2005

2 commits

  • Patch from Lennert Buytenhek

    nwfpe extended precision emulation used to be broken on big-endian
    and was therefore disabled. This patch fixes nwfpe so that it copies
    extended precision floats to/from userspace in the proper word order
    (similar to patch #2046, see the description of that patch for an
    explanation) and reenables the Kconfig option.

    Signed-off-by: Lennert Buytenhek
    Signed-off-by: Russell King

    Lennert Buytenhek
     
  • Patch from Lennert Buytenhek

    The routine that nwfpe uses for converting floats/doubles to
    extended precision fails to zero two bytes of kernel stack. This
    is not immediately obvious, as the floatx80 structure has 16 bits
    of implicit padding (by design.) These two bytes are copied to
    userspace when an stfe is emulated, causing a possible info leak.

    Make the padding explicit and zero it out in the relevant places.

    Signed-off-by: Lennert Buytenhek
    Signed-off-by: Russell King

    Lennert Buytenhek
     

13 Oct, 2005

1 commit


10 Sep, 2005

1 commit


24 Aug, 2005

1 commit


16 Aug, 2005

1 commit


04 Aug, 2005

1 commit

  • Patch from Richard Purdie

    NWFPE used global variables which meant it wasn't safe for use with
    preemptive kernels. This patch removes them and communicates the
    information between functions in a preempt safe manner. Generation
    of some exceptions was broken and this has also been corrected.
    Tests with glibc's maths test suite show no change in the results
    before/after this patch.

    Signed-off-by: Richard Purdie
    Signed-off-by: Russell King

    Richard Purdie
     

17 Jul, 2005

1 commit

  • Recent changes to nwfpe broke the build with some gcc versions:

    In file included from arch/arm/nwfpe/softfloat.c:33:
    arch/arm/nwfpe/fpa11.h:32: global register variable follows a function definition
    make[1]: *** [arch/arm/nwfpe/softfloat.o] Error 1

    Since we now ensure that the kernel stack is empty when returning
    to user space, we can now access the userspace registers with
    reference to the kernel stack using current_thread_info(), rather
    than remembering the stack pointer at the time nwfpe was called.

    Signed-off-by: Russell King

    Russell King
     

11 Jul, 2005

1 commit


24 Jun, 2005

1 commit


17 Apr, 2005

1 commit

  • Initial git repository build. I'm not bothering with the full history,
    even though we have it. We can create a separate "historical" git
    archive of that later if we want to, and in the meantime it's about
    3.2GB when imported into git - space that would just make the early
    git days unnecessarily complicated, when we don't have a lot of good
    infrastructure for it.

    Let it rip!

    Linus Torvalds