Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
  1. Oct 13, 2013
  2. Oct 12, 2013
  3. Oct 11, 2013
  4. Oct 10, 2013
    • Dave Airlie's avatar
      Merge branch 'drm-fixes-3.12' of git://people.freedesktop.org/~agd5f/linux into drm-fixes · 23026285
      Dave Airlie authored
      Regression fixes for audio and UVD, several hang fixes,
      some DPM fixes.
      
      * 'drm-fixes-3.12' of git://people.freedesktop.org/~agd5f/linux:
        drm/radeon: re-enable sw ACR support on pre-DCE4
        drm/radeon/dpm: disable bapm on TN asics
        drm/radeon: improve soft reset on CIK
        drm/radeon: improve soft reset on SI
        drm/radeon/dpm: off by one in si_set_mc_special_registers()
        drm/radeon/dpm/btc: off by one in btc_set_mc_special_registers()
        drm/radeon: forever loop on error in radeon_do_test_moves()
        drm/radeon: fix hw contexts for SUMO2 asics
        drm/radeon: fix typo in CP DMA register headers
        drm/radeon/dpm: disable multiple UVD states
        drm/radeon: use hw generated CTS/N values for audio
        drm/radeon: fix N/CTS clock matching for audio
        drm/radeon: use 64-bit math to calculate CTS values for audio (v2)
        drm/edid: catch kmalloc failure in drm_edid_to_speaker_allocation
      23026285
    • Geyslan G. Bem's avatar
      dma: edma.c: remove edma_desc leakage · 2f6d8fad
      Geyslan G. Bem authored
      
      Free memory allocated to edma_desc when failing to allocate slot.
      
      Signed-off-by: default avatarGeyslan G. Bem <geyslan@gmail.com>
      Signed-off-by: default avatarVinod Koul <vinod.koul@intel.com>
      2f6d8fad
    • Sergei Shtylyov's avatar
      rcar-hpbdma: add parameter to set_slave() method · 08d08bcd
      Sergei Shtylyov authored
      Commit 4981c4dc (DMA: shdma: switch DT mode to
      use configuration data from a match table) added a new parameter to set_slave()
      method but unfortunately got merged later than commit c4f6c41b
      
      
      (dma: add driver for R-Car HPB-DMAC), so that the HPB-DMAC driver retained the
      old prototype which caused this warning:
      
      drivers/dma/sh/rcar-hpbdma.c:485: warning: initialization from incompatible
      pointer type
      
      The newly added parameter  is used to override DMA slave address from 'struct
      hpb_dmae_slave_config', so we have to add the 'slave_addr' field to 'struct
      hpb_dmae_chan', conditionally assign it in set_slave() method, and return in
      slave_addr() method.
      
      Signed-off-by: default avatarSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
      Tested-by: default avatarSimon Horman <horms+renesas@verge.net.au>
      Signed-off-by: default avatarVinod Koul <vinod.koul@intel.com>
      08d08bcd
    • Sergei Shtylyov's avatar
      rcar-hpbdma: remove shdma_free_irq() calls · cdeb5c03
      Sergei Shtylyov authored
      Commit c1c63a14 (DMA: shdma: switch to managed
      resource allocation) got rid of shdma_free_irq() but  unfortunately got merged
      later than commit c4f6c41b
      
       (dma: add driver for
      R-Car HPB-DMAC), so that the HPB-DMAC driver retained the calls and got broken:
      
      drivers/dma/sh/rcar-hpbdma.c: In function `hpb_dmae_alloc_chan_resources':
      drivers/dma/sh/rcar-hpbdma.c:435: error: implicit declaration of function
      `shdma_free_irq'
      
      Fix this compilation error by removing the remaining shdma_free_irq() calls.
      
      Reported-by: default avatarSimon Horman <horms@verge.net.au>
      Signed-off-by: default avatarSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
      Tested-by: default avatarSimon Horman <horms+renesas@verge.net.au>
      Signed-off-by: default avatarVinod Koul <vinod.koul@intel.com>
      cdeb5c03
    • Miao Xie's avatar
      Btrfs: fix oops caused by the space balance and dead roots · c00869f1
      Miao Xie authored
      
      When doing space balance and subvolume destroy at the same time, we met
      the following oops:
      
      kernel BUG at fs/btrfs/relocation.c:2247!
      RIP: 0010: [<ffffffffa04cec16>] prepare_to_merge+0x154/0x1f0 [btrfs]
      Call Trace:
       [<ffffffffa04b5ab7>] relocate_block_group+0x466/0x4e6 [btrfs]
       [<ffffffffa04b5c7a>] btrfs_relocate_block_group+0x143/0x275 [btrfs]
       [<ffffffffa0495c56>] btrfs_relocate_chunk.isra.27+0x5c/0x5a2 [btrfs]
       [<ffffffffa0459871>] ? btrfs_item_key_to_cpu+0x15/0x31 [btrfs]
       [<ffffffffa048b46a>] ? btrfs_get_token_64+0x7e/0xcd [btrfs]
       [<ffffffffa04a3467>] ? btrfs_tree_read_unlock_blocking+0xb2/0xb7 [btrfs]
       [<ffffffffa049907d>] btrfs_balance+0x9c7/0xb6f [btrfs]
       [<ffffffffa049ef84>] btrfs_ioctl_balance+0x234/0x2ac [btrfs]
       [<ffffffffa04a1e8e>] btrfs_ioctl+0xd87/0x1ef9 [btrfs]
       [<ffffffff81122f53>] ? path_openat+0x234/0x4db
       [<ffffffff813c3b78>] ? __do_page_fault+0x31d/0x391
       [<ffffffff810f8ab6>] ? vma_link+0x74/0x94
       [<ffffffff811250f5>] vfs_ioctl+0x1d/0x39
       [<ffffffff811258c8>] do_vfs_ioctl+0x32d/0x3e2
       [<ffffffff811259d4>] SyS_ioctl+0x57/0x83
       [<ffffffff813c3bfa>] ? do_page_fault+0xe/0x10
       [<ffffffff813c73c2>] system_call_fastpath+0x16/0x1b
      
      It is because we returned the error number if the reference of the root was 0
      when doing space relocation. It was not right here, because though the root
      was dead(refs == 0), but the space it held still need be relocated, or we
      could not remove the block group. So in this case, we should return the root
      no matter it is dead or not.
      
      Signed-off-by: default avatarMiao Xie <miaox@cn.fujitsu.com>
      Signed-off-by: default avatarJosef Bacik <jbacik@fusionio.com>
      Signed-off-by: default avatarChris Mason <chris.mason@fusionio.com>
      c00869f1