[PATCH] [yeeloong] Kernel support for non-4K pages

Jayachandran C. c.jayachandran at gmail.com
Mon Sep 27 11:21:10 UTC 2010


2010/9/27 Vladimir 'φ-coder/phcoder' Serbinenko <phcoder at gmail.com>:
> On 09/27/2010 09:10 AM, Vladimir 'φ-coder/phcoder' Serbinenko wrote:
>> 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.

I'll see if I can get this to work on XLR also, thanks for splitting this out.

JC.


More information about the freebsd-mips mailing list