1. 04 12月, 2014 2 次提交
    • F
      arm64: Provide a namespace to NCAPS · 06f9eb88
      Fabio Estevam 提交于
      Building arm64.allmodconfig leads to the following warning:
      
      usb/gadget/function/f_ncm.c:203:0: warning: "NCAPS" redefined
       #define NCAPS (USB_CDC_NCM_NCAP_ETH_FILTER | USB_CDC_NCM_NCAP_CRC_MODE)
       ^
      In file included from /home/build/work/batch/arch/arm64/include/asm/io.h:32:0,
                       from /home/build/work/batch/include/linux/clocksource.h:19,
                       from /home/build/work/batch/include/clocksource/arm_arch_timer.h:19,
                       from /home/build/work/batch/arch/arm64/include/asm/arch_timer.h:27,
                       from /home/build/work/batch/arch/arm64/include/asm/timex.h:19,
                       from /home/build/work/batch/include/linux/timex.h:65,
                       from /home/build/work/batch/include/linux/sched.h:19,
                       from /home/build/work/batch/arch/arm64/include/asm/compat.h:25,
                       from /home/build/work/batch/arch/arm64/include/asm/stat.h:23,
                       from /home/build/work/batch/include/linux/stat.h:5,
                       from /home/build/work/batch/include/linux/module.h:10,
                       from /home/build/work/batch/drivers/usb/gadget/function/f_ncm.c:19:
      arch/arm64/include/asm/cpufeature.h:27:0: note: this is the location of the previous definition
       #define NCAPS     2
      
      So add a ARM64 prefix to avoid such problem.
      Reported-by: NOlof's autobuilder <build@lixom.net>
      Signed-off-by: NFabio Estevam <fabio.estevam@freescale.com>
      Signed-off-by: NWill Deacon <will.deacon@arm.com>
      06f9eb88
    • Z
      arm64: bpf: lift restriction on last instruction · 51c9fbb1
      Zi Shen Lim 提交于
      Earlier implementation assumed last instruction is BPF_EXIT.
      Since this is no longer a restriction in eBPF, we remove this
      limitation.
      
      Per Alexei Starovoitov [1]:
      > classic BPF has a restriction that last insn is always BPF_RET.
      > eBPF doesn't have BPF_RET instruction and this restriction.
      > It has BPF_EXIT insn which can appear anywhere in the program
      > one or more times and it doesn't have to be last insn.
      
      [1] https://lkml.org/lkml/2014/11/27/2
      
      Fixes: e54bcde3 ("arm64: eBPF JIT compiler")
      Acked-by: NAlexei Starovoitov <ast@plumgrid.com>
      Signed-off-by: NZi Shen Lim <zlim.lnx@gmail.com>
      Signed-off-by: NWill Deacon <will.deacon@arm.com>
      51c9fbb1
  2. 03 12月, 2014 1 次提交
  3. 01 12月, 2014 1 次提交
  4. 28 11月, 2014 6 次提交
  5. 27 11月, 2014 3 次提交
  6. 26 11月, 2014 2 次提交
  7. 25 11月, 2014 16 次提交
  8. 21 11月, 2014 8 次提交
  9. 20 11月, 2014 1 次提交
    • S
      arm64: percpu: Implement this_cpu operations · f97fc810
      Steve Capper 提交于
      The generic this_cpu operations disable interrupts to ensure that the
      requested operation is protected from pre-emption. For arm64, this is
      overkill and can hurt throughput and latency.
      
      This patch provides arm64 specific implementations for the this_cpu
      operations. Rather than disable interrupts, we use the exclusive
      monitor or atomic operations as appropriate.
      
      The following operations are implemented: add, add_return, and, or,
      read, write, xchg. We also wire up a cmpxchg implementation from
      cmpxchg.h.
      
      Testing was performed using the percpu_test module and hackbench on a
      Juno board running 3.18-rc4.
      Signed-off-by: NSteve Capper <steve.capper@linaro.org>
      Reviewed-by: NWill Deacon <will.deacon@arm.com>
      Signed-off-by: NWill Deacon <will.deacon@arm.com>
      f97fc810