1. 14 2月, 2013 1 次提交
    • A
      ARM: disable virt_to_bus/virt_to_bus almost everywhere · a5d533ee
      Arnd Bergmann 提交于
      We are getting a number of warnings about the use of the deprecated
      bus_to_virt function in drivers using the ARM ISA DMA API:
      
      drivers/parport/parport_pc.c: In function 'parport_pc_fifo_write_block_dma':
      drivers/parport/parport_pc.c:622:3: warning: 'bus_to_virt' is deprecated
      (declared at arch/arm/include/asm/memory.h:253) [-Wdeprecated-declarations]
      
      This is only because that function gets used by the inline
      set_dma_addr() helper. We know that any driver for the ISA DMA API
      is correctly using the DMA addresses, so we can change this
      to use the __bus_to_virt() function instead, which does not warn.
      
      After this, there are no remaining drivers that are used on
      any defconfigs on ARM using virt_to_bus or bus_to_virt, with
      the exception of the OSS sound driver. That driver is only used
      on RiscPC, NetWinder and Shark, so we can set ARCH_NO_VIRT_TO_BUS
      on all other platforms and hide the deprecated functions, which
      is far more effective than marking them as deprecated, in order
      to avoid any new users of that code.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Cc: Russell King <linux@arm.linux.org.uk>
      a5d533ee
  2. 20 12月, 2012 2 次提交
  3. 14 12月, 2012 1 次提交
  4. 11 12月, 2012 1 次提交
  5. 04 12月, 2012 1 次提交
    • M
      ARM: dma-mapping: support debug_dma_mapping_error · a0157573
      Ming Lei 提交于
      Without the patch, kind of below warning will be dumped if DMA-API
      debug is enabled:
      
      [   11.069763] ------------[ cut here ]------------
      [   11.074645] WARNING: at lib/dma-debug.c:948 check_unmap+0x770/0x860()
      [   11.081420] ehci-omap ehci-omap.0: DMA-API: device driver failed to
      check map error[device address=0x0000000
      0adb78e80] [size=8 bytes] [mapped as single]
      [   11.095611] Modules linked in:
      
      Cc: Russell King <linux@arm.linux.org.uk>
      Cc: Marek Szyprowski <m.szyprowski@samsung.com>
      Signed-off-by: NMing Lei <ming.lei@canonical.com>
      Signed-off-by: NJoerg Roedel <joro@8bytes.org>
      a0157573
  6. 03 12月, 2012 1 次提交
  7. 29 11月, 2012 3 次提交
  8. 26 11月, 2012 1 次提交
  9. 23 11月, 2012 1 次提交
  10. 22 11月, 2012 1 次提交
  11. 21 11月, 2012 2 次提交
  12. 20 11月, 2012 1 次提交
  13. 19 11月, 2012 6 次提交
  14. 17 11月, 2012 2 次提交
  15. 16 11月, 2012 6 次提交
  16. 14 11月, 2012 1 次提交
  17. 13 11月, 2012 2 次提交
  18. 09 11月, 2012 6 次提交
  19. 08 11月, 2012 1 次提交
    • A
      ARM: vexpress: fix ll debug code when building multiplatform · d892a917
      Arnd Bergmann 提交于
      After "ARM: vexpress: Make the debug UART detection more specific",
      building allyesconfig in linux-next now gives me:
      
      arch/arm/kernel/debug.S: Assembler messages:
      arch/arm/kernel/debug.S:81: Error: selected processor does not support ARM mode `movw r2,#0xc 091'
      arch/arm/kernel/debug.S:81: Error: selected processor does not support ARM mode `movt r2,#0x4 10f'
      arch/arm/kernel/debug.S:97: Error: selected processor does not support ARM mode `movw r2,#0xc 091'
      arch/arm/kernel/debug.S:97: Error: selected processor does not support ARM mode `movt r2,#0x4 10f'
      arch/arm/kernel/debug.S:104: Error: selected processor does not support ARM mode `movw r3,#0x c091'
      arch/arm/kernel/debug.S:104: Error: selected processor does not support ARM mode `movt r3,#0x 410f'
      
      Since the code can never get executed on ARMv6 but might
      be built in a configuration that has ARMv6 enabled, it's
      safe to just mark it in the assembly source for being
      ARMv7-only.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Acked-by: NPawel Moll <pawel.moll@arm.com>
      d892a917