<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/arch/arm/lib/cache-cp15.c, branch v2015.10</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/u-boot.git/atom/arch/arm/lib/cache-cp15.c?h=v2015.10</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/arch/arm/lib/cache-cp15.c?h=v2015.10'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2015-04-16T12:59:33Z</updated>
<entry>
<title>ARMv7 TLB: Fixed TTBR0 and Table Descriptors to allow caching</title>
<updated>2015-04-16T12:59:33Z</updated>
<author>
<name>Bryan Brinsko</name>
<email>bryan.brinsko@rockwellcollins.com</email>
</author>
<published>2015-03-24T16:25:12Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=97840b5d1fe0960134c3553a9d9d1c1cd1be784d'/>
<id>urn:sha1:97840b5d1fe0960134c3553a9d9d1c1cd1be784d</id>
<content type='text'>
The TTBR0 register and Table Descriptors of the ARMv7 TLB weren't being
properly set to allow for the configuration specified caching modes to
be active over DRAM. This commit fixes those issues.

Signed-off-by: Bryan Brinsko &lt;bryan.brinsko@rockwellcollins.com&gt;
</content>
</entry>
<entry>
<title>ARM: cache-cp15: Use more accurate types</title>
<updated>2014-11-12T06:25:42Z</updated>
<author>
<name>Thierry Reding</name>
<email>treding@nvidia.com</email>
</author>
<published>2014-08-26T15:34:21Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=25026fa9f16dd5f9182b47f76ce5043cb35da3f4'/>
<id>urn:sha1:25026fa9f16dd5f9182b47f76ce5043cb35da3f4</id>
<content type='text'>
size_t is the canonical type to represent variables that contain a size.
Use it instead of signed integer. Physical addresses can be larger than
32-bit, so use a more appropriate type for them as well. phys_addr_t is
a type that is 32-bit on systems that use 32-bit addresses and 64-bit if
the system is 64-bit or uses a form of physical address extension to use
a larger address space on 32-bit systems. Using these types the same API
can be implemented on a wider range of systems.

Signed-off-by: Thierry Reding &lt;treding@nvidia.com&gt;
</content>
</entry>
<entry>
<title>arm: cache: Add support for write-allocate D-Cache</title>
<updated>2014-10-06T15:40:21Z</updated>
<author>
<name>Marek Vasut</name>
<email>marex@denx.de</email>
</author>
<published>2014-09-15T00:44:36Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=ff7e9700eda14ccf8ebe399d3831ef266e743c2d'/>
<id>urn:sha1:ff7e9700eda14ccf8ebe399d3831ef266e743c2d</id>
<content type='text'>
Add configuration for the write-allocate mode of L1 D-Cache on ARM.
This is needed for D-Cache operation on Cortex-A9 on the SoCFPGA .

Signed-off-by: Marek Vasut &lt;marex@denx.de&gt;
Cc: Chin Liang See &lt;clsee@altera.com&gt;
Cc: Dinh Nguyen &lt;dinguyen@altera.com&gt;
Cc: Albert Aribaud &lt;albert.u.boot@aribaud.net&gt;
Cc: Tom Rini &lt;trini@ti.com&gt;
Cc: Wolfgang Denk &lt;wd@denx.de&gt;
Cc: Pavel Machek &lt;pavel@denx.de&gt;
Acked-by: Pavel Machek &lt;pavel@denx.de&gt;
</content>
</entry>
<entry>
<title>ARM: Fix overflow in MMU setup</title>
<updated>2014-08-30T11:46:39Z</updated>
<author>
<name>Marek Vasut</name>
<email>marex@denx.de</email>
</author>
<published>2014-08-03T23:45:46Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=221a49d5bd4a512596c03bbc59fb28f4ef48bf6e'/>
<id>urn:sha1:221a49d5bd4a512596c03bbc59fb28f4ef48bf6e</id>
<content type='text'>
The patch fixes a corner case where adding size to DRAM start resulted
in a value (1 &lt;&lt; 32), which in turn overflew the u32 computation, which
resulted in 0 and it therefore prevented correct setup of the MMU tables.

The addition of DRAM bank start and it's size can end up right at the end
of the address space in the special case of a machine with enough memory.
To prevent this overflow, shift the start and size separately and add them
only after they were shifted.

Hopefully, we only have systems in tree which have DRAM size aligned to
1MiB boundary. If not, this patch would break such systems. On the other
hand, such system would be broken by design anyway.

Signed-off-by: Marek Vasut &lt;marex@denx.de&gt;
Cc: Albert ARIBAUD &lt;albert.u.boot@aribaud.net&gt;
</content>
</entry>
<entry>
<title>ARM: cache_v7: use __weak</title>
<updated>2014-07-04T17:57:22Z</updated>
<author>
<name>Jeroen Hofstee</name>
<email>jeroen@myspectrum.nl</email>
</author>
<published>2014-06-23T20:07:04Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=fcfddfd50472d7ce84ef4e2853242bbeb7b37325'/>
<id>urn:sha1:fcfddfd50472d7ce84ef4e2853242bbeb7b37325</id>
<content type='text'>
This is not only more readable but also prevents a warning
about a missing prototype. The prototypes which are actually
missing are added.

