1. 29 Mar, 2004 5 commits
  2. 28 Mar, 2004 5 commits
    • Neil Brown's avatar
      [PATCH] Fix bugs introduced by recent improvements to readdir_plus · a9b095e4
      Neil Brown authored
       - make sure cd->buffer is always inside a page - previously if an
         entry fit perfectly in the remainder of a page, cd->buffer would
         end up pointing past the end of that page.
      
       - make sure num_entry_words is always correct, even on the error
         path.
      a9b095e4
    • Olof Johansson's avatar
      [PATCH] ppc64: Use full DART table on G5 · 9cfd4af7
      Olof Johansson authored
      This increases the DART table to use the full size.  We allocate a full
      16MB page anyway, so there's no difference in memory consumption. 
      
      Thanks to Ben for spotting this, it was left over from debugging...
      9cfd4af7
    • Olof Johansson's avatar
      [PATCH] ppc64: Fix thinko in iommu allocator · d403ba51
      Olof Johansson authored
      This fixes a bug in the iommu allocator that causes it to behave
      strangely when a fair size of the table is allocated. 
      
      Thanks to Andrew Gallatin for finding this.
      d403ba51
    • Linus Torvalds's avatar
      Merge bk://kernel.bkbits.net/davem/sparc-2.6 · 34e01aa2
      Linus Torvalds authored
      into ppc970.osdl.org:/home/torvalds/v2.6/linux
      34e01aa2
    • Greg Kroah-Hartman's avatar
      [PATCH] USB: Eliminate wait following interface unregistration · 98c81a17
      Greg Kroah-Hartman authored
      This patch from Alan Stern <stern@rowland.harvard.edu> fixes a bug in
      the current USB code that causes khubd to hang when a device is removed
      from the system, thereby preventing any future USB device changes (like
      adding or removing other devices) from happening.
      
      Both Andrew and I can easily duplicate this bug against the current -bk
      tree. 
      
      It's not a perfect fix, but it works for now, and I will spend the next
      week working on restructuring the code so this is handled properly.
      98c81a17
  3. 27 Mar, 2004 25 commits
    • David S. Miller's avatar
    • Bartlomiej Zolnierkiewicz's avatar
      9a124ef5
    • Bartlomiej Zolnierkiewicz's avatar
      [PATCH] remove unused CONFIG_DMA_NONPCI · 71e34e17
      Bartlomiej Zolnierkiewicz authored
      It has been dead since kernel 2.5.18.
      71e34e17
    • Bartlomiej Zolnierkiewicz's avatar
      [PATCH] remove unused CONFIG_BLK_DEV_TIVO · 1dce91a8
      Bartlomiej Zolnierkiewicz authored
      TiVo IDE support was never merged only this option was (in 2.4.0-test2), sigh.
      1dce91a8
    • Bartlomiej Zolnierkiewicz's avatar
    • Anton Blanchard's avatar
      [PATCH] [PPC64] make compat filldir/getdents check for errors · 5bbb000c
      Anton Blanchard authored
      filldir and getdents should check return values of put_user etc. The
      generic code has been fixed but the ppc64 compat versions have not.
      5bbb000c
    • Linus Torvalds's avatar
      Merge · ef9c3dba
      Linus Torvalds authored
      ef9c3dba
    • Matthew Wilcox's avatar
      [PATCH] consolidate compat_sys_mount · 27da3461
      Matthew Wilcox authored
      This replaces six duplicated implementations of various quality of
      sys32_mount with a shiny new compat_sys_mount().
      
      It's been tested on parisc64 and sparc64 and fixes a bug exposed by the
      latest revision of Debian's initscripts.  Thanks to Arnd Bergmann and
      Dave Miller for their suggestions, fixes and testing.  Please apply.
      27da3461
    • Andrew Morton's avatar
      [PATCH] Remove <asm/setup.h> from cmdlinepart.c · 5d6e3d87
      Andrew Morton authored
      From: Bjorn Helgaas <bjorn.helgaas@hp.com>
      
      Remove include of <asm/setup.h> from cmdlinepart.c.  This is not be needed
      for i386 (it builds fine with this patch), and ia64 doesn't supply a
      setup.h.
      
      asm/setup.h contains a hodge-podge of stuff with no real
      consistency between architectures.  It appears to be
      included mainly by arch-specific drivers:
      	acsi (Atari disks)
      	amiflop (Amiga floppy)
      	z2ram (ZorroII ram disk)
      	amiserial (Amiga serial)
      	...
      and under arch-specific #ifdefs:
      	fbcon (under __mc68000__ or CONFIG_APUS)
      	fonts (ditto)
      	logo (CONFIG_M68K)
      	...
      5d6e3d87
    • Andrew Morton's avatar
      [PATCH] Fix uninitialized data in EFI RTC /proc interface · 589df808
      Andrew Morton authored
      From: Bjorn Helgaas <bjorn.helgaas@hp.com>
      
      The problem is that we don't clear out the efi_time_t buffer before asking
      EFI to fill it in.  EFI doesn't always write the entire buffer (in
      particular, the alarm time only supports one second resolution, so the
      nanosecond field is often untouched).
      
      The effect is that 'cat /proc/driver/efirtc' shows garbage in the
      nanoseconds part of the alarm time, and sometimes artifacts like bogus
      alarm date and junk after the actual end of the text.
      589df808
    • Andrew Morton's avatar
      [PATCH] selinux: check return value for receive node permission · 735c736e
      Andrew Morton authored
      From: James Morris <jmorris@redhat.com>
      
      This patch fixes a bug where the return value for a permission call is not 
      checked.
      
      The bug was introduced when I added some code in the following changeset:
      
      <http://linux.bkbits.net:8080/linux-2.5/diffs/security/selinux/hooks.c@1.19?nav=index.html|src/|src/security|src/security/selinux|hist/security/selinux/hooks.c>
      
      Code was added after this line:
      
      	err = avc_has_perm(isec->sid, node_sid, SECCLASS_NODE, node_perm, NULL, &ad);
      
      without adding an explicit check of 'err', which was previously returned
      from the function rather than being checked.  i.e. it would drop through
      to:
      
      	out:	
       		return err;
      
       	}
      
      With the new code added, err can (and typically would) be overwritten with 
      a successful value, causing the permission check to not deny permission if 
      needed.  The intended denial would have been logged.
      
      The patch below fixes this problem.
      735c736e
    • Andrew Morton's avatar
      [PATCH] adjuct cpu_khz in response to cpufreq changes · e9c7ac4a
      Andrew Morton authored
      From: john stultz <johnstul@us.ibm.com>
      
      This patch ensures that cpu_khz is adjusted on cpufreq notifications even
      when the tsc timesource is not in use.  It fixes the mostly cosmetic issue
      when using the ACPI PM timesource of /proc/cpuinfo not being properly
      updated when cpu frequency was lowered.
      e9c7ac4a
    • Andrew Morton's avatar
      [PATCH] s390: system call speedup part 2. · a9ffde7e
      Andrew Morton authored
      From: Martin Schwidefsky <schwidefsky@de.ibm.com>
      
      System call speedup part 2.
      a9ffde7e
    • Andrew Morton's avatar
      [PATCH] s390: system call speedup part 1. · 42aef4b0
      Andrew Morton authored
      From: Martin Schwidefsky <schwidefsky@de.ibm.com>
      
      The purpose of this is to speed up system calls on s390.  I managed to
      squeeze about 65 cycles from each system call.  This improved e.g.  getpid()
      from 232 to 157 cycles.  As a nice side-effect it simplified the uaccess
      functions considerably.
      42aef4b0
    • Andrew Morton's avatar
      [PATCH] s390: tape driver. · ff3d0776
      Andrew Morton authored
      From: Martin Schwidefsky <schwidefsky@de.ibm.com>
      
      s390 tape driver changes:
       - Prevent offline while device is in use.
       - Do not use bus_id string in debug feature messages.
       - Check for IS_ERR(irb) error conditions in interrupt handler.
       - Fix removing tape discipline modules.
      ff3d0776
    • Andrew Morton's avatar
      [PATCH] s390: network driver. · 0dc80d7c
      Andrew Morton authored
      From: Martin Schwidefsky <schwidefsky@de.ibm.com>
      
      s390 network driver changes:
       - ctc/lcs/qeth: prevent a ccw-device to be grouped multiple times.
       - icuv: clear correct field in iucv_register_program if no userid is specified.
       - lcs: fix online/offline cycle again.
       - lcs: fix ungrouping of lcs group device. The channels of the lcs card
         should be offline afterwards.
       - lcs: don't do netif_stop_queue if no tx buffer is available, just
         return -EBUSY and drop the packets.
      0dc80d7c
    • Andrew Morton's avatar
      [PATCH] s390: z/VM monitor stream. · ba0ce578
      Andrew Morton authored
      From: Martin Schwidefsky <schwidefsky@de.ibm.com>
      
      z/VM monitor stream changes:
       - Correct sysctl vs. module ref-counting.
      ba0ce578
    • Andrew Morton's avatar
      [PATCH] s390: dasd driver. · 8fea2343
      Andrew Morton authored
      From: Martin Schwidefsky <schwidefsky@de.ibm.com>
      
      dasd device driver changes:
       - After a state change interrupt restart all running i/o on queue
         and reset device timer.
       - Improve some debug messages.
       - Lower timeout of reserve/release/steal_lock to 2 seconds.
       - Fix BIODASDPSRD ioctl.
       - Replace ro_flag, use_diag_flag and disconnect_error_flag words by bits.
       - Use BLKPG_DEL_PARTITION ioctl instead of a call to delete_partition because
         delete_partition is not an exported function. Since dasd_destroy_partitions
         can't do blkdev_get because dasd_open would fail, keep the block device
         open as long as partitions exist. This in turn requires a different
         approach to the open vs. offline race.
      8fea2343
    • Andrew Morton's avatar
      [PATCH] s390: core fixes. · d2ca1196
      Andrew Morton authored
      From: Martin Schwidefsky <schwidefsky@de.ibm.com>
      
      s390 core changes:
       - Fix return type of some system call functions (long vs. int).
       - Fix prototypes for compat system call handlers.
       - Correct some bugs in the compat system call wrappers.
       - Fix broken pointer arithmetic which causes problems with
         gcc 3.4 and -march=z990
       - Remove unnecessary #ifndef & optimize inline assemblies in spinlock.h.
       - Improve handling of deferred condition code 1.
       - New default configuration.
      d2ca1196
    • Andrew Morton's avatar
      [PATCH] ipc locking fix · c9503ff2
      Andrew Morton authored
      From: badari <pbadari@us.ibm.com>
      
      I ran into an ipc hang while trying to shutdown a database.  The problem is
      due to missing sem_unlock() in find_undo().
      c9503ff2
    • Andrew Morton's avatar
      [PATCH] write_kmem() fix · 66154b6e
      Andrew Morton authored
      copy_from_user() returns non-zero on faults..
      66154b6e
    • Marcelo Tosatti's avatar
      [PATCH] Fix cyclades async driver timeout miscalculation · fbd033be
      Marcelo Tosatti authored
      This fixes a problem where cy_wait_until_sent() miscalculates (calculate
      -1 on a unsigned long) the "char_time" parameter passed to
      schedule_timeout().
      
      Fix that by making it a signed long, and checking for negative value.
      fbd033be
    • Andi Kleen's avatar
      [PATCH] Emulate deviceless bridge ioctls · 44fbe3d2
      Andi Kleen authored
      This helps vmware users running vmware on x86-64 - vmnet tries to set up a bridge.
      Emulate these ioctls. The bridge has more ioctls on its bridge device, but these
      don't seem to be needed here.
      44fbe3d2
    • Andi Kleen's avatar
      [PATCH] Don't register disabled nodes · 2b82353a
      Andi Kleen authored
      Don't register disabled nodes.  Hits on x86-64 when there is a node with no memory.
      X86-64 shares this code with i386.
      2b82353a
    • Andi Kleen's avatar
      [PATCH] Fix x86-64 32bit getdents for new glibc · a07b54e9
      Andi Kleen authored
      The newest CVS glibc assumes that Linux >=2.6.4 always passes d_type.
      This patch adds this to the 32bit getdents on x86-64 too 
      
      Patch originally from Marcus Meissner
      a07b54e9
  4. 26 Mar, 2004 5 commits
    • Linus Torvalds's avatar
      Merge bk://linux-acpi.bkbits.net/linux-acpi-release-2.6.5 · 1d5b953d
      Linus Torvalds authored
      into ppc970.osdl.org:/home/torvalds/v2.6/linux
      1d5b953d
    • Len Brown's avatar
      Merge intel.com:/home/lenb/src/linux-acpi-test-2.6.4 · 5f10ea14
      Len Brown authored
      into intel.com:/home/lenb/src/linux-acpi-test-2.6.5
      5f10ea14
    • Len Brown's avatar
      [ACPI] Linux specific updates from ACPICA 20040326 · faea09e7
      Len Brown authored
      "acpi_wake_gpes_always_on" boot flag for old GPE behaviour
      faea09e7
    • Len Brown's avatar
      Merge intel.com:/home/lenb/bk/linux-2.6.5 · 91b6e661
      Len Brown authored
      into intel.com:/home/lenb/src/linux-acpi-test-2.6.5
      91b6e661
    • Len Brown's avatar
      [ACPI] ACPICA 20040326 from Bob Moore · ef84240d
      Len Brown authored
      Implemented support for "wake" GPEs via interaction between
      GPEs and the _PRW methods.  Every GPE that is pointed to by
      one or more _PRWs is identified as a WAKE GPE and by default
      will no longer be enabled at runtime.  Previously, we were
      blindly enabling all GPEs with a corresponding _Lxx or _Exx
      method - but most of these turn out to be WAKE GPEs anyway.
      We believe this has been the cause of thousands of
      "spurious" GPEs on some systems.
      
      This new GPE behavior is can be reverted to the original
      behavior (enable ALL GPEs at runtime) via a runtime flag.
      
      Fixed a problem where aliased control methods could not
      access objects properly.  The proper scope within the
      namespace was not initialized (transferred to the target of
      the aliased method) before executing the target method.
      
      Fixed a potential race condition on internal object
      deletion on the return object in AcpiEvaluateObject. 
      
      Integrated a fix for resource descriptors where both
      _MEM and _MTP were being extracted instead of just _MEM.
      (i.e. bitmask was incorrectly too wide, 0x0F instead of 0x03.)
      
      Added a special case for ACPI_ROOT_OBJECT in AcpiUtGetNodeName,
      preventing a fault in some cases.
      
      Updated Notify() values for debug statements in evmisc.c
      
      Return proper status from AcpiUtMutexInitialize,
      not just simply AE_OK.
      ef84240d