Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on May 7, 2005
  1. Linux v2.6.12-rc4

    Linus Torvalds authored
  2. [PATCH] uml: x86_64 fixes

    Jeff Dike authored Linus Torvalds committed
    This fixes some x86_64 bugs -
    
    - maybe_map returns -1 on error instead of 0, which is interpreted as
      physical address 0
    
    - removed an include of ipc.h, which isn't needed
    
    - fixed the calculation of signal frame location
    
    - the signal delivery code is now immune to the stack expansion check
    
    - added a missing include
    
    Signed-off-by: Jeff Dike <jdike@addtoit.com>
    Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
    Signed-off-by: Andrew Morton <akpm@osdl.org>
    Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  3. [PATCH] uml: Fix process exit race

    Bodo Stroesser authored Linus Torvalds committed
    tt-mode closes switch_pipes in exit_thread_tt and kills processes in
    switch_to_tt, if the exit_state is EXIT_DEAD or EXIT_ZOMBIE.
    
    In very rare cases the exiting process can be scheduled out after having set
    exit_state and closed switch_pipes (from release_task it calls proc_pid_flush,
    which might sleep).  If this process is to be restarted, UML failes in
    switch_to_tt with:
    
       write of switch_pipe failed, err = 9
    
    We fix this by closing switch_pipes not in exit_thread_tt, but later in
    release_thread_tt.  Additionally, we set switch_pipe[0] = 0 after closing.
    switch_to_tt must not kill "from" process depending on its exit_state, but
    must kill it after release_thread was processed only, so it examines
    switch_pipe[0] for its decision.
    
    Signed-off-by: Bodo Stroesser <bstroesser@fujitsu-siemens.com>
    Signed-off-by: Jeff Dike <jdike@addtoit.com>
    Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
    Signed-off-by: Andrew Morton <akpm@osdl.org>
    Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  4. [PATCH] uml: S390 preparation, arch_align_stack

    Bodo Stroesser authored Linus Torvalds committed
    Only x86 and x86_64 use arch_align_stack(), all other subarches have:
    
     #define arch_align_stack(x) (x)
    
    So, if this definition is found, UML's own arch_align_stack() should be
    skipped.
    
    Signed-off-by: Bodo Stroesser <bstroesser@fujitsu-siemens.com>
    Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
    Signed-off-by: Andrew Morton <akpm@osdl.org>
    Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  5. [PATCH] uml: Use CONFIG variable for address space size

    Bodo Stroesser authored Linus Torvalds committed
    tt/mem.c still uses hardcoded TOP for i386 instead of CONFIG_TOP_ADDR provided
    by subarch's Kconfig_XXXX, which would be right.
    
    Signed-off-by: Bodo Stroesser <bstroesser@fujitsu-siemens.com>
    Signed-off-by: Jeff Dike <jdike@addtoit.com>
    Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
    Signed-off-by: Andrew Morton <akpm@osdl.org>
    Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  6. [PATCH] uml: Turn literal numbers into symbolic constants

    Jeff Dike authored Linus Torvalds committed
    So, there I was, looking at my own code, wondering what the magic setjmp
    return values did.  This patch turns the constants that are used to make
    requests of the initial thread into meaningful symbols.
    
    Signed-off-by: Jeff Dike <jdike@addtoit.com>
    Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
    Signed-off-by: Andrew Morton <akpm@osdl.org>
    Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  7. [PATCH] uml: Makefile cleanup

    Jeff Dike authored Linus Torvalds committed
    This eliminates some stuff from arch/um/kernel/Makefile which refers to a
    file which has long since been deleted.
    
    Signed-off-by: Jeff Dike <jdike@addtoit.com>
    Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
    Signed-off-by: Andrew Morton <akpm@osdl.org>
    Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  8. [PATCH] uml: Eliminate unusable function

    Jeff Dike authored Linus Torvalds committed
    Eliminate the non-inline version of switch_mm, which can't be used,
    considering the inline version in asm/mmu_context.h
    
    Signed-off-by: Jeff Dike <jdike@addtoit.com>
    Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
    Signed-off-by: Andrew Morton <akpm@osdl.org>
    Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  9. [PATCH] uml: S390 preparation, save an extra register

    Bodo Stroesser authored Linus Torvalds committed
    s390 tt-mode needs to save not only syscall number, but an further register
    also.
    
    Signed-off-by: Bodo Stroesser <bstroesser@fujitsu-siemens.com>
    Signed-off-by: Jeff Dike <jdike@addtoit.com>
    Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
    Signed-off-by: Andrew Morton <akpm@osdl.org>
    Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  10. [PATCH] uml: S390 preparation, peekusr/pokeusr defined by subarch

    Bodo Stroesser authored Linus Torvalds committed
    s390 needs to change some parts of arch/um/kernel/ptrace.c.  Thus, the code
    regarding PEEKUSER and POKEUSER are shifted to arch/um/sys-<subarch>/ptrace.c.
    
    Also s390 debug registers need to be updated, when singlestepping is switched
    on / off.  Thus, setting/resetting of singlestepping is centralized in the new
    function set_singlestep(), which also inserts the macro
    SUBARCH_SET_SINGLESTEP(mode), if defined.
    
    Finally, s390 has the "ieee_instruction_pointer" in its
    registers, which also is allowed to be read via
    
      ptrace( PTRACE_PEEKUSER, getpid(), PT_IEEE_IP, 0);
    
    To implement this feature, sys_ptrace inserts the macro
    SUBARCH_PTRACE_SPECIAL, if defined.
    
    Signed-off-by: Bodo Stroesser <bstroesser@fujitsu-siemens.com>
    Signed-off-by: Jeff Dike <jdike@addtoit.com>
    Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
    Signed-off-by: Andrew Morton <akpm@osdl.org>
    Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  11. [PATCH] uml: command line handling cleanup

    Jeff Dike authored Linus Torvalds committed
    Command line handling cleanups - a couple of things made static and an
    unused declaration removed from header.
    
    Signed-off-by: Jeff Dike <jdike@addtoit.com>
    Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
    Signed-off-by: Andrew Morton <akpm@osdl.org>
    Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  12. [PATCH] uml: Remove include/asm-um/elf.h

    Jeff Dike authored Linus Torvalds committed
    I accidentally included include/asm-um/elf.h as a real file in a previous
    patch.  This patch eliminates it.
    
    Signed-off-by: Jeff Dike <jdike@addtoit.com>
    Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
    Signed-off-by: Andrew Morton <akpm@osdl.org>
    Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  13. [PATCH] uml: __deprecated makes build unnecessarily noisy

    Jeff Dike authored Linus Torvalds committed
    Remove the __deprecated from verify_area_skas and verify_area_tt.  Since
    verify_area is itself marked __deprecated, and it is the only caller of
    these, then they don't need to be marked.  Marking them only makes the
    build noisier.
    
    Signed-off-by: Jeff Dike <jdike@addtoit.com>
    Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
    Signed-off-by: Andrew Morton <akpm@osdl.org>
    Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  14. [PATCH] video/tuner: add VIDEO_G_FREQUENCY and freq range to VIDIOC_G…

    Jiri Benc authored Linus Torvalds committed
    …_TUNER
    
    This patch adds a VIDIOC_G_FREQUENCY command to tuner-core.c and sets
    lowest and highest tunable frequencies in v4l2_tuner structure returned by
    VIDIOC_G_TUNER command.
    
    Signed-off-by: Jiri Benc <jbenc@suse.cz>
    Cc: Gerd Knorr <kraxel@bytesex.org>
    Signed-off-by: Andrew Morton <akpm@osdl.org>
    Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  15. [PATCH] video/tuner: fix tuner->freq updating

    Jiri Benc authored Linus Torvalds committed
    In VIDIOC_S_FREQUENCY command in tuner-core.c, t->freq is set to a new
    value before calling set_freq().  This is not necessary, as set_freq() sets
    t->freq itself.  Moreover, it causes problems with Philips tuners, as they
    need to take into consideration difference between previous and new
    frequency.
    
    Signed-off-by: Jiri Benc <jbenc@suse.cz>
    Cc: Gerd Knorr <kraxel@bytesex.org>
    Signed-off-by: Andrew Morton <akpm@osdl.org>
    Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  16. [PATCH] ppc32: Fix POWER3/POWER4 compiler error

    Kumar Gala authored Linus Torvalds committed
    In separating out support for hardware floating point we missed the fact
    that both POWER3 and POWER4 have HW FP.  Enable CONFIG_PPC_FPU for POWER3
    and POWER4 fixes the issue.
    
    Signed-off-by: Kumar Gala <kumar.gala@freescale.com>
    Acked-by: Paul Mackerras <paulus@samba.org>
    Signed-off-by: Andrew Morton <akpm@osdl.org>
    Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  17. @paulusmack

    [PATCH] ppc64: enable CONFIG_RTAS_PROC by default

    paulusmack authored Linus Torvalds committed
    This patch enables CONFIG_RTAS_PROC by default on pSeries.  This will
    preserve /proc/ppc64/rtas/rmo_buffer, which is needed by librtas.
    
    Signed-off-by: John Rose <johnrose@austin.ibm.com>
    Signed-off-by: Paul Mackerras <paulus@samba.org>
    Signed-off-by: Andrew Morton <akpm@osdl.org>
    Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  18. [PATCH] revert msdos partitioning fix

    Andrew Morton authored Linus Torvalds committed
    This change from March 3rd causes the partition parsing code to ignore
    partitions which have a signature byte of zero.  Turns out that more people
    have such partitions than we expected, and their device numbering is coming up
    wrong in post-2.6.11 kernels.
    
    So revert the change while we think about the problem a bit more.
    
    Cc: Andries Brouwer <Andries.Brouwer@cwi.nl>
    Signed-off-by: Andrew Morton <akpm@osdl.org>
    Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Commits on May 6, 2005
  1. @AdrianBunk

    [PATCH] drivers/block/rd.c: rd_size shouldn't be static

    AdrianBunk authored Linus Torvalds committed
    I somehow missed that there is external usage of rd_size on some
    architectures.
    
    Signed-off-by: Adrian Bunk <bunk@stusta.de>
    Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  2. Merge of master.kernel.org:/home/rmk/linux-2.6-serial.git

    Linus Torvalds authored
  3. Fix acpi_find_rsdp() - acpi_scan_rsdp takes length, not end

    Linus Torvalds authored
    Noticed by Jakub Jermar <jermar@itbs.cz>
  4. [SCSI] correct the sym2 period setting routines

    James Bottomley authored James Bottomley committed
    There's a slight bug in the routines in that if the period requires dt,
    then the routine will unconditionally set it.  DT may only be set if
    Wide is also set, so this turns back on the wide bit.
    
    For domain validation to work correctly, we need to observe the wide bit
    absolutely.
    
    Acked by: Matthew Wilcox <willy@debian.org>
    Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
  5. [PATCH] fix alsa via82xx resume

    Jens Axboe authored Linus Torvalds committed
    Trying software suspend on my workstation makes it crash on resume.  The
    problem is that via82xx marks the chip_init function as _devinit, but calls
    it on resume as well.
    
    Cc: <tiwai@suse.de>
    Signed-off-by: Andrew Morton <akpm@osdl.org>
    Signed-off-by: Jens Axboe <axboe@suse.de>
    Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  6. @paulusmack

    [PATCH] ppc64: global interrupt queue cleanup

    paulusmack authored Linus Torvalds committed
    Move the code to set global interrupt queue membership to xics.c,
    and remove no longer needed extern declarations.  Also call it on
    all cpus (even the boot cpu) to prepare for kexec.
    
    Signed-off-by: Milton Miller <miltonm@bga.com>
    Signed-off-by: R Sharada <sharada@in.ibm.com>
    Signed-off-by: Paul Mackerras <paulus@samba.org>
    Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  7. [PATCH] 8250_pci.c: add comment about enum sorting order

    Russell King authored
    Signed-off-by: Russell King <rmk@arm.linux.org.uk>
  8. @paulusmack

    [PATCH] ppc64: remove explicit contig_page_data reference

    paulusmack authored Linus Torvalds committed
    Trivial patch to remove our last direct reference to contig_page_data.
    This will make it just that much less hard to seperate NUMA and
    DISCONTIG.  Please forward on.  Against 2.6.12-rc1
    
    Signed-off-by: Joel Schopp <jschopp@austin.ibm.com>
    Signed-off-by: Paul Mackerras <paulus@samba.org>
    Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  9. @paulusmack

    [PATCH] ppc64: remove unused arch/ppc64/boot/start.c

    paulusmack authored Linus Torvalds committed
    start.c is not referenced in the arch/ppc64/boot/Makefile
    
    compile tested with the defconfig.
    
    Signed-off-by: Olaf Hering <olh@suse.de>
    Signed-off-by: Paul Mackerras <paulus@samba.org>
    Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  10. @paulusmack

    [PATCH] ppc64: remove asm/bootinfo.h include

    paulusmack authored Linus Torvalds committed
    The defines in bootinfo.h are not used, so the include can be removed.
    According to Ben, birecs are not used on ppc64:
    
      on ppc64, we made the decision of enforcing the presence of an
      OF device-tree and either an OF-like client interface or a kexec
      like flattened tree.
      so if your bootloader want to say things to the kernel,
      it can do so by adding properties to the device-tree
    
    compile-tested with defconfig
    
    Signed-off-by: Olaf Hering <olh@suse.de>
    Signed-off-by: Paul Mackerras <paulus@samba.org>
    Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  11. @paulusmack

    [PATCH] ppc64: fix reloc_offset comment

    paulusmack authored Linus Torvalds committed
    The code in reloc_offset is actually subtracting the address in the link
    register from the address calculated by the linker.  Perhaps the
    extended mnemonic `sub' replaced an original `subf' and the comment just
    did not get updated.
    
            bl      1f
    1:      mflr    r3
            LOADADDR(r4,1b)
            sub     r3,r4,r3
    
    Signed-off-by: Amos Waterland <apw@us.ibm.com>
    Signed-off-by: Paul Mackerras <paulus@samba.org>
    Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  12. @paulusmack

    [PATCH] ppc64: fix prom.c compile warning

    paulusmack authored Linus Torvalds committed
    The code in unflatten_device_tree knows that get_property is written to
    only return with lenp equal to 1 when also returning a valid pointer.
    The gcc 3.3.3 compiler is not able to prove this to itself, so it warns
    about a possible uninitialized pointer dereference:
    
     .../arch/ppc64/kernel/prom.c: In function `unflatten_device_tree':
     .../arch/ppc64/kernel/prom.c:828:
     warning: `p' might be used uninitialized in this function
    
    Unless it is desired to rework the interaction between the two
    functions, this will keep the existing behavior but quiet the compiler.
    
    Signed-off-by: Amos Waterland <apw@us.ibm.com>
    Signed-off-by: Paul Mackerras <paulus@samba.org>
    Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  13. [PATCH] arch/ppc64: Replace custom MIN macro

    Tobias Klauser authored Linus Torvalds committed
    Replace a custom MIN() macro with the min() macro from kernel.h
    This patch removes 4 lines of redundant code.
    
    Signed-off-by: Tobias Klauser <tklauser@nuerscht.ch>
    Signed-off-by: Paul Mackerras <paulus@samba.org>
    Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Commits on May 5, 2005
  1. @AdrianBunk

    [PATCH] drivers/scsi/sym53c416.c: fix a wrong check

    AdrianBunk authored Linus Torvalds committed
    The Coverity checker found that this for loop was wrong.
    
    This patch changes it to what seems to be intended.
    
    Signed-off-by: Adrian Bunk <bunk@stusta.de>
    Cc: James Bottomley <James.Bottomley@steeleye.com>
    Cc: Matthew Wilcox <willy@debian.org>
    Signed-off-by: Andrew Morton <akpm@osdl.org>
    Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  2. @AdrianBunk

    [PATCH] fs/udf/udftime.c: fix off by one error

    AdrianBunk authored Linus Torvalds committed
    This patch fixes an off by one error found by the Coverity checker.
    
    Signed-off-by: Adrian Bunk <bunk@stusta.de>
    Signed-off-by: Andrew Morton <akpm@osdl.org>
    Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  3. [PATCH] documentation for strncpy()

    walter harms authored Linus Torvalds committed
    this clarifies the documentation on the behavier of strncpy().
    
    Signed-off-by: Domen Puncer <domen@coderock.org>
    Signed-off-by: Andrew Morton <akpm@osdl.org>
    Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Something went wrong with that request. Please try again.