Blame SOURCES/kvm-RHEL-only-tests-avocado-Switch-aarch64-tests-from-a5.patch

29b115
From d710394f68eb0b6116dd8ac76f619c192e0d5972 Mon Sep 17 00:00:00 2001
29b115
From: Andrew Jones <drjones@redhat.com>
29b115
Date: Wed, 15 Jun 2022 15:28:27 +0200
29b115
Subject: [PATCH 02/18] RHEL-only: tests/avocado: Switch aarch64 tests from a53
29b115
 to a57
29b115
MIME-Version: 1.0
29b115
Content-Type: text/plain; charset=UTF-8
29b115
Content-Transfer-Encoding: 8bit
29b115
29b115
RH-Author: Daniel P. Berrangé <berrange@redhat.com>
29b115
RH-MergeRequest: 94: i386, aarch64, s390x: deprecate many named CPU models
29b115
RH-Commit: [2/6] e85ef69b42c411a6997e4da10ba05176368769b3 (berrange/centos-src-qemu)
29b115
RH-Bugzilla: 2060839
29b115
RH-Acked-by: Thomas Huth <thuth@redhat.com>
29b115
RH-Acked-by: Miroslav Rezanina <mrezanin@redhat.com>
29b115
RH-Acked-by: Cornelia Huck <cohuck@redhat.com>
29b115
29b115
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2066824
29b115
Upstream Status: RHEL only
29b115
29b115
We plan to remove the cortex-a53 from the supported cpu types. Switch
29b115
all avocado tests that use it to the cortex-a57, which will work the
29b115
same and we intend to keep. We don't want to try and upstream this
29b115
change since the better upstream change would be to switch from the
29b115
a53 to 'max', but the upstream tests also need to use later guest
29b115
kernels to use 'max' (see qemu upstream commit 0942820408dc
29b115
("hw/arm/virt: Disable LPA2 for -machine virt-6.2")
29b115
29b115
Signed-off-by: Andrew Jones <drjones@redhat.com>
29b115
---
29b115
 tests/avocado/replay_kernel.py     | 2 +-
29b115
 tests/avocado/reverse_debugging.py | 2 +-
29b115
 tests/avocado/tcg_plugins.py       | 6 +++---
29b115
 3 files changed, 5 insertions(+), 5 deletions(-)
29b115
29b115
diff --git a/tests/avocado/replay_kernel.py b/tests/avocado/replay_kernel.py
29b115
index 0b2b0dc692..3a7b5f0748 100644
29b115
--- a/tests/avocado/replay_kernel.py
29b115
+++ b/tests/avocado/replay_kernel.py
29b115
@@ -147,7 +147,7 @@ def test_aarch64_virt(self):
29b115
         """
29b115
         :avocado: tags=arch:aarch64
29b115
         :avocado: tags=machine:virt
29b115
-        :avocado: tags=cpu:cortex-a53
29b115
+        :avocado: tags=cpu:cortex-a57
29b115
         """
29b115
         kernel_url = ('https://archives.fedoraproject.org/pub/archive/fedora'
29b115
                       '/linux/releases/29/Everything/aarch64/os/images/pxeboot'
29b115
diff --git a/tests/avocado/reverse_debugging.py b/tests/avocado/reverse_debugging.py
29b115
index d2921e70c3..66d185ed42 100644
29b115
--- a/tests/avocado/reverse_debugging.py
29b115
+++ b/tests/avocado/reverse_debugging.py
29b115
@@ -198,7 +198,7 @@ def test_aarch64_virt(self):
29b115
         """
29b115
         :avocado: tags=arch:aarch64
29b115
         :avocado: tags=machine:virt
29b115
-        :avocado: tags=cpu:cortex-a53
29b115
+        :avocado: tags=cpu:cortex-a57
29b115
         """
29b115
         kernel_url = ('https://archives.fedoraproject.org/pub/archive/fedora'
29b115
                       '/linux/releases/29/Everything/aarch64/os/images/pxeboot'
29b115
diff --git a/tests/avocado/tcg_plugins.py b/tests/avocado/tcg_plugins.py
29b115
index 642d2e49e3..93b3afd823 100644
29b115
--- a/tests/avocado/tcg_plugins.py
29b115
+++ b/tests/avocado/tcg_plugins.py
29b115
@@ -68,7 +68,7 @@ def test_aarch64_virt_insn(self):
29b115
         :avocado: tags=accel:tcg
29b115
         :avocado: tags=arch:aarch64
29b115
         :avocado: tags=machine:virt
29b115
-        :avocado: tags=cpu:cortex-a53
29b115
+        :avocado: tags=cpu:cortex-a57
29b115
         """
29b115
         kernel_path = self._grab_aarch64_kernel()
29b115
         kernel_command_line = (self.KERNEL_COMMON_COMMAND_LINE +
29b115
@@ -94,7 +94,7 @@ def test_aarch64_virt_insn_icount(self):
29b115
         :avocado: tags=accel:tcg
29b115
         :avocado: tags=arch:aarch64
29b115
         :avocado: tags=machine:virt
29b115
-        :avocado: tags=cpu:cortex-a53
29b115
+        :avocado: tags=cpu:cortex-a57
29b115
         """
29b115
         kernel_path = self._grab_aarch64_kernel()
29b115
         kernel_command_line = (self.KERNEL_COMMON_COMMAND_LINE +
29b115
@@ -120,7 +120,7 @@ def test_aarch64_virt_mem_icount(self):
29b115
         :avocado: tags=accel:tcg
29b115
         :avocado: tags=arch:aarch64
29b115
         :avocado: tags=machine:virt
29b115
-        :avocado: tags=cpu:cortex-a53
29b115
+        :avocado: tags=cpu:cortex-a57
29b115
         """
29b115
         kernel_path = self._grab_aarch64_kernel()
29b115
         kernel_command_line = (self.KERNEL_COMMON_COMMAND_LINE +
29b115
-- 
29b115
2.35.3
29b115