Skip to contentSkip to conversation

arm-bsp/docs: Improve fvp-baser-aemv864 limitation

PATCH Applied Peter Hoyes 2 participants 4 messages Mar 3, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 arm-bsp/docs: Improve fvp-baser-aemv864 limitation

From: Peter Hoyes <[email protected]>

Add more details about the cache_state_modelled limitation, which can be worked around by setting cci400.force_on_from_start=1

Issue-Id: SCM-3871

Change-Id Idde23278a87316dae842c6c3793b9836482e8c3a
---
 meta-arm-bsp/documentation/fvp-baser-aemv8r64.md | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
meta-arm-bsp/documentation/fvp-baser-aemv8r64.md +5 -2
index 85fabe5..44c755e 100644
@@ -217,8 +217,11 @@ Known Issues and Limitations
 - Only PSCI CPU\_ON and CPU\_OFF functions are supported
 - Linux kernel does not support booting from secure EL2 on Armv8-R AArch64
 - Linux KVM does not support Armv8-R AArch64
-- Enabling the FVP parameter `cache_state_modelled` is incompatible with virtio
-  devices
+- Device DMA memory cache-coherence issue: the FVP cache_state_modelled
+  parameter will affect the cache coherence behavior of peripherals’ DMA. When
+  users set cache_state_modelled=1, they also have to set
+  cci400.force_on_from_start=1 to force the FVP to enable snooping on upstream
+  ports.
 
 Change Log
 ----------
Signature · 1 line
2.25.1
#1 lore raw

PATCH 2/2 arm/fvp-base-r-aem: Update to version 11.17.21

From: Peter Hoyes <[email protected]>

Also update version and download link in meta-arm-bsp fvp-baser-aemv8r64 documentation

Issue-Id: SCM-3871

Change-Id I92ec616d25703ff74ed063918a1e4811bac9ff3f
---
 meta-arm-bsp/documentation/fvp-baser-aemv8r64.md | 12 ++++++------
 meta-arm/recipes-devtools/fvp/fvp-base-r-aem.bb  |  7 ++++---
 2 files changed, 10 insertions(+), 9 deletions(-)
meta-arm-bsp/documentation/fvp-baser-aemv8r64.md +6 -6
index 44c755e..cbeb14b 100644
@@ -106,18 +106,18 @@ For more details on kas, see https://kas.readthedocs.io/.
 
 To build the images for fvp-base machine, you also need to:
 
- - download the ``FVP_Base_AEMv8R_11.15_14.tgz`` image AEM V8-R FVP Installer
+ - download the ``FVP_Base_AEMv8R_11.17_21.tgz`` image AEM V8-R FVP Installer
   (Linux) package from Arm's website:
-  https://silver.arm.com/download/download.tm?pv=4858045&p=4029857. You need
+  https://silver.arm.com/download/download.tm?pv=4865959&p=4029857. You need
    to have an account and be logged in to be able to download it
- - set absolute path to the ``FVP_Base_AEMv8R_11.15_14.tgz`` downloaded
+ - set absolute path to the ``FVP_Base_AEMv8R_11.17_21.tgz`` downloaded
    package in ``FVP_BASE_R_AEM_TARBALL_URI``
  - accept EULA in ``FVP_BASE_R_ARM_EULA_ACCEPT``
 
 
 The variables should be set like so:
 
-    FVP_BASE_R_AEM_TARBALL_URI="file:///absolute/path/to/FVP_Base_AEMv8R_11.15_14.tgz"
+    FVP_BASE_R_AEM_TARBALL_URI="file:///absolute/path/to/FVP_Base_AEMv8R_11.17_21.tgz"
     FVP_BASE_R_ARM_EULA_ACCEPT="True"
 
 **Note:** The host machine should have at least 50 GBytes of free disk space
@@ -142,14 +142,14 @@ Fetch the meta-arm repository into a build directory:
 Building with the standard Linux kernel:
 
     cd ~/fvp-baser-aemv8r64-build
-    export FVP_BASE_R_AEM_TARBALL_URI="file:///absolute/path/to/FVP_Base_AEMv8R_11.15_14.tgz"
+    export FVP_BASE_R_AEM_TARBALL_URI="file:///absolute/path/to/FVP_Base_AEMv8R_11.17_21.tgz"
     export FVP_BASE_R_ARM_EULA_ACCEPT="True"
     kas build meta-arm/kas/fvp-baser-aemv8r64-bsp.yml
 
 Building with the Real-Time Linux kernel (PREEMPT\_RT):
 
     cd ~/fvp-baser-aemv8r64-build
