On 13.10.2025 12:15, Penny Zheng wrote: > Function domain_soft_reset() is responsible for domain soft reset domctl-op, > and shall be wrapped with CONFIG_MGMT_HYPERCALLS > Tracking its calling chain, and the following functions shall also be wrapped > with CONFIG_MGMT_HYPERCALLS: > - grant_table_warn_active_grants() > - argo_soft_reset() > - arch_domain_soft_reset() > Otherwise they will become unreachable when MGMT_HYPERCALLS=n and hence > violating Misra rule 2.1. > > Signed-off-by: Penny Zheng <[email protected]>
This imo wants doing differently, with all the per-arch stubs going away. I've sent a patch (with you Cc-ed), on top of which all that should remain for this series would be to add a dependency to the new HAS_SOFT_RESET. Possibly that could then even be folded into some other patch (doing something similar). Jan
