Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V4H domain reboot #219

Merged

Conversation

otyshchenko1
Copy link
Collaborator

Tested with xl destroy/create and xl reboot, w/ and w/o GPU rendering app/modetest running using custom reduced DomU (with rproc/rvgc and GPU only). No issues were observed. After DomU restart, everything remains working in the context of Shared display feature.


mfis_data->domains[chan] = d;

printk("MFIS: Added chan %d for domain %d\n", chan, d->domain_id);

Choose a reason for hiding this comment

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

Log level INFO?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

+1


return -ENOENT;
printk("MFIS: Removed chan %d for domain %d\n", chan, d->domain_id);

Choose a reason for hiding this comment

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

Log level INFO?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

+1

@rshym
Copy link

rshym commented Dec 12, 2024

It seems like a minor misprint in the second commit message: 'otherend.'

Oleksandr Tyshchenko added 2 commits December 12, 2024 16:54
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]>
Add specific events to notify otherend when rproc-enabled domain
is created or destroyed. Waiting for the ack or otherwise when
sending these events from mfis_add_domain()/mfis_remove_domain()
(not a hot path).

Signed-off-by: Oleksandr Tyshchenko <[email protected]>
@otyshchenko1 otyshchenko1 merged commit 4b1cc2e into xen-troops:xen-4.19-xt0.2_v4h_demo Dec 12, 2024
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