<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/include/asm-mips/page.h, branch linux-2.6.23.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.23.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.23.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2007-09-27T22:19:16Z</updated>
<entry>
<title>[MIPS] Fix CONFIG_BUILD_ELF64 kernels with symbols in CKSEG0.</title>
<updated>2007-09-27T22:19:16Z</updated>
<author>
<name>Ralf Baechle</name>
</author>
<published>2007-09-11T07:50:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7d809ba3f98b8aa8f9ba0dcdf6349958a0b77b7b'/>
<id>urn:sha1:7d809ba3f98b8aa8f9ba0dcdf6349958a0b77b7b</id>
<content type='text'>
The __pa() for those did assume that all symbols have XKPHYS values and
the math fails for any other address range.

Signed-off-by: Ralf Baechle &lt;ralf@linux-mips.org&gt;
</content>
</entry>
<entry>
<title>[MIPS] Fix PHYS_OFFSET for 64-bits kernels with 32-bits symbols</title>
<updated>2007-07-10T16:32:57Z</updated>
<author>
<name>Franck Bui-Huu</name>
</author>
<published>2007-06-04T15:46:35Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b1c65b3988c6e29ac371ab1cbbf6c4f8fb7092f8'/>
<id>urn:sha1:b1c65b3988c6e29ac371ab1cbbf6c4f8fb7092f8</id>
<content type='text'>
The current implementation of __pa() for 64-bits kernels with 32-bits
symbols is broken. In this configuration, we need 2 values for
PAGE_OFFSET, one in XKPHYS and the other in CKSEG0 space.

When the value in CKSEG0 space is used, it doesn't take into account
of PHYS_OFFSET. Even worse we can't redefine this value.

The patch restores CPHYSADDR() but in __pa()'s implementation because
it removes the need of 2 PAGE_OFFSET.

OTOH, CPHYSADDR() is quite bad when dealing with mapped kernels. So
this patch assumes there's no need to deal with such kernel in 64-bits
world.

Signed-off-by: Franck Bui-Huu &lt;fbuihuu@gmail.com&gt;
Signed-off-by: Ralf Baechle &lt;ralf@linux-mips.org&gt;
</content>
</entry>
<entry>
<title>[MIPS] Move PHY_OFFSET definition in spaces.h</title>
<updated>2007-07-10T16:32:57Z</updated>
<author>
<name>Franck Bui-Huu</name>
</author>
<published>2007-06-04T15:46:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=41b0483ee54d89f9ad068ceae3c91cdc7594d050'/>
<id>urn:sha1:41b0483ee54d89f9ad068ceae3c91cdc7594d050</id>
<content type='text'>
Signed-off-by: Franck Bui-Huu &lt;fbuihuu@gmail.com&gt;
Signed-off-by: Ralf Baechle &lt;ralf@linux-mips.org&gt;
</content>
</entry>
<entry>
<title>[MIPS] Remove LIMITED_DMA support</title>
<updated>2007-05-11T13:28:31Z</updated>
<author>
<name>Franck Bui-Huu</name>
</author>
<published>2007-05-07T16:01:53Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=599ca0fb639ba843da46c3ad1a53590763539750'/>
<id>urn:sha1:599ca0fb639ba843da46c3ad1a53590763539750</id>
<content type='text'>
This code was needed only by Jaguar ATX.

Signed-off-by: Franck Bui-Huu &lt;fbuihuu@gmail.com&gt;
Signed-off-by: Ralf Baechle &lt;ralf@linux-mips.org&gt;
</content>
</entry>
<entry>
<title>[MIPS] FLATMEM: introduce PHYS_OFFSET.</title>
<updated>2007-02-06T16:53:13Z</updated>
<author>
<name>Franck Bui-Huu</name>
</author>
<published>2007-01-10T08:44:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6f284a2ce7b8bc49cb8455b1763357897a899abb'/>
<id>urn:sha1:6f284a2ce7b8bc49cb8455b1763357897a899abb</id>
<content type='text'>
The old code was assuming that min_low_pfn was always 0. This
means that platforms having a big hole at their memory start
paid the price of wasting some memory for the allocation of
unused entries in mem_map[].

This patch prevents this waste.

It introduces PHYS_OFFSET define which is the start of the
physical memory and uses it wherever needed. Specially when
converting physical/virtual addresses into virtual/physical
ones.

Currently all platforms defines PHYS_OFFSET to 0.

