<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/arch/sh/include/asm/cachectl.h, branch v3.0.82</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/arch/sh/include/asm/cachectl.h?h=v3.0.82</id>
<link rel='self' href='https://git.amat.us/linux/atom/arch/sh/include/asm/cachectl.h?h=v3.0.82'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2009-08-24T09:59:09Z</updated>
<entry>
<title>sh: fix sys_cacheflush error checking</title>
<updated>2009-08-24T09:59:09Z</updated>
<author>
<name>Giuseppe Cavallaro</name>
<email>peppe.cavallaro@st.com</email>
</author>
<published>2009-08-24T09:59:09Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=788e6af37a4ace8721eda72e4abe66fe0f6b49fd'/>
<id>urn:sha1:788e6af37a4ace8721eda72e4abe66fe0f6b49fd</id>
<content type='text'>
sys_cacheflush should return with EINVAL if the cache parameter is not
one of ICACHE, DCACHE or BCACHE.
So, we need to include 0 in the first check.

It also adds the three definitions above as wrapper of the existent macros.

PS: ltp cacheflush01 test now passes.

Signed-off-by: Giuseppe Cavallaro &lt;peppe.cavallaro@st.com&gt;
Signed-off-by: Stuart Menefy &lt;stuart.menefy@st.com&gt;
Signed-off-by: Paul Mundt &lt;lethal@linux-sh.org&gt;
</content>
</entry>
<entry>
<title>sh: Add sys_cacheflush() call for SH CPUs.</title>
<updated>2009-08-24T09:16:56Z</updated>
<author>
<name>Stuart Menefy</name>
<email>stuart.menefy@st.com</email>
</author>
<published>2009-08-24T09:16:56Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=6d243dd37002bcee54841852ab1b8606fd457851'/>
<id>urn:sha1:6d243dd37002bcee54841852ab1b8606fd457851</id>
<content type='text'>
Adds a system call to allow user code to flush code from the cache.
You can use instructions for the data side, but the iside can
only be done by a flush ROM which really only works with a direct
mapped cache. The later SH4's have 2 way Iside, so this call allows
a portable way to flush the cache.

Signed-off-by: Stuart Menefy &lt;stuart.menefy@st.com&gt;
Signed-off-by: Paul Mundt &lt;lethal@linux-sh.org&gt;
</content>
</entry>
</feed>
