Skip to content

Hotfix Release: v25.1.0.1 - #3082

Merged
BobbyRBruce merged 9 commits into
stablefrom
hotfix-v25-1-0-1
Apr 21, 2026
Merged

BobbyRBruce merged 9 commits into
stablefrom
hotfix-v25-1-0-1

Conversation

@BobbyRBruce

Copy link
Copy Markdown
Member

BobbyRBruce and others added 9 commits April 14, 2026 02:21
This commit modifies gem5 so that it saves/restores the PMP table
when taking/restoring a checkpoint. This resolves issue 2908.
This commit makes it so that all PMP table entries are saved to
the checkpoint when one is taken, instead of only the entries
from index 0 to index numRules - 1
This commit modifies the `fatal` message to be more clear by
printing the PMP table size in both the current simulation and
in the checkpoint.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit modifies PmpEntry so rawAddr is initialized to a
default value. This is to prevent an undefined value for rawAddr
when saving a checkpoint.
This commit makes it so that numRules and pmpAddr for the
pmpTable are not stored when taking a checkpoint, and are instead
recomputed using pmpUpdateRule() when restoring from a checkpoint.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Hotfix release v25.1.0.1 which rolls in two fixes: (1) RISC-V checkpoint correctness by saving/restoring the PMP table and (2) an Arm KVM build fix by including the required misc-reg metadata header.

Changes:

  • Bump gem5 version strings / documentation to 25.1.0.1 and add hotfix release notes.
  • RISC-V: Make PMP entries serializable and add PMP::{serialize,unserialize} to checkpoint PMP configuration/state.
  • Arm KVM: Add missing arch/arm/regs/misc_info.hh include; update the RISC-V checkpoint example to use a newer resource version.

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/base/version.cc Updates the reported gem5 version to 25.1.0.1.
src/arch/riscv/pmp.hh Makes PmpEntry serializable and declares PMP checkpoint hooks.
src/arch/riscv/pmp.cc Implements PMP::serialize/unserialize to persist PMP table state and rebuild derived ranges.
src/arch/arm/kvm/armv8_cpu.cc Fixes KVM build by including misc-reg metadata definitions.
src/Doxyfile Updates Doxygen project version to v25.1.0.1.
configs/example/gem5_library/checkpoints/riscv-hello-restore-checkpoint.py Updates referenced checkpoint resource version for the restore example.
RELEASE-NOTES.md Adds release notes entry for hotfix 25.1.0.1 and links the included PRs.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@erin-le erin-le added the misc Anything outside of the current labeling categories label Apr 14, 2026
@BobbyRBruce

Copy link
Copy Markdown
Member Author

Note: The tests fail in this case due to a PyUnit test that is dependent on the release being "develop". This is a known weakness. I'm therefore ignoring the error and merging the hotfix.

@BobbyRBruce
BobbyRBruce merged commit c8222cc into stable Apr 21, 2026
79 of 81 checks passed
@BobbyRBruce
BobbyRBruce deleted the hotfix-v25-1-0-1 branch September 1, 2026 17:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

misc Anything outside of the current labeling categories

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants