1. 07 3月, 2013 12 次提交
  2. 25 2月, 2013 4 次提交
  3. 20 2月, 2013 2 次提交
  4. 17 2月, 2013 2 次提交
  5. 14 2月, 2013 2 次提交
    • A
      burying unused conditionals · d64008a8
      Al Viro 提交于
      __ARCH_WANT_SYS_RT_SIGACTION,
      __ARCH_WANT_SYS_RT_SIGSUSPEND,
      __ARCH_WANT_COMPAT_SYS_RT_SIGSUSPEND,
      __ARCH_WANT_COMPAT_SYS_SCHED_RR_GET_INTERVAL - not used anymore
      CONFIG_GENERIC_{SIGALTSTACK,COMPAT_RT_SIG{ACTION,QUEUEINFO,PENDING,PROCMASK}} -
      can be assumed always set.
      d64008a8
    • 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
  6. 12 2月, 2013 9 次提交
  7. 08 2月, 2013 1 次提交
  8. 06 2月, 2013 1 次提交
  9. 04 2月, 2013 3 次提交
  10. 01 2月, 2013 1 次提交
  11. 31 1月, 2013 3 次提交
    • M
      arm: arch_timer: move core to drivers/clocksource · 8a4da6e3
      Mark Rutland 提交于
      The core functionality of the arch_timer driver is not directly tied to
      anything under arch/arm, and can be split out.
      
      This patch factors out the core of the arch_timer driver, so it can be
      shared with other architectures. A couple of functions are added so
      that architecture-specific code can interact with the driver without
      needing to touch its internals.
      
      The ARM_ARCH_TIMER config variable is moved out to
      drivers/clocksource/Kconfig, existing uses in arch/arm are replaced with
      HAVE_ARM_ARCH_TIMER, which selects it.
      Signed-off-by: NMark Rutland <mark.rutland@arm.com>
      Acked-by: NCatalin Marinas <catalin.marinas@arm.com>
      Acked-by: NMarc Zyngier <marc.zyngier@arm.com>
      8a4da6e3
    • M
      arm: arch_timer: add arch_counter_set_user_access · b2deabe3
      Mark Rutland 提交于
      Several bits in CNTKCTL reset to 0, including PL0VTEN. For architectures
      using the generic timer which wish to have a fast gettimeofday vDSO
      implementation, these bits must be set to 1 by the kernel. For
      architectures without a vDSO, it's best to leave the bits set to 0 for
      now to ensure that if and when support is added, it's implemented sanely
      architecture wide.
      
      As the bootloader might set PL0VTEN to a value that doesn't correspond
      to that which the kernel prefers, we must explicitly set it to the
      architecture port's preferred value.
      
      This patch adds arch_counter_set_user_access, which sets the PL0 access
      permissions to that required by the architecture. For arch/arm, this
      currently means disabling all userspace access.
      Signed-off-by: NMark Rutland <mark.rutland@arm.com>
      Acked-by: NCatalin Marinas <catalin.marinas@arm.com>
      b2deabe3
    • M
      arm: arch_timer: add isbs to register accessors · 45801042
      Mark Rutland 提交于
      Without the isbs in arch_timer_get_cnt{p,v}ct the cpu may speculate
      reads and return stale values. This could be bad for code sensitive to
      changes in expected deltas between calls (e.g. the delay loop).
      
      Without isbs in arch_timer_reg_write the processor may reorder
      instructions around enabling/disabling of the timer or writing the
      compare value, which we probably don't want.
      
      This patch adds isbs to prevent those issues.
      Signed-off-by: NMark Rutland <mark.rutland@arm.com>
      Acked-by: NCatalin Marinas <catalin.marinas@arm.com>
      45801042