<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bcm63xx/atf/lib/xlat_tables, 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-08-06T12:06:03Z</updated>
<entry>
<title>Fix Coverity #343008, Side affect in assertion</title>
<updated>2019-08-06T12:06:03Z</updated>
<author>
<name>Justin Chadwell</name>
</author>
<published>2019-07-23T08:48:38Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/atf/commit/?id=4249e8b94fde3dc41e867563f13b21f6b8296509'/>
<id>urn:sha1:4249e8b94fde3dc41e867563f13b21f6b8296509</id>
<content type='text'>
This patch simply splits off the increment of next_xlat into a separate
statement to ensure consistent behaviour if the assert was to ever be
removed.

Change-Id: I827f601ccea55f4da9442048419c9b8cc0c5d22e
Signed-off-by: Justin Chadwell &lt;justin.chadwell@arm.com&gt;
</content>
</entry>
<entry>
<title>Update base code to not rely on undefined overflow behaviour</title>
<updated>2019-07-12T08:12:19Z</updated>
<author>
<name>Justin Chadwell</name>
</author>
<published>2019-07-03T13:15:22Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/atf/commit/?id=3e43121ed16996758342aafdc42806ea2a0fe181'/>
<id>urn:sha1:3e43121ed16996758342aafdc42806ea2a0fe181</id>
<content type='text'>
This consists of ensuring that the left operand of each shift is
unsigned when the operation might overflow into the sign bit.

Change-Id: Iddd6f38139a4c6e500468b4fc48d04e0939f574e
Signed-off-by: Justin Chadwell &lt;justin.chadwell@arm.com&gt;
</content>
</entry>
<entry>
<title>SPM: Move shim layer to TTBR1_EL1</title>
<updated>2019-04-03T09:51:31Z</updated>
<author>
<name>Antonio Nino Diaz</name>
</author>
<published>2019-03-27T11:10:31Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/atf/commit/?id=6de6965b2fcaffec01b2679118d16eabfde4d9c9'/>
<id>urn:sha1:6de6965b2fcaffec01b2679118d16eabfde4d9c9</id>
<content type='text'>
This gives each Secure Partition complete freedom on its address space.
Previously, the memory used by the exception vectors was reserved and
couldn't be used. Also, it always had to be mapped, forcing SPM to
generate translation tables that included the exception vectors as well
as the Partition memory regions. With this change, partitions can reduce
their address space size easily.

Change-Id: I67fb5e9bdf2870b73347f23bff702fab0a8f8711
Signed-off-by: Antonio Nino Diaz &lt;antonio.ninodiaz@arm.com&gt;
</content>
</entry>
<entry>
<title>ARMv7: support non-LPAE mapping (not xlat_v2)</title>
<updated>2019-02-19T17:07:48Z</updated>
<author>
<name>Etienne Carriere</name>
</author>
<published>2017-10-24T20:47:59Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/atf/commit/?id=c9fe6fed4bcd930af4ccc487633b35e92d3cc288'/>
<id>urn:sha1:c9fe6fed4bcd930af4ccc487633b35e92d3cc288</id>
<content type='text'>
Support 32bit descriptor MMU table. This is required by ARMv7
architectures that do not support the Large Page Address Extensions.

nonlpae_tables.c source file is dumped from the OP-TEE project:
core_mmu_armv7.c and related header files.

Change-Id: If912d66c374290c49c5a1211ce4c5c27b2d7dc60
Signed-off-by: Etienne Carriere &lt;etienne.carriere@linaro.org&gt;
Signed-off-by: Usama Arif &lt;usama.arif@arm.com&gt;
</content>
</entry>
<entry>
<title>lib/xlat_tables: Add support for ARMv8.4-TTST</title>
<updated>2019-01-30T11:17:38Z</updated>
<author>
<name>Sathees Balya</name>
</author>
<published>2019-01-25T11:36:01Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/atf/commit/?id=cedfa04ba58841b5c547b409e435c0bdafa4c912'/>
<id>urn:sha1:cedfa04ba58841b5c547b409e435c0bdafa4c912</id>
<content type='text'>
ARMv8.4-TTST (Small Translation tables) relaxes the lower limit on the
size of translation tables by increasing the maximum permitted value
of the T1SZ and T0SZ fields in TCR_EL1, TCR_EL2, TCR_EL3, VTCR_EL2 and
VSTCR_EL2.

