<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/arch/arm/lib, branch v2023.07</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?h=v2023.07</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/arch/arm/lib?h=v2023.07'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2023-04-25T19:31:27Z</updated>
<entry>
<title>arm64: interrupts: print FAR_ELx on sync exceptions</title>
<updated>2023-04-25T19:31:27Z</updated>
<author>
<name>Pavel Skripkin</name>
<email>paskripkin@gmail.com</email>
</author>
<published>2023-04-02T16:27:34Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=de0095b4009b9d75d0c101643c3de60cb26d456d'/>
<id>urn:sha1:de0095b4009b9d75d0c101643c3de60cb26d456d</id>
<content type='text'>
Default synchronous exceptions handler prints only esr and register
dump. Sometimes it requiers to see an address which caused exceptions
to understand what's going on

ARM ARM in section D13.2.41 states that FAR_EL2 will contain meanfull
value in case of ESR.EC holds 0x20, 0x21, 0x24, 0x25, 0x22, 0x34 or
0x35. Same applies for EL1.

This patch adds function whivh determine current EL, gets correct FAR
register and prints it on panic.

Signed-off-by: Pavel Skripkin &lt;paskripkin@gmail.com&gt;
</content>
</entry>
<entry>
<title>arm: lib: add __gnu_thumb1_case_si</title>
<updated>2023-04-06T23:10:08Z</updated>
<author>
<name>Francis Laniel</name>
<email>francis.laniel@amarulasolutions.com</email>
</author>
<published>2023-04-01T21:54:39Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=5ffcf7c59065477865a542159a9bcddf0929c36e'/>
<id>urn:sha1:5ffcf7c59065477865a542159a9bcddf0929c36e</id>
<content type='text'>
The assembly for __gnu_thumb1_case_si was taken from upstream gcc and adapted
as width suffix was removed for the add instruction [1].

Signed-off-by: Francis Laniel &lt;francis.laniel@amarulasolutions.com&gt;
Tested-by: Tony Dinh &lt;mibodhi@gmail.com&gt;
[1] https://github.com/gcc-mirror/gcc/blob/4f181f9c7ee3efc509d185fdfda33be9018f1611/libgcc/config/arm/lib1funcs.S#L2156
Acked-by: Pali Rohár &lt;pali@kernel.org&gt;
Acked-by:  Tony Dinh &lt;mibodhi@gmail.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'master' into next</title>
<updated>2023-03-27T19:19:57Z</updated>
<author>
<name>Tom Rini</name>
<email>trini@konsulko.com</email>
</author>
<published>2023-03-27T19:19:57Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=605bc145f91d2a28ba2e517cae4e53e255e34b6f'/>
<id>urn:sha1:605bc145f91d2a28ba2e517cae4e53e255e34b6f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>console: Use flush() before panic and reset</title>
<updated>2023-03-22T16:51:08Z</updated>
<author>
<name>Tony Dinh</name>
<email>mibodhi@gmail.com</email>
</author>
<published>2023-03-15T00:24:26Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=c5f4cdb8eb60cbfc71b356204245a046c74a30c1'/>
<id>urn:sha1:c5f4cdb8eb60cbfc71b356204245a046c74a30c1</id>
<content type='text'>
To make sure the panic and the reset messages will go out, console flush() should be used.
Sleep periods do not work in early u-boot phase when timer driver is not initialized yet.

Reference: https://lists.denx.de/pipermail/u-boot/2023-March/512233.html

Signed-off-by: Tony Dinh &lt;mibodhi@gmail.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
Reviewed-by: Stefan Roese &lt;sr@denx.de&gt;
</content>
</entry>
<entry>
<title>arm: semihosting: replace inline assembly with assembly file</title>
<updated>2023-03-06T22:06:17Z</updated>
<author>
<name>Andre Przywara</name>
<email>andre.przywara@arm.com</email>
</author>
<published>2023-02-07T15:21:04Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=29c579a2493a1c5de162a724e05521099b66bedb'/>
<id>urn:sha1:29c579a2493a1c5de162a724e05521099b66bedb</id>
<content type='text'>
So far we used inline assembly to inject the actual instruction that
triggers the semihosting service. While this sounds elegant, as it's
really only about one instruction, it has some serious downsides:
- We need some barriers in place to force the compiler to issue writes
  to a data structure before issuing the trap instruction.
