[PATCH] [yeeloong] Kernel support for non-4K pages
Vladimir 'φ-coder/phcoder' Serbinenko
phcoder at gmail.com
Mon Sep 27 08:18:07 UTC 2010
Loongson CPUs have an annoying VIPT cache and 14 bits of virtual address
are used for tagging. So either we need an excessive and difficult to
maintain cache flushing or to use 16K or biger pages. Note than when
configuring Linux on Yeeloong only page size of 16K and 64K are proposed.
This patch fixes bunch of hardcoding of page size related constants and
changes PAGE_SHIFT to 14 on Yeeloong.
--
Regards
Vladimir 'φ-coder/phcoder' Serbinenko
More information about the freebsd-mips
mailing list