Re: [PATCH RESEND v2 07/12] coco: host: arm64: Add helper to stop and tear down an RMM pdev

Jonathan Cameron
2025-10-29T18:34:46Z

On Mon, 27 Oct 2025 15:25:57 +0530
"Aneesh Kumar K.V (Arm)" <aneesh.kumar@kernel.org> wrote:

Repeat the main bit of the title here.

> - describe the RMI_PDEV_STOP/RMI_PDEV_DESTROY SMC IDs and provide
> wrappers in rmi_cmds.h
> - implement pdev_stop_and_destroy() so the host driver stops the pdev,
> waits for it to reach RMI_PDEV_STOPPED, destroys it, frees auxiliary
> granules, and drops the delegated page
>
> Signed-off-by: Aneesh Kumar K.V (Arm) <aneesh.kumar@kernel.org>
Reviewed-by: Jonathan Cameron <jonathan.cameron@huawei.com>