1. 06 5月, 2017 1 次提交
    • V
      ARC: mm: fix build failure in linux-next for UP builds · 868a6530
      Vineet Gupta 提交于
      kisskb build service reported ARC defconfig build failures in linux-next
      
      | arch/arc/include/asm/mmu.h:75:21: error: 'NR_CPUS' undeclared here (not in a function)
      | make[3]: *** [arch/arc/mm/ioremap.o] Error 1
      | make[2]: *** [arch/arc/mm] Error 2
      | make[1]: *** [arch/arc] Error 2
      
      which I bisected to a subtle side-effect of a totally benign mm patch
      ("mm, vmalloc: properly track vmalloc users") which caused a header
      include chain deviation - asm/mmu.h using NR_CPUS before including
      linux/threads.h
      
      Fix that by adding the dependnet header and while it at fix a related
      header to include linux headers aheads of asm headers as sometimes that
      slso triggers such issues !
      
      Reported-by: noreply@ellerman.id.au
      Signed-off-by: NVineet Gupta <vgupta@synopsys.com>
      868a6530
  2. 29 10月, 2015 1 次提交
  3. 22 6月, 2015 1 次提交
  4. 06 11月, 2013 1 次提交
  5. 05 9月, 2013 1 次提交
    • V
      ARC: fix new Section mismatches in build (post __cpuinit cleanup) · 07b9b651
      Vineet Gupta 提交于
      ```------------>8--------------------
      WARNING: vmlinux.o(.text+0x708): Section mismatch in reference from the
      function read_arc_build_cfg_regs() to the function
      .init.text:read_decode_cache_bcr()
      
      WARNING: vmlinux.o(.text+0x702): Section mismatch in reference from the
      function read_arc_build_cfg_regs() to the function
      .init.text:read_decode_mmu_bcr()
      ```
      
      ------------>8--------------------
      Signed-off-by: NVineet Gupta <vgupta@synopsys.com>
      07b9b651
  6. 31 8月, 2013 3 次提交
    • V
      ARC: [ASID] Track ASID allocation cycles/generations · 947bf103
      Vineet Gupta 提交于
      This helps remove asid-to-mm reverse map
      
      While mm->context.id contains the ASID assigned to a process, our ASID
      allocator also used asid_mm_map[] reverse map. In a new allocation
      cycle (mm->ASID >= @asid_cache), the Round Robin ASID allocator used this
      to check if new @asid_cache belonged to some mm2 (from prev cycle).
      If so, it could locate that mm using the ASID reverse map, and mark that
      mm as unallocated ASID, to force it to refresh at the time of switch_mm()
      
      However, for SMP, the reverse map has to be maintained per CPU, so
      becomes 2 dimensional, hence got rid of it.
      
      With reverse map gone, it is NOT possible to reach out to current
      assignee. So we track the ASID allocation generation/cycle and
      on every switch_mm(), check if the current generation of CPU ASID is
      same as mm's ASID; If not it is refreshed.
      
      (Based loosely on arch/sh implementation)
      Signed-off-by: NVineet Gupta <vgupta@synopsys.com>
      947bf103
    • V
      ARC: [ASID] Refactor the TLB paranoid debug code · 5bd87adf
      Vineet Gupta 提交于
      -Asm code already has values of SW and HW ASID values, so they can be
       passed to the printing routine.
      Signed-off-by: NVineet Gupta <vgupta@synopsys.com>
      5bd87adf
    • V
      ARC: [ASID] Remove legacy/unused debug code · ade922f8
      Vineet Gupta 提交于
      Signed-off-by: NVineet Gupta <vgupta@synopsys.com>
      ade922f8
  7. 30 8月, 2013 1 次提交
  8. 22 6月, 2013 2 次提交
  9. 16 2月, 2013 1 次提交
    • V
      ARC: MMU Context Management · f1f3347d
      Vineet Gupta 提交于
      ARC700 MMU provides for tagging TLB entries with a 8-bit ASID to avoid
      having to flush the TLB every task switch.
      
      It also allows for a quick way to invalidate all the TLB entries for
      task useful for:
      * COW sementics during fork()
      * task exit()ing
      Signed-off-by: NVineet Gupta <vgupta@synopsys.com>
      f1f3347d
  10. 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
  11. 28 1月, 2013 1 次提交
  12. 10 10月, 2012 1 次提交
  13. 18 12月, 2010 1 次提交
  14. 22 11月, 2010 1 次提交
  15. 02 10月, 2010 1 次提交
    • N
      ARM: do not define VMALLOC_END relative to PAGE_OFFSET · 7c63984b
      Nicolas Pitre 提交于
      VMALLOC_END is supposed to be an absolute value, while PAGE_OFFSET may
      vary depending on the selected user:kernel memory split mode through
      CONFIG_VMSPLIT_*.  In fact, the goal of moving PAGE_OFFSET down is to
      accommodate more directly addressed RAM by the kernel below the vmalloc
      area, and having VMALLOC_END move along PAGE_OFFSET is rather against
      the very reason why PAGE_OFFSET can be moved in the first place.
      Signed-off-by: NNicolas Pitre <nicolas.pitre@linaro.org>
      7c63984b
  16. 07 8月, 2008 1 次提交
  17. 03 5月, 2005 1 次提交
  18. 17 4月, 2005 1 次提交
    • L
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds 提交于
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
      1da177e4