<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-toradex.git/arch/arm/mm/cache-fa.S, branch v3.2.20</title>
<subtitle>Linux kernel for Apalis and Colibri modules</subtitle>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/'/>
<entry>
<title>ARM: mm: cache-fa: Use the new processor struct macros</title>
<updated>2011-07-07T14:31:05+00:00</updated>
<author>
<name>Dave Martin</name>
<email>dave.martin@linaro.org</email>
</author>
<published>2011-06-23T16:11:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=9bc7491341040632a660ab5e82dababfa32d67e3'/>
<id>9bc7491341040632a660ab5e82dababfa32d67e3</id>
<content type='text'>
Signed-off-by: Dave Martin &lt;dave.martin@linaro.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Dave Martin &lt;dave.martin@linaro.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ARM: 6466/1: implement flush_icache_all for the rest of the CPUs</title>
<updated>2010-10-28T12:54:28+00:00</updated>
<author>
<name>Mika Westerberg</name>
<email>mika.westerberg@iki.fi</email>
</author>
<published>2010-10-28T10:27:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=c8c90860cd3592fac83a349f84a20360a6498727'/>
<id>c8c90860cd3592fac83a349f84a20360a6498727</id>
<content type='text'>
Commit 81d11955bf0 ("ARM: 6405/1: Handle __flush_icache_all for
CONFIG_SMP_ON_UP") added a new function to struct cpu_cache_fns:
flush_icache_all(). It also implemented this for v6 and v7 but not
for v5 and backwards. Without the function pointer in place, we
will be calling wrong cache functions.

For example with ep93xx we get following:

    Unable to handle kernel paging request at virtual address ee070f38
    pgd = c0004000
    [ee070f38] *pgd=00000000
    Internal error: Oops: 80000005 [#1] PREEMPT
    last sysfs file:
    Modules linked in:
    CPU: 0    Not tainted  (2.6.36+ #1)
    PC is at 0xee070f38
    LR is at __dma_alloc+0x11c/0x2d0
    pc : [&lt;ee070f38&gt;]    lr : [&lt;c0032c8c&gt;]    psr: 60000013
    sp : c581bde0  ip : 00000000  fp : c0472000
    r10: c0472000  r9 : 000000d0  r8 : 00020000
    r7 : 0001ffff  r6 : 00000000  r5 : c0472400  r4 : c5980000
    r3 : c03ab7e0  r2 : 00000000  r1 : c59a0000  r0 : c5980000
    Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
    Control: c000717f  Table: c0004000  DAC: 00000017
    Process swapper (pid: 1, stack limit = 0xc581a270)
    [&lt;c0032c8c&gt;] (__dma_alloc+0x11c/0x2d0)
    [&lt;c0032e5c&gt;] (dma_alloc_writecombine+0x1c/0x24)
    [&lt;c0204148&gt;] (ep93xx_pcm_preallocate_dma_buffer+0x44/0x60)
    [&lt;c02041c0&gt;] (ep93xx_pcm_new+0x5c/0x88)
    [&lt;c01ff188&gt;] (snd_soc_instantiate_cards+0x8a8/0xbc0)
    [&lt;c01ff59c&gt;] (soc_probe+0xfc/0x134)
    [&lt;c01adafc&gt;] (platform_drv_probe+0x18/0x1c)
    [&lt;c01acca4&gt;] (driver_probe_device+0xb0/0x16c)
    [&lt;c01ac284&gt;] (bus_for_each_drv+0x48/0x84)
    [&lt;c01ace90&gt;] (device_attach+0x50/0x68)
    [&lt;c01ac0f8&gt;] (bus_probe_device+0x24/0x44)
    [&lt;c01aad7c&gt;] (device_add+0x2fc/0x44c)
    [&lt;c01adfa8&gt;] (platform_device_add+0x104/0x15c)
    [&lt;c0015eb8&gt;] (simone_init+0x60/0x94)
    [&lt;c0021410&gt;] (do_one_initcall+0xd0/0x1a4)

__dma_alloc() calls (inlined) __dma_alloc_buffer() which ends up
calling dmac_flush_range(). Now since the entries in the
arm920_cache_fns are shifted by one, we jump into address 0xee070f38
which is actually next instruction after the arm920_cache_fns
structure.

So implement flush_icache_all() for the rest of the supported CPUs
using a generic 'invalidate I cache' instruction.

Signed-off-by: Mika Westerberg &lt;mika.westerberg@iki.fi&gt;
Signed-off-by: Russell King &lt;rmk+kernel@arm.linux.org.uk&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Commit 81d11955bf0 ("ARM: 6405/1: Handle __flush_icache_all for
CONFIG_SMP_ON_UP") added a new function to struct cpu_cache_fns:
flush_icache_all(). It also implemented this for v6 and v7 but not
for v5 and backwards. Without the function pointer in place, we
will be calling wrong cache functions.

For example with ep93xx we get following:

    Unable to handle kernel paging request at virtual address ee070f38
    pgd = c0004000
    [ee070f38] *pgd=00000000
    Internal error: Oops: 80000005 [#1] PREEMPT
    last sysfs file:
    Modules linked in:
    CPU: 0    Not tainted  (2.6.36+ #1)
    PC is at 0xee070f38
    LR is at __dma_alloc+0x11c/0x2d0
    pc : [&lt;ee070f38&gt;]    lr : [&lt;c0032c8c&gt;]    psr: 60000013
    sp : c581bde0  ip : 00000000  fp : c0472000
    r10: c0472000  r9 : 000000d0  r8 : 00020000
    r7 : 0001ffff  r6 : 00000000  r5 : c0472400  r4 : c5980000
    r3 : c03ab7e0  r2 : 00000000  r1 : c59a0000  r0 : c5980000
    Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
    Control: c000717f  Table: c0004000  DAC: 00000017
    Process swapper (pid: 1, stack limit = 0xc581a270)
    [&lt;c0032c8c&gt;] (__dma_alloc+0x11c/0x2d0)
    [&lt;c0032e5c&gt;] (dma_alloc_writecombine+0x1c/0x24)
    [&lt;c0204148&gt;] (ep93xx_pcm_preallocate_dma_buffer+0x44/0x60)
    [&lt;c02041c0&gt;] (ep93xx_pcm_new+0x5c/0x88)
    [&lt;c01ff188&gt;] (snd_soc_instantiate_cards+0x8a8/0xbc0)
    [&lt;c01ff59c&gt;] (soc_probe+0xfc/0x134)
    [&lt;c01adafc&gt;] (platform_drv_probe+0x18/0x1c)
    [&lt;c01acca4&gt;] (driver_probe_device+0xb0/0x16c)
    [&lt;c01ac284&gt;] (bus_for_each_drv+0x48/0x84)
    [&lt;c01ace90&gt;] (device_attach+0x50/0x68)
    [&lt;c01ac0f8&gt;] (bus_probe_device+0x24/0x44)
    [&lt;c01aad7c&gt;] (device_add+0x2fc/0x44c)
    [&lt;c01adfa8&gt;] (platform_device_add+0x104/0x15c)
    [&lt;c0015eb8&gt;] (simone_init+0x60/0x94)
    [&lt;c0021410&gt;] (do_one_initcall+0xd0/0x1a4)

__dma_alloc() calls (inlined) __dma_alloc_buffer() which ends up
calling dmac_flush_range(). Now since the entries in the
arm920_cache_fns are shifted by one, we jump into address 0xee070f38
which is actually next instruction after the arm920_cache_fns
structure.

So implement flush_icache_all() for the rest of the supported CPUs
using a generic 'invalidate I cache' instruction.

Signed-off-by: Mika Westerberg &lt;mika.westerberg@iki.fi&gt;
Signed-off-by: Russell King &lt;rmk+kernel@arm.linux.org.uk&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ARM: dma-mapping: remove dmac_clean_range and dmac_inv_range</title>
<updated>2010-02-15T15:22:23+00:00</updated>
<author>
<name>Russell King</name>
<email>rmk+kernel@arm.linux.org.uk</email>
</author>
<published>2009-11-26T16:24:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=702b94bff3c50542a6e4ab9a4f4cef093262fe65'/>
<id>702b94bff3c50542a6e4ab9a4f4cef093262fe65</id>
<content type='text'>
These are now unused, and so can be removed.

Signed-off-by: Russell King &lt;rmk+kernel@arm.linux.org.uk&gt;
Tested-By: Santosh Shilimkar &lt;santosh.shilimkar@ti.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These are now unused, and so can be removed.

Signed-off-by: Russell King &lt;rmk+kernel@arm.linux.org.uk&gt;
Tested-By: Santosh Shilimkar &lt;santosh.shilimkar@ti.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ARM: dma-mapping: provide per-cpu type map/unmap functions</title>
<updated>2010-02-15T15:22:20+00:00</updated>
<author>
<name>Russell King</name>
<email>rmk+kernel@arm.linux.org.uk</email>
</author>
<published>2009-11-26T16:19:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=a9c9147eb9b1dba0ce567a41897c7773b4d1b0bc'/>
<id>a9c9147eb9b1dba0ce567a41897c7773b4d1b0bc</id>
<content type='text'>
Signed-off-by: Russell King &lt;rmk+kernel@arm.linux.org.uk&gt;
Tested-By: Santosh Shilimkar &lt;santosh.shilimkar@ti.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Russell King &lt;rmk+kernel@arm.linux.org.uk&gt;
Tested-By: Santosh Shilimkar &lt;santosh.shilimkar@ti.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ARM: add size argument to __cpuc_flush_dcache_page</title>
<updated>2009-12-14T14:53:22+00:00</updated>
<author>
<name>Russell King</name>
<email>rmk+kernel@arm.linux.org.uk</email>
</author>
<published>2009-11-26T12:56:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=2c9b9c8490b60428fa2d1c64042f7c7caed93940'/>
<id>2c9b9c8490b60428fa2d1c64042f7c7caed93940</id>
<content type='text'>
... and rename the function since it no longer operates on just
pages.

Signed-off-by: Russell King &lt;rmk+kernel@arm.linux.org.uk&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
... and rename the function since it no longer operates on just
pages.

Signed-off-by: Russell King &lt;rmk+kernel@arm.linux.org.uk&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ARM: Add support for FA526 v2</title>
<updated>2009-03-25T11:10:01+00:00</updated>
<author>
<name>Paulius Zaleckas</name>
<email>paulius.zaleckas@teltonika.lt</email>
</author>
<published>2009-03-25T11:10:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=28853ac8fe5221de74a14f1182d7b2b383dfd85c'/>
<id>28853ac8fe5221de74a14f1182d7b2b383dfd85c</id>
<content type='text'>
Adds support for Faraday FA526 core. This core is used at least by:
Cortina Systems Gemini and Centroid family
Cavium Networks ECONA family
Grain Media GM8120
Pixelplus ImageARM
Prolific PL-1029
Faraday IP evaluation boards

v2:
- move TLB_BTB to separate patch
- update copyrights

Signed-off-by: Paulius Zaleckas &lt;paulius.zaleckas@teltonika.lt&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Adds support for Faraday FA526 core. This core is used at least by:
Cortina Systems Gemini and Centroid family
Cavium Networks ECONA family
Grain Media GM8120
Pixelplus ImageARM
Prolific PL-1029
Faraday IP evaluation boards

v2:
- move TLB_BTB to separate patch
- update copyrights

Signed-off-by: Paulius Zaleckas &lt;paulius.zaleckas@teltonika.lt&gt;
</pre>
</div>
</content>
</entry>
</feed>
