<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/arch/microblaze/kernel/cpu/cache.c, branch v3.4.84</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/arch/microblaze/kernel/cpu/cache.c?h=v3.4.84</id>
<link rel='self' href='https://git.amat.us/linux/atom/arch/microblaze/kernel/cpu/cache.c?h=v3.4.84'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2011-03-31T14:26:23Z</updated>
<entry>
<title>Fix common misspellings</title>
<updated>2011-03-31T14:26:23Z</updated>
<author>
<name>Lucas De Marchi</name>
<email>lucas.demarchi@profusion.mobi</email>
</author>
<published>2011-03-31T01:57:33Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=25985edcedea6396277003854657b5f3cb31a628'/>
<id>urn:sha1:25985edcedea6396277003854657b5f3cb31a628</id>
<content type='text'>
Fixes generated by 'codespell' and manually reviewed.

Signed-off-by: Lucas De Marchi &lt;lucas.demarchi@profusion.mobi&gt;
</content>
</entry>
<entry>
<title>microblaze: Fix sparse warnings - cache.c</title>
<updated>2011-03-09T07:09:58Z</updated>
<author>
<name>Michal Simek</name>
<email>monstr@monstr.eu</email>
</author>
<published>2011-02-07T11:21:42Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=954e8b9599d64a959fe81cfaa8b0e0ee6387271c'/>
<id>urn:sha1:954e8b9599d64a959fe81cfaa8b0e0ee6387271c</id>
<content type='text'>
Warning log:
CHECK   arch/microblaze/kernel/cpu/cache.c
arch/microblaze/kernel/cpu/cache.c:522:21: warning: symbol 'wb_msr' was not declared. Should it be static?
arch/microblaze/kernel/cpu/cache.c:538:21: warning: symbol 'wb_nomsr' was not declared. Should it be static?
arch/microblaze/kernel/cpu/cache.c:554:21: warning: symbol 'wt_msr' was not declared. Should it be static?
arch/microblaze/kernel/cpu/cache.c:569:21: warning: symbol 'wt_nomsr' was not declared. Should it be static?
arch/microblaze/kernel/cpu/cache.c:585:21: warning: symbol 'wt_msr_noirq' was not declared. Should it be static?
arch/microblaze/kernel/cpu/cache.c:600:21: warning: symbol 'wt_nomsr_noirq' was not declared. Should it be static?

Signed-off-by: Michal Simek &lt;monstr@monstr.eu&gt;
</content>
</entry>
<entry>
<title>microblaze: Label MB 7.20.d as broken with WB cache</title>
<updated>2011-03-09T07:09:55Z</updated>
<author>
<name>Michal Simek</name>
<email>monstr@monstr.eu</email>
</author>
<published>2010-05-31T19:16:30Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=b9dc9e7781f1c3e85e0d1b8044021fa8974422b1'/>
<id>urn:sha1:b9dc9e7781f1c3e85e0d1b8044021fa8974422b1</id>
<content type='text'>
MB version 7.20.d contains fault which is related with WB that's why
error message will be shown.

Signed-off-by: Michal Simek &lt;monstr@monstr.eu&gt;
</content>
</entry>
<entry>
<title>microblaze: Remove compilation warnings in cache macro</title>
<updated>2010-05-13T08:55:47Z</updated>
<author>
<name>Michal Simek</name>
<email>monstr@monstr.eu</email>
</author>
<published>2010-05-13T08:55:47Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=ddfbc935eae68294834dc29998f93147a5422a0d'/>
<id>urn:sha1:ddfbc935eae68294834dc29998f93147a5422a0d</id>
<content type='text'>
CC      arch/microblaze/kernel/cpu/cache.o
arch/microblaze/kernel/cpu/cache.c: In function '__invalidate_dcache_range_wb':
arch/microblaze/kernel/cpu/cache.c:398: warning: ISO C90 forbids mixed declarations and code
arch/microblaze/kernel/cpu/cache.c: In function '__flush_dcache_range_wb':
arch/microblaze/kernel/cpu/cache.c:509: warning: ISO C90 forbids mixed declara

