1. 20 10月, 2016 1 次提交
    • V
      ARC: fix build warning in elf.h · 1dec7858
      Vineet Gupta 提交于
      The cast valid since TASK_SIZE * 2 will never actually cause overflow.
      
      |   CC      fs/binfmt_elf.o
      | In file included from ../include/linux/elf.h:4:0,
      |                  from ../include/linux/module.h:15,
      |                  from ../fs/binfmt_elf.c:12:
      | ../fs/binfmt_elf.c: In function load_elf_binar:
      | ../arch/arc/include/asm/elf.h:57:29: warning: integer overflow in expression [-Woverflow]
      |  #define ELF_ET_DYN_BASE  (2 * TASK_SIZE / 3)
      |                              ^
      | ../fs/binfmt_elf.c:921:16: note: in expansion of macro ELF_ET_DYN_BASE
      |     load_bias = ELF_ET_DYN_BASE - vaddr;
      Signed-off-by: NVineet Gupta <vgupta@synopsys.com>
      1dec7858
  2. 01 10月, 2016 1 次提交
  3. 22 6月, 2015 1 次提交
    • V
      ARCv2: Support for ARCv2 ISA and HS38x cores · 1f6ccfff
      Vineet Gupta 提交于
      The notable features are:
          - SMP configurations of upto 4 cores with coherency
          - Optional L2 Cache and IO-Coherency
          - Revised Interrupt Architecture (multiple priorites, reg banks,
              auto stack switch, auto regfile save/restore)
          - MMUv4 (PIPT dcache, Huge Pages)
          - Instructions for
      	* 64bit load/store: LDD, STD
      	* Hardware assisted divide/remainder: DIV, REM
      	* Function prologue/epilogue: ENTER_S, LEAVE_S
      	* IRQ enable/disable: CLRI, SETI
      	* pop count: FFS, FLS
      	* SETcc, BMSKN, XBFU...
      Signed-off-by: NVineet Gupta <vgupta@synopsys.com>
      1f6ccfff
  4. 18 3月, 2013 1 次提交
  5. 27 2月, 2013 3 次提交
  6. 11 2月, 2013 1 次提交
    • V
      ARC: Fundamental ARCH data-types/defines · 3be80aae
      Vineet Gupta 提交于
      * L1_CACHE_SHIFT
      * PAGE_SIZE, PAGE_OFFSET
      * struct pt_regs, struct user_regs_struct
      * struct thread_struct, cpu_relax(), task_pt_regs(), start_thread(), ...
      * struct thread_info, THREAD_SIZE, INIT_THREAD_INFO(), TIF_*, ...
      * BUG()
      * ELF_*
      * Elf_*
      
      To disallow user-space visibility into some of the core kernel data-types
      such as struct pt_regs, #ifdef __KERNEL__ which also makes the UAPI header
      spit (further patch in the series) to NOT export it to asm/uapi/ptrace.h
      Signed-off-by: NVineet Gupta <vgupta@synopsys.com>
      Cc: Jonas Bonn <jonas.bonn@gmail.com>
      Cc: Al Viro <viro@ZenIV.linux.org.uk>
      Acked-by: NArnd Bergmann <arnd@arndb.de>
      3be80aae