[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <325f7135-305b-4fdc-8912-acf257b86d22@amd.com>
Date: Wed, 13 Dec 2023 16:54:57 +0100
From: Michal Simek <michal.simek@....com>
To: linux-kernel@...r.kernel.org, monstr@...str.eu,
michal.simek@...inx.com, git@...inx.com
Cc: Naman Trivedi Manojbhai <naman.trivedimanojbhai@....com>,
Radhey Shyam Pandey <radhey.shyam.pandey@....com>,
Rob Herring <robh@...nel.org>,
Ruan Jinjie <ruanjinjie@...wei.com>,
Uwe Kleine-König <u.kleine-koenig@...gutronix.de>,
linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH] soc: xilinx: Add error message for invalid payload
received from IPI callback.
On 12/7/23 16:24, Michal Simek wrote:
> From: Naman Trivedi Manojbhai <naman.trivedimanojbhai@....com>
>
> payload[0] of response buffer of zynqmp_pm_get_callback_data()
> contains valid payload or error code in case of error.
>
> Added error message to inform user about the error code received in
> payload[0].
>
> Signed-off-by: Naman Trivedi Manojbhai <naman.trivedimanojbhai@....com>
> Signed-off-by: Michal Simek <michal.simek@....com>
> ---
>
> drivers/soc/xilinx/zynqmp_power.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/drivers/soc/xilinx/zynqmp_power.c b/drivers/soc/xilinx/zynqmp_power.c
> index abcf7e883279..07d735b38b49 100644
> --- a/drivers/soc/xilinx/zynqmp_power.c
> +++ b/drivers/soc/xilinx/zynqmp_power.c
> @@ -86,6 +86,8 @@ static irqreturn_t zynqmp_pm_isr(int irq, void *data)
> pr_err("%s Unsupported InitSuspendCb reason code %d\n",
> __func__, payload[1]);
> }
> + } else {
> + pr_err("%s() Unsupported Callback %d\n", __func__, payload[0]);
> }
>
> return IRQ_HANDLED;
Applied.
M
Powered by blists - more mailing lists