From: Wolfgang Denk Date: Thu, 06 Oct 2011 20:45:34 +0200 Subject: [U-Boot] [PATCH v2 7/7] part_efi: dcache: allocate cacheline aligned buffers In-Reply-To: <1317763491-7274-8-git-send-email-robotboy@chromium.org> References: <1317763491-7274-1-git-send-email-robotboy@chromium.org> <1317763491-7274-8-git-send-email-robotboy@chromium.org> Message-ID: <20111006184534.069D1140874A@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Anton Staaf, In message <1317763491-7274-8-git-send-email-robotboy@chromium.org> you wrote: > Currently part_efi.c allocates buffers for the gpt_header, the > legacy_mbr, and the pte (partition table entry) that may be > incorrectly aligned for DMA operations. > > This patch uses ALLOC_CACHE_ALIGN_BUFFER for the stack allocated > buffers and memalign to replace the malloc of the pte. > > Signed-off-by: Anton Staaf > Cc: Lukasz Majewski > Cc: Mike Frysinger > Cc: Albert ARIBAUD > --- > disk/part_efi.c | 18 +++++++++--------- > 1 files changed, 9 insertions(+), 9 deletions(-) Applied, thanks. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de "Go to Heaven for the climate, Hell for the company." - Mark Twain