<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/arch/microblaze/kernel/hw_exception_handler.S, branch v3.8</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
</subtitle>
<id>https://git.shady.money/linux/atom?h=v3.8</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v3.8'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2012-10-04T12:52:54Z</updated>
<entry>
<title>microblaze: Remove additional andi which has been already done</title>
<updated>2012-10-04T12:52:54Z</updated>
<author>
<name>Michal Simek</name>
<email>monstr@monstr.eu</email>
</author>
<published>2012-08-01T08:09:28Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=1f26076084678d0edecc07aad7671d8140f97b91'/>
<id>urn:sha1:1f26076084678d0edecc07aad7671d8140f97b91</id>
<content type='text'>
Remove one additional step.

Signed-off-by: Michal Simek &lt;monstr@monstr.eu&gt;
</content>
</entry>
<entry>
<title>microblaze: Use predefined macro for ESR_DIZ</title>
<updated>2012-10-04T12:52:53Z</updated>
<author>
<name>Michal Simek</name>
<email>monstr@monstr.eu</email>
</author>
<published>2012-07-31T10:01:00Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=91836710c73497bdbd4eef966c560d178910400a'/>
<id>urn:sha1:91836710c73497bdbd4eef966c560d178910400a</id>
<content type='text'>
Just use macro instead of hardcoded value.

Signed-off-by: Michal Simek &lt;monstr@monstr.eu&gt;
</content>
</entry>
<entry>
<title>microblaze: Support 4k/16k/64k pages</title>
<updated>2012-10-04T12:52:49Z</updated>
<author>
<name>Michal Simek</name>
<email>monstr@monstr.eu</email>
</author>
<published>2012-08-01T08:29:28Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=6e80cff5430efb9dc8c12cb066e12c62d0a2d9d2'/>
<id>urn:sha1:6e80cff5430efb9dc8c12cb066e12c62d0a2d9d2</id>
<content type='text'>
Add support for page size which is supported by MMU.
Remove 8k and 32k page size because they are not supported
by MMU.

Signed-off-by: Michal Simek &lt;monstr@monstr.eu&gt;
</content>
</entry>
<entry>
<title>microblaze: Do not used hardcoded value in exception handler</title>
<updated>2012-10-04T12:47:01Z</updated>
<author>
<name>Michal Simek</name>
<email>monstr@monstr.eu</email>
</author>
<published>2012-07-31T09:30:57Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=9f78d3b5ab97a22a7e836312c495804ee4bca4ab'/>
<id>urn:sha1:9f78d3b5ab97a22a7e836312c495804ee4bca4ab</id>
<content type='text'>
Use predefined macros to support more page sizes.

Signed-off-by: Michal Simek &lt;monstr@monstr.eu&gt;
</content>
</entry>
<entry>
<title>microblaze: Handle TLB skip size dynamically</title>
<updated>2012-03-23T08:28:19Z</updated>
<author>
<name>Michal Simek</name>
<email>monstr@monstr.eu</email>
</author>
<published>2010-02-08T15:41:38Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=e02db0aa3e1976ae4e23a66077d252a2f3ba74c7'/>
<id>urn:sha1:e02db0aa3e1976ae4e23a66077d252a2f3ba74c7</id>
<content type='text'>
This patch fix the problem with rootfs on JFFS2 with early printk
console turned on.

The origin version used TLB63 for temporary early printk mapping.
The code expect that kernel is not able to use all 64 TLB entries
till early printk console is remapped by ioremap. After that
temporary mapping on TLB63 is silently lost.
This expectation give the opportunity to have early console pretty
early.

Microblaze systems with JFFS2 rootfs with early printk console turned on
used more than 64 TLB entries before kernel can remap early console.
Based on that kernel does access to bad area because early printk mapping
is rewritten.

This patch introduces tlb_skip variable which dynamically stores number
of skipped TLB entries from the TLB0. skip_tlb=2 means that TLB0 and TLB1
should be skipped.

MICROBLAZE_TLB_SKIP defines how many TLB is skipped at the kernel start.
They can be used for user purpose.

TLB 63 is used for temporary LMB mapping (MICROBLAZE_LMB_TLB_ID).

Also clean TLBLO when kernel starts.

For specific kernel sizes kernel can use just one TLB. Detect this case
and use the second TLB for general purpose.

