<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/arch/microblaze/include/asm/cacheflush.h, branch v3.8.5</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/arch/microblaze/include/asm/cacheflush.h?h=v3.8.5</id>
<link rel='self' href='https://git.amat.us/linux/atom/arch/microblaze/include/asm/cacheflush.h?h=v3.8.5'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2011-03-09T07:09:57Z</updated>
<entry>
<title>microblaze: trivial: Add one empty line</title>
<updated>2011-03-09T07:09:57Z</updated>
<author>
<name>Michal Simek</name>
<email>monstr@monstr.eu</email>
</author>
<published>2009-07-21T10:58:21Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=0a2e1d23f2976287904e611b195f628a52b299b1'/>
<id>urn:sha1:0a2e1d23f2976287904e611b195f628a52b299b1</id>
<content type='text'>
Add one empty line to microblaze_ksyms.c.
Remove one empty line to cacheflush.h.

Signed-off-by: Michal Simek &lt;monstr@monstr.eu&gt;
</content>
</entry>
<entry>
<title>microblaze: Fix GDB issue caused by cache issue</title>
<updated>2011-03-09T07:09:55Z</updated>
<author>
<name>Michal Simek</name>
<email>monstr@monstr.eu</email>
</author>
<published>2010-05-28T12:45:38Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=a706729c3df22d5cf4a50a02c25f5ebfcb370c82'/>
<id>urn:sha1:a706729c3df22d5cf4a50a02c25f5ebfcb370c82</id>
<content type='text'>
Used the same solution as SH. Changed len to PAGE_SIZE
in copy_to_user_page macro.

Implement flush_cache_page macro.

Signed-off-by: Michal Simek &lt;monstr@monstr.eu&gt;
</content>
</entry>
<entry>
<title>microblaze: Fix copy_to_user_page macro</title>
<updated>2010-08-04T08:22:31Z</updated>
<author>
<name>Michal Simek</name>
<email>monstr@monstr.eu</email>
</author>
<published>2010-05-24T10:13:24Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=6847ba91a190fe41d21779d6b382b47b2f4c50f4'/>
<id>urn:sha1:6847ba91a190fe41d21779d6b382b47b2f4c50f4</id>
<content type='text'>
copy_to_user_page macro is used in mm/memory.c:access_process_vm
function. This function is called from ptrace code (POKETEXT, POKEDATA)
which write data to memory. Microblaze handle physical address for
caches that's why there is virt_to_phys conversion.

There is potential one location which can caused the problem on WB system.

The important is take a look at write PTRACEs requests
(POKE/TEXT, DATA, USR).

Note:
Majority of Microblaze PTRACE code is moved to generic location
in newer kernel version that's why this solution should work on
the newest kernel version too.

linux/io.h is in cacheflush because of mm/nommu.c

Tested on a WB system - hello world debugging.

Signed-off-by: Michal Simek &lt;monstr@monstr.eu&gt;
</content>
</entry>
<entry>
<title>microblaze: Implement flush_dcache_page macro</title>
<updated>2010-08-04T08:22:09Z</updated>
<author>
<name>Michal Simek</name>
<email>monstr@monstr.eu</email>
</author>
<published>2010-06-04T11:00:31Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=79e87830faf22ca636b1a1d8f4deb430ea6e1c8b'/>
<id>urn:sha1:79e87830faf22ca636b1a1d8f4deb430ea6e1c8b</id>
<content type='text'>
flush_dcache_page macro is necessary to implement for
JFFS2 rootfs support on WB system.

Signed-off-by: Michal Simek &lt;monstr@monstr.eu&gt;
</content>
</entry>
<entry>
<title>microblaze: Support for WB cache</title>
<updated>2009-12-14T07:45:10Z</updated>
<author>
<name>Michal Simek</name>
<email>monstr@monstr.eu</email>
</author>
<published>2009-12-10T10:43:57Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=2ee2ff875a4d3bdb941e2bb1173cd927c09d5a67'/>
<id>urn:sha1:2ee2ff875a4d3bdb941e2bb1173cd927c09d5a67</id>
<content type='text'>
Microblaze version 7.20.d is the first MB version which can be run
on MMU linux. Please do not used previous version because they contain
HW bug.
Based on WB support was necessary to redesign whole cache design.
Microblaze versions from 7.20.a don't need to disable IRQ and cache
before working with them that's why there are special structures for it.

