1. 31 Jan, 2004 16 commits
    • Andrew Morton's avatar
      [PATCH] s390: sclp bug fixes. · e7d1d6cd
      Andrew Morton authored
      From: Martin Schwidefsky <schwidefsky@de.ibm.com>
      
      SCLP console/tty fixes:
      
      - Fix incorrect state change of SCLP_RUNNING flag in interrupt handler
      
      - Suppress emission of empty buffers to prevent stack overflow
      
      - Fix off by one error in sclp_write (used to return # of chars written + 1)
      
      - Prevent sclp_tty_write_string from waiting in interrupt (during flush)
      
      - Fix deadlock after TIOCSCLPSNL ioctl
      
      - Fix sclp_tty_chars_in_buffer calculation
      e7d1d6cd
    • Andrew Morton's avatar
      [PATCH] s390: inline assembly constraints. · e4f06bee
      Andrew Morton authored
      From: Martin Schwidefsky <schwidefsky@de.ibm.com>
      
      s390 inline assembly bug-fixes:
      
      - Add memory barriers to spinlocks, atomic variable functions and to
        test_and_{set,clear,change}_bit.
      
      - Add "=m" and "m" contraints to tell gcc that the content of a variable
        is in fact used.
      
      - Replace "+m" constraints by "=m" on the output and "m" on the input list.
      
      - Use c-implemtation for ffz and __ffs.
      
      - Use generic c-implemtation for ffs and fls.
      e4f06bee
    • Andrew Morton's avatar
      [PATCH] s390: general update. · 7e928143
      Andrew Morton authored
      From: Martin Schwidefsky <schwidefsky@de.ibm.com>
      
      s390 general update:
      
      - Add archhelp for "make image".
      
      - 32-bit execve fix.
      
      - Export some symbols: sys_ioctl, put_files_struct & ccw_device_work.
      
      - Minor cleanups in arch/s390/mm/init.c & drivers/s390/net/ctctty.c.
      7e928143
    • Andrew Morton's avatar
      [PATCH] Trivial cleanups to hugepage support · 36de3f33
      Andrew Morton authored
      From: David Gibson <david@gibson.dropbear.id.au>
      
      These are some trivial cleanups to the hugepage ppc64 support
      36de3f33
    • Andrew Morton's avatar
      [PATCH] ppc64: use CONFIG_MAGIC_SYSRQ around xmon sysrq code · 0f61dbcd
      Andrew Morton authored
      From: Anton Blanchard <anton@samba.org>
      0f61dbcd
    • Andrew Morton's avatar
      [PATCH] ppc64: SLB rewrite · 326f372c
      Andrew Morton authored
      From: Anton Blanchard <anton@samba.org>
      
      The current SLB handling code has a number of problems:
      
      - We loop trying to find an empty SLB entry before deciding to cast one
        out.  On large working sets this really hurts since the SLB is always full
        and we end up looping through all 64 entries unnecessarily.
      
      - During castout we currently invalidate the entry we are replacing.  This
        is to avoid a nasty race where the entry is in the ERAT but not the SLB and
        another cpu does a tlbie that removes the ERAT at a critical point.  If
        this race is fixed the SLB can be removed.
      
      - The SLB prefault code doesnt work properly
      
      The following patch addresses all the above concerns and adds some more
      optimisations:
      
      - feature nop out some segment table only code
      
      - slb invalidate the kernel segment on context switch (avoids us having to
        slb invalidate at each cast out)
      
      - optimise flush on context switch, the lazy tlb stuff avoids it being
        called when going from userspace to kernel thread, but it gets called when
        going to kernel thread to userspace.  In many cases we are returning to the
        same userspace task, we now check for this and avoid the flush
      
      - use the optimised POWER4 mtcrf where possible
      326f372c
    • Andrew Morton's avatar
      [PATCH] ppc64: fix && vs & bugs in lparcfg, from Julie DeWandel · 79c57724
      Andrew Morton authored
      From: Anton Blanchard <anton@samba.org>
      79c57724
    • Andrew Morton's avatar
      [PATCH] ppc64: export memchr and csum_partial · 6d8cdd4b
      Andrew Morton authored
      From: Anton Blanchard <anton@samba.org>
      6d8cdd4b
    • Andrew Morton's avatar
      [PATCH] ppc64: add/remove config.h · f5786cb0
      Andrew Morton authored
      From: Anton Blanchard <anton@samba.org>
      f5786cb0
    • Andrew Morton's avatar
      [PATCH] ppc64: Use preferred_console to select a reasonable default console · ea23458e
      Andrew Morton authored
      From: Anton Blanchard <anton@samba.org>
      
      Lets make a decent attempt to find out where your console is.  The new
      preferred_console stuff is pretty nice.
      ea23458e
    • Andrew Morton's avatar
      [PATCH] ppc64: defconfig update · 7892828d
      Andrew Morton authored
      From: Anton Blanchard <anton@samba.org>
      7892828d
    • Andrew Morton's avatar
      [PATCH] ppc64: missing set_fs(KERNEL_DS) in ppc32_timer_create, from Marcus Meissner · 6016190f
      Andrew Morton authored
      From: Anton Blanchard <anton@samba.org>
      
      Small obvious fix to ppc32_timer_create.  Since sys_timer_create access
      structures we pass on the stack, we need set_fs(KERNEL_DS).
      6016190f
    • Andrew Morton's avatar
      [PATCH] ppc64: fixes for compile with CONFIG_PROC_DEVICETREE=n, from Nathan Lynch · 13bbb050
      Andrew Morton authored
      From: Anton Blanchard <anton@samba.org>
      
      - nop out proc_device_tree_add_node if CONFIG_PROC_DEVICETREE=n
      
      - stubs for procfs-related functions when CONFIG_PROC_DEVICETREE=n
      13bbb050
    • Andrew Morton's avatar
      [PATCH] ppc64: lparcfg_write · f18a9012
      Andrew Morton authored
      From: Anton Blanchard <anton@samba.org>
      
      Add lparcfg_write() for changing SPLPAR system parameters
      f18a9012
    • Andrew Morton's avatar
      [PATCH] ppc64: add missing include guards, from Nathan Lynch · d29df610
      Andrew Morton authored
      From: Anton Blanchard <anton@samba.org>
      
      add missing include guards, from Nathan Lynch
      d29df610
    • Andrew Morton's avatar
      [PATCH] ppc32: watchdog definition fixes · a72ffca5
      Andrew Morton authored
      From: Tom Rini <trini@kernel.crashing.org>
      
      Correct the defines for MC146818 RTCs, reg c is interrupts, reg d is not
      watchdog (it's valid time & nvram).
      a72ffca5
  2. 30 Jan, 2004 2 commits
  3. 31 Jan, 2004 10 commits
  4. 30 Jan, 2004 11 commits
    • Nathan Scott's avatar
      [XFS] Fix a warning from some gcc variants after recent flags botch. · 2c640f57
      Nathan Scott authored
      SGI Modid: xfs-linux:xfs-kern:165646a
      2c640f57
    • Russell Cattelan's avatar
      [XFS] Christoph has signed over copyrights · 2637a95b
      Russell Cattelan authored
      SGI Modid: xfs-linux:xfs-kern:165037a
      2637a95b
    • Marcelo Tosatti's avatar
      [PATCH] PC300 update · f4cc0838
      Marcelo Tosatti authored
      This forward ports a few important fixes from the 2.4 driver.  This
      changes have been well tested.
      
      Changelog:
       - Update maintainer email address
       - Mark pci_device_id list with __devinitdata.
       - Set correct protocol type on packet receive (this caused the kernel to
         drop all packets received)
       - Add #ifdef DEBUG around debug printk()
       - ioctl: Add missing size checks before
         copying data from userspace.
      f4cc0838
    • Linus Torvalds's avatar
      Merge bk://bk.arm.linux.org.uk/linux-2.6-rmk · 60f63ed0
      Linus Torvalds authored
      into home.osdl.org:/home/torvalds/v2.5/linux
      60f63ed0
    • Russell King's avatar
      [ARM] Remove FP work-arounds. · 87eb058e
      Russell King authored
      We used to have code to allow binaries linked against glibc to run,
      when glibc itself contained some FP instructions (for PCS stack
      frames for functions like printf and scanf) thereby allowing FP
      emulators like nwfpe to be built as modules.
      
      This has proved to be unreliable with later compilers, so support
      for this was dropped a while ago.  Since no one complained, we can
      finally remove the dead code.
      
      (NB. a klibc based module-init-tools shouldn't suffer from this
      problem.)
      87eb058e
    • Russell King's avatar
      db1708fb
    • Russell King's avatar
      [ARM] Fix bitops pointer qualifiers. · 4abebca3
      Russell King authored
      According to x86, the pointers for bitops are supposed to be
      qualified with volatile.  Make ARM bitops reflect this.
      4abebca3
    • Russell King's avatar
      [ARM] Eliminate tsk->used_math · 41754b1f
      Russell King authored
      Remove usage of tsk->used_math on ARM, moving the status to an array
      of co-processor usage.  (ARM can have up to 15 co-processors
      providing various extra facilities such as SIMD, VFP or FP.)
      41754b1f
    • Linus Torvalds's avatar
      Fix sha256 padding block initializer to be static. · ae05f3fa
      Linus Torvalds authored
      Jakub points out that having an automatic array is not only
      bad for performance (and stack usage), gcc has also historically
      had lots of bugs here, and gcc-3.2.3 seems to miscompile it
      otherwise.
      ae05f3fa
    • Michael Hunold's avatar
      [PATCH] dvb subsystem and saa7146 v4l fixes · 586a9edd
      Michael Hunold authored
      This fixes some issues in the dvb subsystem and some nasty things in the
      v4l saa7146 driver.
      
      [DVB]
       - dvb-core: aquire -> acquire spelling fix
       - nxt600 frontend: don't send zero-byte messages when probing the PLL
         type
       - Kconfig: add a note that says that the CI of the budget-CI card is
         not actually supported by the budget-CI driver
       - ttusb-dec: Check for presence of crc32 function.  Make unknown types
         of packet less likely to cause packet loss.
      
      [V4L]
       - saa7146: use kernel mint_t()/max_t() instead of homebrewn stuff
       - saa7146: disable video clipping before capturing for sure to prevent
         black pictures
       - saa7146: make sure to disable the right video dma upon device close
       - saa7146: don't free resources if disabling an already disabled video
         overlay
      586a9edd
    • Dominik Brodowski's avatar
      [PATCH] Validate ACPI CPU frequency values · a71d72ce
      Dominik Brodowski authored
      This is a simple fix for some of the problems with bad ACPI frequency values:
      
        Abort if the frequency field in _PSS is zero, as we're having a
        completely broken ACPI table then.
      
      A more complete overhaul of the acpi-cpufreq driver (where the cause of
      the problem lies) is in the latest acpi-test tree, but that's definitely
      something to be delayed for 2.6.3 -- and the same is true for the
      yet-to-be-written do_div64 conversion.
      a71d72ce
  5. 29 Jan, 2004 1 commit