[PATCH V2] nvme: Fix cache alignment

Marek Vasut marek.vasut at gmail.com
Wed Feb 17 19:01:19 CET 2021


On 2/16/21 2:00 AM, Bin Meng wrote:
> Hi Marek,

Hi,

> 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

I'll let you decide which patch to pick, thanks.


More information about the U-Boot mailing list