<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/arch/mips/kernel/cmpxchg.c, branch linux-4.13.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.13.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.13.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2017-06-29T00:42:25Z</updated>
<entry>
<title>MIPS: cmpxchg: Implement 1 byte &amp; 2 byte cmpxchg()</title>
<updated>2017-06-29T00:42:25Z</updated>
<author>
<name>Paul Burton</name>
</author>
<published>2017-06-10T00:26:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3ba7f44d2b19166b34031db48ce613d1bddbd384'/>
<id>urn:sha1:3ba7f44d2b19166b34031db48ce613d1bddbd384</id>
<content type='text'>
Implement support for 1 &amp; 2 byte cmpxchg() using read-modify-write atop
a 4 byte cmpxchg(). This allows us to support these atomic operations
despite the MIPS ISA only providing 4 &amp; 8 byte atomic operations.

This is required in order to support queued rwlocks (qrwlock) in a later
patch, since these make use of a 1 byte cmpxchg() in their slow path.

Signed-off-by: Paul Burton &lt;paul.burton@imgtec.com&gt;
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/16355/
Signed-off-by: Ralf Baechle &lt;ralf@linux-mips.org&gt;
</content>
</entry>
<entry>
<title>MIPS: cmpxchg: Implement 1 byte &amp; 2 byte xchg()</title>
<updated>2017-06-29T00:42:25Z</updated>
<author>
<name>Paul Burton</name>
</author>
<published>2017-06-10T00:26:39Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b70eb30056dc84568f3d32440d9be6a558025843'/>
<id>urn:sha1:b70eb30056dc84568f3d32440d9be6a558025843</id>
<content type='text'>
Implement 1 &amp; 2 byte xchg() using read-modify-write atop a 4 byte
cmpxchg(). This allows us to support these atomic operations despite the
MIPS ISA only providing for 4 &amp; 8 byte atomic operations.

This is required in order to support queued spinlocks (qspinlock) in a
later patch, since these make use of a 2 byte xchg() in their slow path.

Signed-off-by: Paul Burton &lt;paul.burton@imgtec.com&gt;
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/16354/
Signed-off-by: Ralf Baechle &lt;ralf@linux-mips.org&gt;
</content>
</entry>
</feed>