Signed-off-by: Michal Simek &lt;monstr@monstr.eu&gt;
</content>
</entry>
<entry>
<title>microblaze: Move cache macro from cache.h to cacheflush.h</title>
<updated>2009-12-14T07:45:00Z</updated>
<author>
<name>Michal Simek</name>
<email>monstr@monstr.eu</email>
</author>
<published>2009-10-15T13:18:13Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=a1f55113ca2130f775eeebe799a401619bfd0295'/>
<id>urn:sha1:a1f55113ca2130f775eeebe799a401619bfd0295</id>
<content type='text'>
Signed-off-by: Michal Simek &lt;monstr@monstr.eu&gt;
</content>
</entry>
<entry>
<title>block: add helpers to run flush_dcache_page() against a bio and a request's pages</title>
<updated>2009-11-26T08:16:19Z</updated>
<author>
<name>Ilya Loginov</name>
<email>isloginov@gmail.com</email>
</author>
<published>2009-11-26T08:16:19Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=2d4dc890b5c8fabd818a8586607e6843c4375e62'/>
<id>urn:sha1:2d4dc890b5c8fabd818a8586607e6843c4375e62</id>
<content type='text'>
Mtdblock driver doesn't call flush_dcache_page for pages in request.  So,
this causes problems on architectures where the icache doesn't fill from
the dcache or with dcache aliases.  The patch fixes this.

The ARCH_IMPLEMENTS_FLUSH_DCACHE_PAGE symbol was introduced to avoid
pointless empty cache-thrashing loops on architectures for which
flush_dcache_page() is a no-op.  Every architecture was provided with this
flush pages on architectires where ARCH_IMPLEMENTS_FLUSH_DCACHE_PAGE is
equal 1 or do nothing otherwise.

See "fix mtd_blkdevs problem with caches on some architectures" discussion
on LKML for more information.

Signed-off-by: Ilya Loginov &lt;isloginov@gmail.com&gt;
Cc: Ingo Molnar &lt;mingo@elte.hu&gt;
Cc: David Woodhouse &lt;dwmw2@infradead.org&gt;
Cc: Peter Horton &lt;phorton@bitbox.co.uk&gt;
Cc: "Ed L. Cashin" &lt;ecashin@coraid.com&gt;
Signed-off-by: Jens Axboe &lt;jens.axboe@oracle.com&gt;
</content>
</entry>
<entry>
<title>microblaze_mmu_v2: Update cacheflush.h</title>
<updated>2009-05-26T14:45:22Z</updated>
<author>
<name>Michal Simek</name>
<email>monstr@monstr.eu</email>
</author>
<published>2009-05-26T14:30:28Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=46fb9be93b15bd8315622ad2f85f9516c064a785'/>
<id>urn:sha1:46fb9be93b15bd8315622ad2f85f9516c064a785</id>
<content type='text'>
Signed-off-by: Michal Simek &lt;monstr@monstr.eu&gt;
</content>
</entry>
<entry>
<title>microblaze_v8: cache support</title>
<updated>2009-03-27T13:25:16Z</updated>
<author>
<name>Michal Simek</name>
<email>monstr@monstr.eu</email>
</author>
<published>2009-03-27T13:25:16Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=8beb8503bfa305cd7d9efa590517a9c01e2f97b4'/>
<id>urn:sha1:8beb8503bfa305cd7d9efa590517a9c01e2f97b4</id>
<content type='text'>
Reviewed-by: Ingo Molnar &lt;mingo@elte.hu&gt;
Acked-by: Stephen Neuendorffer &lt;stephen.neuendorffer@xilinx.com&gt;
Acked-by: John Linn &lt;john.linn@xilinx.com&gt;
Acked-by: John Williams &lt;john.williams@petalogix.com&gt;
Signed-off-by: Michal Simek &lt;monstr@monstr.eu&gt;
</content>
</entry>
</feed>