- We need to convince the compiler to actually fill the structures that
  we use pointers to.
- We need a memory clobber to avoid the compiler caching the data in
  those structures, when semihosting writes data back.
- We need register arguments to make sure the function ID and the
  pointer land in the right registers.

This is all doable, but fragile and somewhat cumbersome. Since we now
have a separate function in an extra file anyway, we can do away with
all the magic and just write that in an actual assembly file.
This is much more readable and robust.

Signed-off-by: Andre Przywara &lt;andre.przywara@arm.com&gt;
Reviewed-by: Sean Anderson &lt;sean.anderson@seco.com&gt;
</content>
</entry>
<entry>
<title>arm64: Initialize TLB memory if CMO_BY_VA_ONLY</title>
<updated>2023-03-06T22:03:55Z</updated>
<author>
<name>Pierre-Clément Tosi</name>
<email>ptosi@google.com</email>
</author>
<published>2023-02-08T20:54:28Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=c55c2a8565ad6b8aad2e47008a53bbca398c0f62'/>
<id>urn:sha1:c55c2a8565ad6b8aad2e47008a53bbca398c0f62</id>
<content type='text'>
Memory used to hold the page tables is allocated from the top of RAM
with no prior initialization and could therefore hold invalid data. As
invalidate_dcache_all() will be called before the MMU has been
initialized and as that function relies indirectly on the page tables
when using CMO_BY_VA_ONLY, these must be in a valid state from their
allocation.

Signed-off-by: Pierre-Clément Tosi &lt;ptosi@google.com&gt;
[ Paul: pick from the Android tree. Fix checkpatch warnings, and rebased
  to the upstream. ]
Signed-off-by: Ying-Chun Liu (PaulLiu) &lt;paul.liu@linaro.org&gt;
Cc: Tom Rini &lt;trini@konsulko.com&gt;
Link: https://android.googlesource.com/platform/external/u-boot/+/e3ceef4230b772186c6853cace4a676a407e6ab7
</content>
</entry>
<entry>
<title>Correct SPL uses of SAVE_PREV_BL_INITRAMFS_START_ADDR</title>
<updated>2023-02-10T12:41:40Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2023-02-06T00:55:03Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=4c77608942a4e84424cd2c19c90cd3b4f93f5d3d'/>
<id>urn:sha1:4c77608942a4e84424cd2c19c90cd3b4f93f5d3d</id>
<content type='text'>
This converts 2 usages of this option to the non-SPL form, since there is
no SPL_SAVE_PREV_BL_INITRAMFS_START_ADDR defined in Kconfig

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>Correct SPL uses of SAVE_PREV_BL_FDT_ADDR</title>
<updated>2023-02-10T12:41:40Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2023-02-05T22:40:44Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=10f8bc09837968fd1264aae915ba135e1b4b6e5d'/>
<id>urn:sha1:10f8bc09837968fd1264aae915ba135e1b4b6e5d</id>
<content type='text'>
This converts 2 usages of this option to the non-SPL form, since there is
no SPL_SAVE_PREV_BL_FDT_ADDR defined in Kconfig

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>Correct SPL uses of LMB</title>
<updated>2023-02-10T12:41:39Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2023-02-05T22:40:13Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=210af54947e1b88f1fb961fec51d6427f5ec8575'/>
<id>urn:sha1:210af54947e1b88f1fb961fec51d6427f5ec8575</id>
<content type='text'>
This converts 9 usages of this option to the non-SPL form, since there is
no SPL_LMB defined in Kconfig

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>arm: Drop CONFIG_MMU</title>
<updated>2023-02-07T19:33:48Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2023-02-01T20:19:43Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=9df5011e1e7c75a1a58928be7c8613214af2894c'/>
<id>urn:sha1:9df5011e1e7c75a1a58928be7c8613214af2894c</id>
<content type='text'>
This option does not exist, so the #ifdefs do nothing. Drop this code.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
</feed>
