[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <175315388530.3946361.1712627502152861268.b4-ty@oracle.com>
Date: Mon, 21 Jul 2025 23:46:54 -0400
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: Alim Akhtar <alim.akhtar@...sung.com>,
Peter Griffin <peter.griffin@...aro.org>,
"James E.J. Bottomley" <James.Bottomley@...senPartnership.com>,
Krzysztof Kozlowski <krzk@...nel.org>,
Seungwon Jeon <essuuj@...il.com>, Avri Altman <avri.altman@....com>,
Kiwoong Kim <kwmad.kim@...sung.com>,
André Draszik <andre.draszik@...aro.org>
Cc: "Martin K . Petersen" <martin.petersen@...cle.com>,
Tudor Ambarus <tudor.ambarus@...aro.org>,
Will McVicker <willmcvicker@...gle.com>, kernel-team@...roid.com,
linux-scsi@...r.kernel.org, linux-samsung-soc@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
stable@...r.kernel.org
Subject: Re: [PATCH] scsi: ufs: exynos: fix programming of HCI_UTRL_NEXUS_TYPE
On Mon, 07 Jul 2025 18:05:27 +0100, André Draszik wrote:
> On Google gs101, the number of UTP transfer request slots (nutrs) is
> 32, and in this case the driver ends up programming the UTRL_NEXUS_TYPE
> incorrectly as 0.
>
> This is because the left hand side of the shift is 1, which is of type
> int, i.e. 31 bits wide. Shifting by more than that width results in
> undefined behaviour.
>
> [...]
Applied to 6.17/scsi-queue, thanks!
[1/1] scsi: ufs: exynos: fix programming of HCI_UTRL_NEXUS_TYPE
https://git.kernel.org/mkp/scsi/c/01aad16c2257
--
Martin K. Petersen Oracle Linux Engineering
Powered by blists - more mailing lists