[PATCH 0/5] Add support for HardWare Table Walker for 32-bit cores

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

This patch adds support for the HardWare Table Walker which acts as a
hardware fast-path for the TLB Refill handler. The patch only allows 32-bit cores
to use this feature since it has only been tested on such targets. A new kernel
parameters is added, called 'nohwtw' to disable the feature and use the
regular TLB refill handler.

The patch is based on v3.16-rc5

Markos Chandras (5):
  MIPS: cpu-info: Change the cpu options variable to unsigned long long
  MIPS: cpu: Add new cpu option for HardWare Table Walker.
  MIPS: asm: Add register definitions for Hardware Table Walker
  MIPS: kernel: cpu-probe: Add support for the HardWare Table Walker
  MIPS: mm: Use the HardWare Page Table Walker if the core supports it

 arch/mips/include/asm/cpu-features.h |  4 ++
 arch/mips/include/asm/cpu-info.h     |  2 +-
 arch/mips/include/asm/cpu.h          | 57 +++++++++++-----------
 arch/mips/include/asm/mipsregs.h     | 44 +++++++++++++++++
 arch/mips/include/asm/mmu_context.h  | 10 ++++
 arch/mips/include/asm/pgtable.h      | 27 +++++++++++
 arch/mips/kernel/cpu-probe.c         | 23 +++++++++
 arch/mips/kernel/proc.c              |  1 +
 arch/mips/mm/tlb-r4k.c               | 13 +++++-
 arch/mips/mm/tlbex.c                 | 91 ++++++++++++++++++++++++++++++++++++
 10 files changed, 242 insertions(+), 30 deletions(-)

-- 
2.0.0



[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux