[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20241205-rumble-engulf-7e51eeab2668@spud>
Date: Thu, 5 Dec 2024 15:14:45 +0000
From: Conor Dooley <conor@...nel.org>
To: daire.mcnamara@...rochip.com,
Valentina Fernandez <valentina.fernandezalanis@...rochip.com>
Cc: conor@...nel.org,
Conor Dooley <conor.dooley@...rochip.com>,
linux-riscv@...ts.infradead.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v1] firmware: microchip: fix UL_IAP lock check in mpfs_auto_update_state()
From: Conor Dooley <conor.dooley@...rochip.com>
On Mon, 18 Nov 2024 15:53:54 +0000, Valentina Fernandez wrote:
> To verify that Auto Update is possible, the mpfs_auto_update_state()
> function performs a "Query Security Service Request" to the system
> controller.
>
> Previously, the check was performed on the first element of the
> response message, which was accessed using a 32-bit pointer. This
> caused the bitwise operation to reference incorrect data, as the
> response should be inspected at the byte level. Fixed this by casting
> the response to a u8 * pointer, ensuring the check correctly inspects
> the appropriate byte of the response message.
>
> [...]
Applied to riscv-soc-fixes, thanks!
[1/1] firmware: microchip: fix UL_IAP lock check in mpfs_auto_update_state()
https://git.kernel.org/conor/c/48808b55b07c
Thanks,
Conor.
Powered by blists - more mailing lists