<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Tianocore/edk2-platforms.git/Platform/Qemu, branch CodeCleanup</title>
<subtitle>EDK II sample platform branches and tags (mirror)</subtitle>
<id>https://git.radix-linux.su/Tianocore/edk2-platforms.git/atom?h=CodeCleanup</id>
<link rel='self' href='https://git.radix-linux.su/Tianocore/edk2-platforms.git/atom?h=CodeCleanup'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2-platforms.git/'/>
<updated>2024-07-04T11:40:02+00:00</updated>
<entry>
<title>SbsaQemu: use FEAT_RNG for EFI_RNG_PROTOCOL</title>
<updated>2024-07-04T11:40:02+00:00</updated>
<author>
<name>Marcin Juszkiewicz</name>
<email>marcin.juszkiewicz@linaro.org</email>
</author>
<published>2024-06-27T11:55:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2-platforms.git/commit/?id=25d66c5b9e5cd672b6e2723d4308cd815639f880'/>
<id>urn:sha1:25d66c5b9e5cd672b6e2723d4308cd815639f880</id>
<content type='text'>
By default we have Neoverse-N2 cpu which supports FEAT_RNG feature. This
allows us to add RngDxe to have EFI_RNG_PROTOCOL available on
Neoverse-N2 and 'max' cpu cores.

Commit 5de5e230a80bed083360da95ba16a2c4a001620d (in EDK2) enabled that for
ArmVirt platform.

RNDR is implemented by both Neoverse-N2 and 'max' cpu implemented by QEMU.
Other cpu models lack it which prevents the RngDxe driver from running,
resulting in the same situation as before.

TRNG is not implemented in TCG mode but is required by RngDxe to run.

On older cpu cores nothing changes.

Signed-off-by: Marcin Juszkiewicz &lt;marcin.juszkiewicz@linaro.org&gt;
Reviewed-by: Leif Lindholm &lt;quic_llindhol@quicinc.com&gt;
</content>
</entry>
<entry>
<title>SbsaQemu: reformat all sources using uncrustify</title>
<updated>2024-06-23T08:15:12+00:00</updated>
<author>
<name>Marcin Juszkiewicz</name>
<email>marcin.juszkiewicz@linaro.org</email>
</author>
<published>2024-06-21T14:02:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2-platforms.git/commit/?id=3425cf8eb5f1bdf5c94599549e3abcb9868df7b8'/>
<id>urn:sha1:3425cf8eb5f1bdf5c94599549e3abcb9868df7b8</id>
<content type='text'>
uncrustify is required in EDK2 repository. SbsaQemu (and other platforms
in edk2-platforms) code was free from using it IIRC.

Reformat all files to make new contributions easier. We can recommend
formatting sources without generating extra work for developers.

Signed-off-by: Marcin Juszkiewicz &lt;marcin.juszkiewicz@linaro.org&gt;
Reviewed-by: Leif Lindholm &lt;quic_llindhol@quicinc.com&gt;
</content>
</entry>
<entry>
<title>Platform,Silicon: drop redundant uses of PcdArmArchTimerFreqInHz</title>
<updated>2024-06-21T11:31:20+00:00</updated>
<author>
<name>Leif Lindholm</name>
<email>quic_llindhol@quicinc.com</email>
</author>
<published>2024-06-20T10:11:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2-platforms.git/commit/?id=b29e69a688d6154a84df725cee38273553062160'/>
<id>urn:sha1:b29e69a688d6154a84df725cee38273553062160</id>
<content type='text'>
PcdArmArchTimerFreqInHz is about to be removed, as it is now obsolete.
Some platforms already explicitly set it to 0, which is the default.
And some modules reference it in their .inf without actually ever
using it.

Drop these redundant uses first.

