1. 22 Apr, 2004 9 commits
    • Jan Capek's avatar
      [PATCH] USB: ftdi patch fixup · 78bf7a14
      Jan Capek authored
      I just checked out the latest 2.6.6-rc1-mm1 to see that the ID patch for
      ftdi has applied cleanly, but apparently someone was faster and in the
      combined ID table our ID's were missing.
      Most probably the patch program got confused and applied the hung at wrong
      spot..
      
      Attached is a patch that places that 2 lines in the correct spot.
      78bf7a14
    • Romain Liévin's avatar
      [PATCH] USB: tiglusb: wrong timeout value · 52f62ca4
      Romain Liévin authored
      Hi,
      
      this patch (cumulative; 2.4 & 2.6) fixes another bug in the tiglusb
      driver. The formula used to calculate jiffies from timeout is wrong.
      The new formula is ok and takes care of integer computation/rounding.
      This is the same kind of bug than in the tipar char driver.
      52f62ca4
    • William Lee Irwin III's avatar
      [PATCH] USB: silence dpcm warning · b157e37f
      William Lee Irwin III authored
      Warnings aren't terribly important in and of themselves, but there
      isn't really much the warning tells us to do here, so it would appear
      that caving in to the compiler is the thing to do for now.
      b157e37f
    • David Brownell's avatar
      [PATCH] USB: rndis gadget driver updates · 920f873a
      David Brownell authored
      Various build fixes:  64bit (Andrew Morton), static linking,
      broken on big-endian, etc.
      
      Tighten up the integration with the main "ether" driver, so
      state transitions and host ethernet addresses are shared too.
      Add missing spinlock calls around RNDIS command outcall,
      fix GET_INTERFACE issue, host mustn't clobber netdev flags.
      
      Minor code cleanups.
      920f873a
    • David Brownell's avatar
      [PATCH] USB: ehci handles pci misbehavior better · 836115bf
      David Brownell authored
      Cope better when PCI misbehaves badly and registers misbehave:
      
          - terminate some loops before they get to infinity
             * capability scan
             * port reset
          - after init failure, memory may already be cleaned up
      
      Some systems have been reporting such problems after ACPI resume.
      836115bf
    • Greg Kroah-Hartman's avatar
    • Colin Leroy's avatar
    • Alan Stern's avatar
      [PATCH] USB: Important bugfix for UHCI list management code · c3998736
      Alan Stern authored
      A major bug in the UHCI driver turned up recently.  Thanks to a lot of
      help from Simone Gotti it was identified and fixed late last week.  It
      turned out to be entirely my fault -- a previous patch had introduced two
      (!) errors.  (A combination of carelessness and a nasty thinko, and
      somehow it passed the regression tests...)
      
      Anyway, it's entirely possible that many of the problems people have been
      seeing are caused by that bug.  This patch is the solution.
      c3998736
    • Greg Kroah-Hartman's avatar
      [PATCH] USB: Don't try to suspend devices that do not support it. · 8ae141b2
      Greg Kroah-Hartman authored
      Patch originally from luming.yu@intel.com and closes bug #1557
      8ae141b2
  2. 21 Apr, 2004 13 commits
  3. 22 Apr, 2004 1 commit
  4. 21 Apr, 2004 1 commit
  5. 22 Apr, 2004 1 commit
  6. 21 Apr, 2004 15 commits
    • Linus Torvalds's avatar
      Revert fb_ioctl "fix" with extreme prejudice. · a8588521
      Linus Torvalds authored
      As Arjan points out, the patch does exactly the opposite
      of what it was claimed to do.
      
      Andrea: tssk tssk.
      
      Cset exclude: akpm@osdl.org[torvalds]|ChangeSet|20040421144431|15930
      a8588521
    • Andrew Morton's avatar
      [PATCH] loop_set_fd() sendfile check fix · cd546897
      Andrew Morton authored
      From: Yury Umanets <torque@ukrpost.net>
      
      I have found small inconsistency in loop_set_fd().  It checks if
      ->sendfile() is implemented for passed block device file.  But in fact,
      loop back device driver never calls it.  It uses ->sendfile() from backing
      store file.
      cd546897
    • Andrew Morton's avatar
      [PATCH] i386 hugetlb tlb correction · 57a3170c
      Andrew Morton authored
      From: William Lee Irwin III <wli@holomorphy.com>
      
      i386 does hardware interpretation of pagetables, so pte_clear() can't be
      used on present ptes, as it sets the upper half of the hugepte prior to
      setting the lower half (which includes the valid bit).  i.e.  there is a
      window where having a hugepage mapped at 56GB and doing pte_clear() in
      unmap_hugepage_range() allows other threads of the process to see a
      hugepage at 0 in place of the original hugepage at 56GB.
      
      This patch corrects the situation by using ptep_get_and_clear(), which
      clears the lower word of the pte prior to clearing the upper word.
      
      There is another nasty where huge_page_release() needs to wait for TLB
      flushes before returning the hugepages to the free pool, analogous to the
      issue tlb_remove_page() and tlb_flush_mm() repair.
      57a3170c
    • Andrew Morton's avatar
      [PATCH] fb_ioctl() usercopy fix · 5ae4516e
      Andrew Morton authored
      From: Andrea Arcangeli <andrea@suse.de>
      
      Arrange for ioctl(FBIOPUTCMAP) to do copy_to_user() rather than memcpy.
      5ae4516e
    • Andrew Morton's avatar
      [PATCH] i810_dma range check · 87b9e30d
      Andrew Morton authored
      From: Andrea Arcangeli <andrea@suse.de>
      
      Correctly range-check an incoming-from-userspace argument.  Found by the
      Stanford checker.
      87b9e30d
    • Andrew Morton's avatar
      [PATCH] selinux: remove hardcoded policy assumption from get_user_sids() logic · ed328082
      Andrew Morton authored
      From: Stephen Smalley <sds@epoch.ncsc.mil>
      
      This patch removes a hardcoded policy assumption from the get_user_sids logic
      in the SELinux module that was preventing it from returning contexts that had
      the same type as the caller even if the policy allowed such a transition.  The
      assumption is not valid for all policies, and can be handled via policy
      configuration and userspace rather than hardcoding it in the module logic.
      ed328082
    • Andrew Morton's avatar
      [PATCH] selinux: add runtime disable · c59f3ad7
      Andrew Morton authored
      From: Stephen Smalley <sds@epoch.ncsc.mil>
      
      This patch adds a kernel configuration option that enables writing to a new
      selinuxfs node 'disable' that allows SELinux to be disabled at runtime prior
      to initial policy load.  SELinux will then remain disabled until next boot.
      This option is similar to the selinux=0 boot parameter, but is to support
      runtime disabling of SELinux, e.g.  from /sbin/init, for portability across
      platforms where boot parameters are difficult to employ (based on feedback by
      Jeremy Katz).
      c59f3ad7
    • Andrew Morton's avatar
      [PATCH] selinux: change context_to_sid handling for no-policy case · 77782961
      Andrew Morton authored
      From: Stephen Smalley <sds@epoch.ncsc.mil>
      
      This patch changes the behavior of security_context_to_sid in the no-policy
      case so that it simply accepts all contexts and maps them to the kernel SID
      rather than rejecting anything other than an initial SID.  The change avoids
      error conditions when using SELinux in permissive/no-policy mode, so that any
      file contexts left on disk from prior use of SELinux with a policy will not
      cause an error when they are looked up and userspace attempts to set contexts
      can succeed.
      77782961
    • Andrew Morton's avatar
      [PATCH] i4l: add compat ioctl's for CAPI · 014df416
      Andrew Morton authored
      From: Marcel Holtmann <marcel@holtmann.org>
      
      This patch adds the needed compat ioctl's for the CAPI on 64bit platforms.
      014df416
    • Andrew Morton's avatar
      [PATCH] lockfs - dm bits · 82fec55c
      Andrew Morton authored
      From: Christoph Hellwig <hch@lst.de>
      
      This patch makes the device mapper use the new freeze_bdev/thaw_bdev
      interface.  Extracted from Chris Mason's patch.
      82fec55c
    • Andrew Morton's avatar
      [PATCH] lockfs - xfs bits · 46f76939
      Andrew Morton authored
      From: Christoph Hellwig <hch@lst.de>
      
      Remove all the code now in the VFS, make XFS's freeze ioctls use the new
      infastructure and reorganize some code.
      
      This code needs some work so the source files shared with 2.4 aren't
      exposed to the new VFS interfaces directly.  You'll get an update once this
      has been discussed with the other XFS developers and is implemented.  Note
      that the current patch works fine and I wouldn't complain if it gets into
      Linus' tree as-is.
      46f76939
    • Andrew Morton's avatar
      [PATCH] lockfs: reiserfs fix · 472336a4
      Andrew Morton authored
      From: Chris Mason <mason@suse.com>
      
      reiserfs_write_super_lockfs() is supposed to wait for the transaction to
      commit.
      472336a4
    • Andrew Morton's avatar
      [PATCH] lockfs - vfs bits · 137718ec
      Andrew Morton authored
      From: Christoph Hellwig <hch@lst.de>
      
      These are the generic lockfs bits.  Basically it takes the XFS freezing
      statemachine into the VFS.  It's all behind the kernel-doc documented
      freeze_bdev and thaw_bdev interfaces.
      
      Based on an older patch from Chris Mason.
      137718ec
    • Andrew Morton's avatar
      [PATCH] remove amd7xx_tco · 4aa3ba95
      Andrew Morton authored
      From: Zwane Mwaikambo <zwane@linuxpower.ca>
      
      We've had trouble with this driver, it appears to work but the hardware
      never does the final reboot.  I have yet to come across someone with a
      board which works and don't have personal access to one.  So how about
      scrapping the whole thing.
      4aa3ba95
    • Andrew Morton's avatar
      [PATCH] Call populate_rootfs later in boot · d8d03c0f
      Andrew Morton authored
      populate_rootfs() is called rather early - before we've called init_idle().
      
      But populate_rootfs() does file I/O, which involves calls to cond_resched(),
      and downing of semaphores, etc.  If it scheules, the scheduler emits
      scheduling-while-atomic warnings and sometimes oopses.
      
      So run populate_rootfs() later, after the scheduler is all set up.
      d8d03c0f