Skip to content
Snippets Groups Projects
  1. Apr 14, 2006
    • David Brownell's avatar
      [PATCH] dma doc updates · 21440d31
      David Brownell authored
      
      This updates the DMA API documentation to address a few issues:
      
       - The dma_map_sg() call results are used like pci_map_sg() results:
         using sg_dma_address() and sg_dma_len().  That's not wholly obvious
         to folk reading _only_ the "new" DMA-API.txt writeup.
      
       - Buffers allocated by dma_alloc_coherent() may not be completely
         free of coherency concerns ... some CPUs also have write buffers
         that may need to be flushed.
      
       - Cacheline coherence issues are now mentioned as being among issues
         which affect dma buffers, and complicate/prevent using of static and
         (especially) stack based buffers with the DMA calls.
      
      I don't think many drivers currently need to worry about flushing write
      buffers, but I did hit it with one SOC using external SDRAM for DMA
      descriptors:  without explicit writebuffer flushing, the on-chip DMA
      controller accessed descriptors before the CPU completed the writes.
      
      Signed-off-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      21440d31
    • Jean Delvare's avatar
      [PATCH] PCI: Add PCI quirk for SMBus on the Asus A6VA notebook · 2d1e1c75
      Jean Delvare authored
      
      The Asus A6VA notebook was reported to need a PCI quirk to unhide
      the SMBus.
      
      Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      2d1e1c75
    • Grzegorz Janoszka's avatar
      [PATCH] arch/i386/pci/irq.c - new VIA chipsets (fwd) · 40d8b89b
      Grzegorz Janoszka authored
      
      I use 2.6.15.6 Linux kernel and found some problems. I have about 100
      Linux boxes (all with the same (binary the same) kernel). Last time I have
      upgraded all those boxes from 2.4.32 to 2.6.15.6 (first 2.6.15.1, next .2,
      .4 and .6) and I have found some problems on VIA based PC's. Probably the
      reason of this is that some VIA chipsets are unrecognized by IRQ router.
      
      In line 586 there is: /* FIXME: add new ones for 8233/5 */
      
      There were only a few of chipsets ID's there, some of my VIA chipsets were
      not present and kernel used default IRQ router.
      
      I have added three entries, so that the code looks like:
      
              case PCI_DEVICE_ID_VIA_82C596:
              case PCI_DEVICE_ID_VIA_82C686:
              case PCI_DEVICE_ID_VIA_8231:
              case PCI_DEVICE_ID_VIA_8233A:
              case PCI_DEVICE_ID_VIA_8235:
              case PCI_DEVICE_ID_VIA_8237:
              case PCI_DEVICE_ID_VIA_8237_SATA:
                      /* FIXME: add new ones for 8233/5 */
                      r->name = "VIA";
                      r->get = pirq_via_get;
                      r->set = pirq_via_set;
                      return 1;
              }
      
      The kernel goes fine but I haven't testes it for weeks, I'm just a moment
      after reboot :)
      One thing is different (better?):
      Using previus kernel I had:
      PCI: Via IRQ fixup for 0000:00:0f.1, from 255 to 0
      now I have:
      PCI: Via IRQ fixup for 0000:00:0f.1, from 255 to 11
      
      Maybe it is good idea to add there some more VIA chipsets?
      The ones I have added seem to be OK.
      
      From: Grzegorz Janoszka <Grzegorz@Janoszka.pl>
      Acked-by: default avatarMartin Mares <mj@ucw.cz>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      40d8b89b
    • John Rose's avatar
      [PATCH] PCI: rpaphp: remove init error condition · e6ad0057
      John Rose authored
      
      The init function for the RPA PCI Hotplug driver returns -ENODEV in the
      case that no hotplug-capable slots are detected in the system.  This is
      bad, since hot-capable slots can be added after boot to a purely virtual
      POWER partition.  This is also bad because DLPAR I/O operations depend
      on the rpaphp module.
      
      Change the rpaphp init module to return success for the case of
      partitions that own no hotplug-capable slots at boot.  Such slots can be
      dynamically added after boot.
      
      Signed-off-by: default avatarJohn Rose <johnrose@austin.ibm.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      e6ad0057
    • Roland Dreier's avatar
      [PATCH] PCI: fix sparse warning about pci_bus_flags · e778272d
      Roland Dreier authored
      
      Sparse warns about casting to a __bitwise type.  However, it's correct
      to do when defining the enum for pci_bus_flags_t, so add a __force to
      quiet the warnings.  This will fix getting
      
          include/linux/pci.h:100:26: warning: cast to restricted type
      
      from sparse all over the build.
      
      Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      e778272d
    • John W. Linville's avatar
      [PATCH] pci_ids.h: correct naming of 1022:7450 (AMD 8131 Bridge) · 5da594b1
      John W. Linville authored
      The naming of the constant defined for PCI ID 1022:7450 does not seem
      to match the information at http://pciids.sourceforge.net/:
      
      	http://pci-ids.ucw.cz/iii/?i=1022
      
      
      
      There 1022:7450 is listed as "AMD-8131 PCI-X Bridge" while 1022:7451
      is listed as "AMD-8131 PCI-X IOAPIC".  Yet, the current definition for
      0x7450 is PCI_DEVICE_ID_AMD_8131_APIC.	It seems to me like that name
      should map to 0x7451, while a name like PCI_DEVICE_ID_AMD_8131_BRIDGE
      should map to 0x7450.
      
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      5da594b1
    • Shaohua Li's avatar
      [PATCH] PCI: MSI(X) save/restore for suspend/resume · 41017f0c
      Shaohua Li authored
      
      Add MSI(X) configure sapce save/restore in generic PCI helper.
      
      Signed-off-by: default avatarShaohua Li <shaohua.li@intel.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      41017f0c
    • Samuel Thibault's avatar
      [PATCH] Enhancing accessibility of lxdialog · f043ca43
      Samuel Thibault authored
      
      For easily getting fairly good accessibility, the TTY cursor should
      always be left at the focus location.  This patch fixes the checklist by
      just having the list refreshed after the dialog box (hence the cursor
      position remains in the list).
      
      Signed-off-by: default avatarSamuel Thibault <samuel.thibault@ens-lyon.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      f043ca43
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of master.kernel.org:/pub/scm/linux/kernel/git/mszeredi/fuse · 9a7e9f1c
      Linus Torvalds authored
      * 'for-linus' of master.kernel.org:/pub/scm/linux/kernel/git/mszeredi/fuse:
        [fuse] Direct I/O  should not use fuse_reset_request
        [fuse] Don't init request twice
        [fuse] Fix accounting the number of waiting requests
        [fuse] fix deadlock between fuse_put_super() and request_end()
      9a7e9f1c
    • Linus Torvalds's avatar
      Merge branch 'tee' of git://brick.kernel.dk/data/git/linux-2.6-block · 9ca68662
      Linus Torvalds authored
      * 'tee' of git://brick.kernel.dk/data/git/linux-2.6-block:
        [PATCH] splice: add support for sys_tee()
        [PATCH] splice: pass offset around for ->splice_read() and ->splice_write()
      9ca68662
    • Roland McGrath's avatar
      [PATCH] fix non-leader exec under ptrace · e57a5059
      Roland McGrath authored
      
      This reverts most of commit 30e0fca6.
      It broke the case of non-leader MT exec when ptraced.
      I think the bug it was intended to fix was already addressed by commit
      788e05a6.
      
      Signed-off-by: default avatarRoland McGrath <roland@redhat.com>
      Acked-by: default avatarOleg Nesterov <oleg@tv-sign.ru>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      e57a5059
    • Eric W. Biederman's avatar
      [PATCH] de_thread: Don't change our parents and ptrace flags. · c06511d1
      Eric W. Biederman authored
      
      This is two distinct changes.
       - Not changing our real parents.
       - Not changing our ptrace parents.
      
      Not changing our real parents is trivially correct because both tasks
      have the same real parents as they are part of a thread group.  Now that
      we demote the leader to a thread there is no longer any reason to change
      it's parentage.
      
      Not changing our ptrace parents is a user visible change if someone
      looks hard enough.  I don't think user space applications will care or
      even notice.
      
      In the practical and I think common case a debugger will have attached
      to all of the threads using the same ptrace flags.  From my quick skim
      of strace and gdb that appears to be the case.  Which if true means
      debuggers will not notice a change.
      
      Before this point we have already generated a ptrace event in do_exit
      that reports the leaders pid has died so de_thread is visible to a
      debugger.  Which means attempting to hide this case by copying flags
      around appears excessive.
      
      By not doing anything it avoids all of the weird locking issues between
      de_thread and ptrace attach, and removes one case from consideration for
      fixing the ptrace locking.
      
      This only addresses Oleg's first concern with ptrace_attach, that of the
      problems caused by reparenting.  Oleg's second concern is essentially a
      race between ptrace_attach and release_task that causes an oops when we
      get to force_sig_specific.  There is nothing special about de_thread
      with respect to that race.
      
      Signed-off-by: default avatarEric W. Biederman <ebiederm@xmission.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      c06511d1
  2. Apr 13, 2006
  3. Apr 12, 2006
Loading