Cc: Ard Biesheuvel &lt;ardb+tianocore@kernel.org&gt;
Cc: Chuong Tran &lt;chuong@os.amperecomputing.com&gt;
Cc: Graeme Gregory &lt;graeme@xora.org.uk&gt;
Cc: Marcin Juszkiewicz &lt;marcin.juszkiewicz@linaro.org&gt;
Cc: Meenakshi Aggarwal &lt;meenakshi.aggarwal@nxp.com&gt;
Cc: Nhi Pham &lt;nhi@os.amperecomputing.com&gt;
Cc: Rebecca Cran &lt;rebecca@os.amperecomputing.com&gt;
Cc: Sami Mujawar &lt;sami.mujawar@arm.com&gt;
Cc: Thomas Abraham &lt;thomas.abraham@arm.com&gt;
Cc: Wenyi Xie &lt;xiewenyi2@huawei.com&gt;
Signed-off-by: Leif Lindholm &lt;quic_llindhol@quicinc.com&gt;
Reviewed-by: Ard Biesheuvel &lt;ardb@kernel.org&gt;
Reviewed-by: Nhi Pham &lt;nhi@os.amperecomputing.com&gt;
</content>
</entry>
<entry>
<title>Platform/SbsaQemu: fix .dsc line endings</title>
<updated>2024-06-21T11:28:46+00:00</updated>
<author>
<name>Leif Lindholm</name>
<email>quic_llindhol@quicinc.com</email>
</author>
<published>2024-06-20T10:05:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2-platforms.git/commit/?id=901d6e59b9a65ccc434ce67575564b59c201164f'/>
<id>urn:sha1:901d6e59b9a65ccc434ce67575564b59c201164f</id>
<content type='text'>
A patch adding a mapping for ImagePropertiesRecordLib introduced a bunch of
LF line endings in otherwise CRLF files, so clean that up.

Cc: Ard Biesheuvel &lt;ardb+tianocore@kernel.org&gt;
Cc: Chuong Tran &lt;chuong@os.amperecomputing.com&gt;
Cc: Graeme Gregory &lt;graeme@xora.org.uk&gt;
Cc: Marcin Juszkiewicz &lt;marcin.juszkiewicz@linaro.org&gt;
Cc: Marcin Wojtas &lt;marcin.s.wojtas@gmail.com&gt;
Cc: Meenakshi Aggarwal &lt;meenakshi.aggarwal@nxp.com&gt;
Cc: Narinder Dhillon &lt;ndhillon@marvell.com&gt;
Cc: Nhi Pham &lt;nhi@os.amperecomputing.com&gt;
Cc: Rebecca Cran &lt;rebecca@os.amperecomputing.com&gt;
Cc: Sami Mujawar &lt;sami.mujawar@arm.com&gt;
Cc: Thomas Abraham &lt;thomas.abraham@arm.com&gt;
Signed-off-by: Leif Lindholm &lt;quic_llindhol@quicinc.com&gt;
Reviewed-by: Ard Biesheuvel &lt;ardb@kernel.org&gt;
Reviewed-by: Marcin Juszkiewicz &lt;marcin.juszkiewicz@linaro.org&gt;
</content>
</entry>
<entry>
<title>QemuSbsa: enable WriteCombine for the FrameBuffer</title>
<updated>2024-06-19T07:23:06+00:00</updated>
<author>
<name>Marcin Juszkiewicz</name>
<email>marcin.juszkiewicz@linaro.org</email>
</author>
<published>2024-06-18T12:19:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2-platforms.git/commit/?id=3f08401365d67e10924c774e6c3f64be56bc15b6'/>
<id>urn:sha1:3f08401365d67e10924c774e6c3f64be56bc15b6</id>
<content type='text'>
QEMU no longer permits misaligned access to device memory, which breaks
QemuVideoDxe on SbsaQemu.

c1d1910be6e04a8b1a73090cf2881fb698947a6e commit in EDK2 fixed it by
enabling WriteCombine for Framebuffer memory. This change enables that
fix.

Signed-off-by: Marcin Juszkiewicz &lt;marcin.juszkiewicz@linaro.org&gt;
Reviewed-by: Ard Biesheuvel &lt;ardb@kernel.org&gt;
</content>
</entry>
<entry>
<title>SbsaQemu: do not set Timer interrupts</title>
<updated>2024-04-25T11:17:05+00:00</updated>
<author>
<name>Marcin Juszkiewicz</name>
<email>marcin.juszkiewicz@linaro.org</email>
</author>
<published>2024-04-24T11:09:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2-platforms.git/commit/?id=bb05b7d35071a634adf145abb1dfc5e50765e63b'/>
<id>urn:sha1:bb05b7d35071a634adf145abb1dfc5e50765e63b</id>
<content type='text'>
Timer interrupts are set by ArmPkg.dec to recommended values.
We do not need to repeat it (and we missed HypVirtIntrNum one).

