On Fri, 2026-10-30 at 14:05 +1000, Portia Stephens wrote: > This updates the tt_atlantis test to test Ascalon boot with the rcpu > enabled and disabled. There is currently no code executing on the > rcpu > but this tests that the rcpu model does not break Ascalon boot.
Can we test the actual RCPU as well Alistair > > Signed-off-by: Portia Stephens <[email protected]> > --- > tests/functional/riscv64/test_tt_atlantis.py | 10 ++++++++-- > 1 file changed, 8 insertions(+), 2 deletions(-) > > diff --git a/tests/functional/riscv64/test_tt_atlantis.py > b/tests/functional/riscv64/test_tt_atlantis.py > index 48abd5cd27..940ddfd895 100755 > --- a/tests/functional/riscv64/test_tt_atlantis.py > +++ b/tests/functional/riscv64/test_tt_atlantis.py > @@ -22,8 +22,10 @@ class TTAtlantis(LinuxKernelTest): > 'rootfs.ext2.gz'), > > 'b6ed95610310b7956f9bf20c4c9c0c05fea647900df441da9dfe767d24e8b28b') > > - def do_test_riscv64_tt_atlantis(self, connect_disk): > + def do_test_riscv64_tt_atlantis(self, connect_disk, rcpu): > self.set_machine('tt-atlantis') > + if not rcpu: > + self.machine += ',rcpu=off' > kernel_path = self.ASSET_KERNEL.fetch() > rootfs_path = self.uncompress(self.ASSET_ROOTFS) > > @@ -48,9 +50,13 @@ def do_test_riscv64_tt_atlantis(self, > connect_disk): > self.vm.launch() > self.wait_for_console_pattern(pattern) > > + def test_riscv64_tt_atlantis_rcpu(self): > + # test with the rcpu enabled > + self.do_test_riscv64_tt_atlantis(False, True) > + > def test_riscv64_tt_atlantis(self): > # tt-atlantis machine has no PCI host yet, so no disk > - self.do_test_riscv64_tt_atlantis(False) > + self.do_test_riscv64_tt_atlantis(False, False) > > > if __name__ == '__main__':
