<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bcm63xx/atf/lib/el3_runtime/aarch32, branch master</title>
<subtitle>Broadcom-s Trusted Firmware A</subtitle>
<id>https://git.openwrt.org/project/bcm63xx/atf/atom?h=master</id>
<link rel='self' href='https://git.openwrt.org/project/bcm63xx/atf/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/atf/'/>
<updated>2019-09-26T15:36:02Z</updated>
<entry>
<title>AArch32: Disable Secure Cycle Counter</title>
<updated>2019-09-26T15:36:02Z</updated>
<author>
<name>Alexei Fedorov</name>
</author>
<published>2019-08-20T14:22:44Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/atf/commit/?id=c3e8b0be9bde36d220beea5d0452ecd04dcd94c6'/>
<id>urn:sha1:c3e8b0be9bde36d220beea5d0452ecd04dcd94c6</id>
<content type='text'>
This patch changes implementation for disabling Secure Cycle
Counter. For ARMv8.5 the counter gets disabled by setting
SDCR.SCCD bit on CPU cold/warm boot. For the earlier
architectures PMCR register is saved/restored on secure
world entry/exit from/to Non-secure state, and cycle counting
gets disabled by setting PMCR.DP bit.
In 'include\aarch32\arch.h' header file new
ARMv8.5-PMU related definitions were added.

Change-Id: Ia8845db2ebe8de940d66dff479225a5b879316f8
Signed-off-by: Alexei Fedorov &lt;Alexei.Fedorov@arm.com&gt;
</content>
</entry>
<entry>
<title>Sanitise includes across codebase</title>
<updated>2019-01-04T10:43:17Z</updated>
<author>
<name>Antonio Nino Diaz</name>
</author>
<published>2018-12-14T00:18:21Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/atf/commit/?id=09d40e0e08283a249e7dce0e106c07c5141f9b7e'/>
<id>urn:sha1:09d40e0e08283a249e7dce0e106c07c5141f9b7e</id>
<content type='text'>
Enforce full include path for includes. Deprecate old paths.

The following folders inside include/lib have been left unchanged:

- include/lib/cpus/${ARCH}
- include/lib/el3_runtime/${ARCH}

The reason for this change is that having a global namespace for
includes isn't a good idea. It defeats one of the advantages of having
folders and it introduces problems that are sometimes subtle (because
you may not know the header you are actually including if there are two
of them).

