Date: Mon, 27 Sep 2010 09:10:38 +0200 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= <phcoder@gmail.com> To: freebsd-mips@freebsd.org Subject: [PATCH] [yeeloong] Kernel support for non-4K pages Message-ID: <4CA0436E.2080005@gmail.com>
next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. --------------070209000903090005020501 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --------------070209000903090005020501--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4CA0436E.2080005>