1. 19 May, 2014 1 commit
  2. 08 May, 2014 1 commit
    • Arnd Bergmann's avatar
      ata: pata_at91 only works on sam9 · 2af89a3c
      Arnd Bergmann authored
      The smc driver used by pata_at91 is at91sam9 specific, so building
      this driver on another at91 platform results in this error:
      
      ERROR: "sam9_smc_configure" [drivers/ata/pata_at91.ko] undefined!
      ERROR: "sam9_smc_write_mode" [drivers/ata/pata_at91.ko] undefined!
      ERROR: "sam9_smc_read_mode" [drivers/ata/pata_at91.ko] undefined!
      
      This patch changes the Kconfig dependency to ensure it always works.
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Signed-off-by: default avatarTejun Heo <tj@kernel.org>
      Cc: linux-ide@vger.kernel.org
      Cc: Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com>
      Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
      2af89a3c
  3. 07 May, 2014 1 commit
  4. 04 May, 2014 2 commits
    • Shawn Guo's avatar
      ahci: imx: software workaround for phy reset issue in resume · e783c51c
      Shawn Guo authored
      When suspending imx6q systems which have rootfs on SATA, the following
      error will likely be seen in resume.  The SATA link will fail to come
      up, and it results in an unusable system across the suspend/resume
      cycle.
      
      $ echo mem > /sys/power/state
      PM: Syncing filesystems ... done.
      PM: Preparing system for mem sleep
      Freezing user space processes ... (elapsed 0.002 seconds) done.
      Freezing remaining freezable tasks ... (elapsed 0.002 seconds) done.
      PM: Entering mem sleep
      sd 0:0:0:0: [sda] Synchronizing SCSI cache
      sd 0:0:0:0: [sda] Stopping disk
      PM: suspend of devices complete after 61.914 msecs
      PM: suspend devices took 0.070 seconds
      PM: late suspend of devices complete after 4.906 msecs
      PM: noirq suspend of devices complete after 4.521 msecs
      Disabling non-boot CPUs ...
      CPU1: shutdown
      CPU2: shutdown
      CPU3: shutdown
      Enabling non-boot CPUs ...
      CPU1: Booted secondary processor
      CPU1 is up
      CPU2: Booted secondary processor
      CPU2 is up
      CPU3: Booted secondary processor
      CPU3 is up
      PM: noirq resume of devices complete after 10.486 msecs
      PM: early resume of devices complete after 4.679 msecs
      sd 0:0:0:0: [sda] Starting disk
      PM: resume of devices complete after 22.674 msecs
      PM: resume devices took 0.030 seconds
      PM: Finishing wakeup.
      Restarting tasks ... done.
      $ ata1: SATA link down (SStatus 1 SControl 300)
      ata1: SATA link down (SStatus 1 SControl 300)
      ata1: limiting SATA link speed to 1.5 Gbps
      ata1: SATA link down (SStatus 1 SControl 310)
      ata1.00: disabled
      ata1: exception Emask 0x10 SAct 0x0 SErr 0x4040000 action 0xe frozen t4
      ata1: irq_stat 0x00000040, connection status changed
      ata1: SError: { CommWake DevExch }
      ata1: hard resetting link
      sd 0:0:0:0: rejecting I/O to offline device
      sd 0:0:0:0: killing request
      sd 0:0:0:0: rejecting I/O to offline device
      Aborting journal on device sda2-8.
      sd 0:0:0:0: rejecting I/O to offline device
      EXT4-fs warning (device sda2): ext4_end_bio:317: I/O error writing to inode 132577 (offset 0 size 0 starting block 26235)
      Buffer I/O error on device sda2, logical block 10169
      ...
      
      It's caused by a silicon issue that SATA phy does not get reset by
      controller when coming back from LPM.  The patch adds a software
      workaround for this issue.  It enforces a software reset on SATA phy
      in imx_sata_enable() function, so that we can ensure SATA link will
      come up properly in both power-on and resume.
      
      The software reset is implemented by writing phy reset register through
      the phy control register bus interface.  Functions
      imx_phy_reg_[addressing|write|read]() implement this bus interface, while
      imx_sata_phy_reset() performs the actually reset operation.
      Signed-off-by: default avatarRichard Zhu <r65037@freescale.com>
      Signed-off-by: default avatarShawn Guo <shawn.guo@freescale.com>
      Signed-off-by: default avatarTejun Heo <tj@kernel.org>
      e783c51c
    • Shawn Guo's avatar
      ahci: imx: add namespace for register enums · 24a9ad5b
      Shawn Guo authored
      Update register enums a little bit to add proper namespace prefix, and
      have the names match i.MX reference manual.
      Signed-off-by: default avatarShawn Guo <shawn.guo@freescale.com>
      Signed-off-by: default avatarTejun Heo <tj@kernel.org>
      24a9ad5b
  5. 24 Apr, 2014 1 commit
  6. 18 Apr, 2014 2 commits
    • Dan Williams's avatar
      libata/ahci: accommodate tag ordered controllers · 8a4aeec8
      Dan Williams authored
      The AHCI spec allows implementations to issue commands in tag order
      rather than FIFO order:
      
      	5.3.2.12 P:SelectCmd
      	HBA sets pSlotLoc = (pSlotLoc + 1) mod (CAP.NCS + 1)
      	or HBA selects the command to issue that has had the
      	PxCI bit set to '1' longer than any other command
      	pending to be issued.
      
      The result is that commands posted sequentially (time-wise) may play out
      of sequence when issued by hardware.
      
      This behavior has likely been hidden by drives that arrange for commands
      to complete in issue order.  However, it appears recent drives (two from
      different vendors that we have found so far) inflict out-of-order
      completions as a matter of course.  So, we need to take care to maintain
      ordered submission, otherwise we risk triggering a drive to fall out of
      sequential-io automation and back to random-io processing, which incurs
      large latency and degrades throughput.
      
      This issue was found in simple benchmarks where QD=2 seq-write
      performance was 30-50% *greater* than QD=32 seq-write performance.
      
      Tagging for -stable and making the change globally since it has a low
      risk-to-reward ratio.  Also, word is that recent versions of an unnamed
      OS also does it this way now.  So, drives in the field are already
      experienced with this tag ordering scheme.
      
      Cc: <stable@vger.kernel.org>
      Cc: Dave Jiang <dave.jiang@intel.com>
      Cc: Ed Ciechanowski <ed.ciechanowski@intel.com>
      Reviewed-by: default avatarMatthew Wilcox <matthew.r.wilcox@intel.com>
      Signed-off-by: default avatarDan Williams <dan.j.williams@intel.com>
      Signed-off-by: default avatarTejun Heo <tj@kernel.org>
      8a4aeec8
    • Alexander Gordeev's avatar
      ahci: Do not receive interrupts sent by dummy ports · 2cf532f5
      Alexander Gordeev authored
      In multiple MSI mode all AHCI ports (including dummy) get assigned
      separate MSI vectors and (as result of execution
      pci_enable_msi_exact() function) separate IRQ numbers, (mapped to the
      MSI vectors).
      
      Therefore, although interrupts from dummy ports are not desired they
      are still enabled. We do not request IRQs for dummy ports, but that
      only means we do not assign AHCI-specific ISRs to corresponding IRQ
      numbers.
      
      As result, dummy port interrupts still could come and traverse all the
      way from the PCI device to the kernel, causing unnecessary overhead.
      
      This update disables IRQs for dummy ports and prevents the described
      issue.
      Signed-off-by: default avatarAlexander Gordeev <agordeev@redhat.com>
      Signed-off-by: default avatarTejun Heo <tj@kernel.org>
      Tested-by: default avatarDavid Milburn <dmilburn@redhat.com>
      Cc: linux-ide@vger.kernel.org
      Cc: stable@vger.kernel.org
      Fixes: 5ca72c4f ("AHCI: Support multiple MSIs")
      2cf532f5
  7. 17 Apr, 2014 2 commits
    • Alexander Gordeev's avatar
      ahci: Use pci_enable_msi_exact() instead of pci_enable_msi_range() · ccf8f53c
      Alexander Gordeev authored
      The driver calls pci_enable_msi_range() function with the range of
      [nvec..nvec] which is what pci_enable_msi_exact() function is for.
      Signed-off-by: default avatarAlexander Gordeev <agordeev@redhat.com>
      Cc: linux-ide@vger.kernel.org
      Signed-off-by: default avatarTejun Heo <tj@kernel.org>
      ccf8f53c
    • Alexander Gordeev's avatar
      ahci: Ensure "MSI Revert to Single Message" mode is not enforced · ab0f9e78
      Alexander Gordeev authored
      The AHCI specification allows hardware to choose to revert to
      single MSI mode when fewer messages are allocated than requested.
      Yet, at least ICH10 chipset reverts to single MSI mode even when
      enough messages are allocated in some cases (see below).
      
      This update forces the driver to not rely on initialization of
      multiple MSIs mode alone and always check if "MSI Revert to
      Single Message" (MRSM) mode was enforced by the controller and
      fallback to the single MSI mode in case it did.
      
      That prevents a situation when the driver configured multiple
      per-port IRQ handlers, but the controller sends all port's
      interrupts to a single IRQ, which could easily screw up the
      interrupt handling and lead to delays and possibly crashes.
      
      The fix was tested on a 6-port controller that successfully
      reverted to the single MSI mode:
      
      00:1f.2 SATA controller: Intel Corporation 82801JI (ICH10 Family) SATA
      AHCI Controller (prog-if 01 [AHCI 1.0])
      	Subsystem: Super Micro Computer Inc Device 10a7
      	Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 101
      	I/O ports at f110 [size=8]
      	I/O ports at f100 [size=4]
      	I/O ports at f0f0 [size=8]
      	I/O ports at f0e0 [size=4]
      	I/O ports at f020 [size=32]
      	Memory at fbf00000 (32-bit, non-prefetchable) [size=2K]
      	Capabilities: [80] MSI: Enable+ Count=1/16 Maskable- 64bit-
      	Capabilities: [70] Power Management version 3
      	Capabilities: [a8] SATA HBA v1.0
      	Capabilities: [b0] PCI Advanced Features
      	Kernel driver in use: ahci
      
      With 6 ports just 8 MSI vectors should be enough, but the adapter
      enforces the MRSM mode when less than 16 vectors are written to
      the Multiple Messages Enable PCI register. I instigated MRSM mode
      by forcing @nvec to 8 in ahci_init_interrupts().
      Signed-off-by: default avatarAlexander Gordeev <agordeev@redhat.com>
      Cc: linux-ide@vger.kernel.org
      Cc: stable@vger.kernel.org
      Signed-off-by: default avatarTejun Heo <tj@kernel.org>
      ab0f9e78
  8. 16 Apr, 2014 1 commit
    • David Milburn's avatar
      ahci: do not request irq for dummy port · 9ae794ac
      David Milburn authored
      System may crash in ahci_hw_interrupt() or ahci_thread_fn() when
      accessing the interrupt status in a port's private_data if the port is
      actually a DUMMY port.
      
      00:1f.2 SATA controller: Intel Corporation 82801JI (ICH10 Family) SATA AHCI Controller
      
      <snip console output for linux-3.15-rc1>
      [    9.352080] ahci 0000:00:1f.2: AHCI 0001.0200 32 slots 6 ports 3 Gbps 0x1 impl SATA mode
      [    9.352084] ahci 0000:00:1f.2: flags: 64bit ncq sntf pm led clo pio slum part ccc
      [    9.368155] Console: switching to colour frame buffer device 128x48
      [    9.439759] mgag200 0000:11:00.0: fb0: mgadrmfb frame buffer device
      [    9.446765] mgag200 0000:11:00.0: registered panic notifier
      [    9.470166] scsi1 : ahci
      [    9.479166] scsi2 : ahci
      [    9.488172] scsi3 : ahci
      [    9.497174] scsi4 : ahci
      [    9.506175] scsi5 : ahci
      [    9.515174] scsi6 : ahci
      [    9.518181] ata1: SATA max UDMA/133 abar m2048@0x95c00000 port 0x95c00100 irq 91
      [    9.526448] ata2: DUMMY
      [    9.529182] ata3: DUMMY
      [    9.531916] ata4: DUMMY
      [    9.534650] ata5: DUMMY
      [    9.537382] ata6: DUMMY
      [    9.576196] [drm] Initialized mgag200 1.0.0 20110418 for 0000:11:00.0 on minor 0
      [    9.845257] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
      [    9.865161] ata1.00: ATAPI: Optiarc DVD RW AD-7580S, FX04, max UDMA/100
      [    9.891407] ata1.00: configured for UDMA/100
      [    9.900525] scsi 1:0:0:0: CD-ROM            Optiarc  DVD RW AD-7580S  FX04 PQ: 0 ANSI: 5
      [   10.247399] iTCO_vendor_support: vendor-support=0
      [   10.261572] iTCO_wdt: Intel TCO WatchDog Timer Driver v1.11
      [   10.269764] iTCO_wdt: unable to reset NO_REBOOT flag, device disabled by hardware/BIOS
      [   10.301932] sd 0:2:0:0: [sda] 570310656 512-byte logical blocks: (291 GB/271 GiB)
      [   10.317085] sd 0:2:0:0: [sda] Write Protect is off
      [   10.328326] sd 0:2:0:0: [sda] Write cache: disabled, read cache: disabled, supports DPO and FUA
      [   10.375452] BUG: unable to handle kernel NULL pointer dereference at 000000000000003c
      [   10.384217] IP: [<ffffffffa0133df0>] ahci_hw_interrupt+0x100/0x130 [libahci]
      [   10.392101] PGD 0
      [   10.394353] Oops: 0000 [#1] SMP
      [   10.397978] Modules linked in: sr_mod(+) cdrom sd_mod iTCO_wdt crc_t10dif iTCO_vendor_support crct10dif_common ahci libahci libata lpc_ich mfd_core mgag200 syscopyarea sysfillrect sysimgblt i2c_algo_bit drm_kms_helper ttm drm i2c_core megaraid_sas dm_mirror dm_region_hash
      dm_log dm_mod
      [   10.426499] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 3.15.0-rc1 #1
      [   10.433495] Hardware name: QCI QSSC-S4R/QSSC-S4R, BIOS QSSC-S4R.QCI.01.00.S013.032920111005 03/29/2011
      [   10.443886] task: ffffffff81906460 ti: ffffffff818f0000 task.ti: ffffffff818f0000
      [   10.452239] RIP: 0010:[<ffffffffa0133df0>]  [<ffffffffa0133df0>] ahci_hw_interrupt+0x100/0x130 [libahci]
      [   10.462838] RSP: 0018:ffff880033c03d98  EFLAGS: 00010046
      [   10.468767] RAX: 0000000000a400a4 RBX: ffff880029a6bc18 RCX: 00000000fffffffa
      [   10.476731] RDX: 00000000000000a4 RSI: ffff880029bb0000 RDI: ffff880029a6bc18
      [   10.484696] RBP: ffff880033c03dc8 R08: 0000000000000000 R09: ffff88002f800490
      [   10.492661] R10: 0000000000000000 R11: 0000000000000005 R12: 0000000000000000
      [   10.500625] R13: ffff880029a6bd98 R14: 0000000000000000 R15: ffffc90000194000
      [   10.508590] FS:  0000000000000000(0000) GS:ffff880033c00000(0000) knlGS:0000000000000000
      [   10.517623] CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
      [   10.524035] CR2: 000000000000003c CR3: 00000000328ff000 CR4: 00000000000007b0
      [   10.531999] Stack:
      [   10.534241]  0000000000000017 ffff880031ba7d00 000000000000005c ffff880031ba7d00
      [   10.542535]  0000000000000000 000000000000005c ffff880033c03e10 ffffffff810c2a1e
      [   10.550827]  ffff880031ae2900 000000008108fb4f ffff880031ae2900 ffff880031ae2984
      [   10.559121] Call Trace:
      [   10.561849]  <IRQ>
      [   10.563994]  [<ffffffff810c2a1e>] handle_irq_event_percpu+0x3e/0x1a0
      [   10.571309]  [<ffffffff810c2bbd>] handle_irq_event+0x3d/0x60
      [   10.577631]  [<ffffffff810c4fdd>] try_one_irq.isra.6+0x8d/0xf0
      [   10.584142]  [<ffffffff810c5313>] note_interrupt+0x173/0x1f0
      [   10.590460]  [<ffffffff810c2a8e>] handle_irq_event_percpu+0xae/0x1a0
      [   10.597554]  [<ffffffff810c2bbd>] handle_irq_event+0x3d/0x60
      [   10.603872]  [<ffffffff810c5727>] handle_edge_irq+0x77/0x130
      [   10.610199]  [<ffffffff81014b8f>] handle_irq+0xbf/0x150
      [   10.616040]  [<ffffffff8109ff4e>] ? vtime_account_idle+0xe/0x50
      [   10.622654]  [<ffffffff815fca1a>] ? atomic_notifier_call_chain+0x1a/0x20
      [   10.630140]  [<ffffffff816038cf>] do_IRQ+0x4f/0xf0
      [   10.635490]  [<ffffffff815f8aed>] common_interrupt+0x6d/0x6d
      [   10.641805]  <EOI>
      [   10.643950]  [<ffffffff8149ca9f>] ? cpuidle_enter_state+0x4f/0xc0
      [   10.650972]  [<ffffffff8149ca98>] ? cpuidle_enter_state+0x48/0xc0
      [   10.657775]  [<ffffffff8149cb47>] cpuidle_enter+0x17/0x20
      [   10.663807]  [<ffffffff810b0070>] cpu_startup_entry+0x2c0/0x3d0
      [   10.670423]  [<ffffffff815dfcc7>] rest_init+0x77/0x80
      [   10.676065]  [<ffffffff81a60f47>] start_kernel+0x40f/0x41a
      [   10.682190]  [<ffffffff81a60941>] ? repair_env_string+0x5c/0x5c
      [   10.688799]  [<ffffffff81a60120>] ? early_idt_handlers+0x120/0x120
      [   10.695699]  [<ffffffff81a605ee>] x86_64_start_reservations+0x2a/0x2c
      [   10.702889]  [<ffffffff81a60733>] x86_64_start_kernel+0x143/0x152
      [   10.709689] Code: a0 fc ff 85 c0 8b 4d d4 74 c3 48 8b 7b 08 89 ca 48 c7 c6 60 66 13 a0 31 c0 e8 9d 70 28 e1 8b 4d d4 eb aa 0f 1f 84 00 00 00 00 00 <45> 8b 64 24 3c 48 89 df e8 23 47 4c e1 41 83 fc 01 19 c0 48 83
      [   10.731470] RIP  [<ffffffffa0133df0>] ahci_hw_interrupt+0x100/0x130 [libahci]
      [   10.739441]  RSP <ffff880033c03d98>
      [   10.743333] CR2: 000000000000003c
      [   10.747032] ---[ end trace b6e82636970e2690 ]---
      [   10.760190] Kernel panic - not syncing: Fatal exception in interrupt
      [   10.767291] Kernel Offset: 0x0 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffff9fffffff)
      
      Cc: Alexander Gordeev <agordeev@redhat.com>
      Cc: Tejun Heo <tj@kernel.org>
      Cc: <stable@vger.kernel.org>
      Signed-of-by: default avatarDavid Milburn <dmilburn@redhat.com>
      Fixes: 5ca72c4f ("AHCI: Support multiple MSIs")
      9ae794ac
  9. 15 Apr, 2014 1 commit
  10. 14 Apr, 2014 1 commit
  11. 08 Apr, 2014 1 commit
  12. 02 Apr, 2014 7 commits
    • Bartlomiej Zolnierkiewicz's avatar
      pata_at91: fix ata_host_activate() failure handling · 27aa64b9
      Bartlomiej Zolnierkiewicz authored
      Add missing clk_put() call to ata_host_activate() failure path.
      
      Sergei says,
      
        "Hm, I have once fixed that (see that *if* (!ret)) but looks like a
         later commit 477c87e9 (ARM:
         at91/pata: use gpio_is_valid to check the gpio) broke it again. :-(
         Would be good if the changelog did mention that..."
      
      Cc: Andrew Victor <linux@maxim.org.za>
      Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
      Cc: Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com>
      Cc: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
      Signed-off-by: default avatarBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
      Signed-off-by: default avatarTejun Heo <tj@kernel.org>
      Cc: stable@vger.kernel.org
      27aa64b9
    • Martin K. Petersen's avatar
      libata: Update queued trim blacklist for M5x0 drives · d121f7d0
      Martin K. Petersen authored
      Crucial/Micron M500 drives properly support queued DSM TRIM starting
      with firmware MU05. Update the blacklist so we only disable queued trim
      for older firmware releases.
      
      Early M550 series drives suffer from the same issue as M500. A bugfix
      firmware is in the pipeline but not ready yet. Until then, blacklist
      queued trim for M550.
      Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
      Cc: Chris Samuel <chris@csamuel.org>
      Cc: Marc MERLIN <marc@merlins.org>
      Signed-off-by: default avatarTejun Heo <tj@kernel.org>
      Cc: stable@vger.kernel.org
      d121f7d0
    • Tejun Heo's avatar
      libata: make AHCI_XGENE depend on PHY_XGENE · 74c03eb6
      Tejun Heo authored
      AHCI_XGENE is only applicable on ARM64 but it can also be enabled for
      compile testing; however, AHCI_XGENE selects PHY_XGENE which has other
      arch specific dependencies.  This leads to the following warning when
      enabling it on other archs for compile testing.
      
        warning: (AHCI_XGENE) selects PHY_XGENE which has unmet direct
        dependencies (HAS_IOMEM && OF && (ARM64 || COMPILE_TEST))
      
      Selecting a config option which itself has dependencies can easily
      lead to broken configurations.  For now, let's just make AHCI_XGENE
      depend on PHY_XGENE which has all the necessary dependencies already.
      Signed-off-by: default avatarTejun Heo <tj@kernel.org>
      Reported-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      Cc: Loc Ho <lho@apm.com>
      Cc: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
      Cc: Kishon Vijay Abraham I <kishon@ti.com>
      74c03eb6
    • Linus Torvalds's avatar
      Merge branch 'for-3.15/drivers' of git://git.kernel.dk/linux-block · b33ce442
      Linus Torvalds authored
      Pull block driver update from Jens Axboe:
       "On top of the core pull request, here's the pull request for the
        driver related changes for 3.15.  It contains:
      
         - Improvements for msi-x registration for block drivers (mtip32xx,
           skd, cciss, nvme) from Alexander Gordeev.
      
         - A round of cleanups and improvements for drbd from Andreas
           Gruenbacher and Rashika Kheria.
      
         - A round of clanups and improvements for bcache from Kent.
      
         - Removal of sleep_on() and friends in DAC960, ataflop, swim3 from
           Arnd Bergmann.
      
         - Bug fix for a bug in the mtip32xx async completion code from Sam
           Bradshaw.
      
         - Bug fix for accidentally bouncing IO on 32-bit platforms with
           mtip32xx from Felipe Franciosi"
      
      * 'for-3.15/drivers' of git://git.kernel.dk/linux-block: (103 commits)
        bcache: remove nested function usage
        bcache: Kill bucket->gc_gen
        bcache: Kill unused freelist
        bcache: Rework btree cache reserve handling
        bcache: Kill btree_io_wq
        bcache: btree locking rework
        bcache: Fix a race when freeing btree nodes
        bcache: Add a real GC_MARK_RECLAIMABLE
        bcache: Add bch_keylist_init_single()
        bcache: Improve priority_stats
        bcache: Better alloc tracepoints
        bcache: Kill dead cgroup code
        bcache: stop moving_gc marking buckets that can't be moved.
        bcache: Fix moving_pred()
        bcache: Fix moving_gc deadlocking with a foreground write
        bcache: Fix discard granularity
        bcache: Fix another bug recovering from unclean shutdown
        bcache: Fix a bug recovering from unclean shutdown
        bcache: Fix a journalling reclaim after recovery bug
        bcache: Fix a null ptr deref in journal replay
        ...
      b33ce442
    • Linus Torvalds's avatar
      Merge branch 'for-3.15/core' of git://git.kernel.dk/linux-block · 7a488377
      Linus Torvalds authored
      Pull core block layer updates from Jens Axboe:
       "This is the pull request for the core block IO bits for the 3.15
        kernel.  It's a smaller round this time, it contains:
      
         - Various little blk-mq fixes and additions from Christoph and
           myself.
      
         - Cleanup of the IPI usage from the block layer, and associated
           helper code.  From Frederic Weisbecker and Jan Kara.
      
         - Duplicate code cleanup in bio-integrity from Gu Zheng.  This will
           give you a merge conflict, but that should be easy to resolve.
      
         - blk-mq notify spinlock fix for RT from Mike Galbraith.
      
         - A blktrace partial accounting bug fix from Roman Pen.
      
         - Missing REQ_SYNC detection fix for blk-mq from Shaohua Li"
      
      * 'for-3.15/core' of git://git.kernel.dk/linux-block: (25 commits)
        blk-mq: add REQ_SYNC early
        rt,blk,mq: Make blk_mq_cpu_notify_lock a raw spinlock
        blk-mq: support partial I/O completions
        blk-mq: merge blk_mq_insert_request and blk_mq_run_request
        blk-mq: remove blk_mq_alloc_rq
        blk-mq: don't dump CPU -> hw queue map on driver load
        blk-mq: fix wrong usage of hctx->state vs hctx->flags
        blk-mq: allow blk_mq_init_commands() to return failure
        block: remove old blk_iopoll_enabled variable
        blktrace: fix accounting of partially completed requests
        smp: Rename __smp_call_function_single() to smp_call_function_single_async()
        smp: Remove wait argument from __smp_call_function_single()
        watchdog: Simplify a little the IPI call
        smp: Move __smp_call_function_single() below its safe version
        smp: Consolidate the various smp_call_function_single() declensions
        smp: Teach __smp_call_function_single() to check for offline cpus
        smp: Remove unused list_head from csd
        smp: Iterate functions through llist_for_each_entry_safe()
        block: Stop abusing rq->csd.list in blk-softirq
        block: Remove useless IPI struct initialization
        ...
      7a488377
    • Linus Torvalds's avatar
      Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi · 1a0b6aba
      Linus Torvalds authored
      Pull first round of SCSI updates from James Bottomley:
       "This patch consists of the usual driver updates (megaraid_sas,
        scsi_debug, qla2xxx, qla4xxx, lpfc, bnx2fc, be2iscsi, hpsa, ipr) plus
        an assortment of minor fixes and the first precursors of SCSI-MQ (the
        code path simplifications) and the bug fix for the USB oops on remove
        (which involves an infrastructure change, so is sent via the main tree
        with a delayed backport after a cycle in which it is shown to
        introduce no new bugs)"
      
      * tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi: (196 commits)
        [SCSI] sd: Quiesce mode sense error messages
        [SCSI] add support for per-host cmd pools
        [SCSI] simplify command allocation and freeing a bit
        [SCSI] megaraid: simplify internal command handling
        [SCSI] ses: Use vpd information from scsi_device
        [SCSI] Add EVPD page 0x83 and 0x80 to sysfs
        [SCSI] Return VPD page length in scsi_vpd_inquiry()
        [SCSI] scsi_sysfs: Implement 'is_visible' callback
        [SCSI] hpsa: update driver version to 3.4.4-1
        [SCSI] hpsa: fix bad endif placement in RAID 5 mapper code
        [SCSI] qla2xxx: Fix build errors related to invalid print fields on some architectures.
        [SCSI] bfa: Replace large udelay() with mdelay()
        [SCSI] vmw_pvscsi: Some improvements in pvscsi driver.
        [SCSI] vmw_pvscsi: Add support for I/O requests coalescing.
        [SCSI] vmw_pvscsi: Fix pvscsi_abort() function.
        [SCSI] remove deprecated IRQF_DISABLED from SCSI
        [SCSI] bfa: Updating Maintainers email ids
        [SCSI] ipr: Add new CCIN definition for Grand Canyon support
        [SCSI] ipr: Format HCAM overlay ID 0x21
        [SCSI] ipr: Use pci_enable_msi_range() and pci_enable_msix_range()
        ...
      1a0b6aba
    • Linus Torvalds's avatar
      Merge tag 'usb-3.15-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb · 3e75c6de
      Linus Torvalds authored
      Pull USB patches from Greg KH:
       "Here's the big USB pull request for 3.15-rc1.
      
        The normal set of patches, lots of controller driver updates, and a
        smattering of individual USB driver updates as well.
      
        All have been in linux-next for a while"
      
      * tag 'usb-3.15-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb: (249 commits)
        xhci: Transition maintainership to Mathias Nyman.
        USB: disable reset-resume when USB_QUIRK_RESET is set
        USB: unbind all interfaces before rebinding any
        usb: phy: Add ulpi IDs for SMSC USB3320 and TI TUSB1210
        usb: gadget: tcm_usb_gadget: stop format strings
        usb: gadget: f_fs: add missing spinlock and mutex unlock
        usb: gadget: composite: switch over to ERR_CAST()
        usb: gadget: inode: switch over to memdup_user()
        usb: gadget: f_subset: switch over to PTR_RET
        usb: gadget: lpc32xx_udc: fix wrong clk_put() sequence
        USB: keyspan: remove dead debugging code
        USB: serial: add missing newlines to dev_<level> messages.
        USB: serial: add missing braces
        USB: serial: continue to write on errors
        USB: serial: continue to read on errors
        USB: serial: make bulk_out_size a lower limit
        USB: cypress_m8: fix potential scheduling while atomic
        devicetree: bindings: document lsi,zevio-usb
        usb: chipidea: add support for USB OTG controller on LSI Zevio SoCs
        usb: chipidea: imx: Use dev_name() for ci_hdrc name to distinguish USBs
        ...
      3e75c6de
  13. 01 Apr, 2014 19 commits
    • Linus Torvalds's avatar
      Merge tag 'tty-3.15-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty · cb159556
      Linus Torvalds authored
      Pull tty/serial driver update from Greg KH:
       "Here's the big tty/serial driver update for 3.15-rc1.
      
        Nothing major, a number of serial driver updates and a few tty core
        fixes as well.
      
        All have been in linux-next for a while"
      
      * tag 'tty-3.15-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty: (71 commits)
        tty/serial: omap: empty the RX FIFO at the end of half-duplex TX
        tty/serial: omap: fix RX interrupt enable/disable in half-duplex TX
        serial: sh-sci: Neaten dev_<level> uses
        serial: sh-sci: Replace hardcoded 3 by UART_PM_STATE_OFF
        serial: sh-sci: Add more register documentation
        serial: sh-sci: Remove useless casts
        serial: sh-sci: Replace printk() by pr_*()
        serial_core: Avoid NULL pointer dereference in uart_close()
        serial_core: Get a reference for port->tty in uart_remove_one_port()
        serial: clps711x: Give a chance to perform useful tasks during wait loop
        serial_core: Grammar s/ports/port's/
        serial_core: Spelling s/contro/control/
        serial: efm32: properly namespace location property
        serial: max310x: Add missing #include <linux/uaccess.h>
        synclink: fix info leak in ioctl
        serial: 8250: Clean up the locking for -rt
        serial: 8250_pci: change BayTrail default uartclk
        serial: 8250_pci: more BayTrail error-free bauds
        serial: sh-sci: Add missing call to uart_remove_one_port() in failure path
        serial_core: Unregister console in uart_remove_one_port()
        ...
      cb159556
    • Linus Torvalds's avatar
      Merge tag 'staging-3.15-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging · c12e69c6
      Linus Torvalds authored
      Pull staging driver updates from Greg KH:
       "Here's the huge drivers/staging/ update for 3.15-rc1.
      
        Loads of cleanup fixes, a few drivers removed, and some new ones
        added.
      
        All have been in linux-next for a while"
      
      * tag 'staging-3.15-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging: (1375 commits)
        staging: xillybus: XILLYBUS_PCIE depends on PCI_MSI
        staging: xillybus: Added "select CRC32" for XILLYBUS in Kconfig
        staging: comedi: poc: remove obsolete driver
        staging: unisys: replace kzalloc/kfree with UISMALLOC/UISFREE
        staging: octeon-usb: prevent memory corruption
        staging: usbip: fix line over 80 characters
        staging: usbip: fix quoted string split across lines
        Staging: unisys: Remove RETINT macro
        Staging: unisys: Remove FAIL macro
        Staging: unisys: Remove RETVOID macro
        Staging: unisys: Remove RETPTR macro
        Staging: unisys: Remove RETBOOL macro
        Staging: unisys: Remove FAIL_WPOSTCODE_1 macro
        Staging: unisys: Cleanup macros to get rid of goto statements
        Staging: unisys: include: Remove unused macros from timskmod.h
        staging: dgap: fix the rest of the checkpatch warnings in dgap.c
        Staging: bcm: Remove unnecessary parentheses
        staging: wlags49_h2: Delete unnecessary braces
        staging: wlags49_h2: Do not use assignment in if condition
        staging: wlags49_h2: Enclose macro in a do-while loop
        ...
      c12e69c6
    • Linus Torvalds's avatar
      Merge tag 'driver-core-3.15-rc1' of... · 158e0d36
      Linus Torvalds authored
      Merge tag 'driver-core-3.15-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core
      
      Pull driver core and sysfs updates from Greg KH:
       "Here's the big driver core / sysfs update for 3.15-rc1.
      
        Lots of kernfs updates to make it useful for other subsystems, and a
        few other tiny driver core patches.
      
        All have been in linux-next for a while"
      
      * tag 'driver-core-3.15-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core: (42 commits)
        Revert "sysfs, driver-core: remove unused {sysfs|device}_schedule_callback_owner()"
        kernfs: cache atomic_write_len in kernfs_open_file
        numa: fix NULL pointer access and memory leak in unregister_one_node()
        Revert "driver core: synchronize device shutdown"
        kernfs: fix off by one error.
        kernfs: remove duplicate dir.c at the top dir
        x86: align x86 arch with generic CPU modalias handling
        cpu: add generic support for CPU feature based module autoloading
        sysfs: create bin_attributes under the requested group
        driver core: unexport static function create_syslog_header
        firmware: use power efficient workqueue for unloading and aborting fw load
        firmware: give a protection when map page failed
        firmware: google memconsole driver fixes
        firmware: fix google/gsmi duplicate efivars_sysfs_init()
        drivers/base: delete non-required instances of include <linux/init.h>
        kernfs: fix kernfs_node_from_dentry()
        ACPI / platform: drop redundant ACPI_HANDLE check
        kernfs: fix hash calculation in kernfs_rename_ns()
        kernfs: add CONFIG_KERNFS
        sysfs, kobject: add sysfs wrapper for kernfs_enable_ns()
        ...
      158e0d36
    • Linus Torvalds's avatar
      Merge tag 'char-misc-3.15-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc · 675c354a
      Linus Torvalds authored
      Pull char/misc driver patches from Greg KH:
       "Here's the big char/misc driver updates for 3.15-rc1.
      
        Lots of various things here, including the new mcb driver subsystem.
      
        All of these have been in linux-next for a while"
      
      * tag 'char-misc-3.15-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc: (118 commits)
        extcon: Move OF helper function to extcon core and change function name
        extcon: of: Remove unnecessary function call by using the name of device_node
        extcon: gpio: Use SIMPLE_DEV_PM_OPS macro
        extcon: palmas: Use SIMPLE_DEV_PM_OPS macro
        mei: don't use deprecated DEFINE_PCI_DEVICE_TABLE macro
        mei: amthif: fix checkpatch error
        mei: client.h fix checkpatch errors
        mei: use cl_dbg where appropriate
        mei: fix Unnecessary space after function pointer name
        mei: report consistently copy_from/to_user failures
        mei: drop pr_fmt macros
        mei: make me hw headers private to me hw.
        mei: fix memory leak of pending write cb objects
        mei: me: do not reset when less than expected data is received
        drivers: mcb: Fix build error discovered by 0-day bot
        cs5535-mfgpt: Simplify dependencies
        spmi: pm: drop bus-level PM suspend/resume routines
        spmi: pmic_arb: make selectable on ARCH_QCOM
        Drivers: hv: vmbus: Increase the limit on the number of pfns we can handle
        pch_phub: Report error writing MAC back to user
        ...
      675c354a
    • Linus Torvalds's avatar
      Merge tag 'sound-3.15-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound · c7092914
      Linus Torvalds authored
      Pull sound updates from Takashi Iwai:
       "There have been lots of changes in ALSA core, HD-audio and ASoC, also
        most of PCI drivers touched by conversions of printks.  All these
        resulted in a high volume and wide ranged patch sets in this release.
        Many changes are fairly trivial, but also lots of nice cleanups and
        refactors.  There are a few new drivers, most notably, the Intel
        Haswell and Baytrail ASoC driver.
      
        Core changes:
         - A bit modernization; embed the device struct into snd_card struct,
           so that it may be referred from the beginning.  A new
           snd_card_new() function is introduced for that, and all drivers
           have been converted.
      
         - Simplification in the device management code in ALSA core; now
           managed by a simple priority list instead
      
         - Converted many kernel messages to use the standard dev_err() & co;
           this would be the pretty visible difference, especially for
           HD-audio.
      
        HD-audio:
         - Conexant codecs use the auto-parser as default now; the old static
           code still remains in case of regressions.  Some old quirks have
           been rewritten with the fixups for auto-parser.
      
         - C-Media codecs also use the auto-parser as default now, too.
      
         - A device struct is assigned to each HD-audio codec, and the
           formerly hwdep attributes are accessible over the codec sysfs, too.
           hwdep attributes still remain for compatibility.
      
         - Split the PCI-specific stuff for HD-audio controller into a
           separate module, ane make a helper module for the generic
           controller driver.  This is a preliminary change for supporting
           Tegra HDMI controller in near future, which slipped from 3.15
           merge.
      
         - Device-specific fixes: mute LED support for Lenovo Ideapad, mic LED
           fix for HP laptops, more ASUS subwoofer quirks, yet more Dell
           laptop headset quirks
      
         - Make the HD-audio codec response a bit more robust
      
         - A few improvements on Realtek ALC282 / 283 about the pop noises
      
         - A couple of Intel HDMI fixes
      
        ASoC:
         - Lots of cleanups for enumerations; refactored lots of error prone
           original codes to use more modern APIs
      
         - Elimination of the ASoC level wrappers for I2C and SPI moving us
           closer to converting to regmap completely and avoiding some
           randconfig hassle
      
         - Provide both manually and transparently locked DAPM APIs rather
           than a mix of the two fixing some concurrency issues
      
         - Start converting CODEC drivers to use separate bus interface
           drivers rather than having them all in one file helping avoid
           dependency issues
      
         - DPCM support for Intel Haswell and Bay Trail platforms, lots of
           fixes
      
         - Lots of work on improvements for simple-card, DaVinci and the
           Renesas rcar drivers.
      
         - New drivers for Analog Devices ADAU1977, TI PCM512x and parts of
           the CSR SiRF SoC, TLV320AIC31XXX, Armada 370 DB, Cirrus cs42xx8
      
         - Fixes for the simple-card DAI format DT mess
      
         - DT support for a couple more devices.
      
         - Use of the tdm_slot mapping in a few drivers
      
        Others:
         - Support of reset_resume callback for improved S4 in USB-audio
           driver; the device with boot quirks have been little tested, which
           we need to watch out in this development cycle
      
         - Add PM support for ICE1712 driver (finally!); it's still pretty
           partial support, only for M-Audio devices"
      
      * tag 'sound-3.15-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound: (610 commits)
        ALSA: ice1712: Add suspend support for M-Audio ICE1712-based cards
        ALSA: ice1712: add suspend support for ICE1712 chip
        ALSA: hda - Enable beep for ASUS 1015E
        ALSA: asihpi: fix some indenting in snd_card_asihpi_pcm_new()
        ALSA: hda - add headset mic detect quirks for three Dell laptops
        ASoC: tegra: move AC97 clock handling to the machine driver
        ASoC: simple-card: Handle many DAI links
        ASoC: simple-card: Add DT documentation for multi-DAI links
        ASoC: simple-card: dynamically allocate the DAI link and properties
        ASoC: imx-ssi: Add .xlate_tdm_slot_mask() support.
        ASoC: fsl-esai: Add .xlate_tdm_slot_mask() support.
        ASoC: fsl-utils: Add fsl_asoc_xlate_tdm_slot_mask() support.
        ASoC: core: remove the 'of_' prefix of of_xlate_tdm_slot_mask.
        ASoC: rcar: subnode tidyup for renesas,rsnd.txt
        ASoC: Remove name_prefix unset during DAI link init hack
        ALSA: hda - Inform the unexpectedly ignored pins by auto-parser
        ASoC: rcar: bugfix: it cares about the non-src case
        ARM: bockw: fixup SND_SOC_DAIFMT_CBx_CFx flags
        ASoC: pcm: Drop incorrect double/extra frees
        ASoC: mfld_machine: Fix compile error
        ...
      c7092914
    • Linus Torvalds's avatar
      Merge tag 'pci-v3.15-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci · 4b1779c2
      Linus Torvalds authored
      Pull PCI changes from Bjorn Helgaas:
       "Enumeration
         - Increment max correctly in pci_scan_bridge() (Andreas Noever)
         - Clarify the "scan anyway" comment in pci_scan_bridge() (Andreas Noever)
         - Assign CardBus bus number only during the second pass (Andreas Noever)
         - Use request_resource_conflict() instead of insert_ for bus numbers (Andreas Noever)
         - Make sure bus number resources stay within their parents bounds (Andreas Noever)
         - Remove pci_fixup_parent_subordinate_busnr() (Andreas Noever)
         - Check for child busses which use more bus numbers than allocated (Andreas Noever)
         - Don't scan random busses in pci_scan_bridge() (Andreas Noever)
         - x86: Drop pcibios_scan_root() check for bus already scanned (Bjorn Helgaas)
         - x86: Use pcibios_scan_root() instead of pci_scan_bus_with_sysdata() (Bjorn Helgaas)
         - x86: Use pcibios_scan_root() instead of pci_scan_bus_on_node() (Bjorn Helgaas)
         - x86: Merge pci_scan_bus_on_node() into pcibios_scan_root() (Bjorn Helgaas)
         - x86: Drop return value of pcibios_scan_root() (Bjorn Helgaas)
      
        NUMA
         - x86: Add x86_pci_root_bus_node() to look up NUMA node from PCI bus (Bjorn Helgaas)
         - x86: Use x86_pci_root_bus_node() instead of get_mp_bus_to_node() (Bjorn Helgaas)
         - x86: Remove mp_bus_to_node[], set_mp_bus_to_node(), get_mp_bus_to_node() (Bjorn Helgaas)
         - x86: Use NUMA_NO_NODE, not -1, for unknown node (Bjorn Helgaas)
         - x86: Remove acpi_get_pxm() usage (Bjorn Helgaas)
         - ia64: Use NUMA_NO_NODE, not MAX_NUMNODES, for unknown node (Bjorn Helgaas)
         - ia64: Remove acpi_get_pxm() usage (Bjorn Helgaas)
         - ACPI: Fix acpi_get_node() prototype (Bjorn Helgaas)
      
        Resource management
         - i2o: Fix and refactor PCI space allocation (Bjorn Helgaas)
         - Add resource_contains() (Bjorn Helgaas)
         - Add %pR support for IORESOURCE_UNSET (Bjorn Helgaas)
         - Mark resources as IORESOURCE_UNSET if we can't assign them (Bjorn Helgaas)
         - Don't clear IORESOURCE_UNSET when updating BAR (Bjorn Helgaas)
         - Check IORESOURCE_UNSET before updating BAR (Bjorn Helgaas)
         - Don't try to claim IORESOURCE_UNSET resources (Bjorn Helgaas)
         - Mark 64-bit resource as IORESOURCE_UNSET if we only support 32-bit (Bjorn Helgaas)
         - Don't enable decoding if BAR hasn't been assigned an address (Bjorn Helgaas)
         - Add "weak" generic pcibios_enable_device() implementation (Bjorn Helgaas)
         - alpha, microblaze, sh, sparc, tile: Use default pcibios_enable_device() (Bjorn Helgaas)
         - s390: Use generic pci_enable_resources() (Bjorn Helgaas)
         - Don't check resource_size() in pci_bus_alloc_resource() (Bjorn Helgaas)
         - Set type in __request_region() (Bjorn Helgaas)
         - Check all IORESOURCE_TYPE_BITS in pci_bus_alloc_from_region() (Bjorn Helgaas)
         - Change pci_bus_alloc_resource() type_mask to unsigned long (Bjorn Helgaas)
         - Log IDE resource quirk in dmesg (Bjorn Helgaas)
         - Revert "[PATCH] Insert GART region into resource map" (Bjorn Helgaas)
      
        PCI device hotplug
         - Make check_link_active() non-static (Rajat Jain)
         - Use link change notifications for hot-plug and removal (Rajat Jain)
         - Enable link state change notifications (Rajat Jain)
         - Don't disable the link permanently during removal (Rajat Jain)
         - Don't check adapter or latch status while disabling (Rajat Jain)
         - Disable link notification across slot reset (Rajat Jain)
         - Ensure very fast hotplug events are also processed (Rajat Jain)
         - Add hotplug_lock to serialize hotplug events (Rajat Jain)
         - Remove a non-existent card, regardless of "surprise" capability (Rajat Jain)
         - Don't turn slot off when hot-added device already exists (Yijing Wang)
      
        MSI
         - Keep pci_enable_msi() documentation (Alexander Gordeev)
         - ahci: Fix broken single MSI fallback (Alexander Gordeev)
         - ahci, vfio: Use pci_enable_msi_range() (Alexander Gordeev)
         - Check kmalloc() return value, fix leak of name (Greg Kroah-Hartman)
         - Fix leak of msi_attrs (Greg Kroah-Hartman)
         - Fix pci_msix_vec_count() htmldocs failure (Masanari Iida)
      
        Virtualization
         - Device-specific ACS support (Alex Williamson)
      
        Freescale i.MX6
         - Wait for retraining (Marek Vasut)
      
        Marvell MVEBU
         - Use Device ID and revision from underlying endpoint (Andrew Lunn)
         - Fix incorrect size for PCI aperture resources (Jason Gunthorpe)
         - Call request_resource() on the apertures (Jason Gunthorpe)
         - Fix potential issue in range parsing (Jean-Jacques Hiblot)
      
        Renesas R-Car
         - Check platform_get_irq() return code (Ben Dooks)
         - Add error interrupt handling (Ben Dooks)
         - Fix bridge logic configuration accesses (Ben Dooks)
         - Register each instance independently (Magnus Damm)
         - Break out window size handling (Magnus Damm)
         - Make the Kconfig dependencies more generic (Magnus Damm)
      
        Synopsys DesignWare
         - Fix RC BAR to be single 64-bit non-prefetchable memory (Mohit Kumar)
      
        Miscellaneous
         - Remove unused SR-IOV VF Migration support (Bjorn Helgaas)
         - Enable INTx if BIOS left them disabled (Bjorn Helgaas)
         - Fix hex vs decimal typo in cpqhpc_probe() (Dan Carpenter)
         - Clean up par-arch object file list (Liviu Dudau)
         - Set IORESOURCE_ROM_SHADOW only for the default VGA device (Sander Eikelenboom)
         - ACPI, ARM, drm, powerpc, pcmcia, PCI: Use list_for_each_entry() for bus traversal (Yijing Wang)
         - Fix pci_bus_b() build failure (Paul Gortmaker)"
      
      * tag 'pci-v3.15-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci: (108 commits)
        Revert "[PATCH] Insert GART region into resource map"
        PCI: Log IDE resource quirk in dmesg
        PCI: Change pci_bus_alloc_resource() type_mask to unsigned long
        PCI: Check all IORESOURCE_TYPE_BITS in pci_bus_alloc_from_region()
        resources: Set type in __request_region()
        PCI: Don't check resource_size() in pci_bus_alloc_resource()
        s390/PCI: Use generic pci_enable_resources()
        tile PCI RC: Use default pcibios_enable_device()
        sparc/PCI: Use default pcibios_enable_device() (Leon only)
        sh/PCI: Use default pcibios_enable_device()
        microblaze/PCI: Use default pcibios_enable_device()
        alpha/PCI: Use default pcibios_enable_device()
        PCI: Add "weak" generic pcibios_enable_device() implementation
        PCI: Don't enable decoding if BAR hasn't been assigned an address
        PCI: Enable INTx in pci_reenable_device() only when MSI/MSI-X not enabled
        PCI: Mark 64-bit resource as IORESOURCE_UNSET if we only support 32-bit
        PCI: Don't try to claim IORESOURCE_UNSET resources
        PCI: Check IORESOURCE_UNSET before updating BAR
        PCI: Don't clear IORESOURCE_UNSET when updating BAR
        PCI: Mark resources as IORESOURCE_UNSET if we can't assign them
        ...
      
      Conflicts:
      	arch/x86/include/asm/topology.h
      	drivers/ata/ahci.c
      4b1779c2
    • Linus Torvalds's avatar
      Merge tag 'edac_for_3.15' of git://git.kernel.org/pub/scm/linux/kernel/git/bp/bp · 62ff577f
      Linus Torvalds authored
      Pull EDAC updates from Borislav Petkov:
       "A bunch of EDAC updates all over the place:
      
         - Support for new AMD models, along with more graceful fallback for
           unsupported hw.
      
         - Bunch of fixes from SUSE accumulated from bug reports
      
         - Misc other fixes and cleanups"
      
      * tag 'edac_for_3.15' of git://git.kernel.org/pub/scm/linux/kernel/git/bp/bp:
        amd64_edac: Add support for newer F16h models
        i7core_edac: Drop unused variable
        i82875p_edac: Drop redundant call to pci_get_device()
        amd8111_edac: Fix leaks in probe error paths
        e752x_edac: Drop pvt->bridge_ck
        MCE, AMD: Fix decoding module loading on unsupported hw
        i5100_edac: Remove an unneeded condition in i5100_init_csrows()
        sb_edac: Degrade log level for device registration
        amd64_edac: Fix logic to determine channel for F15 M30h processors
        edac/85xx: Remove deprecated IRQF_DISABLED
        i3200_edac: Add a missing pci_disable_device() on the exit path
        i5400_edac: Disable device when unloading module
        e752x_edac: Simplify call to pci_get_device()
      62ff577f
    • Linus Torvalds's avatar
      Merge tag 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging · 26f31fb9
      Linus Torvalds authored
      Pull hwmon updates from Guenter Roeck:
       - New drivers for ADC128D818, LTC2945, LTC4260, and LTC4222
       - Added support for LTM4676 to ltc2978 driver
       - Converted several drivers to use devm_hwmon_device_register_with_groups
       - Various cleanup in several drivers
      
      * tag 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging: (36 commits)
        hwmon: (pmbus/ltc2978) Add support for LTM4676
        hwmon: (pmbus/ltc2978) Add new chip ID for LTC2974
        hwmon: Do not accept invalid name attributes
        hwmon: (max6639) Use SIMPLE_DEV_PM_OPS macro
        hwmon: (lm95245) Make temp2_crit_hyst read-only
        hwmon: (lm95245) Convert to use devm_hwmon_device_register_with_groups
        hwmon: (lm95245) Drop useless debug message
        hwmon: (lm95245) Fix hysteresis temperatures
        hwmon: (max6639) Convert to use devm_hwmon_device_register_with_groups
        hwmon: (max6639) Introduce local dev variable, and reduce noisiness
        hwmon: (max6650) Introduce local 'dev' variable
        hwmon: (max6650) Drop error message after memory allocation failures
        hwmon: (max6650) Convert to use devm_hwmon_device_register_with_groups
        hwmon: (max6650) Rearrange code to no longer require forward declarations
        hwmon: (ltc4215) Convert to devm_hwmon_device_register_with_groups
        hwmon: (coretemp) Convert to use devm_hwmon_device_register_with_groups
        hwmon: (coretemp) Allocate platform data with devm_kzalloc
        hwmon: (coretemp) Use sysfs_create_group to create sysfs attributes
        hwmon: (ltc4245) Remove devicetree conditionals
        hwmon: (ltc4245) Drop debug messages
        ...
      26f31fb9
    • Linus Torvalds's avatar
      Merge git://www.linux-watchdog.org/linux-watchdog · 0c8cfbad
      Linus Torvalds authored
      Pull watchdog updates from Wim Van Sebroeck:
       "This patchset contains:
         - Various small clean-ups and fixes
         - boot logic hanegs for mpc8xxx_wdt
         - it87_wdt: Work around non-working CIR interrupts
         - iTCO_wdt: Fix the parent device
         - Kconfig dependencies
         - simplification of code with devm_ioremap_resource() or
           platform_driver_probe()
         - conversion of xilinx watchdog driver to Generic watchdog Framework
         - addition of extra functionality and devices for the xilinx watchdog
           driver
         - Addition of Tegra watchdog"
      
      * git://www.linux-watchdog.org/linux-watchdog: (38 commits)
        watchdog: Fix Elan SC520 dependencies
        watchdog: ib700wdt: Use platform_driver_probe
        watchdog: geodewdt: Use platform_driver_probe
        watchdog: advantechwdt: Use platform_driver_probe
        watchdog: acquirewdt: Use platform_driver_probe
        watchdog: iTCO_wdt: Fix the parent device
        watchdog: it87_wdt: Work around non-working CIR interrupts
        watchdog: bcm281xx: Fix Kconfig dependency
        watchdog: s3c2410_wdt: Check return value of clk_prepare_enable
        watchdog: s3c2410_wdt: Remove unneeded initialization
        watchdog: sunxi: Change compatibles
        watchdog: orion: prepare new Dove DT Kconfig variable
        watchdog: fix checkpatch warnings and error
        watchdog: Add tegra watchdog
        watchdog: xilinx: Remove no_timeout variable
        watchdog: xilinx: Enable this driver for Zynq
        watchdog: xilinx: Add missing binding
        watchdog: xilinx: Use correct comment indentation
        watchdog: xilinx: Use of_property_read_u32
        watchdog: xilinx: Fix all printk messages
        ...
      0c8cfbad
    • Linus Torvalds's avatar
      Merge tag 'spi-v3.15' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi · c12ac9f9
      Linus Torvalds authored
      Pull spi Updates from Mark Brown:
       "A busy release for both cleanups and new drivers this time along with
        further factoring out of replicated code into the core:
      
         - Provide support in the core for DMA mapping transfers - essentially
           all drivers weren't implementing this properly, now there's no
           excuse.
         - Dual and quad mode support for spidev.
         - Fix handling of cs_change in the generic implementation.
         - Remove the S3C_DMA code from the s3c64xx driver now that all the
           platforms using it have been converted to dmaengine.
         - Lots of improvements to the Renesas SPI controllers.
         - Drivers for Allwinner A10 and A31, Qualcomm QUP and Xylinx xtfpga.
         - Removal of the bitrotted ti-ssp driver"
      
      * tag 'spi-v3.15' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi: (199 commits)
        spi: Fix handling of cs_change in core implementation
        spi: bitbang: Make spi_bitbang_stop() return void
        spi: mpc52xx: Convert to use bits_per_word_mask
        spi: omap-100k: Fix memory leak
        spi: dw: Don't call kfree for memory allocated by devm_kzalloc
        spi: fsl-dspi: Fix memory leak
        spi: omap-uwire: add missing iounmap
        spi: clps711x: Convert to use master->max_speed_hz
        spi: clps711x: Enable driver compilation with COMPILE_TEST
        spi: omap-uwire: Remove full duplex check
        spi: Do not require a completion
        spi: topcliff-pch: Transform noisy message to dev_vdbg
        spi: coldfire-qspi: Simplify the code to set register bits for transfer speed
        spi: bcm63xx: Remove unused define for PFX
        spi: efm32: use $vendor,$device scheme for compatible string
        spi: clps711x: Remove <mach/hardware.h> dependency
        spi: topcliff-pch: Properly unregister platform devices on probe() error paths
        spi: fsl-espi: Remove unused bits_per_word variable in fsl_espi_bufs
        spi: altera: Remove the code to get unused platform_data
        spi: fsl-lib: Fix memory leak of pinfo
        ...
      c12ac9f9
    • Linus Torvalds's avatar
      Merge tag 'regulator-v3.15' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator · 3786075b
      Linus Torvalds authored
      Pull regulator updates from Mark Brown:
       "This release has lots and lots of small cleanups and fixes in the
        regulator subsystem, mainly cleaning up some bad patterns that got
        duplicated in DT code, but otherwise very little of note outside of
        the scope of the relevant drivers:
      
         - Support for configuration of the initial state for gpio regulators
           with multi-voltage support.
         - Support for calling regulator_set_voltage() on fixed regulators.
         - New drivers for Broadcom BCM590xx, Freescale pfuze200, Samsung
           S2MPA01 & S2MPS11/4, some PWM controlled regulators found on some
           ST boards and TI TPS65218"
      
      * tag 'regulator-v3.15' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator: (154 commits)
        regulator: aat2870: Use regulator_map_voltage_ascend
        regulator: st-pwm: Convert to get_voltage_sel
        regulator: Add new driver for ST's PWM controlled voltage regulators
        regulator: bcm590xx: Remove **rdev from struct bcm590xx_reg
        regulator: bcm590xx: Make the modalias matches the driver name
        regulator: s5m8767: Convert to use regulator_[enable|disable|is_enabled]_regmap
        regulator: db8500-prcmu: Set 1.8V as a fixed voltage for vsmps2
        regulator: s2mps11: Add missing of_node_put
        regulator: s2mps11: Use of_get_child_by_name
        Documentation: mfd: s2mps11: Document support for S2MPS14
        regulator: s2mps11: Add set_suspend_disable for S2MPS14
        regulator: s2mps11: Add support for S2MPS14 regulators
        regulator: max8660: Fix brace alignment
        regulator: dbx500: use seq_puts() instead of seq_printf()
        regulator: dbx500-prcmu: Silence checkpatch warnings
        regulator: anatop: Remove checking control_reg in [set|get]_voltage_sel
        regulator: max8952: Silence checkpatch warning
        regulator: max8925: Silence checkpatch warning
        regulator: max8660: Silence checkpatch warnings
        regulator: arizona-ldo1: Correct default regulator init_data
        ...
      3786075b
    • Linus Torvalds's avatar
      Merge tag 'regmap-v3.15' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap · c6b38ec0
      Linus Torvalds authored
      Pull regmap updates from Mark Brown:
       "Quite a busy release for regmap this time around, the standout changes
        are:
      
         - A real implementation of regmap_multi_write() and a bypassed
           version of it for use by drivers doing patch-like things with more
           open coding for surrounding startup sequences.
         - Support fast_io on bulk operations.
         - Support split device binding and map initialisation for use by
           devices required in early init (mainly system controllers).
         - Fixes for some operations on maps with strides set.
         - Export the value parsing operations to help generic code built on
           top of the API.
         - Support for MMIO regmaps with non-32 bit register sizes.
      
        plus a few smaller fixes"
      
      * tag 'regmap-v3.15' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap: (22 commits)
        regmap: mmio: Add regmap_mmio_regbits_check.
        regmap: mmio: Add support for 1/2/8 bytes wide register address.
        regmap: mmio: add regmap_mmio_{regsize, count}_check.
        regmap: cache: Don't attempt to sync non-writeable registers
        regmap: cache: Step by stride in default sync
        regmap: Fix possible sleep-in-atomic in regmap_bulk_write()
        regmap: Ensure regmap_register_patch() is compatible with fast_io
        regmap: irq: Set data pointer only on regmap_add_irq_chip success
        regmap: Implementation for regmap_multi_reg_write
        regmap: add regmap_parse_val api
        mfd: arizona: Use new regmap features for manual register patch
        regmap: Base regmap_register_patch on _regmap_multi_reg_write
        regmap: Add bypassed version of regmap_multi_reg_write
        regmap: Mark reg_defaults in regmap_multi_reg_write as const
        regmap: fix coccinelle warnings
        regmap: Check stride of register patch as we register it
        regmap: Clean up _regmap_update_bits()
        regmap: Separate regmap dev initialization
        regmap: Check readable regs in _regmap_read
        regmap: irq: Remove domain on exit
        ...
      c6b38ec0
    • Linus Torvalds's avatar
      Merge tag 'pinctrl-v3.15-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl · d64b3932
      Linus Torvalds authored
      Pull pin control bulk changes from Linus Walleij:
       "Pin control bulk changes for the v3.15 series, no new core
        functionality this time, just incremental driver updates:
      
         - A large refactoring of the MVEBU (Marvell) driver.
      
         - A large refactoring of the Tegra (nVidia) driver.
      
         - GPIO interrupt including soft edges support in the STi driver.
      
         - Misc updates to PFC (Renesas), AT91, ADI2 (Blackfin),
           pinctrl-single, sirf (CSR), msm (Qualcomm), Exynos (Samsung), sunxi
           (AllWinner), i.MX (Freescale), Baytrail"
      
      * tag 'pinctrl-v3.15-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl: (72 commits)
        pinctrl: tegra: add some missing Tegra114 entries
        pinctrl: tegra: fix some mistakes in Tegra124
        pinctrl: msm: fix up out-of-order merge conflict
        pinctrl: st: Fix error check for of_irq_to_resource usage
        pinctrl: tegra: consistency cleanup
        pinctrl: tegra: dynamically calculate function list of groups
        pinctrl: tegra: init Tegra20/30 at module_init time
        pinctrl: st: Use ARRAY_SIZE instead of raw value for number of delays
        pinctrl: st: add pinctrl support for the STiH407 SoC
        pinctrl: st: Enhance the controller to manage unavailable registers
        pinctrl: msm: Simplify msm_config_reg() and callers
        pinctrl: msm: Remove impossible WARN_ON()s
        pinctrl: msm: Replace lookup tables with math
        pinctrl: msm: Drop OF_IRQ dependency
        pinctrl: msm: Drop unused includes
        pinctrl: msm: Check for ngpios > MAX_NR_GPIO
        pinctrl: msm: Silence recursive lockdep warning
        pinctrl: mvebu: silence WARN to dev_warn
        pinctrl: msm: drop wake_irqs bitmap
        pinctrl-baytrail: add function mux checking in gpio pin request
        ...
      d64b3932
    • Linus Torvalds's avatar
      Merge tag 'pm+acpi-3.15-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm · 4dedde7c
      Linus Torvalds authored
      Pull ACPI and power management updates from Rafael Wysocki:
       "The majority of this material spent some time in linux-next, some of
        it even several weeks.  There are a few relatively fresh commits in
        it, but they are mostly fixes and simple cleanups.
      
        ACPI took the lead this time, both in terms of the number of commits
        and the number of modified lines of code, cpufreq follows and there
        are a few changes in the PM core and in cpuidle too.
      
        A new feature that already got some LWN.net's attention is the device
        PM QoS extension allowing latency tolerance requirements to be
        propagated from leaf devices to their ancestors with hardware
        interfaces for specifying latency tolerance.  That should help systems
        with hardware-driven power management to avoid going too far with it
        in cases when there are latency tolerance constraints.
      
        There also are some significant changes in the ACPI core related to
        the way in which hotplug notifications are handled.  They affect PCI
        hotplug (ACPIPHP) and the ACPI dock station code too.  The bottom line
        is that all those notification now go through the root notify handler
        and are propagated to the interested subsystems by means of callbacks
        instead of having to install a notify handler for each device object
        that we can potentially get hotplug notifications for.
      
        In addition to that ACPICA will now advertise "Windows 2013"
        compatibility for _OSI, because some systems out there don't work
        correctly if that is not done (some of them don't even boot).
      
        On the system suspend side of things, all of the device suspend and
        resume callbacks, except for ->prepare() and ->complete(), are now
        going to be executed asynchronously as that turns out to speed up
        system suspend and resume on some platforms quite significantly and we
        have a few more optimizations in that area.
      
        Apart from that, there are some new device IDs and fixes and cleanups
        all over.  In particular, the system suspend and resume handling by
        cpufreq should be improved and the cpuidle menu governor should be a
        bit more robust now.
      
        Specifics:
      
         - Device PM QoS support for latency tolerance constraints on systems
           with hardware interfaces allowing such constraints to be specified.
           That is necessary to prevent hardware-driven power management from
           becoming overly aggressive on some systems and to prevent power
           management features leading to excessive latencies from being used
           in some cases.
      
         - Consolidation of the handling of ACPI hotplug notifications for
           device objects.  This causes all device hotplug notifications to go
           through the root notify handler (that was executed for all of them
           anyway before) that propagates them to individual subsystems, if
           necessary, by executing callbacks provided by those subsystems
           (those callbacks are associated with struct acpi_device objects
           during device enumeration).  As a result, the code in question
           becomes both smaller in size and more straightforward and all of
           those changes should not affect users.
      
         - ACPICA update, including fixes related to the handling of _PRT in
           cases when it is broken and the addition of "Windows 2013" to the
           list of supported "features" for _OSI (which is necessary to
           support systems that work incorrectly or don't even boot without
           it).  Changes from Bob Moore and Lv Zheng.
      
         - Consolidation of ACPI _OST handling from Jiang Liu.
      
         - ACPI battery and AC fixes allowing unusual system configurations to
           be handled by that code from Alexander Mezin.
      
         - New device IDs for the ACPI LPSS driver from Chiau Ee Chew.
      
         - ACPI fan and thermal optimizations related to system suspend and
           resume from Aaron Lu.
      
         - Cleanups related to ACPI video from Jean Delvare.
      
         - Assorted ACPI fixes and cleanups from Al Stone, Hanjun Guo, Lan
           Tianyu, Paul Bolle, Tomasz Nowicki.
      
         - Intel RAPL (Running Average Power Limits) driver cleanups from
           Jacob Pan.
      
         - intel_pstate fixes and cleanups from Dirk Brandewie.
      
         - cpufreq fixes related to system suspend/resume handling from Viresh
           Kumar.
      
         - cpufreq core fixes and cleanups from Viresh Kumar, Stratos
           Karafotis, Saravana Kannan, Rashika Kheria, Joe Perches.
      
         - cpufreq drivers updates from Viresh Kumar, Zhuoyu Zhang, Rob
           Herring.
      
         - cpuidle fixes related to the menu governor from Tuukka Tikkanen.
      
         - cpuidle fix related to coupled CPUs handling from Paul Burton.
      
         - Asynchronous execution of all device suspend and resume callbacks,
           except for ->prepare and ->complete, during system suspend and
           resume from Chuansheng Liu.
      
         - Delayed resuming of runtime-suspended devices during system suspend
           for the PCI bus type and ACPI PM domain.
      
         - New set of PM helper routines to allow device runtime PM callbacks
           to be used during system suspend and resume more easily from Ulf
           Hansson.
      
         - Assorted fixes and cleanups in the PM core from Geert Uytterhoeven,
           Prabhakar Lad, Philipp Zabel, Rashika Kheria, Sebastian Capella.
      
         - devfreq fix from Saravana Kannan"
      
      * tag 'pm+acpi-3.15-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm: (162 commits)
        PM / devfreq: Rewrite devfreq_update_status() to fix multiple bugs
        PM / sleep: Correct whitespace errors in <linux/pm.h>
        intel_pstate: Set core to min P state during core offline
        cpufreq: Add stop CPU callback to cpufreq_driver interface
        cpufreq: Remove unnecessary braces
        cpufreq: Fix checkpatch errors and warnings
        cpufreq: powerpc: add cpufreq transition latency for FSL e500mc SoCs
        MAINTAINERS: Reorder maintainer addresses for PM and ACPI
        PM / Runtime: Update runtime_idle() documentation for return value meaning
        video / output: Drop display output class support
        fujitsu-laptop: Drop unneeded include
        acer-wmi: Stop selecting VIDEO_OUTPUT_CONTROL
        ACPI / gpu / drm: Stop selecting VIDEO_OUTPUT_CONTROL
        ACPI / video: fix ACPI_VIDEO dependencies
        cpufreq: remove unused notifier: CPUFREQ_{SUSPENDCHANGE|RESUMECHANGE}
        cpufreq: Do not allow ->setpolicy drivers to provide ->target
        cpufreq: arm_big_little: set 'physical_cluster' for each CPU
        cpufreq: arm_big_little: make vexpress driver depend on bL core driver
        ACPI / button: Add ACPI Button event via netlink routine
        ACPI: Remove duplicate definitions of PREFIX
        ...
      4dedde7c
    • Linus Torvalds's avatar
      Merge branch 'irq-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 683b6c6f
      Linus Torvalds authored
      Pull irq code updates from Thomas Gleixner:
       "The irq department proudly presents:
      
         - Another tree wide sweep of irq infrastructure abuse.  Clear winner
           of the trainwreck engineering contest was:
               #include "../../../kernel/irq/settings.h"
      
         - Tree wide update of irq_set_affinity() callbacks which miss a cpu
           online check when picking a single cpu out of the affinity mask.
      
         - Tree wide consolidation of interrupt statistics.
      
         - Updates to the threaded interrupt infrastructure to allow explicit
           wakeup of the interrupt thread and a variant of synchronize_irq()
           which synchronizes only the hard interrupt handler.  Both are
           needed to replace the homebrewn thread handling in the mmc/sdhci
           code.
      
         - New irq chip callbacks to allow proper support for GPIO based irqs.
           The GPIO based interrupts need to request/release GPIO resources
           from request/free_irq.
      
         - A few new ARM interrupt chips.  No revolutionary new hardware, just
           differently wreckaged variations of the scheme.
      
         - Small improvments, cleanups and updates all over the place"
      
      I was hoping that that trainwreck engineering contest was a April Fools'
      joke.  But no.
      
      * 'irq-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (68 commits)
        irqchip: sun7i/sun6i: Disable NMI before registering the handler
        ARM: sun7i/sun6i: dts: Fix IRQ number for sun6i NMI controller
        ARM: sun7i/sun6i: irqchip: Update the documentation
        ARM: sun7i/sun6i: dts: Add NMI irqchip support
        ARM: sun7i/sun6i: irqchip: Add irqchip driver for NMI controller
        genirq: Export symbol no_action()
        arm: omap: Fix typo in ams-delta-fiq.c
        m68k: atari: Fix the last kernel_stat.h fallout
        irqchip: sun4i: Simplify sun4i_irq_ack
        irqchip: sun4i: Use handle_fasteoi_irq for all interrupts
        genirq: procfs: Make smp_affinity values go+r
        softirq: Add linux/irq.h to make it compile again
        m68k: amiga: Add linux/irq.h to make it compile again
        irqchip: sun4i: Don't ack IRQs > 0, fix acking of IRQ 0
        irqchip: sun4i: Fix a comment about mask register initialization
        irqchip: sun4i: Fix irq 0 not working
        genirq: Add a new IRQCHIP_EOI_THREADED flag
        genirq: Document IRQCHIP_ONESHOT_SAFE flag
        ARM: sunxi: dt: Convert to the new irq controller compatibles
        irqchip: sunxi: Change compatibles
        ...
      683b6c6f
    • Linus Torvalds's avatar
      Merge branch 'timers-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 1ead6581
      Linus Torvalds authored
      Pull timer changes from Thomas Gleixner:
       "This assorted collection provides:
      
         - A new timer based timer broadcast feature for systems which do not
           provide a global accessible timer device.  That allows those
           systems to put CPUs into deep idle states where the per cpu timer
           device stops.
      
         - A few NOHZ_FULL related improvements to the timer wheel
      
         - The usual updates to timer devices found in ARM SoCs
      
         - Small improvements and updates all over the place"
      
      * 'timers-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (44 commits)
        tick: Remove code duplication in tick_handle_periodic()
        tick: Fix spelling mistake in tick_handle_periodic()
        x86: hpet: Use proper destructor for delayed work
        workqueue: Provide destroy_delayed_work_on_stack()
        clocksource: CMT, MTU2, TMU and STI should depend on GENERIC_CLOCKEVENTS
        timer: Remove code redundancy while calling get_nohz_timer_target()
        hrtimer: Rearrange comments in the order struct members are declared
        timer: Use variable head instead of &work_list in __run_timers()
        clocksource: exynos_mct: silence a static checker warning
        arm: zynq: Add support for cpufreq
        arm: zynq: Don't use arm_global_timer with cpufreq
        clocksource/cadence_ttc: Overhaul clocksource frequency adjustment
        clocksource/cadence_ttc: Call clockevents_update_freq() with IRQs enabled
        clocksource: Add Kconfig entries for CMT, MTU2, TMU and STI
        sh: Remove Kconfig entries for TMU, CMT and MTU2
        ARM: shmobile: Remove CMT, TMU and STI Kconfig entries
        clocksource: armada-370-xp: Use atomic access for shared registers
        clocksource: orion: Use atomic access for shared registers
        clocksource: timer-keystone: Delete unnecessary variable
        clocksource: timer-keystone: introduce clocksource driver for Keystone
        ...
      1ead6581
    • Linus Torvalds's avatar
      Merge branch 'x86-iommu-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · b6d739e9
      Linus Torvalds authored
      Pull x86 iommu quirk fix from Thomas Gleixner:
       "A quirk for the iommu quirk to include silicon which was assumed not
        to be out in the wild.
      
        This time with the correct logic applied"
      
      * 'x86-iommu-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86: Adjust irq remapping quirk for older revisions of 5500/5520 chipsets
      b6d739e9
    • Linus Torvalds's avatar
      Merge branch 'x86-threadinfo-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 99f7b025
      Linus Torvalds authored
      Pull x86 threadinfo changes from Ingo Molnar:
       "The main change here is the consolidation/unification of 32 and 64 bit
        thread_info handling methods, from Steve Rostedt"
      
      * 'x86-threadinfo-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86, threadinfo: Redo "x86: Use inline assembler to get sp"
        x86: Clean up dumpstack_64.c code
        x86: Keep thread_info on thread stack in x86_32
        x86: Prepare removal of previous_esp from i386 thread_info structure
        x86: Nuke GET_THREAD_INFO_WITH_ESP() macro for i386
        x86: Nuke the supervisor_stack field in i386 thread_info
      99f7b025
    • Linus Torvalds's avatar
      Merge branch 'timers-nohz-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · a21e4087
      Linus Torvalds authored
      Pull timer updates from Ingo Molnar:
       "The main purpose is to fix a full dynticks bug related to
        virtualization, where steal time accounting appears to be zero in
        /proc/stat even after a few seconds of competing guests running busy
        loops in a same host CPU.  It's not a regression though as it was
        there since the beginning.
      
        The other commits are preparatory work to fix the bug and various
        cleanups"
      
      * 'timers-nohz-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        arch: Remove stub cputime.h headers
        sched: Remove needless round trip nsecs <-> tick conversion of steal time
        cputime: Fix jiffies based cputime assumption on steal accounting
        cputime: Bring cputime -> nsecs conversion
        cputime: Default implementation of nsecs -> cputime conversion
        cputime: Fix nsecs_to_cputime() return type cast
      a21e4087