This feature is supported in AArch64 state only.

This patch adds support for this feature to both versions of the
translation tables library. It also removes the static build time
checks for virtual address space size checks to runtime assertions.

Change-Id: I4e8cebc197ec1c2092dc7d307486616786e6c093
Signed-off-by: Sathees Balya &lt;sathees.balya@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: Fix checks in mmap_add() and mmap_add_ctx()</title>
<updated>2018-10-08T15:15:21Z</updated>
<author>
<name>Antonio Nino Diaz</name>
</author>
<published>2018-10-08T15:11:11Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/atf/commit/?id=a5fa5658e846ee00338dd90c2959b460e9aa54e6'/>
<id>urn:sha1:a5fa5658e846ee00338dd90c2959b460e9aa54e6</id>
<content type='text'>
Commit 79621f0038b789de23ecc8891024f7cf6aa65999 broke sgi575.

It is possible to have a region with 0 as value for the attributes. It
means device memory, read only, secure, executable. This is legitimate
if the code is in flash and the code is executed from there.

This is the case for SGI_MAP_FLASH0_RO, defined in the file
plat/arm/css/sgi/sgi_plat.c.

This problem is solved by checking both size and attributes in xlat v1.
In xlat v2, it is enough to check the granularity, as it can never be 0.

Change-Id: I7be11f1b0e51c4c2ffd560b4a6cdfbf15de2c276
Signed-off-by: Antonio Nino Diaz &lt;antonio.ninodiaz@arm.com&gt;
</content>
</entry>
<entry>
<title>xlat: Change check in mmap_add and mmap_add_ctx()</title>
<updated>2018-10-03T10:47:30Z</updated>
<author>
<name>Daniel Boulby</name>
</author>
<published>2018-08-28T16:44:48Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/atf/commit/?id=79621f0038b789de23ecc8891024f7cf6aa65999'/>
<id>urn:sha1:79621f0038b789de23ecc8891024f7cf6aa65999</id>
<content type='text'>
Depending on the build flags it is possible that some of the memory
regions mapped in page table setup could have a size of 0. In this
case we simply want to do nothing but still wish to map the other
regions in the array. Therefore we cannot only use size == 0 as
the termination logic for the loop.

Since an attributes field with value 0 means that the region is
device memory, read only, secure and executable. Device memory
can't be executable, so this combination should never be used
and it is safe to use as a terminator value.

Therefore by changing the termination logic to use attributes
instead of size we prevent terminating the loop when we don't
intend to.

Change-Id: I92fc7f689ab08543497be6be4896dace2ed7b66a
Signed-off-by: Daniel Boulby &lt;daniel.boulby@arm.com&gt;
</content>
</entry>
<entry>
<title>xlat: Remove deprecated interfaces</title>
<updated>2018-09-28T14:31:53Z</updated>
<author>
<name>Antonio Nino Diaz</name>
</author>
<published>2018-09-24T16:28:13Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/atf/commit/?id=90e0c983734ca4d2ee7523a1c85d7d5449a756df'/>
<id>urn:sha1:90e0c983734ca4d2ee7523a1c85d7d5449a756df</id>
<content type='text'>
Change-Id: I83de2ae3e0795e6fec3c1e5b37c441b64b0c9cb6
Signed-off-by: Antonio Nino Diaz &lt;antonio.ninodiaz@arm.com&gt;
</content>
</entry>
<entry>
<title>libc: Use printf and snprintf across codebase</title>
<updated>2018-08-22T09:26:05Z</updated>
<author>
<name>Antonio Nino Diaz</name>
</author>
<published>2018-08-16T15:46:06Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/atf/commit/?id=39b6cc66d670be41d6b51b644beb675f386a4240'/>
<id>urn:sha1:39b6cc66d670be41d6b51b644beb675f386a4240</id>
<content type='text'>
tf_printf and tf_snprintf are now called printf and snprintf, so the
code needs to be updated.

Change-Id: Iffeee97afcd6328c4c2d30830d4923b964682d71
Signed-off-by: Antonio Nino Diaz &lt;antonio.ninodiaz@arm.com&gt;
</content>
</entry>
</feed>
