1. 15 7月, 2013 1 次提交
  2. 04 7月, 2013 1 次提交
  3. 26 6月, 2013 1 次提交
  4. 25 6月, 2013 2 次提交
  5. 24 6月, 2013 1 次提交
  6. 21 6月, 2013 1 次提交
    • M
      spi/pxa2xx: fix memory corruption due to wrong size used in devm_kzalloc() · cc0ee987
      Mika Westerberg 提交于
      ACPI part of the driver accidentally used sizeof(*ssp) instead of the
      correct sizeof(*pdata). This leads to nasty memory corruptions like the one
      below:
      
          BUG: unable to handle kernel paging request at 0000000749fd30b8
          IP: [<ffffffff813fe8a1>] __list_del_entry+0x31/0xd0
          PGD 0
          Oops: 0000 [#1] PREEMPT SMP
          Modules linked in:
          CPU: 0 PID: 30 Comm: kworker/0:1 Not tainted 3.10.0-rc6v3.10-rc6_sdhci_modprobe+ #443
          task: ffff8801483a0940 ti: ffff88014839e000 task.ti: ffff88014839e000
          RIP: 0010:[<ffffffff813fe8a1>]  [<ffffffff813fe8a1>] __list_del_entry+0x31/0xd0
          RSP: 0000:ffff88014839fde8  EFLAGS: 00010046
          RAX: ffff880149fd30b0 RBX: ffff880149fd3040 RCX: dead000000200200
          RDX: 0000000749fd30b0 RSI: ffff880149fd3058 RDI: ffff88014834d640
          RBP: ffff88014839fde8 R08: ffff88014834d640 R09: 0000000000000001
          R10: ffff8801483a0940 R11: 0000000000000001 R12: ffff880149fd3040
          R13: ffffffff810e0b30 R14: ffff8801483a0940 R15: ffff88014834d640
          FS:  0000000000000000(0000) GS:ffff880149e00000(0000) knlGS:0000000000000000
          CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
          CR2: 0000000000000168 CR3: 0000000001e0b000 CR4: 00000000001407f0
          DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
          DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
          Stack:
           ffff88014839fe48 ffffffff810e0baf ffffffff81120abd ffff88014839fe20
           ffff8801483a0940 ffff8801483a0940 ffff8801483a0940 ffff8801486b1c90
           ffff88014834d640 ffffffff810e0b30 0000000000000000 0000000000000000
          Call Trace:
           [<ffffffff810e0baf>] worker_thread+0x7f/0x390
           [<ffffffff81120abd>] ? trace_hardirqs_on+0xd/0x10
           [<ffffffff810e0b30>] ? manage_workers.isra.22+0x2b0/0x2b0
           [<ffffffff810e6c09>] kthread+0xd9/0xe0
           [<ffffffff810f93df>] ? local_clock+0x3f/0x50
           [<ffffffff810e6b30>] ? kthread_create_on_node+0x110/0x110
           [<ffffffff818c5dec>] ret_from_fork+0x7c/0xb0
           [<ffffffff810e6b30>] ? kthread_create_on_node+0x110/0x110
      
      Fix this by using the right structure size in devm_kzalloc().
      Reported-by: NJerome Blin <jerome.blin@intel.com>
      Signed-off-by: NMika Westerberg <mika.westerberg@linux.intel.com>
      Signed-off-by: NMark Brown <broonie@linaro.org>
      Cc: stable@vger.kernel.org # 3.9+
      cc0ee987
  7. 20 6月, 2013 3 次提交
  8. 19 6月, 2013 1 次提交
  9. 18 6月, 2013 2 次提交
  10. 17 6月, 2013 2 次提交
  11. 16 6月, 2013 1 次提交
    • L
      spi: pl022: use pinctrl PM helpers · f1c9cf07
      Linus Walleij 提交于
      This utilize the new pinctrl core PM helpers to transition
      the driver to "sleep" and "idle" states, cutting away some
      boilerplate code.
      
      Cc: Hebbar Gururaja <gururaja.hebbar@ti.com>
      Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
      Cc: Kevin Hilman <khilman@linaro.org>
      Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
      Cc: Stephen Warren <swarren@wwwdotorg.org>
      Cc: Wolfram Sang <wsa@the-dreams.de>
      Acked-by: NMark Brown <broonie@kernel.org>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      f1c9cf07
  12. 11 6月, 2013 2 次提交
  13. 10 6月, 2013 1 次提交
  14. 06 6月, 2013 1 次提交
  15. 05 6月, 2013 9 次提交
  16. 04 6月, 2013 1 次提交
  17. 03 6月, 2013 2 次提交
    • R
      spi: atmel: convert to dma_request_slave_channel_compat() · 2f767a9f
      Richard Genoud 提交于
      Use generic DMA DT helper.
      Platforms booting with or without DT populated are both supported.
      
      Based on Ludovic Desroches <ludovic.desroches@atmel.com> patchset
      "ARM: at91: move to generic DMA device tree binding"
      Signed-off-by: NRichard Genoud <richard.genoud@gmail.com>
      Acked-by: NLudovic Desroches <ludovic.desroches@gmail.com>
      Signed-off-by: NMark Brown <broonie@linaro.org>
      2f767a9f
    • A
      spi: sirf: avoid uninitialized-use warning · 804ae438
      Arnd Bergmann 提交于
      24778be2 "spi: convert drivers to use bits_per_word_mask"
      removed the "default" statement in the spi_sirfsoc_setup_transfer
      switch, causing a new warning:
      
      drivers/spi/spi-sirf.c: In function 'spi_sirfsoc_setup_transfer':
      arch/arm/include/asm/io.h:90:2: warning: 'rxfifo_ctrl' may be used uninitialized in this function [-Wmaybe-uninitialized]
        asm volatile("str %1, %0"
        ^
      drivers/spi/spi-sirf.c:364:19: note: 'rxfifo_ctrl' was declared here
        u32 txfifo_ctrl, rxfifo_ctrl;
                         ^
      
      The compiler has correctly identified that this case may happen,
      but since we know that things are horribly broken if bits_per_word
      is ever something other than the values we tested, calling BUG()
      is an appropriate action and tells the compiler that execution
      will not continue afterwards.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Cc: Stephen Warren <swarren@wwwdotorg.org>
      Cc: Mark Brown <broonie@kernel.org>
      Signed-off-by: NMark Brown <broonie@linaro.org>
      804ae438
  18. 02 6月, 2013 3 次提交
  19. 30 5月, 2013 2 次提交
  20. 28 5月, 2013 1 次提交
  21. 23 5月, 2013 2 次提交
新手
引导
客服 返回
顶部