From: Marek Vasut Date: Wed, 17 Feb 2021 19:01:19 +0100 Subject: [PATCH V2] nvme: Fix cache alignment In-Reply-To: References: <20210215191626.304826-1-marek.vasut+renesas@gmail.com> Message-ID: <8f3fb93c-cf3d-7870-b1e8-39771c7c4094@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 2/16/21 2:00 AM, Bin Meng wrote: > Hi Marek, Hi, > On Tue, Feb 16, 2021 at 3:16 AM Marek Vasut 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 >> Cc: Bin Meng >> --- >> 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 at arm.com/ > > Cc some people who have looked at Andre's patch I'll let you decide which patch to pick, thanks.