Skip to contentSkip to conversation

package/kvm-unit-tests: add more arm support

PATCH Applied Cornelia Huck 3 participants 3 messages Mar 22, 2022 – Mar 23, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/kvm-unit-tests: add more arm support

Add some more cortexes with VHE, and enable aarch64.

---

Resent because I was subscribed with a different email address. Sorry about the spam.

---
 package/kvm-unit-tests/Config.in         | 5 ++++-
 package/kvm-unit-tests/kvm-unit-tests.mk | 4 +++-
 2 files changed, 7 insertions(+), 2 deletions(-)
package/kvm-unit-tests/Config.in +4 -1
index e470dd6157f0..b084375e62e9 100644
@@ -3,7 +3,10 @@ config BR2_PACKAGE_KVM_UNIT_TESTS_ARCH_SUPPORTS
 	# On ARM, it uses virtualization extensions
 	default y if BR2_cortex_a7 || BR2_cortex_a12 || \
 		BR2_cortex_a15 || BR2_cortex_a15_a7 || \
-		BR2_cortex_a17 || BR2_cortex_a17_a7
+		BR2_cortex_a17 || BR2_cortex_a17_a7 || \
+		BR2_cortex_a55 || BR2_cortex_a75 || \
+		BR2_cortex_a75_a55 || BR2_cortex_a76 || \
+		BR2_cortex_a76_a55
 	default y if BR2_i386 || BR2_x86_64
 	default y if BR2_powerpc64 || BR2_powerpc64le
 
package/kvm-unit-tests/kvm-unit-tests.mk +3 -1
index d610442e039f..d72eba02bc3b 100644
@@ -10,7 +10,9 @@ KVM_UNIT_TESTS_SITE = https://gitlab.com/kvm-unit-tests/kvm-unit-tests/-/archive
 KVM_UNIT_TESTS_LICENSE = LGPL-2.0
 KVM_UNIT_TESTS_LICENSE_FILES = COPYRIGHT
 
-ifeq ($(BR2_arm),y)
+ifeq ($(BR2_aarch64),y)
+KVM_UNIT_TESTS_ARCH = aarch64
+else ifeq ($(BR2_arm),y)
 KVM_UNIT_TESTS_ARCH = arm
 else ifeq ($(BR2_i386),y)
 KVM_UNIT_TESTS_ARCH = i386
Signature · 6 lines
2.34.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Reviewed-by on v1 1/1
#1 lore raw

Am Tue, 22 Mar 2022 18:08:00 +0100
schrieb Cornelia Huck <[email protected]>:

Quoted 34 lines

Add some more cortexes with VHE, and enable aarch64.

---

Resent because I was subscribed with a different email address. Sorry about the spam.

---
 package/kvm-unit-tests/Config.in         | 5 ++++-
 package/kvm-unit-tests/kvm-unit-tests.mk | 4 +++-
 2 files changed, 7 insertions(+), 2 deletions(-)
package/kvm-unit-tests/Config.in +4 -1
index e470dd6157f0..b084375e62e9 100644
@@ -3,7 +3,10 @@ config BR2_PACKAGE_KVM_UNIT_TESTS_ARCH_SUPPORTS
 	# On ARM, it uses virtualization extensions
 	default y if BR2_cortex_a7 || BR2_cortex_a12 || \
 		BR2_cortex_a15 || BR2_cortex_a15_a7 || \
-		BR2_cortex_a17 || BR2_cortex_a17_a7
+		BR2_cortex_a17 || BR2_cortex_a17_a7 || \
+		BR2_cortex_a55 || BR2_cortex_a75 || \
+		BR2_cortex_a75_a55 || BR2_cortex_a76 || \
+		BR2_cortex_a76_a55
 	default y if BR2_i386 || BR2_x86_64
 	default y if BR2_powerpc64 || BR2_powerpc64le
 
package/kvm-unit-tests/kvm-unit-tests.mk +0 -0
index d610442e039f..d72eba02bc3b 100644

package/kvm-unit-tests/kvm-unit-tests.mk KVM_UNIT_TESTS_SITE = https://gitlab.com/kvm-unit-tests/kvm-unit-tests/-/archive · line 18

Quoted 10 lines
package/kvm-unit-tests/kvm-unit-tests.mk +3 -1
@@ -10,7 +10,9 @@ KVM_UNIT_TESTS_SITE = https://gitlab.com/kvm-unit-tests/kvm-unit-tests/-/archive
 KVM_UNIT_TESTS_LICENSE = LGPL-2.0
 KVM_UNIT_TESTS_LICENSE_FILES = COPYRIGHT
 
-ifeq ($(BR2_arm),y)
+ifeq ($(BR2_aarch64),y)
+KVM_UNIT_TESTS_ARCH = aarch64
+else ifeq ($(BR2_arm),y)
 KVM_UNIT_TESTS_ARCH = arm
 else ifeq ($(BR2_i386),y)
 KVM_UNIT_TESTS_ARCH = i386

Note: This will likely have a contextual conflict with :

https://lists.buildroot.org/pipermail/buildroot/2022-March/638940.html

... but I hope this will easy to sort out.

Thomas
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#2 lore raw
In reply to Cornelia Huck

Cornelia, All,

On 2022-03-22 18:08 +0100, Cornelia Huck spake thusly:

Quoted 3 lines

Add some more cortexes with VHE, and enable aarch64.

Applied to master, thanks.

Regards,
Yann E. MORIN.

Quoted 48 lines

---

Resent because I was subscribed with a different email address. Sorry about the spam.

---
 package/kvm-unit-tests/Config.in         | 5 ++++-
 package/kvm-unit-tests/kvm-unit-tests.mk | 4 +++-
 2 files changed, 7 insertions(+), 2 deletions(-)
package/kvm-unit-tests/Config.in +4 -1
index e470dd6157f0..b084375e62e9 100644
@@ -3,7 +3,10 @@ config BR2_PACKAGE_KVM_UNIT_TESTS_ARCH_SUPPORTS
 	# On ARM, it uses virtualization extensions
 	default y if BR2_cortex_a7 || BR2_cortex_a12 || \
 		BR2_cortex_a15 || BR2_cortex_a15_a7 || \
-		BR2_cortex_a17 || BR2_cortex_a17_a7
+		BR2_cortex_a17 || BR2_cortex_a17_a7 || \
+		BR2_cortex_a55 || BR2_cortex_a75 || \
+		BR2_cortex_a75_a55 || BR2_cortex_a76 || \
+		BR2_cortex_a76_a55
 	default y if BR2_i386 || BR2_x86_64
 	default y if BR2_powerpc64 || BR2_powerpc64le
 
package/kvm-unit-tests/kvm-unit-tests.mk +3 -1
index d610442e039f..d72eba02bc3b 100644
@@ -10,7 +10,9 @@ KVM_UNIT_TESTS_SITE = https://gitlab.com/kvm-unit-tests/kvm-unit-tests/-/archive
 KVM_UNIT_TESTS_LICENSE = LGPL-2.0
 KVM_UNIT_TESTS_LICENSE_FILES = COPYRIGHT
 
-ifeq ($(BR2_arm),y)
+ifeq ($(BR2_aarch64),y)
+KVM_UNIT_TESTS_ARCH = aarch64
+else ifeq ($(BR2_arm),y)
 KVM_UNIT_TESTS_ARCH = arm
 else ifeq ($(BR2_i386),y)
 KVM_UNIT_TESTS_ARCH = i386
Signature · 6 lines
2.34.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Signature · 10 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot