
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@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@gmail.com Cc: Bin Meng bmeng.cn@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...
Cc some people who have looked at Andre's patch
I'll let you decide which patch to pick, thanks.