All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jon Mason <jon.mason@arm.com>
To: meta-arm@lists.yoctoproject.org
Subject: [PATCH 1/2] arm-bsp: expand RDN2 and RDV2 FVP device tests
Date: Fri,  4 Dec 2026 12:46:41 -0500	[thread overview]
Message-ID: <20261204174642.60887-1-jon.mason@arm.com> (raw)

Enable CPU hotplug, RTC, watchdog, and networking checks for both
reference design machines. Count ACPI CPUs through sysfs and accept
the EFI RTC driver.

The virtio RNG checks are enabled with the EDK2 source updates that
add their ACPI device descriptions.

Signed-off-by: Jon Mason <jon.mason@arm.com>
AI-generated: ChatGPT (OpenAI)
---
 meta-arm-bsp/conf/machine/rdn2.conf            | 2 +-
 meta-arm-bsp/conf/machine/rdv2.conf            | 2 +-
 meta-arm/lib/oeqa/runtime/cases/fvp_devices.py | 6 +++---
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/meta-arm-bsp/conf/machine/rdn2.conf b/meta-arm-bsp/conf/machine/rdn2.conf
index c9f3b26bb2e0..12cc1941b0c2 100644
--- a/meta-arm-bsp/conf/machine/rdn2.conf
+++ b/meta-arm-bsp/conf/machine/rdn2.conf
@@ -28,7 +28,7 @@ WKS_FILE_DEPENDS:append = " ${EXTRA_IMAGEDEPENDS}"
 TEST_TARGET = "OEFVPTarget"
 TEST_TARGET_IP = "127.0.0.1:2222"
 DEFAULT_TEST_SUITES:append = " fvp_boot fvp_devices"
-TEST_FVP_DEVICES ?= "watchdog networking"
+TEST_FVP_DEVICES ?= "cpu_hotplug rtc watchdog networking"
 
 # FVP Config
 FVP_PROVIDER ?= "fvp-rdn2-native"
diff --git a/meta-arm-bsp/conf/machine/rdv2.conf b/meta-arm-bsp/conf/machine/rdv2.conf
index b24c187a8664..39f40d4ed80b 100644
--- a/meta-arm-bsp/conf/machine/rdv2.conf
+++ b/meta-arm-bsp/conf/machine/rdv2.conf
@@ -30,7 +30,7 @@ WKS_FILE_DEPENDS:append = " ${EXTRA_IMAGEDEPENDS}"
 TEST_TARGET = "OEFVPTarget"
 TEST_TARGET_IP = "127.0.0.1:2222"
 DEFAULT_TEST_SUITES:append = " fvp_boot fvp_devices"
-TEST_FVP_DEVICES ?= "watchdog networking"
+TEST_FVP_DEVICES ?= "cpu_hotplug rtc watchdog networking"
 
 # FVP Config
 FVP_PROVIDER ?= "fvp-rdv2-native"
diff --git a/meta-arm/lib/oeqa/runtime/cases/fvp_devices.py b/meta-arm/lib/oeqa/runtime/cases/fvp_devices.py
index 7dd50bde4031..abea7a51eebd 100644
--- a/meta-arm/lib/oeqa/runtime/cases/fvp_devices.py
+++ b/meta-arm/lib/oeqa/runtime/cases/fvp_devices.py
@@ -78,8 +78,8 @@ class FvpDevicesTest(OERuntimeTestCase):
     @skipIfNotInDataVar('TEST_FVP_DEVICES', 'cpu_hotplug',
                         'cpu_hotplug not included in BSP tests')
     def test_cpu_hotplug(self):
-        _, cpus = self.run_cmd('find /sys/firmware/devicetree/base/cpus/'
-                               ' -name "cpu@*" -maxdepth 1 | wc -l')
+        _, cpus = self.run_cmd('find /sys/devices/system/cpu'
+                               ' -maxdepth 1 -type d -name "cpu[0-9]*" | wc -l')
 
         try:
             count_cpus = int(cpus)
@@ -113,7 +113,7 @@ class FvpDevicesTest(OERuntimeTestCase):
     @skipIfNotInDataVar('TEST_FVP_DEVICES', 'rtc',
                         'rtc device not included in BSP tests')
     def test_rtc(self):
-        self.check_devices("rtc", 1, ["rtc-pl031"])
+        self.check_devices("rtc", 1, ["rtc-pl031", "rtc-efi"])
         self.run_cmd('hwclock')
 
     @OETestDepends(['ssh.SSHTest.test_ssh'])
-- 
2.54.0 (Apple Git-157)


             reply	other threads:[~2026-12-04 17:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-04 17:46 Jon Mason [this message]
2026-12-04 17:46 ` [PATCH 2/2] arm-bsp: remove FVP boot menu delays Jon Mason

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261204174642.60887-1-jon.mason@arm.com \
    --to=jon.mason@arm.com \
    --cc=meta-arm@lists.yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.