1. 02 2月, 2016 1 次提交
  2. 30 1月, 2016 1 次提交
  3. 29 1月, 2016 2 次提交
  4. 28 1月, 2016 4 次提交
  5. 27 1月, 2016 10 次提交
  6. 26 1月, 2016 2 次提交
  7. 25 1月, 2016 4 次提交
  8. 23 1月, 2016 2 次提交
  9. 22 1月, 2016 5 次提交
  10. 21 1月, 2016 2 次提交
    • M
      drm/rockchip: fix wrong pitch/size using on gem · e3c4abdb
      Mark Yao 提交于
      args->pitch and args->size may not be set by userspace, sometimes
      userspace only malloc args and not memset args to zero, then
      args->pitch and args->size is random, it is very danger to use
      pitch/size on gem.
      
      pitch's type is u32, and min_pitch's type is int, example,
      pitch is 0xffffffff, then pitch < min_pitch return true, then gem will
      alloc very very big bufffer, it would eat all the memory and cause kernel
      crash.
      
      Stop using pitch/size from args, calc them from other args.
      Signed-off-by: NMark Yao <mark.yao@rock-chips.com>
      e3c4abdb
    • C
      dma-mapping: always provide the dma_map_ops based implementation · e1c7e324
      Christoph Hellwig 提交于
      Move the generic implementation to <linux/dma-mapping.h> now that all
      architectures support it and remove the HAVE_DMA_ATTR Kconfig symbol now
      that everyone supports them.
      
      [valentinrothberg@gmail.com: remove leftovers in Kconfig]
      Signed-off-by: NChristoph Hellwig <hch@lst.de>
      Cc: "David S. Miller" <davem@davemloft.net>
      Cc: Aurelien Jacquiot <a-jacquiot@ti.com>
      Cc: Chris Metcalf <cmetcalf@ezchip.com>
      Cc: David Howells <dhowells@redhat.com>
      Cc: Geert Uytterhoeven <geert@linux-m68k.org>
      Cc: Haavard Skinnemoen <hskinnemoen@gmail.com>
      Cc: Hans-Christian Egtvedt <egtvedt@samfundet.no>
      Cc: Helge Deller <deller@gmx.de>
      Cc: James Hogan <james.hogan@imgtec.com>
      Cc: Jesper Nilsson <jesper.nilsson@axis.com>
      Cc: Koichi Yasutake <yasutake.koichi@jp.panasonic.com>
      Cc: Ley Foon Tan <lftan@altera.com>
      Cc: Mark Salter <msalter@redhat.com>
      Cc: Mikael Starvik <starvik@axis.com>
      Cc: Steven Miao <realmz6@gmail.com>
      Cc: Vineet Gupta <vgupta@synopsys.com>
      Cc: Christian Borntraeger <borntraeger@de.ibm.com>
      Cc: Joerg Roedel <jroedel@suse.de>
      Cc: Sebastian Ott <sebott@linux.vnet.ibm.com>
      Signed-off-by: NValentin Rothberg <valentinrothberg@gmail.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      e1c7e324
  11. 20 1月, 2016 6 次提交
  12. 18 1月, 2016 1 次提交