Skip to content

Conversation

kylin-wangdi
Copy link
Contributor

@kylin-wangdi kylin-wangdi commented Jul 23, 2025

Summary of the PR

Add support for HAS_DEVICE_ATTR and SET_DEVICE_ATTR vm ioctls on
aarch64, which were introduced in linux 6.4 to support configuring SMCCC
filter. SMCCC filter could be used to forward selected SMCs or HVCs to
userspace for handling. For example, to implement vCPU hotplug/hotunplug
on aarch64, it's required to forward PSCI calls to userspace for handling.

Requirements

Before submitting your PR, please make sure you addressed the following
requirements:

  • All commits in this PR have Signed-Off-By trailers (with
    git commit -s), and the commit message has max 60 characters for the
    summary and max 75 characters for each description line.
  • All added/changed functionality has a corresponding unit/integration
    test.
  • All added/changed public-facing functionality has entries in the "Upcoming
    Release" section of CHANGELOG.md (if no such section exists, please create one).
  • Any newly added unsafe code is properly documented.

roypat
roypat previously approved these changes Jul 25, 2025
ShadowCurse
ShadowCurse previously approved these changes Aug 4, 2025
@roypat
Copy link
Member

roypat commented Aug 4, 2025

This branch cannot be rebased due to conflicts

thanks github, that's helpful. @kylin-wangdi could you try manually rebasing this? :o

Add support for HAS_DEVICE_ATTR and SET_DEVICE_ATTR vm ioctls on
aarch64 to support configuring SMCCC filter.

Signed-off-by: kylin-wangdi <[email protected]>
@kylin-wangdi
Copy link
Contributor Author

This branch cannot be rebased due to conflicts

thanks github, that's helpful. @kylin-wangdi could you try manually rebasing this? :o

done rebasing

@ShadowCurse ShadowCurse merged commit 4239dd9 into rust-vmm:main Aug 5, 2025
39 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants