]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
MIPS: TLB support for hugetlbfs.
authorDavid Daney <ddaney@caviumnetworks.com>
Thu, 28 May 2009 00:47:44 +0000 (17:47 -0700)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 17 Jun 2009 10:06:30 +0000 (11:06 +0100)
commitfd062c847a8cea2821347d7e18165dfa658f7dce
tree95410c5460f7d153a9c9b15184ea52e2059427c3
parentdd7943920b492d9d8a79080fe05e25ecd7e10bc3
MIPS: TLB support for hugetlbfs.

The TLB handlers need to check for huge pages and give them special
handling.  Huge pages consist of two contiguous sub-pages of physical
memory.

* Loading entrylo0 and entrylo1 need to be handled specially.

* The page mask must be set for huge pages and then restored after
  writing the TLB entries.

* The PTE for huge pages resides in the PMD, we halt traversal of the
  tables there.

Signed-off-by: David Daney <ddaney@caviumnetworks.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/mm/tlb-r4k.c
arch/mips/mm/tlbex.c