forked from xen-project/xen
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rproc: Refactor and harden driver to prepare for domain restarting
A prerequisite patch for implementing domain restart. Also fix misc issues which I have found during refactoring. Such as validating vgic_reserve_virq() to return a boolean with true being a success value, checking the page to be a non-zero value before releasing as a guest specifying PA above 4GB can crash Xen, iterate, and checking the rproc channel against rproc_data->vq_cnt instead of mfis_data->chan_cnt, adding missing __init annotation, etc. The current diff looks non-ideal, but refer to the subsequent commit which diff looks much more cleaner. Signed-off-by: Oleksandr Tyshchenko <[email protected]>
- Loading branch information
Oleksandr Tyshchenko
committed
Dec 12, 2024
1 parent
6ef6bb8
commit c04ae0f
Showing
1 changed file
with
79 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters