[PATCH V2] nvme: Fix cache alignment

Bin Meng bmeng.cn at gmail.com
Tue Feb 16 02:00:58 CET 2021


Hi Marek,

On Tue, Feb 16, 2021 at 3:16 AM Marek Vasut <marek.vasut at gmail.com> wrote:
>
> The various structures in the driver are already correctly padded and
> cache aligned in memory, however the cache operations are called on
> the structure sizes, which themselves might not be cache aligned. Add
> the necessary rounding to fix this, which permits the nvme to work on
> arm64.
>
> Signed-off-by: Marek Vasut <marek.vasut+renesas at gmail.com>
> Cc: Bin Meng <bmeng.cn at gmail.com>
> ---
> V2: Fix typo in the bugfix description
> ---
>  drivers/nvme/nvme.c | 50 +++++++++++++++++++++++++++++----------------
>  1 file changed, 32 insertions(+), 18 deletions(-)
>

Would you give a chance to test Andre's patch?
http://patchwork.ozlabs.org/project/uboot/patch/20210208133154.12645-1-andre.przywara@arm.com/

Cc some people who have looked at Andre's patch

Regards,
Bin


More information about the U-Boot mailing list