On RISC-V check if hardware is RVA23 capable
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| ubuntu-release-upgrader (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
| Noble |
Won't Fix
|
High
|
Heinrich Schuchardt | ||
| Plucky |
Fix Released
|
Undecided
|
Heinrich Schuchardt | ||
| Questing |
Fix Released
|
Undecided
|
Unassigned | ||
Bug Description
[ Impact ]
For Ubuntu 25.10 release we plan to raise the required RISC-V ISA profile family to RVA23.
The ubuntu-
As there is no upgrade path from Ubuntu 25.04 Plucky for RVA20 systems, we should also stop upgrading these RISC-V systems from Noble to Plucky. Probably a warning is adequate here.
The Noble entry is only a placeholder for the 24.04.3 milestone. All changes have to be done in the target releases (Questing, Noble).
The Linux kernel exposes available extensions via /proc/cpuinfo field ISA and via the hwprobe system call [3]. Which extensions are exposed depends on the kernel revision. We are backporting a v6.14 kernel to Ubuntu 24.04. We have to restrict our check to those RVA23 extensions exposed by this kernel release.
As the ubuntu-
[1]
RVA23 Profiles, Version 1.0, 2024-10-17
https:/
[2]
RISC-V Linux User ABI
https:/
[3]
RISC-V Hardware Probing Interface
https:/
[ Test Plan ]
Test that Ubuntu 22.04 Jammy can be upgraded to Ubuntu 24.04 Noble on RVA20 hardware.
Test that Ubuntu 24.04 Noble cannot be upgraded to Plucky or Questing on RVA20 hardware.
Test that Ubuntu 25.04 Plucky cannot be upgraded to Questing on RVA20 hardware.
Test that Ubuntu 24.04 Noble can be upgraded to Questing on a RVA23 virtual machine.
Test that Ubuntu 24.04 Plucky can be upgraded to Questing on a RVA23 virtual machine.
Test that Ubuntu 24.04 Plucky can be upgraded to Questing on an arm64 virtual machine.
QEMU 10.0 provides all RVA23U64 extensions.
[ Where problems could occur ]
If incorrectly implemented, the upgrader might not correctly identify RVA20 and RVA23 systems and therefore might stop or allow upgrades in the wrong case.
[ Other Info ]
n/a
Related branches
- Nick Rosbrook: Approve
-
Diff: 595 lines (+523/-1)5 files modifiedDistUpgrade/DistUpgradeQuirks.py (+38/-1)
DistUpgrade/RiscvProfile.py (+302/-0)
debian/changelog (+6/-0)
tests/test_quirks.py (+51/-0)
tests/test_riscvprofile.py (+126/-0)
- Ubuntu Core Development Team: Pending requested
-
Diff: 51943 lines (+10201/-8943) (has conflicts)133 files modifiedDistUpgrade/DistUpgradeCache.py (+17/-0)
DistUpgrade/DistUpgradeController.py (+16/-0)
DistUpgrade/DistUpgradeQuirks.py (+42/-0)
DistUpgrade/DistUpgradeVersion.py (+4/-0)
DistUpgrade/RiscvProfile.py (+11/-0)
data/mirrors.cfg (+42/-26)
debian/changelog (+36/-0)
po/af.po (+83/-75)
po/am.po (+79/-71)
po/an.po (+77/-69)
po/ar.po (+79/-71)
po/ast.po (+81/-73)
po/az.po (+77/-69)
po/be.po (+81/-73)
po/bg.po (+83/-75)
po/bn.po (+80/-71)
po/bo.po (+79/-71)
po/br.po (+82/-74)
po/bs.po (+84/-76)
po/ca.po (+81/-73)
po/ca@valencia.po (+81/-73)
po/ce.po (+77/-69)
po/ceb.po (+76/-65)
po/ckb.po (+77/-69)
po/crh.po (+80/-72)
po/cs.po (+83/-75)
po/csb.po (+77/-69)
po/cv.po (+77/-69)
po/cy.po (+77/-69)
po/da.po (+80/-72)
po/de.po (+85/-77)
po/dv.po (+77/-69)
po/el.po (+81/-73)
po/en_AU.po (+83/-75)
po/en_CA.po (+79/-71)
po/en_GB.po (+83/-75)
po/eo.po (+84/-75)
po/es.po (+87/-79)
po/et.po (+83/-75)
po/eu.po (+83/-74)
po/fa.po (+76/-65)
po/fi.po (+91/-82)
po/fil.po (+79/-71)
po/fo.po (+77/-69)
po/fr.po (+85/-76)
po/fr_CA.po (+81/-73)
po/fur.po (+77/-69)
po/fy.po (+76/-65)
po/ga.po (+76/-65)
po/gd.po (+86/-78)
po/gl.po (+83/-75)
po/gu.po (+76/-65)
po/gv.po (+76/-65)
po/he.po (+84/-75)
po/hi.po (+80/-71)
po/hr.po (+81/-73)
po/hu.po (+79/-71)
po/hy.po (+76/-65)
po/ia.po (+81/-73)
po/id.po (+81/-73)
po/is.po (+80/-72)
po/it.po (+91/-82)
po/ja.po (+82/-74)
po/jv.po (+76/-65)
po/ka.po (+77/-69)
po/kk.po (+81/-73)
po/km.po (+80/-72)
po/kn.po (+76/-65)
po/ko.po (+80/-72)
po/ku.po (+79/-71)
po/ky.po (+76/-65)
po/lb.po (+76/-65)
po/ln.po (+76/-65)
po/lo.po (+76/-65)
po/lt.po (+83/-75)
po/lv.po (+82/-74)
po/mhr.po (+76/-65)
po/mjw.po (+76/-65)
po/mk.po (+77/-69)
po/ml.po (+77/-69)
po/mn.po (+77/-69)
po/mnw.po (+76/-65)
po/mr.po (+77/-69)
po/ms.po (+81/-73)
po/mus.po (+76/-65)
po/my.po (+77/-69)
po/nb.po (+90/-81)
po/nds.po (+77/-69)
po/ne.po (+77/-69)
po/nl.po (+87/-79)
po/nn.po (+81/-73)
po/oc.po (+81/-73)
po/om.po (+76/-65)
po/pa.po (+77/-69)
po/pam.po (+76/-65)
po/pl.po (+81/-73)
po/ps.po (+76/-65)
po/pt.po (+79/-71)
po/pt_BR.po (+84/-76)
po/qu.po (+76/-65)
po/ro.po (+79/-71)
po/ru.po (+88/-80)
po/rw.po (+76/-65)
po/sc.po (+76/-65)
po/sco.po (+77/-69)
po/sd.po (+76/-65)
po/se.po (+76/-65)
po/shn.po (+76/-65)
po/si.po (+77/-69)
po/sk.po (+87/-79)
po/sl.po (+84/-76)
po/sq.po (+83/-75)
po/sr.po (+82/-74)
po/sv.po (+83/-75)
po/szl.po (+88/-80)
po/ta.po (+77/-69)
po/ta_LK.po (+76/-65)
po/te.po (+77/-69)
po/tg.po (+76/-65)
po/th.po (+79/-71)
po/tl.po (+77/-69)
po/tr.po (+82/-74)
po/ubuntu-release-upgrader.pot (+76/-65)
po/ug.po (+81/-73)
po/uk.po (+86/-78)
po/ur.po (+76/-65)
po/uz.po (+76/-65)
po/vi.po (+83/-75)
po/xh.po (+76/-65)
po/zh_CN.po (+79/-71)
po/zh_HK.po (+79/-71)
po/zh_TW.po (+77/-69)
po/zu.po (+76/-65)
- Nick Rosbrook: Approve
-
Diff: 660 lines (+506/-10)11 files modifiedDistUpgrade/DistUpgradeCache.py (+1/-1)
DistUpgrade/DistUpgradeController.py (+0/-2)
DistUpgrade/DistUpgradeFetcherCore.py (+0/-2)
DistUpgrade/DistUpgradeQuirks.py (+38/-1)
DistUpgrade/ReleaseNotesViewerWebkit.py (+0/-2)
DistUpgrade/RiscvProfile.py (+300/-0)
debian/changelog (+6/-0)
tests/test_end_of_life.py (+0/-1)
tests/test_pyflakes.py (+1/-1)
tests/test_quirks.py (+39/-0)
tests/test_riscvprofile.py (+121/-0)
- Nick Rosbrook (community): Needs Fixing
-
Diff: 507 lines (+461/-1)4 files modifiedDistUpgrade/DistUpgradeQuirks.py (+48/-1)
DistUpgrade/RiscvExtensionAnalyzer.py (+300/-0)
debian/changelog (+6/-0)
tests/test_riscvextensionanalyzer.py (+107/-0)
| Changed in ubuntu-release-upgrader (Ubuntu): | |
| milestone: | none → ubuntu-25.10 |
| summary: |
- On RISC-V check if hardware is RVA23 capapble + On RISC-V check if hardware is RVA23 capable |
| Changed in ubuntu-release-upgrader (Ubuntu): | |
| assignee: | nobody → Heinrich Schuchardt (xypron) |
| Changed in ubuntu-release-upgrader (Ubuntu Plucky): | |
| assignee: | nobody → Heinrich Schuchardt (xypron) |
| Changed in ubuntu-release-upgrader (Ubuntu Questing): | |
| assignee: | Heinrich Schuchardt (xypron) → nobody |
| Changed in ubuntu-release-upgrader (Ubuntu Noble): | |
| assignee: | nobody → Heinrich Schuchardt (xypron) |
| milestone: | none → ubuntu-24.04.3 |
| description: | updated |
| Changed in ubuntu-release-upgrader (Ubuntu Noble): | |
| importance: | Undecided → High |

This bug was fixed in the package ubuntu- release- upgrader - 1:25.10.5
--------------- release- upgrader (1:25.10.5) questing; urgency=medium
ubuntu-
* On RISC-V check for RVA23U64 compatibility (LP: #2111715)
-- Heinrich Schuchardt <email address hidden> Tue, 03 Jun 2025 11:03:07 +0200