uboot-mvebu: backport patch to fix nvme detail crash
authorJosef Schlehofer <pepe.schlehofer@gmail.com>
Thu, 3 Mar 2022 12:01:24 +0000 (13:01 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 5 Mar 2022 20:05:24 +0000 (21:05 +0100)
commit0f432fa3a926bf07f2c6c70ee9a64cbaa95e5d16
tree3c510d2deb2b4ddf873a875207acf8c28f20b392
parent1324403eb6c65baa77dd83d1aa9fbd385b877826
uboot-mvebu: backport patch to fix nvme detail crash

Steps to reproduce:
1. Insert NVMe disk with a reduction to Turris Omnia
2. Go to U-boot
3. Run these two commands:
a) ``nvme scan``
b) ``nvme detail``
4. Wait for crash

This is backported from U-boot upstream repository.
It should be included in the upcoming release - 2022.04 [1].

It was tested on Turris Omnia, mvebu, cortex-a9, OpenWrt master.

[1] https://patchwork.ozlabs.org/project/uboot/patch/20211209100639.21530-1-pali@kernel.org/

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
[Export the patch from U-Boot git]
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
package/boot/uboot-mvebu/patches/012-nvme-Do-not-allocate-8kB-buffer-on-stack.patch [new file with mode: 0644]