<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/arch/x86/include/asm/fixmap.h, branch linux-2.6.30.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.30.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.30.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2009-07-30T21:39:42Z</updated>
<entry>
<title>x86: Fix fixmap page order for FIX_TEXT_POKE0,1</title>
<updated>2009-07-30T21:39:42Z</updated>
<author>
<name>Mathieu Desnoyers</name>
</author>
<published>2009-07-01T21:37:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c242f9dd84db9159fd64b9d254660eabd90503b0'/>
<id>urn:sha1:c242f9dd84db9159fd64b9d254660eabd90503b0</id>
<content type='text'>
commit 12b9d7ccb841805e347fec8f733f368f43ddba40 upstream.

Masami reported:

&gt; Since the fixmap pages are assigned higher address to lower,
&gt; text_poke() has to use it with inverted order (FIX_TEXT_POKE1
&gt; to FIX_TEXT_POKE0).

I prefer to just invert the order of the fixmap declaration.
It's simpler and more straightforward.

Backward fixmaps seems to be used by both x86 32 and 64.

It's really rare but a nasty bug, because it only hurts when
instructions to patch are crossing a page boundary. If this
happens, the fixmap write accesses will spill on the following
fixmap, which may very well crash the system. And this does not
crash the system, it could leave illegal instructions in place.
Thanks Masami for finding this.

It seems to have crept into the 2.6.30-rc series, so this calls
for a -stable inclusion.

Signed-off-by: Mathieu Desnoyers &lt;mathieu.desnoyers@polymtl.ca&gt;
Acked-by: Masami Hiramatsu &lt;mhiramat@redhat.com&gt;
LKML-Reference: &lt;20090701213722.GH19926@Krystal&gt;
Signed-off-by: Ingo Molnar &lt;mingo@elte.hu&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>x86: Fix fixmap ordering</title>
<updated>2009-07-30T21:39:39Z</updated>
<author>
<name>Jan Beulich</name>
</author>
<published>2009-06-30T10:52:23Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7a8f2ee411cc5ab729466f574da09ea8d74d709d'/>
<id>urn:sha1:7a8f2ee411cc5ab729466f574da09ea8d74d709d</id>
<content type='text'>
commit 789d03f584484af85dbdc64935270c8e45f36ef7 upstream.

The merge of the 32- and 64-bit fixmap headers made a latent
bug on x86-64 a real one: with the right config settings
it is possible for FIX_OHCI1394_BASE to overlap the FIX_BTMAP_*
range.

Signed-off-by: Jan Beulich &lt;jbeulich@novell.com&gt;
LKML-Reference: &lt;4A4A0A8702000078000082E8@vpn.id2.novell.com&gt;
Signed-off-by: Ingo Molnar &lt;mingo@elte.hu&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>x86: fix set_fixmap to use phys_addr_t</title>
<updated>2009-04-09T23:41:45Z</updated>
<author>
<name>Masami Hiramatsu</name>
</author>
<published>2009-04-09T17:55:33Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3b3809ac5375f614bbf8671cddeae3c693aa584e'/>
<id>urn:sha1:3b3809ac5375f614bbf8671cddeae3c693aa584e</id>
<content type='text'>
Use phys_addr_t for receiving a physical address argument instead of
unsigned long.  This allows fixmap to handle pages higher than 4GB on
x86-32.

Signed-off-by: Masami Hiramatsu &lt;mhiramat@redhat.com&gt;
Cc: Ingo Molnar &lt;mingo@elte.hu&gt;
Acked-by: Mathieu Desnoyers &lt;mathieu.desnoyers@polymtl.ca&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>x86: implement atomic text_poke() via fixmap</title>
<updated>2009-03-06T15:49:01Z</updated>
<author>
<name>Masami Hiramatsu</name>
</author>
<published>2009-03-06T15:37:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=78ff7fae04554b49d29226ed12536268c2500d1f'/>
<id>urn:sha1:78ff7fae04554b49d29226ed12536268c2500d1f</id>
<content type='text'>
Use fixmaps instead of vmap/vunmap in text_poke() for avoiding
page allocation and delayed unmapping.

At the result of above change, text_poke() becomes atomic and can be called
from stop_machine() etc.