cc: Albert Aribaud &lt;albert.u.boot@aribaud.net&gt;
Signed-off-by: Jeroen Hofstee &lt;jeroen@myspectrum.nl&gt;
Reviewed-by: Tom Rini &lt;trini@ti.com&gt;
</content>
</entry>
<entry>
<title>Add GPL-2.0+ SPDX-License-Identifier to source files</title>
<updated>2013-07-24T13:44:38Z</updated>
<author>
<name>Wolfgang Denk</name>
<email>wd@denx.de</email>
</author>
<published>2013-07-08T07:37:19Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=1a4596601fd395f3afb8f82f3f840c5e00bdd57a'/>
<id>urn:sha1:1a4596601fd395f3afb8f82f3f840c5e00bdd57a</id>
<content type='text'>
Signed-off-by: Wolfgang Denk &lt;wd@denx.de&gt;
[trini: Fixup common/cmd_io.c]
Signed-off-by: Tom Rini &lt;trini@ti.com&gt;
</content>
</entry>
<entry>
<title>ARM: mmu: Set domain permissions to client access</title>
<updated>2013-03-28T08:10:58Z</updated>
<author>
<name>R Sricharan</name>
<email>r.sricharan@ti.com</email>
</author>
<published>2013-03-04T20:04:45Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=de63ac278cbaaa387da3efaf0b21b819c2b0c496'/>
<id>urn:sha1:de63ac278cbaaa387da3efaf0b21b819c2b0c496</id>
<content type='text'>
 The 'XN' execute never bit is set in the pagetables. This will
 prevent speculative prefetches to non executable regions. But the
 domain permissions are set as master in the DACR register.
 So the pagetable attribute for 'XN' is not effective. Change the
 permissions to client.

 This fixes lot of speculative prefetch aborts seen on OMAP5
 secure devices.

Signed-off-by: R Sricharan &lt;r.sricharan@ti.com&gt;
Tested-by: Vincent Stehle &lt;v-stehle@ti.com&gt;
Cc: Vincent Stehle &lt;v-stehle@ti.com&gt;
Cc: Tom Rini &lt;trini@ti.com&gt;
Cc: Albert ARIBAUD &lt;albert.u.boot@aribaud.net&gt;
</content>
</entry>
<entry>
<title>ARM: mmu: Introduce weak dram_bank_setup function</title>
<updated>2013-03-28T08:06:49Z</updated>
<author>
<name>R Sricharan</name>
<email>r.sricharan@ti.com</email>
</author>
<published>2013-03-04T20:04:44Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=96fdbec2f96c9e11758c8742409069eeef841722'/>
<id>urn:sha1:96fdbec2f96c9e11758c8742409069eeef841722</id>
<content type='text'>
Introduce a weak version of dram_bank_setup function
to allow a platform specific function.

This is used in the subsequent patch to setup dram region
without 'XN' attribute in order to enable the region
under client permissions.

Signed-off-by: R Sricharan &lt;r.sricharan@ti.com&gt;
Cc: Vincent Stehle &lt;v-stehle@ti.com&gt;
Cc: Tom Rini &lt;trini@ti.com&gt;
Cc: Albert ARIBAUD &lt;albert.u.boot@aribaud.net&gt;
</content>
</entry>
<entry>
<title>arm: Move tlb_addr and tlb_size to arch_global_data</title>
<updated>2013-02-01T20:21:58Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2012-12-13T20:48:39Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=34fd5d253dee74fa8e431fc2183aa9f2637afa04'/>
<id>urn:sha1:34fd5d253dee74fa8e431fc2183aa9f2637afa04</id>
<content type='text'>
Move these fields into arch_global_data and tidy up.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
[trini: Address tlb_size in this patch as well]
Signed-off-by: Tom Rini &lt;trini@ti.com&gt;
</content>
</entry>
<entry>
<title>arm: move flush_dcache_all() to just before disable cache</title>
<updated>2013-01-10T21:21:27Z</updated>
<author>
<name>Arun Mankuzhi</name>
<email>arun.m@samsung.com</email>
</author>
<published>2012-11-30T13:01:14Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=44df5e8d30a276985b40bb32a69584f5a7fac9a0'/>
<id>urn:sha1:44df5e8d30a276985b40bb32a69584f5a7fac9a0</id>
<content type='text'>
In Cortex-A15 architecture, when we run cache invalidate
the cache clean operation executes automatically.
So if there are any dirty cache lines before disabling the L2 cache
these will be synchronized with the main memory when
invalidate_dcache_all() runs in the last part of U-boot

The two functions after flush_dcache_all is using the stack. So this
data will be on the cache. After disable when invalidate is called the
data will be flushed from cache to memory. This corrupts the stack in
invalida_dcache_all. So this change is required to avoid the u-boot
hang.

So flush has to be done just before clearing CR_C bit

Signed-off-by: Arun Mankuzhi &lt;arun.m@samsung.com&gt;
Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
</feed>