Signed-off-by: Michal Simek &lt;monstr@monstr.eu&gt;
</content>
</entry>
<entry>
<title>microblaze: Optimize CACHE_LOOP_LIMITS and CACHE_RANGE_LOOP macros</title>
<updated>2010-05-06T09:22:00Z</updated>
<author>
<name>Michal Simek</name>
<email>monstr@monstr.eu</email>
</author>
<published>2010-04-26T06:54:13Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=3274c5707c22221574b396d140d0db3480a2027a'/>
<id>urn:sha1:3274c5707c22221574b396d140d0db3480a2027a</id>
<content type='text'>
1. Remove CACHE_ALL_LOOP2 macro because it is identical to CACHE_ALL_LOOP
2. Change BUG_ON to WARN_ON
3. Remove end aligned from CACHE_LOOP_LIMITS.
C implementation do not need aligned end address and ASM code do aligned
in their macros
4. ASM optimized  CACHE_RANGE_LOOP_1/2 macros needs to get aligned end address.
Because end address is compound from start + size, end address is the first address
which is exclude.

Here is the corresponding code which describe it.
+       int align = ~(line_length - 1);
+       end = ((end &amp; align) == end) ? end - line_length : end &amp; align;

a) end is aligned:
it is necessary to subtruct line length because we don't want to work with
next cacheline
b) end address is not aligned:
Just align it to be ready for ASM code.

Signed-off-by: Michal Simek &lt;monstr@monstr.eu&gt;
</content>
</entry>
<entry>
<title>microblaze: Fix typo fault in cache code</title>
<updated>2010-05-06T09:21:59Z</updated>
<author>
<name>Michal Simek</name>
<email>monstr@monstr.eu</email>
</author>
<published>2010-04-23T09:38:43Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=c17e1a1cedb723d48d4822cae1af1c010b608b5c'/>
<id>urn:sha1:c17e1a1cedb723d48d4822cae1af1c010b608b5c</id>
<content type='text'>
Copy &amp; paste error.

Signed-off-by: Michal Simek &lt;monstr@monstr.eu&gt;
</content>
</entry>
<entry>
<title>microblaze: Add define for ASM_LOOP</title>
<updated>2010-03-11T13:12:50Z</updated>
<author>
<name>Michal Simek</name>
<email>monstr@monstr.eu</email>
</author>
<published>2010-02-15T15:41:40Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=22607a28213068af113b46862eafa785f00a482e'/>
<id>urn:sha1:22607a28213068af113b46862eafa785f00a482e</id>
<content type='text'>
It is default option but both options must be measured.

Signed-off-by: Michal Simek &lt;monstr@monstr.eu&gt;
</content>
</entry>
<entry>
<title>microblaze: remove trailing space in messages</title>
<updated>2010-03-11T13:09:29Z</updated>
<author>
<name>Frans Pop</name>
<email>elendil@planet.nl</email>
</author>
<published>2010-02-06T17:47:12Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=4c912c1a33abb67aefecb5ed8bd73d91887c4977'/>
<id>urn:sha1:4c912c1a33abb67aefecb5ed8bd73d91887c4977</id>
<content type='text'>
Signed-off-by: Frans Pop &lt;elendil@planet.nl&gt;
Cc: microblaze-uclinux@itee.uq.edu.au
Cc: Michal Simek &lt;monstr@monstr.eu&gt;
Signed-off-by: Michal Simek &lt;monstr@monstr.eu&gt;
</content>
</entry>
<entry>
<title>microblaze: Move cache function to cache.c</title>
<updated>2010-03-11T13:07:57Z</updated>
<author>
<name>Michal Simek</name>
<email>monstr@monstr.eu</email>
</author>
<published>2010-01-12T13:51:04Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=407c1da07d5afa001ed0fdb8f379c00bbd09990a'/>
<id>urn:sha1:407c1da07d5afa001ed0fdb8f379c00bbd09990a</id>
<content type='text'>
It is better to have init cache handling on one place.

Signed-off-by: Michal Simek &lt;monstr@monstr.eu&gt;
</content>
</entry>
<entry>
<title>microblaze: Fix cache loop function for cache range</title>
<updated>2010-02-24T12:18:29Z</updated>
<author>
<name>Michal Simek</name>
<email>monstr@monstr.eu</email>
</author>
<published>2010-02-15T09:50:42Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=0d670b24729be268eba98b3920b8571f60798d8d'/>
<id>urn:sha1:0d670b24729be268eba98b3920b8571f60798d8d</id>
<content type='text'>
I create wrong asm code but none test shows that this part of code is wrong.
I am not convinces that were good idea to create asm optimized macros
for caches. The reason is that there is not optimization with previous code
that's why make sense to add old code and do some benchmarking which
functions are faster.

Signed-off-by: Michal Simek &lt;monstr@monstr.eu&gt;
</content>
</entry>
</feed>
