[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <80fe1dd3-7541-4629-a540-021603d1f150@web.de>
Date: Wed, 29 Oct 2025 19:54:14 +0100
From: Markus Elfring <Markus.Elfring@....de>
To: Lizhi Hou <lizhi.hou@....com>, dri-devel@...ts.freedesktop.org,
 Jeffrey Hugo <quic_jhugo@...cinc.com>,
 Maciej Falkowski <maciej.falkowski@...ux.intel.com>,
 Oded Gabbay <ogabbay@...nel.org>
Cc: LKML <linux-kernel@...r.kernel.org>,
 Mario Limonciello <mario.limonciello@....com>, Max Zhen <max.zhen@....com>,
 Sonal Santan <sonal.santan@....com>
Subject: Re: accel/amdxdna: Fix incorrect command state for timed out job
>> https://elixir.bootlin.com/linux/v6.18-rc3/C/ident/amdxdna_cmd_set_state
> 
> Sure. amdxdna_cmd_set_state() updates the return code to command buffer. So application which issues the command will be able to get the return code.
> 
> The function return value "ret" is used by mailbox receiving kernel thread to deal with the error.
I miss a clearer answer for the indicated function call incidence.
Can it be helpful to determine the state value before it would be passed to a concrete call?
Regards,
Markus
Powered by blists - more mailing lists
 