Signed-off-by: Franck Bui-Huu &lt;fbuihuu@gmail.com&gt;
Signed-off-by: Ralf Baechle &lt;ralf@linux-mips.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] MIPS: Fix COW D-cache aliasing on fork</title>
<updated>2006-12-13T17:27:08Z</updated>
<author>
<name>Atsushi Nemoto</name>
</author>
<published>2006-12-12T17:14:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=bcd022801ee514e28c32837f0b3ce18c775f1a7b'/>
<id>urn:sha1:bcd022801ee514e28c32837f0b3ce18c775f1a7b</id>
<content type='text'>
Provide a custom copy_user_highpage() to deal with aliasing issues on
MIPS.  It uses kmap_coherent() to map an user page for kernel with same
color.  Rewrite copy_to_user_page() and copy_from_user_page() with the
new interfaces to avoid extra cache flushing.

The main part of this patch was originally written by Ralf Baechle;
Atushi Nemoto did the the debugging.

Signed-off-by: Atsushi Nemoto &lt;anemo@mba.ocn.ne.jp&gt;
Signed-off-by: Ralf Baechle &lt;ralf@linux-mips.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[MIPS] Introduce __pa_symbol()</title>
<updated>2006-11-30T01:14:41Z</updated>
<author>
<name>Franck Bui-Huu</name>
</author>
<published>2006-10-19T11:20:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8431fd094d625b94d364fe393076ccef88e6ce18'/>
<id>urn:sha1:8431fd094d625b94d364fe393076ccef88e6ce18</id>
<content type='text'>
This patch introduces __pa_symbol() macro which should be used to
calculate the physical address of kernel symbols. It also relies
on RELOC_HIDE() to avoid any compiler's oddities when doing
arithmetics on symbols.

Signed-off-by: Franck Bui-Huu &lt;fbuihuu@gmail.com&gt;
Signed-off-by: Ralf Baechle &lt;ralf@linux-mips.org&gt;
</content>
</entry>
<entry>
<title>[MIPS] Make __pa() aware of XKPHYS/CKSEG0 address mix for 64 bit kernels</title>
<updated>2006-11-30T01:14:41Z</updated>
<author>
<name>Franck Bui-Huu</name>
</author>
<published>2006-10-19T11:20:00Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=620a4802be8ee7989b1b6684b7198ebae02af854'/>
<id>urn:sha1:620a4802be8ee7989b1b6684b7198ebae02af854</id>
<content type='text'>
During early boot mem init, some configs couldn't use __pa() to
convert virtual into physical addresses. Specially for 64 bit
kernel cases when CONFIG_BUILD_ELF64=n. This patch make __pa()
work for _all_ configs and thus make CPHYSADDR() useless.

Signed-off-by: Franck Bui-Huu &lt;fbuihuu@gmail.com&gt;
Signed-off-by: Ralf Baechle &lt;ralf@linux-mips.org&gt;
</content>
</entry>
<entry>
<title>[MIPS] page.h: remove __pa() usages.</title>
<updated>2006-11-30T01:14:40Z</updated>
<author>
<name>Franck Bui-Huu</name>
</author>
<published>2006-10-19T11:19:59Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=99e3b942c62f42c8d5added63305e12372b06daf'/>
<id>urn:sha1:99e3b942c62f42c8d5added63305e12372b06daf</id>
<content type='text'>
__pa() was used by virt_to_page() and virt_addr_valid(). These
latter are used when kernel is initialised so __pa() is not
appropriate, we use virt_to_phys() instead.

Futhermore __pa() is going to take care of CKSEG0/XKPHYS
address mix for 64 bit kernels. This makes __pa() more complex
than virt_to_phys() and this extra work is not needed by
virt_to_page() and virt_addr_valid().

Eventually it consolidates virt_to_phys() prototype by making
its argument 'const'. this avoids some warnings that was due
to some virt_to_page() usages which pass const pointer.

Signed-off-by: Franck Bui-Huu &lt;fbuihuu@gmail.com&gt;
Signed-off-by: Ralf Baechle &lt;ralf@linux-mips.org&gt;
</content>
</entry>
<entry>
<title>[MIPS] Do not lose upper 32-bit on MIPS32 with 64-bit addresses in __pte().</title>
<updated>2006-09-27T12:37:39Z</updated>
<author>
<name>Ralf Baechle</name>
</author>
<published>2006-08-31T18:39:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d34555fb20e7abf33f86d7aa3ec0826343f38256'/>
<id>urn:sha1:d34555fb20e7abf33f86d7aa3ec0826343f38256</id>
<content type='text'>
Signed-off-by: Ralf Baechle &lt;ralf@linux-mips.org&gt;
</content>
</entry>
</feed>
