[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v7 11/12] avocado, risc-v: add opensbi tests for 'max' CPU
From: |
Daniel Henrique Barboza |
Subject: |
[PATCH v7 11/12] avocado, risc-v: add opensbi tests for 'max' CPU |
Date: |
Tue, 15 Aug 2023 17:15:58 -0300 |
Add smoke tests to ensure that we'll not break the 'max' CPU type when
adding new ratified extensions to be enabled.
Signed-off-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
---
tests/avocado/riscv_opensbi.py | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/tests/avocado/riscv_opensbi.py b/tests/avocado/riscv_opensbi.py
index bfff9cc3c3..15fd57fe51 100644
--- a/tests/avocado/riscv_opensbi.py
+++ b/tests/avocado/riscv_opensbi.py
@@ -61,3 +61,19 @@ def test_riscv64_virt(self):
:avocado: tags=machine:virt
"""
self.boot_opensbi()
+
+ def test_riscv32_virt_maxcpu(self):
+ """
+ :avocado: tags=arch:riscv32
+ :avocado: tags=machine:virt
+ :avocado: tags=cpu:max
+ """
+ self.boot_opensbi()
+
+ def test_riscv64_virt_maxcpu(self):
+ """
+ :avocado: tags=arch:riscv64
+ :avocado: tags=machine:virt
+ :avocado: tags=cpu:max
+ """
+ self.boot_opensbi()
--
2.41.0
- [PATCH v7 04/12] target/riscv: add DEFINE_PROP_END_OF_LIST() to riscv_cpu_options[], (continued)
- [PATCH v7 08/12] target/riscv/cpu.c: add ADD_UNAVAIL_KVM_PROP_ARRAY() macro, Daniel Henrique Barboza, 2023/08/15
- [PATCH v7 10/12] target/riscv: add 'max' CPU type, Daniel Henrique Barboza, 2023/08/15
- [PATCH v7 09/12] target/riscv/cpu.c: limit cfg->vext_spec log message, Daniel Henrique Barboza, 2023/08/15
- [PATCH v7 11/12] avocado, risc-v: add opensbi tests for 'max' CPU,
Daniel Henrique Barboza <=
- [PATCH v7 12/12] target/riscv: deprecate the 'any' CPU type, Daniel Henrique Barboza, 2023/08/15