-    export FVP_BASE_R_AEM_TARBALL_URI="file:///absolute/path/to/FVP_Base_AEMv8R_11.15_14.tgz"
+    export FVP_BASE_R_AEM_TARBALL_URI="file:///absolute/path/to/FVP_Base_AEMv8R_11.17_21.tgz"
     export FVP_BASE_R_ARM_EULA_ACCEPT="True"
     kas build meta-arm/kas/fvp-baser-aemv8r64-rt-bsp.yml
 
meta-arm/recipes-devtools/fvp/fvp-base-r-aem.bb +4 -3
index 6c612ab..911cc00 100644
@@ -2,13 +2,14 @@ require fvp-envelope.inc
 
 SUMMARY = "Arm Fixed Virtual Platform - Armv8-R Base Architecture Envelope Model FVP"
 LIC_FILES_CHKSUM = "file://license_terms/license_agreement.txt;md5=1a33828e132ba71861c11688dbb0bd16 \
-                    file://license_terms/third_party_licenses.txt;md5=3db0c4947b7e3405c40b943672d8de2f"
+                    file://license_terms/third_party_licenses.txt;md5=41029e71051b1c786bae3112a29905a7"
 
 # This FVP cannot be downloaded directly, so download the Armv8-R Base AEM FVP
 # yourself from the homepage and set FVP_BASE_R_AEM_TARBALL_URI appropriately
-# (for example, file:///home/user/FVP_Base_AEMv8R_11.15_14.tgz).
+# (for example, file:///home/user/FVP_Base_AEMv8R_11.17_21.tgz).
 FVP_BASE_R_AEM_TARBALL_URI ?= ""
-PV = "11.15.14"
+PV = "11.17.21"
+FVP_ARCH = "Linux64_GCC-9.3"
 
 SRC_URI = "${FVP_BASE_R_AEM_TARBALL_URI};subdir=${BP}"
 python() {
Signature · 1 line
2.25.1
#2 lore raw
In reply to Peter Hoyes
Quoted 20 lines · Peter Hoyes

From: Peter Hoyes <[email protected]>

Add more details about the cache_state_modelled limitation, which can be worked around by setting cci400.force_on_from_start=1

Issue-Id: SCM-3871

Change-Id Idde23278a87316dae842c6c3793b9836482e8c3a
---
  meta-arm-bsp/documentation/fvp-baser-aemv8r64.md | 7 +++++--
  1 file changed, 5 insertions(+), 2 deletions(-)
meta-arm-bsp/documentation/fvp-baser-aemv8r64.md +0 -0
index 85fabe5..44c755e 100644
@@ -217,8 +217,11 @@ Known Issues and Limitations
  - Only PSCI CPU\_ON and CPU\_OFF functions are supported
  - Linux kernel does not support booting from secure EL2 on Armv8-R AArch64
  - Linux KVM does not support Armv8-R AArch64

meta-arm-bsp/documentation/fvp-baser-aemv8r64.md Known Issues and Limitations · line 227

Quoted 10 lines
meta-arm-bsp/documentation/fvp-baser-aemv8r64.md +5 -2
-- Enabling the FVP parameter `cache_state_modelled` is incompatible with virtio
-  devices
+- Device DMA memory cache-coherence issue: the FVP cache_state_modelled
+  parameter will affect the cache coherence behavior of peripherals’ DMA. When
+  users set cache_state_modelled=1, they also have to set
+  cci400.force_on_from_start=1 to force the FVP to enable snooping on upstream
+  ports.
 
  Change Log
  ----------

Please can this patch chain also be merged into honister

Regards,

Peter

Applied
#3 lore raw
In reply to Peter Hoyes
Quoted 2 lines · Peter Hoyes

Add more details about the cache_state_modelled limitation, which can be worked around by setting cci400.force_on_from_start=1

Applied, thanks!

[1/2] arm-bsp/docs: Improve fvp-baser-aemv864 limitation

      commit: 1bc6bf2750243dcc9fb4c4ce22590a11c825b167
[2/2] arm/fvp-base-r-aem: Update to version 11.17.21
      commit: dcf114723e38d4413d6c9c0f701114decb0c18cd

Best regards,

Signature · 1 line
Jon Mason <[email protected]>