Change _tlbia function to flush TLB entries from tlb_skip to TLB_SIZE.

Export tlb_skip size through debugfs.

Signed-off-by: Michal Simek &lt;monstr@monstr.eu&gt;
</content>
</entry>
<entry>
<title>microblaze: Introduce TLB skip size</title>
<updated>2012-03-23T08:28:18Z</updated>
<author>
<name>Michal Simek</name>
<email>monstr@monstr.eu</email>
</author>
<published>2011-04-04T13:46:03Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=1451d1d88b9aa32ac9ee54180239e9b34b6f9e86'/>
<id>urn:sha1:1451d1d88b9aa32ac9ee54180239e9b34b6f9e86</id>
<content type='text'>
TLB skip size direct how many TLBs is skipped.
Currently TLB0 and TLB1 are used for Linux kernel mapping
that's why their are skipped.

Signed-off-by: Michal Simek &lt;monstr@monstr.eu&gt;
</content>
</entry>
<entry>
<title>microblaze: Fix unaligned value saving to the stack for system with MMU</title>
<updated>2011-07-25T07:07:45Z</updated>
<author>
<name>Michal Simek</name>
<email>monstr@monstr.eu</email>
</author>
<published>2011-05-20T07:02:13Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=c11389406f19e4bddc7b347e5259aebda02b23f1'/>
<id>urn:sha1:c11389406f19e4bddc7b347e5259aebda02b23f1</id>
<content type='text'>
Several registers weren't saved correctly to the stack.

Unaligned expection for system with MMU stores
value in ex_tmp_data_loc_X address which is load to registers r3.
The next step is to move this value from r3 to a destination
register which caused unaligned exception. For several registers
this value was directly moved to the register.

For example for r28:
by "or r28, r0, r3"

but register r28 was rewritten when kernel returns from exception
handler by value saved on stack.

This patch changed r3 saving to the correct address on the stack.
For example for r28:
by "swi r3, r1, 4 * 28"

When kernel returns from the exception handler, correct value is restored.

Signed-off-by: Michal Simek &lt;monstr@monstr.eu&gt;
</content>
</entry>
<entry>
<title>microblaze: Do not use "la" pseudo instruction - use addik instead</title>
<updated>2011-03-09T07:09:54Z</updated>
<author>
<name>Michal Simek</name>
<email>monstr@monstr.eu</email>
</author>
<published>2011-02-01T08:00:57Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=cd3415779bdb13e3daaf13965c89d286a0cf0480'/>
<id>urn:sha1:cd3415779bdb13e3daaf13965c89d286a0cf0480</id>
<content type='text'>
"la" pseudo instruction is only translation to "addik".
Use directly "addik" which is described in the MB reference guide.

Signed-off-by: Michal Simek &lt;monstr@monstr.eu&gt;
</content>
</entry>
<entry>
<title>microblaze: Remove r0_ram pointer and PTO alignment</title>
<updated>2011-03-09T07:09:54Z</updated>
<author>
<name>Michal Simek</name>
<email>monstr@monstr.eu</email>
</author>
<published>2011-01-31T14:10:04Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=6e83557c38b40d6e9d1c82ad0ae59d8e5db9c50c'/>
<id>urn:sha1:6e83557c38b40d6e9d1c82ad0ae59d8e5db9c50c</id>
<content type='text'>
r0_ram pool was used for saving/restoring register
content if hw exception happen. This poll was replaced by
pt_pool_space with PT_SIZE size.
Based on this change SAVE_STATE_ARG_SPACE was removed which
caused that PTO offset is zero that's why is also removed.

r0_ram space was used as scratchpad by v850. In early
Microblaze Linux developing phase was this part of code
blindly copied.

Signed-off-by: Michal Simek &lt;monstr@monstr.eu&gt;
</content>
</entry>
<entry>
<title>microblaze: Do not use r0_ram space for hw exception debugging</title>
<updated>2011-03-09T07:09:53Z</updated>
<author>
<name>Michal Simek</name>
<email>monstr@monstr.eu</email>
</author>
<published>2011-01-31T14:07:53Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=c06b3a068223cb885d85ac4f6c31e870ca2b5aac'/>
<id>urn:sha1:c06b3a068223cb885d85ac4f6c31e870ca2b5aac</id>
<content type='text'>
Remove hw exception counting space from r0_ram. Use special
exception_debug_table poll for exception statistic.

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