<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bcm63xx/atf/bl1/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-07-24T11:49:54Z</updated>
<entry>
<title>Refactor SPSR initialisation code</title>
<updated>2019-07-24T11:49:54Z</updated>
<author>
<name>John Tsichritzis</name>
</author>
<published>2019-07-01T13:27:33Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/atf/commit/?id=d200f2306463b28fc2650939ac9bcc0d701fa2d5'/>
<id>urn:sha1:d200f2306463b28fc2650939ac9bcc0d701fa2d5</id>
<content type='text'>
Change-Id: Ic3b30de13e314efca30fc71370227d3e76f1148b
Signed-off-by: John Tsichritzis &lt;john.tsichritzis@arm.com&gt;
</content>
</entry>
<entry>
<title>bl1-smc-handler: Ensure the lower-order 16 bits of SPSR are programmed</title>
<updated>2019-03-13T10:08:50Z</updated>
<author>
<name>Bryan O'Donoghue</name>
</author>
<published>2019-03-12T12:09:51Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/atf/commit/?id=520f864e66f7e1253b294923196741536af41726'/>
<id>urn:sha1:520f864e66f7e1253b294923196741536af41726</id>
<content type='text'>
A bug recently fixed in bl2/aarch32/bl2_el3_entrypoint.S relates to
programming the lower-order 16 bits of the SPSR to populate into the CPSR
on eret.

The BL1 smc-handler code is identical and has the same shortfall in
programming the SPSR from the platform defined struct
entry_point_info-&gt;spsr.

msr spsr, r1 will only update bits f-&gt;[31:24] and c-&gt;[7:0] respectively. In
order to ensure the 16 lower-order processor mode bits x-&gt;[15:8] and
c-&gt;[7:0] this patch changes msr spsr, r1 to msr spsr_xc, r1.

This change ensures we capture the x field, which we are interested in and
not the f field which we are not.

Fixes: f3b4914be3b4 ('AArch32: Add generic changes in BL1')

Signed-off-by: Bryan O'Donoghue &lt;bryan.odonoghue@linaro.org&gt;
</content>
</entry>
<entry>
<title>BL1: Enable pointer authentication support</title>
<updated>2019-02-27T11:58:09Z</updated>
<author>
<name>Antonio Nino Diaz</name>
</author>
<published>2019-01-30T20:29:50Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/atf/commit/?id=cd7d6b0eb161c4b24f4ff19822cbb26c3f59a3f5'/>
<id>urn:sha1:cd7d6b0eb161c4b24f4ff19822cbb26c3f59a3f5</id>
<content type='text'>
The size increase after enabling options related to ARMv8.3-PAuth is:

+----------------------------+-------+-------+-------+--------+
|                            |  text |  bss  |  data | rodata |
+----------------------------+-------+-------+-------+--------+
| CTX_INCLUDE_PAUTH_REGS = 1 |  +108 |  +192 |   +0  |   +0   |
|                            |  0.5% |  0.8% |       |        |
+----------------------------+-------+-------+-------+--------+
| ENABLE_PAUTH = 1           |  +748 |  +192 |  +16  |   +0   |
|                            |  3.7% |  0.8% |  7.0% |        |
+----------------------------+-------+-------+-------+--------+

Results calculated with the following build configuration:

    make PLAT=fvp SPD=tspd DEBUG=1 \
    SDEI_SUPPORT=1                 \
    EL3_EXCEPTION_HANDLING=1       \
    TSP_NS_INTR_ASYNC_PREEMPT=1    \
    CTX_INCLUDE_PAUTH_REGS=1       \
    ENABLE_PAUTH=1

Change-Id: I3a7d02feb6a6d212be32a01432b0c7c1a261f567
Signed-off-by: Antonio Nino Diaz &lt;antonio.ninodiaz@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>xlat v2: Support the EL2 translation regime</title>
<updated>2018-08-10T12:47:11Z</updated>
<author>
<name>Antonio Nino Diaz</name>
</author>
<published>2018-08-07T18:59:49Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/atf/commit/?id=1a92a0e00a5093c4b46a55b1eadb48187688caf7'/>
<id>urn:sha1:1a92a0e00a5093c4b46a55b1eadb48187688caf7</id>
<content type='text'>
The translation library is useful elsewhere. Even though this repository
doesn't exercise the EL2 support of the library, it is better to have it
here as well to make it easier to maintain.

enable_mmu_secure() and enable_mmu_direct() have been deprecated. The
functions are still present, but they are behind ERROR_DEPRECATED and
they call the new functions enable_mmu_svc_mon() and
enable_mmu_direct_svc_mon().

Change-Id: I13ad10cd048d9cc2d55e0fff9a5133671b67dcba
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>aarch32: use lr as bl32 boot argument on aarch32 only systems</title>
<updated>2018-02-02T12:16:18Z</updated>
<author>
<name>Etienne Carriere</name>
</author>
<published>2018-02-02T12:16:18Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/atf/commit/?id=3fe81dcf5db35bd6afe8dd9f6b9ebdd06e9f1369'/>
<id>urn:sha1:3fe81dcf5db35bd6afe8dd9f6b9ebdd06e9f1369</id>
<content type='text'>
Add 'lr_svc' as a boot parameter in AArch32 bl1. This is used by Optee
and Trusty to get the non-secure entry point on AArch32 platforms.

This change is not ported in AArch64 mode where the BL31, not BL32,
is in charge of booting the non secure image (BL33).

Signed-off-by: Etienne Carriere &lt;etienne.carriere@linaro.org&gt;
</content>
</entry>
<entry>
<title>Merge pull request #978 from etienne-lms/minor-build</title>
<updated>2017-06-28T12:46:19Z</updated>
<author>
<name>danh-arm</name>
</author>
<published>2017-06-28T12:46:19Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/atf/commit/?id=d70a7d0ce02c0b73891cc1e26fc2c568d7120b84'/>
<id>urn:sha1:d70a7d0ce02c0b73891cc1e26fc2c568d7120b84</id>
<content type='text'>
Minor build fixes</content>
</entry>
<entry>
<title>bl1: include bl1_private.h in aarch* files</title>
<updated>2017-06-23T07:38:06Z</updated>
<author>
<name>Etienne Carriere</name>
</author>
<published>2017-06-07T14:41:50Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/atf/commit/?id=c04d59cf379c679b2272d669ac0b337e407470a8'/>
<id>urn:sha1:c04d59cf379c679b2272d669ac0b337e407470a8</id>
<content type='text'>
This change avoids warnings when setting -Wmissing-prototypes or when
using sparse tool.

Signed-off-by: Yann Gautier &lt;yann.gautier@st.com&gt;
Signed-off-by: Etienne Carriere &lt;etienne.carriere@st.com&gt;
</content>
</entry>
<entry>
<title>bl: security_state should be of type unsigned int</title>
<updated>2017-06-23T07:26:44Z</updated>
<author>
<name>Etienne Carriere</name>
</author>
<published>2017-06-07T14:45:42Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/atf/commit/?id=550740833d4cdd5e125c155200996a62db7e891d'/>
<id>urn:sha1:550740833d4cdd5e125c155200996a62db7e891d</id>
<content type='text'>
security_state is either 0 or 1. Prevent sign conversion potential
error (setting -Werror=sign-conversion results in a build error).

Signed-off-by: Yann Gautier &lt;yann.gautier@st.com&gt;
Signed-off-by: Etienne Carriere &lt;etienne.carriere@st.com&gt;
</content>
</entry>
</feed>