Signed-off-by: Marcin Juszkiewicz &lt;marcin.juszkiewicz@linaro.org&gt;
Reviewed-by: Leif Lindholm &lt;quic_llindhol@quicinc.com&gt;
</content>
</entry>
<entry>
<title>SbsaQemu: add memory space for the high memory nodes</title>
<updated>2024-03-28T13:15:30+00:00</updated>
<author>
<name>Xiong Yining</name>
<email>xiongyining1480@phytium.com.cn</email>
</author>
<published>2024-03-27T14:01:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2-platforms.git/commit/?id=6105ecb0aa06e4e93ebabd50c69a092302698909'/>
<id>urn:sha1:6105ecb0aa06e4e93ebabd50c69a092302698909</id>
<content type='text'>
To support more memory nodes, we refer to the implement of
"OvmfPkg/Fdt/HighMemDxe" to add memory space for the high memory nodes
except the first one.

Signed-off-by: Xiong Yining &lt;xiongyining1480@phytium.com.cn&gt;
Tested-by: Marcin Juszkiewicz &lt;marcin.juszkiewicz@linaro.org&gt;
Reviewed-by: Leif Lindholm &lt;quic_llindhol@quicinc.com&gt;
</content>
</entry>
<entry>
<title>Platform/SbsaQemu: drop use of DeviceTree</title>
<updated>2024-03-28T12:53:57+00:00</updated>
<author>
<name>Marcin Juszkiewicz</name>
<email>marcin.juszkiewicz@linaro.org</email>
</author>
<published>2024-03-28T07:46:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2-platforms.git/commit/?id=4e77c070c070640e97f2e3e4410617112042292a'/>
<id>urn:sha1:4e77c070c070640e97f2e3e4410617112042292a</id>
<content type='text'>
There is no need for EDK2 to know that there is DeviceTree around.
All hardware information is read using functions from
SbsaQemuHardwareInfoLib library.

Signed-off-by: Marcin Juszkiewicz &lt;marcin.juszkiewicz@linaro.org&gt;
Signed-off-by: Xiong Yining &lt;xiongyining1480@phytium.com.cn&gt;
Reviewed-by: Leif Lindholm &lt;quic_llindhol@quicinc.com&gt;
</content>
</entry>
<entry>
<title>Platform/SbsaQemu: use SbsaQemuHardwareInfoLib for cpu information</title>
<updated>2024-03-28T12:53:52+00:00</updated>
<author>
<name>Marcin Juszkiewicz</name>
<email>marcin.juszkiewicz@linaro.org</email>
</author>
<published>2024-03-28T07:46:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2-platforms.git/commit/?id=75e9594a369c68668e67aaa7be12a508f79fb5cd'/>
<id>urn:sha1:75e9594a369c68668e67aaa7be12a508f79fb5cd</id>
<content type='text'>
We have SbsaQemuHardwareInfoLib to ask for hardware details. No need to
parse DeviceTree anymore.

Signed-off-by: Marcin Juszkiewicz &lt;marcin.juszkiewicz@linaro.org&gt;
Signed-off-by: Xiong Yining &lt;xiongyining1480@phytium.com.cn&gt;
Reviewed-by: Leif Lindholm &lt;quic_llindhol@quicinc.com&gt;
</content>
</entry>
<entry>
<title>Platform/SbsaQemu: add SbsaQemuHardwareInfoLib</title>
<updated>2024-03-28T12:53:47+00:00</updated>
<author>
<name>Marcin Juszkiewicz</name>
<email>marcin.juszkiewicz@linaro.org</email>
</author>
<published>2024-03-28T07:46:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2-platforms.git/commit/?id=fbb8d04f9cc321c139b85e43b11cf73b64d802a7'/>
<id>urn:sha1:fbb8d04f9cc321c139b85e43b11cf73b64d802a7</id>
<content type='text'>
This library provides functions to check for hardware information.
For now it covers CPU ones:

- amount of cpu cores
- MPIDR value for cpu core
- NUMA node id for cpu core

Values are read from TF-A using platform specific SMC calls.

Signed-off-by: Marcin Juszkiewicz &lt;marcin.juszkiewicz@linaro.org&gt;
Signed-off-by: Xiong Yining &lt;xiongyining1480@phytium.com.cn&gt;
Reviewed-by: Leif Lindholm &lt;quic_llindhol@quicinc.com&gt;
</content>
</entry>
</feed>