Signed-off-by: Masami Hiramatsu &lt;mhiramat@redhat.com&gt;
Acked-by: Mathieu Desnoyers &lt;mathieu.desnoyers@polymtl.ca&gt;
LKML-Reference: &lt;49B14352.2040705@redhat.com&gt;
Signed-off-by: Ingo Molnar &lt;mingo@elte.hu&gt;
</content>
</entry>
<entry>
<title>Merge branch 'x86/urgent' into x86/core</title>
<updated>2009-03-05T20:48:50Z</updated>
<author>
<name>Ingo Molnar</name>
</author>
<published>2009-03-05T20:48:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a1413c89ae6a4b7a9a43f7768934a81ffb5c629a'/>
<id>urn:sha1:a1413c89ae6a4b7a9a43f7768934a81ffb5c629a</id>
<content type='text'>
Conflicts:
	arch/x86/include/asm/fixmap_64.h
Semantic merge:
	arch/x86/include/asm/fixmap.h

Signed-off-by: Ingo Molnar &lt;mingo@elte.hu&gt;
</content>
</entry>
<entry>
<title>x86, fixmap: unify fixmap.h</title>
<updated>2009-02-28T04:57:48Z</updated>
<author>
<name>Gustavo F. Padovan</name>
</author>
<published>2009-02-16T00:48:59Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c577b098f9bf467fb05dc279ba83604cb3f7cea0'/>
<id>urn:sha1:c577b098f9bf467fb05dc279ba83604cb3f7cea0</id>
<content type='text'>
Impact: unification

This patch unify fixmap_32.h and fixmap_64.h into fixmap.h.
Things that we can't merge now are using CONFIG_X86_{32,64}
(e.g.:vsyscall and EFI)

Signed-off-by: Gustavo F. Padovan &lt;gustavo@las.ic.unicamp.br&gt;
Acked-by: Glauber Costa &lt;gcosta@redhat.com&gt;
Signed-off-by: H. Peter Anvin &lt;hpa@zytor.com&gt;
</content>
</entry>
<entry>
<title>x86: add iomap_atomic*()/iounmap_atomic() on 32-bit using fixmaps</title>
<updated>2008-10-31T09:12:38Z</updated>
<author>
<name>Keith Packard</name>
</author>
<published>2008-10-31T02:37:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=fd9409343521eac22b6ed51686128a643c7c976b'/>
<id>urn:sha1:fd9409343521eac22b6ed51686128a643c7c976b</id>
<content type='text'>
Impact: introduce new APIs, separate kmap code from CONFIG_HIGHMEM

This takes the code used for CONFIG_HIGHMEM memory mappings except that
it's designed for dynamic IO resource mapping.

These fixmaps are available even with CONFIG_HIGHMEM turned off.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
Signed-off-by: Eric Anholt &lt;eric@anholt.net&gt;
Signed-off-by: Ingo Molnar &lt;mingo@elte.hu&gt;
</content>
</entry>
<entry>
<title>x86: Fix ASM_X86__ header guards</title>
<updated>2008-10-23T05:55:23Z</updated>
<author>
<name>H. Peter Anvin</name>
</author>
<published>2008-10-23T05:26:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1965aae3c98397aad957412413c07e97b1bd4e64'/>
<id>urn:sha1:1965aae3c98397aad957412413c07e97b1bd4e64</id>
<content type='text'>
Change header guards named "ASM_X86__*" to "_ASM_X86_*" since:

a. the double underscore is ugly and pointless.
b. no leading underscore violates namespace constraints.

Signed-off-by: H. Peter Anvin &lt;hpa@zytor.com&gt;
</content>
</entry>
<entry>
<title>x86, um: ... and asm-x86 move</title>
<updated>2008-10-23T05:55:20Z</updated>
<author>
<name>Al Viro</name>
</author>
<published>2008-08-18T01:05:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=bb8985586b7a906e116db835c64773b7a7d51663'/>
<id>urn:sha1:bb8985586b7a906e116db835c64773b7a7d51663</id>
<content type='text'>
Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
Signed-off-by: H. Peter Anvin &lt;hpa@zytor.com&gt;
</content>
</entry>
</feed>