For example, this patch had to be created because two headers were
called the same way: e0ea0928d5b7 ("Fix gpio includes of mt8173 platform
to avoid collision."). More recently, this patch has had similar
problems: 46f9b2c3a282 ("drivers: add tzc380 support").

This problem was introduced in commit 4ecca33988b9 ("Move include and
source files to logical locations"). At that time, there weren't too
many headers so it wasn't a real issue. However, time has shown that
this creates problems.

Platforms that want to preserve the way they include headers may add the
removed paths to PLAT_INCLUDES, but this is discouraged.

Change-Id: I39dc53ed98f9e297a5966e723d1936d6ccf2fc8f
Signed-off-by: Antonio Nino Diaz &lt;antonio.ninodiaz@arm.com&gt;
</content>
</entry>
<entry>
<title>context_mgmt: Fix MISRA defects</title>
<updated>2018-11-01T14:15:39Z</updated>
<author>
<name>Antonio Nino Diaz</name>
</author>
<published>2018-10-31T15:25:35Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/atf/commit/?id=a0fee7474fb946fcbcd43c4947cf113147e26301'/>
<id>urn:sha1:a0fee7474fb946fcbcd43c4947cf113147e26301</id>
<content type='text'>
The macro EL_IMPLEMENTED() has been deprecated in favour of the new
function el_implemented().

Change-Id: Ic9b1b81480b5e019b50a050e8c1a199991bf0ca9
Signed-off-by: Antonio Nino Diaz &lt;antonio.ninodiaz@arm.com&gt;
</content>
</entry>
<entry>
<title>Fix MISRA defects in extension libs</title>
<updated>2018-10-29T14:41:48Z</updated>
<author>
<name>Antonio Nino Diaz</name>
</author>
<published>2018-10-25T15:52:26Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/atf/commit/?id=40daecc1be51383c806c0ac953303e47026abcac'/>
<id>urn:sha1:40daecc1be51383c806c0ac953303e47026abcac</id>
<content type='text'>
No functional changes.

Change-Id: I2f28f20944f552447ac4e9e755493cd7c0ea1192
Signed-off-by: Antonio Nino Diaz &lt;antonio.ninodiaz@arm.com&gt;
</content>
</entry>
<entry>
<title>context_mgmt: Make cm_init_context_common public</title>
<updated>2018-05-23T12:50:18Z</updated>
<author>
<name>Antonio Nino Diaz</name>
</author>
<published>2018-05-22T09:09:10Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/atf/commit/?id=1634cae89d0e62853f6addbbaef8557893ee5613'/>
<id>urn:sha1:1634cae89d0e62853f6addbbaef8557893ee5613</id>
<content type='text'>
This function can be currently accessed through the wrappers
cm_init_context_by_index() and cm_init_my_context(). However, they only
work on contexts that are associated to a CPU.

By making this function public, it is possible to set up a context that
isn't associated to any CPU. For consistency, it has been renamed to
cm_setup_context().

Change-Id: Ib2146105abc8137bab08745a8adb30ca2c4cedf4
Signed-off-by: Antonio Nino Diaz &lt;antonio.ninodiaz@arm.com&gt;
</content>
</entry>
<entry>
<title>Rename 'smcc' to 'smccc'</title>
<updated>2018-03-21T10:49:27Z</updated>
<author>
<name>Antonio Nino Diaz</name>
</author>
<published>2018-03-21T10:49:27Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/atf/commit/?id=085e80ec111b2ab3607f0f38f6ef0062922bc196'/>
<id>urn:sha1:085e80ec111b2ab3607f0f38f6ef0062922bc196</id>
<content type='text'>
When the source code says 'SMCC' it is talking about the SMC Calling
Convention. The correct acronym is SMCCC. This affects a few definitions
and file names.

Some files have been renamed (smcc.h, smcc_helpers.h and smcc_macros.S)
but the old files have been kept for compatibility, they include the
new ones with an ERROR_DEPRECATED guard.

Change-Id: I78f94052a502436fdd97ca32c0fe86bd58173f2f
Signed-off-by: Antonio Nino Diaz &lt;antonio.ninodiaz@arm.com&gt;
</content>
</entry>
<entry>
<title>AMU: Implement support for aarch32</title>
<updated>2017-11-29T09:36:35Z</updated>
<author>
<name>Dimitris Papastamos</name>
</author>
<published>2017-10-17T13:03:14Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/atf/commit/?id=ef69e1ea629542865f2c9b04df578aaa3966fb6a'/>
<id>urn:sha1:ef69e1ea629542865f2c9b04df578aaa3966fb6a</id>
<content type='text'>
The `ENABLE_AMU` build option can be used to enable the
architecturally defined AMU counters.  At present, there is no support
for the auxiliary counter group.

Change-Id: Ifc7532ef836f83e629f2a146739ab61e75c4abc8
Signed-off-by: Dimitris Papastamos &lt;dimitris.papastamos@arm.com&gt;
</content>
</entry>
<entry>
<title>Factor out extension enabling to a separate function</title>
<updated>2017-11-20T09:55:01Z</updated>
<author>
<name>Dimitris Papastamos</name>
</author>
<published>2017-11-07T09:55:29Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/atf/commit/?id=0fd0f22298c2cb7e7777725e1180fa9ebf7ffe67'/>
<id>urn:sha1:0fd0f22298c2cb7e7777725e1180fa9ebf7ffe67</id>
<content type='text'>
Factor out extension enabling to a separate function that is called
before exiting from EL3 for first entry into Non-secure world.

Change-Id: Ic21401ebba531134d08643c0a1ca9de0fc590a1b
Signed-off-by: Dimitris Papastamos &lt;dimitris.papastamos@arm.com&gt;
</content>
</entry>
<entry>
<title>cpu log buffer size depends on cache line size</title>
<updated>2017-09-01T08:22:20Z</updated>
<author>
<name>Etienne Carriere</name>
</author>
<published>2017-09-01T08:22:20Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/atf/commit/?id=86606eb51e81b4189579e2b429f1c8f26f5c804c'/>
<id>urn:sha1:86606eb51e81b4189579e2b429f1c8f26f5c804c</id>
<content type='text'>
Platform may use specific cache line sizes. Since CACHE_WRITEBACK_GRANULE
defines the platform specific cache line size, it is used to define the
size of the cpu data structure CPU_DATA_SIZE aligned on cache line size.

Introduce assembly macro 'mov_imm' for AArch32 to simplify implementation
of function '_cpu_data_by_index'.

Change-Id: Ic2d49ffe0c3e51649425fd9c8c99559c582ac5a1
Signed-off-by: Etienne Carriere &lt;etienne.carriere@linaro.org&gt;
</content>
</entry>
<entry>
<title>Fully initialise essential control registers</title>
<updated>2017-06-21T16:57:54Z</updated>
<author>
<name>David Cunado</name>
</author>
<published>2017-04-13T21:38:29Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/atf/commit/?id=18f2efd67d881fe0a9a535ce9e801e60d746e024'/>
<id>urn:sha1:18f2efd67d881fe0a9a535ce9e801e60d746e024</id>
<content type='text'>
This patch updates the el3_arch_init_common macro so that it fully
initialises essential control registers rather then relying on hardware
to set the reset values.

The context management functions are also updated to fully initialise
the appropriate control registers when initialising the non-secure and
secure context structures and when preparing to leave EL3 for a lower
EL.

This gives better alignement with the ARM ARM which states that software
must initialise RES0 and RES1 fields with 0 / 1.

This patch also corrects the following typos:

"NASCR definitions" -&gt; "NSACR definitions"

Change-Id: Ia8940b8351dc27bc09e2138b011e249655041cfc
Signed-off-by: David Cunado &lt;david.cunado@arm.com&gt;
</content>
</entry>
</feed>
