1
0
Fork 0
remarkable-uboot/disk
Anton staaf f75dd584cd part_efi: dcache: allocate cacheline aligned buffers
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 <robotboy@chromium.org>
Cc: Lukasz Majewski <l.majewski@samsung.com>
Cc: Mike Frysinger <vapier@gentoo.org>
Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
Acked-by: Mike Frysinger <vapier@gentoo.org>
2011-10-25 09:26:34 +02:00
..
Makefile disk/part.c: Make features optional 2011-07-26 14:10:14 +02:00
part.c disk/part.c: fix potential stack overflow bug 2011-04-12 22:58:35 +02:00
part_amiga.c mflash: Initial mflash support 2009-04-03 23:47:06 +02:00
part_amiga.h * Code cleanup: 2003-06-27 21:31:46 +00:00
part_dos.c part_dos: fix crash with big sector size 2011-07-27 23:41:33 +02:00
part_dos.h part_dos: fix crash with big sector size 2011-07-27 23:41:33 +02:00
part_efi.c part_efi: dcache: allocate cacheline aligned buffers 2011-10-25 09:26:34 +02:00
part_efi.h part: show efi partition name when print out partition info 2011-10-06 20:42:47 +02:00
part_iso.c Partition support: remove newline from partition name 2009-08-09 22:52:38 +02:00
part_iso.h Big white-space cleanup. 2008-05-21 00:14:08 +02:00
part_mac.c mflash: Initial mflash support 2009-04-03 23:47:06 +02:00
part_mac.h * Code cleanup: 2003-06-27 21:31:46 +00:00