1. 12 Jul, 2007 40 commits
    • Alan Stern's avatar
      USB: don't unsuspend for a new connection · 8adb4786
      Alan Stern authored
      This patch (as889) prevents the hub driver from trying to resume a
      port when there is a new connection.  For one thing, the resume is not
      needed -- the upcoming port reset will clear the suspend feature
      automatically.  For another, on some systems the resume fails and
      causes problems.
      Signed-off-by: default avatarAlan Stern <stern@rowland.harvard.edu>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      8adb4786
    • Alan Stern's avatar
      USB: move bus_suspend and bus_resume method calls · b6f6436d
      Alan Stern authored
      This patch (as885) moves the root-hub bus_suspend() and bus_resume()
      method calls from the hub driver's suspend and resume methods into the
      usb_generic driver methods, where they make just as much sense.
      
      Their old locations were not fully correct.  For example, in a kernel
      compiled without CONFIG_USB_SUSPEND, if one were to do:
      
      	echo -n 1-0:1.0 >/sys/bus/usb/drivers/hub/unbind
      
      to unbind the hub driver from a root hub, there would then be no way
      to suspend that root hub.  Attempts to put the system to sleep would
      fail; the USB controller driver would refuse to suspend because the
      root hub was still active.
      
      The patch also makes a very slight change in the way devices with no
      driver are handled during suspend.  Rather than doing a standard USB
      port-suspend directly, now the suspend routine in usb_generic is
      called.  In practice this should never affect anyone.
      Signed-off-by: default avatarAlan Stern <stern@rowland.harvard.edu>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      b6f6436d
    • Alan Stern's avatar
      USB: Implement PM FREEZE and PRETHAW · 4d461095
      Alan Stern authored
      This patch (as884) finally implements the time-saving semantics
      possible with the Power Management FREEZE and PRETHAW events.  Their
      proper handling requires only that devices be quiesced, with
      interrupts and DMA turned off; non-root USB devices don't actually
      need to be put in a suspended state.  The patch checks and avoids
      doing the suspend call when possible.
      Signed-off-by: default avatarAlan Stern <stern@rowland.harvard.edu>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      4d461095
    • Alan Stern's avatar
      USB: interface PM state · 784a6e1c
      Alan Stern authored
      This patch (as880) strives to keep the PM core's idea of a USB
      interface's power state in synch with usbcore's own idea.  In the end
      this doesn't really matter, but it's better to be consistent.
      Signed-off-by: default avatarAlan Stern <stern@rowland.harvard.edu>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      784a6e1c
    • Yoshihiro Shimoda's avatar
      USB: r8a66597-hcd: fix NULL access · f6ace2c9
      Yoshihiro Shimoda authored
      This patch fixes the problem that accesses NULL pointer
      when disconnected a cable while play music with usb-speaker.
      Signed-off-by: default avatarYoshihiro Shimoda <shimoda.yoshihiro@renesas.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      f6ace2c9
    • Yoshihiro Shimoda's avatar
      USB: r8a66597-hcd: host controller driver for R8A66597 · 5d304358
      Yoshihiro Shimoda authored
      I would like to submit Renesas R8A66597 USB HCD driver.
      
      R8A66597 is Renesas USB 2.0 host and peripheral combined
      controller device originally designed for embedded products.
      As a limitation of this device, it does not support externel
      hub more than 2 tier, and cannot communicate with a USB
      device more than 10. Then this device is not compatible with
      EHCI and/or OHCI, I wrote driver support patch based on
      sl811 code.
      
      This driver has the following unique specifications:
      - Implement transfer timeout to share one pipe with plural endpoint.
      - Detach detection of a USB device connected to externel hub.
      
      The driver has been tested external hub, usb-hdd, usb-cdrom,
      usb-speaker, mice, keyboard, and usbtest driver.
      
      Signed-off-by : Yoshihiro Shimoda <shimoda.yoshihiro@renesas.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      5d304358
    • Yoshihiro Shimoda's avatar
      USB: m66592-udc: fix use old interrupt flags · 15a1d5c9
      Yoshihiro Shimoda authored
      This patch fixes the problem that used SA_* flags.
      Signed-off-by: default avatarYoshihiro Shimoda <shimoda.yoshihiro@renesas.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      15a1d5c9
    • Yoshihiro Shimoda's avatar
      USB: m66592-udc: peripheral controller driver for M66592 · 4cf2503c
      Yoshihiro Shimoda authored
      I would like to submit Renesas M66592 udc driver.
      
      The M66592 is Renesas USB 2.0 peripheral controller.
      This controller supports USB high-speed.
      
      The driver has been tested Gadget Zero, Ethernet Gadget,
      File-backed Storage Gadget, and passed usbtest script.
      
      Signed-off-by : Yoshihiro Shimoda <shimoda.yoshihiro@renesas.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      4cf2503c
    • Lucy McCoy's avatar
      USB Serial Keyspan: add support for USA-49WG & USA-28XG · 0ca1268e
      Lucy McCoy authored
      Add support for Keyspan adapters: USA-49WG and USA-28XG
      Signed-off-by: default avatarLucy P. McCoy <lucy@keyspan.com>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      0ca1268e
    • Simon Arlott's avatar
      USB: cxacru: Cleanup sysfs attribute code · 87e71b47
      Simon Arlott authored
      This changes the format of unknown status values to be less verbose and
      uses an array instead of several different snprintf calls. Since only
      enum values are assigned to it, poll_state is changed from int to enum.
      Use abs() for dB values instead of two almost identical return lines.
      Signed-off-by: default avatarSimon Arlott <simon@fire.lp0.eu>
      Acked-by: default avatarDuncan Sands <duncan.sands@math.u-psud.fr>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      87e71b47
    • Stefan Roese's avatar
      USB: EHCI support for big-endian descriptors · 6dbd682b
      Stefan Roese authored
      This patch implements supports for EHCI controllers whose in-memory
      data structures are represented in big-endian format. This is needed
      (unfortunately) for the AMCC PPC440EPx SoC EHCI controller; the EHCI
      spec doesn't specify little-endian format, although that's what most
      other implementations use.
      
      The guts of the patch are to introduce the hc32 type and change all
      references from le32 to hc32.  All access routines are converted from
      cpu_to_le32(...) to cpu_to_hc32(ehci, ...) and similar for the other
      "direction".  (This is the same approach used with OHCI.)
      
      David fixed:
      	Whitespace fixes; refresh against ehci cpufreq patch; move glue
      	for that PPC driver to the patch adding it; fix free symbol
      	capture bugs in modified "constant" macros; and make "hc32" etc
      	be "le32" unless we really need the BE options, so "sparse" can
      	do some real good.
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      Signed-off-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      
      6dbd682b
    • Stuart_Hayes@Dell.com's avatar
      USB: EHCI cpufreq fix · 196705c9
      Stuart_Hayes@Dell.com authored
      EHCI controllers that don't cache enough microframes can get MMF errors
      when CPU frequency changes occur between the start and completion of
      split interrupt transactions, due to delays in reading main memory
      (caused by CPU cache snoop delays).
      
      This patch adds a cpufreq notifier to the EHCI driver that will
      inactivate split interrupt transactions during frequency transitions.
      It was tested on Intel ICH7 and Serverworks/Broadcom HT1000 EHCI
      controllers.
      Signed-off-by: default avatarStuart Hayes <stuart_hayes@dell.com>
      Signed-off-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      196705c9
    • Oliver Neukum's avatar
      USB: suspend support for usb serial · ec22559e
      Oliver Neukum authored
      this implements generic support for suspend/resume for usb serial.
      Signed-off-by: default avatarOliver Neukum <oneukum@suse.de>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      ec22559e
    • Chandra Seetharaman's avatar
      dm mpath: rdac · dd172d72
      Chandra Seetharaman authored
      This patch supports LSI/Engenio devices in RDAC mode. Like dm-emc
      it requires userspace support. In your multipath.conf file you must have:
      
      path_checker            rdac
      hardware_handler        "1 rdac"
      prio_callout		"/sbin/mpath_prio_tpc /dev/%n"
      
      And you also then must have a updated multipath tools release which
      has rdac support.
      Signed-off-by: default avatarChandra Seetharaman <sekharan@us.ibm.com>
      Signed-off-by: default avatarMike Christie <michaelc@cs.wisc.edu>
      Signed-off-by: default avatarAlasdair G Kergon <agk@redhat.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      dd172d72
    • Jonathan Brassow's avatar
      dm raid1: handle log failure · fc1ff958
      Jonathan Brassow authored
      When writing to a mirror, the log must be updated first.  Failure
      to update the log could result in the log not properly reflecting
      the state of the mirror if the machine should crash.
      
      We change the return type of the rh_flush function to give us
      the ability to check if a log write was successful.  If the
      log write was unsuccessful, we fail the writes to avoid the
      case where the log does not properly reflect the state of the
      mirror.
      
      A follow-up patch - which is dependent on the ability to
      requeue I/O's to core device-mapper - will requeue the I/O's
      for retry (allowing the mirror to be reconfigured.)
      Signed-off-by: default avatarJonathan Brassow <jbrassow@redhat.com>
      Signed-off-by: default avatarAlasdair G Kergon <agk@redhat.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      fc1ff958
    • Jonathan Brassow's avatar
      dm raid1: handle resync failures · f44db678
      Jonathan Brassow authored
      Device-mapper mirroring currently takes a best effort approach to
      recovery - failures during mirror synchronization are completely ignored.
      This means that regions are marked 'in-sync' and 'clean' and removed
      from the hash list.  Future reads and writes that query the region
      will incorrectly interpret the region as in-sync.
      
      This patch handles failures during the recovery process.  If a failure
      occurs, the region is marked as 'not-in-sync' (aka RH_NOSYNC) and added
      to a new list 'failed_recovered_regions'.
      
      Regions on the 'failed_recovered_regions' list are not marked as 'clean'
      upon removal from the list.  Furthermore, if the DM_RAID1_HANDLE_ERRORS
      flag is set, the region is marked as 'not-in-sync'.  This action prevents
      any future read-balancing from choosing an invalid device because of the
      'not-in-sync' status.
      
      If "handle_errors" is not specified when creating a mirror (leaving the
      DM_RAID1_HANDLE_ERRORS flag unset), failures will be ignored exactly as they
      would be without this patch.  This is to preserve backwards compatibility with
      user-space tools, such as 'pvmove'.  However, since future read-balancing
      policies will rely on the correct sync status of a region, a user must choose
      "handle_errors" when using read-balancing.
      Signed-off-by: default avatarJonathan Brassow <jbrassow@redhat.com>
      Signed-off-by: default avatarAlasdair G Kergon <agk@redhat.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      f44db678
    • Jonathan Brassow's avatar
      dm: add ratelimit logging macros · d0d444c7
      Jonathan Brassow authored
      Add ratelimit extension to dm logging macros.
      Signed-off-by: default avatarJonathan Brassow <jbrassow@redhat.com>
      Signed-off-by: default avatarAlasdair G Kergon <agk@redhat.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      d0d444c7
    • Stefan Bader's avatar
      dm: disable barriers · 07a83c47
      Stefan Bader authored
      This patch causes device-mapper to reject any barrier requests.  This is done
      since most of the targets won't handle this correctly anyway.  So until the
      situation improves it is better to reject these requests at the first place.
      Since barrier requests won't get to the targets, the checks there can be
      removed.
      
      Cc: stable@kernel.org
      Signed-off-by: default avatarStefan Bader <shbader@de.ibm.com>
      Signed-off-by: default avatarAlasdair G Kergon <agk@redhat.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      07a83c47
    • Jonathan Brassow's avatar
      dm raid1: clear region outside spinlock · 943317ef
      Jonathan Brassow authored
      A clear_region function is permitted to block (in practice, rare) but gets
      called in rh_update_states() with a spinlock held.
      
      The bits being marked and cleared by the above functions are used
      to update the on-disk log, but are never read directly.  We can
      perform these operations outside the spinlock since the
      bits are only changed within one thread viz.
         - mark_region in rh_inc()
         - clear_region in rh_update_states().
      
      So, we grab the clean_regions list items via list_splice() within the
      spinlock and defer clear_region() until we iterate over the list for
      deletion - similar to how the recovered_regions list is already handled.
      We then move the flush() call down to ensure it encapsulates the changes
      which are done by the later calls to clear_region().
      Signed-off-by: default avatarJonathan Brassow <jbrassow@redhat.com>
      Signed-off-by: default avatarAlasdair G Kergon <agk@redhat.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      943317ef
    • Milan Broz's avatar
      dm snapshot: permit invalid activation · 0764147b
      Milan Broz authored
      Allow invalid snapshots to be activated instead of failing.
      
      This allows userspace to reinstate any given snapshot state - for
      example after an unscheduled reboot - and clean up the invalid snapshot
      at its leisure.
      
      Cc: stable@kernel.org
      Signed-off-by: default avatarMilan Broz <mbroz@redhat.com>
      Signed-off-by: default avatarAlasdair G Kergon <agk@redhat.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      0764147b
    • Milan Broz's avatar
      dm snapshot: fix invalidation deadlock · fcac03ab
      Milan Broz authored
      Process persistent exception store metadata IOs in a separate thread.
      
      A snapshot may become invalid while inside generic_make_request().
      A synchronous write is then needed to update the metadata while still
      inside that function.  Since the introduction of
      md-dm-reduce-stack-usage-with-stacked-block-devices.patch this has to
      be performed by a separate thread to avoid deadlock.
      Signed-off-by: default avatarMilan Broz <mbroz@redhat.com>
      Signed-off-by: default avatarAlasdair G Kergon <agk@redhat.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      fcac03ab
    • Jun'ichi Nomura's avatar
      dm io: fix panic on large request · 596f138e
      Jun'ichi Nomura authored
      bio_alloc_bioset() will return NULL if 'num_vecs' is too large.
      Use bio_get_nr_vecs() to get estimation of maximum number.
      
      Cc: stable@kernel.org
      Signed-off-by: default avatar"Jun'ichi Nomura" <j-nomura@ce.jp.nec.com>
      Signed-off-by: default avatarAlasdair G Kergon <agk@redhat.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      596f138e
    • Milan Broz's avatar
      dm raid1: fix status · c95bc206
      Milan Broz authored
      Fix mirror status line broken in dm-log-report-fault-status.patch:
        - space missing between two words
        - placeholder ("0") required for compatibility with a subsequent patch
        - incorrect offset parameter
      
      Cc: stable@kernel.org
      Signed-off-by: default avatarMilan Broz <mbroz@redhat.com>
      Signed-off-by: default avatarAlasdair G Kergon <agk@redhat.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      c95bc206
    • Alasdair G Kergon's avatar
      dm: remove duplicate module name from error msgs · 0cd33124
      Alasdair G Kergon authored
      Remove explicit module name from messages as the macro now includes it
      automatically.
      Signed-off-by: default avatarAlasdair G Kergon <agk@redhat.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      0cd33124
    • Alasdair G Kergon's avatar
      dm delay: cleanup · ac818646
      Alasdair G Kergon authored
      Use setup_timer().
      Replace semaphore with mutex.
      Signed-off-by: default avatarAlasdair G Kergon <agk@redhat.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      ac818646
    • Alasdair G Kergon's avatar
      dm: use kmem_cache macro · 028867ac
      Alasdair G Kergon authored
      Use new KMEM_CACHE() macro and make the newly-exposed structure names more
      meaningful.  Also remove some superfluous casts and inlines (let a modern
      compiler be the judge).
      Acked-by: default avatarChristoph Lameter <clameter@sgi.com>
      Signed-off-by: default avatarAlasdair G Kergon <agk@redhat.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      028867ac
    • Alasdair G Kergon's avatar
      dm: bio_list prefetch removal · 79e15ae4
      Alasdair G Kergon authored
      Remove dubious prefetch from bio_list_for_each() macro.
      
      Cc: Jens Axboe <jens.axboe@oracle.com>
      Signed-off-by: default avatarAlasdair G Kergon <agk@redhat.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      79e15ae4
    • Linus Torvalds's avatar
      Merge branch 'devel' of master.kernel.org:/home/rmk/linux-2.6-arm · 4aabab21
      Linus Torvalds authored
      * 'devel' of master.kernel.org:/home/rmk/linux-2.6-arm: (50 commits)
        [ARM] sa1100: remove boot time RTC initialisation
        [ARM] sa1100: stop doing our own rtc management over suspend
        [ARM] 4474/1: Do not check the PSR_F_BIT in valid_user_regs
        [ARM] 4473/2:  Take the HWCAP definitions out of the elf.h file
        [ARM] pxa: move platform devices to separate header file
        [ARM] pxa: move device registration into CPU-specific file
        [ARM] pxa: remove boot time RTC initialisation
        [ARM] pxa: stop doing our own rtc management over suspend
        [ARM] 4451/1: pxa: make dma.c generic and remove cpu specific dma code
        [ARM] 4450/1: pxa: add pxa25x_init_irq() and pxa27x_init_irq()
        [ARM] 4440/1: PXA: enable the checking of ICIP2 for IRQs
        [ARM] 4438/1: PXA: remove #ifdef .. #endif from pxa_gpio_demux_handler()
        [ARM] 4437/1: PXA: move the GPIO IRQ initialization code to pxa_init_irq_gpio()
        [ARM] 4436/1: PXA: move low IRQ initialization code to pxa_init_irq_low()
        [ARM] 4435/1: PXA: remove PXA_INTERNAL_IRQS
        [ARM] 4434/1: PXA: remove PXA_IRQ_SKIP
        [ARM] pxa: Fix PXA27x suspend type validation, remove pxa_pm_prepare()
        [ARM] pxa: move pm_ops structure into CPU specific files
        [ARM] pxa: introduce cpu_is_pxaXXX macros
        [ARM] pxa: remove MMC register defines from pxa-regs.h
        ...
      4aabab21
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/selinux-2.6 · bb50cbbd
      Linus Torvalds authored
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/selinux-2.6:
        security: unexport mmap_min_addr
        SELinux: use SECINITSID_NETMSG instead of SECINITSID_UNLABELED for NetLabel
        security: Protection for exploiting null dereference using mmap
        SELinux: Use %lu for inode->i_no when printing avc
        SELinux: allow preemption between transition permission checks
        selinux: introduce schedule points in policydb_destroy()
        selinux: add selinuxfs structure for object class discovery
        selinux: change sel_make_dir() to specify inode counter.
        selinux: rename sel_remove_bools() for more general usage.
        selinux: add support for querying object classes and permissions from the running policy
      bb50cbbd
    • Linus Torvalds's avatar
      Merge master.kernel.org:/pub/scm/linux/kernel/git/davej/cpufreq · 702ed6ef
      Linus Torvalds authored
      * master.kernel.org:/pub/scm/linux/kernel/git/davej/cpufreq:
        [CPUFREQ] Fix sysfs_create_file return value handling
        [CPUFREQ] ondemand: fix tickless accounting and software coordination bug
        [CPUFREQ] ondemand: add a check to avoid negative load calculation
        [CPUFREQ] Keep userspace governor quiet when it is not being used
        [CPUFREQ] Longhaul - Proper register access
        [CPUFREQ] Kconfig powernow-k8 driver should depend on ACPI P-States driver
        [CPUFREQ] Longhaul - Replace ACPI functions with direct I/O
        [CPUFREQ] Longhaul - Remove duplicate multipliers
        [CPUFREQ] Longhaul - Embedded "conservative"
        [CPUFREQ] acpi-cpufreq: Proper ReadModifyWrite of PERF_CTL MSR
        [CPUFREQ] check return value of sysfs_create_file
        [CPUFREQ] Longhaul - Check ACPI "BM DMA in progress" bit
        [CPUFREQ] Longhaul - Move old_ratio to correct place
        [CPUFREQ] Longhaul - VT8237 support
        [CPUFREQ] Longhaul - Use all kinds of support
        [CPUFREQ] powernow-k8: clarify number of cores.
      702ed6ef
    • Linus Torvalds's avatar
      Merge master.kernel.org:/pub/scm/linux/kernel/git/davej/agpgart · 2f41fc80
      Linus Torvalds authored
      * master.kernel.org:/pub/scm/linux/kernel/git/davej/agpgart:
        [AGPGART] Hand off AGP maintainence.
      2f41fc80
    • Linus Torvalds's avatar
      Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6 · 0806ca2a
      Linus Torvalds authored
      * 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6:
        [IA64] Support multiple CPUs going through OS_MCA
        [IA64] silence GCC ia64 unused variable warnings
        [IA64] prevent MCA when performing MMIO mmap to PCI config space
        [IA64] add sn_register_pmi_handler oemcall
        [IA64] Stop bit for brl instruction
        [IA64] SN: Correct ROM resource length for BIOS copy
        [IA64] Don't set psr.ic and psr.i simultaneously
      0806ca2a
    • Linus Torvalds's avatar
      Merge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/pci-2.6 · 21ba0f88
      Linus Torvalds authored
      * master.kernel.org:/pub/scm/linux/kernel/git/gregkh/pci-2.6: (34 commits)
        PCI: Only build PCI syscalls on architectures that want them
        PCI: limit pci_get_bus_and_slot to domain 0
        PCI: hotplug: acpiphp: avoid acpiphp "cannot get bridge info" PCI hotplug failure
        PCI: hotplug: acpiphp: remove hot plug parameter write to PCI host bridge
        PCI: hotplug: acpiphp: fix slot poweroff problem on systems without _PS3
        PCI: hotplug: pciehp: wait for 1 second after power off slot
        PCI: pci_set_power_state(): check for PM capabilities earlier
        PCI: cpci_hotplug: Convert to use the kthread API
        PCI: add pci_try_set_mwi
        PCI: pcie: remove SPIN_LOCK_UNLOCKED
        PCI: ROUND_UP macro cleanup in drivers/pci
        PCI: remove pci_dac_dma_... APIs
        PCI: pci-x-pci-express-read-control-interfaces cleanups
        PCI: Fix typo in include/linux/pci.h
        PCI: pci_ids, remove double or more empty lines
        PCI: pci_ids, add atheros and 3com_2 vendors
        PCI: pci_ids, reorder some entries
        PCI: i386: traps, change VENDOR to DEVICE
        PCI: ATM: lanai, change VENDOR to DEVICE
        PCI: Change all drivers to use pci_device->revision
        ...
      21ba0f88
    • Linus Torvalds's avatar
      Merge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/driver-2.6 · dc690d8e
      Linus Torvalds authored
      * master.kernel.org:/pub/scm/linux/kernel/git/gregkh/driver-2.6: (61 commits)
        sysfs: add parameter "struct bin_attribute *" in .read/.write methods for sysfs binary attributes
        sysfs: make directory dentries and inodes reclaimable
        sysfs: implement sysfs_get_dentry()
        sysfs: move sysfs_drop_dentry() to dir.c and make it static
        sysfs: restructure add/remove paths and fix inode update
        sysfs: use sysfs_mutex to protect the sysfs_dirent tree
        sysfs: consolidate sysfs spinlocks
        sysfs: make kobj point to sysfs_dirent instead of dentry
        sysfs: implement sysfs_find_dirent() and sysfs_get_dirent()
        sysfs: implement SYSFS_FLAG_REMOVED flag
        sysfs: rename sysfs_dirent->s_type to s_flags and make room for flags
        sysfs: make sysfs_drop_dentry() access inodes using ilookup()
        sysfs: Fix oops in sysfs_drop_dentry on x86_64
        sysfs: use singly-linked list for sysfs_dirent tree
        sysfs: slim down sysfs_dirent->s_active
        sysfs: move s_active functions to fs/sysfs/dir.c
        sysfs: fix root sysfs_dirent -> root dentry association
        sysfs: use iget_locked() instead of new_inode()
        sysfs: reorganize sysfs_new_indoe() and sysfs_create()
        sysfs: fix parent refcounting during rename and move
        ...
      dc690d8e
    • Linus Torvalds's avatar
      Merge branch 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev · 57399ec9
      Linus Torvalds authored
      * 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev: (21 commits)
        libata: remove irq_on from ata_bus_reset() and ata_std_postreset()
        ata_piix: kill incorrect invalid map value warning
        libata: add another Maxtor drive with broken NCQ to the list
        [libata] sata_mv: Fix and clean up per-chip-generation tests
        [libata] sata_mv: Convert to new exception handling (EH) infrastructure
        [libata] sata_mv: minor bug fixes, enhancements, and cleanups (prep for new EH)
        [libata] sata_mv: Minor cleanups and renaming, preparing for new EH & NCQ
        libata-link: add PMP related ATA constants
        libata-link: separate out ata_eh_handle_dev_fail()
        pata_hpt3x3: fix DMA Kconfig option to actually have a hope of working
        Add Hitachi HDS7250SASUN500G 0621KTAWSD to NCQ blacklist
        pata_scc.c: Workaround for errata A308
        libata: add FUJITSU MHV2080BH to NCQ blacklist
        pata_hpt3x3: major reworking and testing
        libata: clean up horkage handling
        libata: quirk IOMEGA ZIP 250 ATAPI FLOPPY
        libata: simplify PCI legacy SFF host handling
        pata_mpc52xx: suspend/resume support
        sata_promise: SATA hotplug support, take 2
        pata_sis: FIFO whack
        ...
      57399ec9
    • Linus Torvalds's avatar
      Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 · e1bd2ac5
      Linus Torvalds authored
      * 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6: (183 commits)
        [TG3]: Update version to 3.78.
        [TG3]: Add missing NVRAM strapping.
        [TG3]: Enable auto MDI.
        [TG3]: Fix the polarity bit.
        [TG3]: Fix irq_sync race condition.
        [NET_SCHED]: ematch: module autoloading
        [TCP]: tcp probe wraparound handling and other changes
        [RTNETLINK]: rtnl_link: allow specifying initial device address
        [RTNETLINK]: rtnl_link API simplification
        [VLAN]: Fix MAC address handling
        [ETH]: Validate address in eth_mac_addr
        [NET]: Fix races in net_rx_action vs netpoll.
        [AF_UNIX]: Rewrite garbage collector, fixes race.
        [NETFILTER]: {ip, nf}_conntrack_sctp: fix remotely triggerable NULL ptr dereference (CVE-2007-2876)
        [NET]: Make all initialized struct seq_operations const.
        [UDP]: Fix length check.
        [IPV6]: Remove unneeded pointer idev from addrconf_cleanup().
        [DECNET]: Another unnecessary net/tcp.h inclusion in net/dn.h
        [IPV6]: Make IPV6_{RECV,2292}RTHDR boolean options.
        [IPV6]: Do not send RH0 anymore.
        ...
      
      Fixed up trivial conflict in Documentation/feature-removal-schedule.txt
      manually.
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      e1bd2ac5
    • Russell King's avatar
    • Russell King's avatar
      [ARM] sa1100: remove boot time RTC initialisation · fcae8e09
      Russell King authored
      The RTC library code contains everything necessary to set the
      system time from the RTC; for similar reasons as the previous
      commit, it's far better to let the RTC library code sort this
      out rather than implement something which might not be
      appropriate for everyone.
      Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
      fcae8e09
    • Russell King's avatar
      [ARM] sa1100: stop doing our own rtc management over suspend · f3ebbc20
      Russell King authored
      Remove the RTC management over a suspend/resume cycle.  As per the
      corresponding PXA patch, the RTC library code handles updating
      system time on resume.
      Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
      f3ebbc20
    • Linus Torvalds's avatar
      Merge branch 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus · 0b9062f6
      Linus Torvalds authored
      * 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus:
        [MIPS] Rename PC speaker code
        [MIPS] Don't use genrtc.
        [MIPS] Remove unused time.c for swarm
        [MIPS] Sparse: Use NULL for pointer
        [MIPS] Fix a sparse warning in arch/mips/pci/pci.c
        [MIPS] SMTC: Interrupt mask backstop hack
        [MIPS] separate platform_device registration for VR41xx RTC
        [MIPS] Separate platform_device registration for VR41xx GPIO
        [MIPS] MIPSsim: Fix build.
        [MIPS] separate platform_device registration for VR41xx serial interface
        [MIPS] Include cacheflush.h in uncache.c
        [MIPS] Cleanup tlbdebug.h
        [MIPS] Change names of local variables to silence sparse (part 2)
        [MIPS] Workaround for a sparse warning in include/asm-mips/io.h
        [MIPS] RM: Use only phyiscal address for 82596 and 53c710
        [MIPS] Hydrogen3: Remove remaining bits of code.
        [MIPS] DEC: Fix modpost warning.
        Revert "[MIPS] DEC: Fix modpost warning."
        [MIPS] Fix resume for 64K page size on R4000 class processors.
      0b9062f6