mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Pandey, Radhey Shyam" <radheys@amd.com>
To: Abhijit Gangurde <abhijit.gangurde@amd.com>,
	nipun.gupta@amd.com, nikhil.agarwal@amd.com
Cc: gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org,
	michal.simek@amd.com, shubhrajyoti.datta@amd.com, git@amd.com
Subject: Re: [PATCH v4 1/1] cdx: register shutdown callback for cdx controller
Date: Fri, 27 Nov 2026 17:17:48 +0530	[thread overview]
Message-ID: <937b4d2d-9ec9-48f5-847c-4bf36c79dfc8@amd.com> (raw)
In-Reply-To: <20261127095417.282425-2-abhijit.gangurde@amd.com>

On 11/27/2026 3:24 PM, Abhijit Gangurde wrote:
> Register shutdown callback for cdx controller platform device
> to handle graceful connection closure of rpmsg transport.
> 
> Reviewed-by: Nikhil Agarwal <Nikhil.agarwal@amd.com>
> Signed-off-by: Abhijit Gangurde <abhijit.gangurde@amd.com>

Reviewed-by: Radhey Shyam Pandey <radhey.shyam.pandey@amd.com>
Thanks!

> ---
>   drivers/cdx/controller/cdx_controller.c | 6 ++++++
>   1 file changed, 6 insertions(+)
> 
> diff --git a/drivers/cdx/controller/cdx_controller.c b/drivers/cdx/controller/cdx_controller.c
> index 960c4f8b6b30..8b7119d056e6 100644
> --- a/drivers/cdx/controller/cdx_controller.c
> +++ b/drivers/cdx/controller/cdx_controller.c
> @@ -233,6 +233,11 @@ static void xlnx_cdx_remove(struct platform_device *pdev)
>   	kfree(cdx_mcdi);
>   }
>   
> +static void xlnx_cdx_shutdown(struct platform_device *pdev)
> +{
> +	cdx_destroy_rpmsg(pdev);
> +}
> +
>   static const struct of_device_id cdx_match_table[] = {
>   	{.compatible = "xlnx,versal-net-cdx",},
>   	{ },
> @@ -247,6 +252,7 @@ static struct platform_driver cdx_pdriver = {
>   		   },
>   	.probe = xlnx_cdx_probe,
>   	.remove = xlnx_cdx_remove,
> +	.shutdown = xlnx_cdx_shutdown,
>   };
>   
>   module_platform_driver(cdx_pdriver);


      reply	other threads:[~2026-11-27 11:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-27  9:54 [PATCH v4 0/1] " Abhijit Gangurde
2026-11-27  9:54 ` [PATCH v4 1/1] " Abhijit Gangurde
2026-11-27 11:47   ` Pandey, Radhey Shyam [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=937b4d2d-9ec9-48f5-847c-4bf36c79dfc8@amd.com \
    --to=radheys@amd.com \
    --cc=abhijit.gangurde@amd.com \
    --cc=git@amd.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=michal.simek@amd.com \
    --cc=nikhil.agarwal@amd.com \
    --cc=nipun.gupta@amd.com \
    --cc=shubhrajyoti.datta@amd.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®