Re: [U-Boot] [PATCH] efi_loader: make pool allocations cacheline aligned

2017-08-02 Thread Rob Clark
On Wed, Aug 2, 2017 at 11:24 AM, Brüns, Stefan wrote: > On Mittwoch, 2. August 2017 11:28:37 CEST Rob Clark wrote: >> On Tue, Aug 1, 2017 at 9:10 PM, Heinrich Schuchardt > [...] >> >> >> >> @@ -356,7 +356,8 @@ efi_status_t efi_allocate_pool(int pool_type, >> >> unsigned long size,>> >> >> { >> >>

Re: [U-Boot] [PATCH] efi_loader: make pool allocations cacheline aligned

2017-08-02 Thread Brüns , Stefan
On Mittwoch, 2. August 2017 11:28:37 CEST Rob Clark wrote: > On Tue, Aug 1, 2017 at 9:10 PM, Heinrich Schuchardt [...] > >> > >> @@ -356,7 +356,8 @@ efi_status_t efi_allocate_pool(int pool_type, > >> unsigned long size,>> > >> { > >> > >> efi_status_t r; > >> efi_physical_addr_t t;

Re: [U-Boot] [PATCH] efi_loader: make pool allocations cacheline aligned

2017-08-02 Thread Rob Clark
On Tue, Aug 1, 2017 at 9:10 PM, Heinrich Schuchardt wrote: > On 08/01/2017 10:00 PM, Rob Clark wrote: >> This avoids printf() spam about file reads (such as loading an image) >> into unaligned buffers (and the associated memcpy()). And generally >> seems like a good idea. >> >> Signed-off-by: Rob

Re: [U-Boot] [PATCH] efi_loader: make pool allocations cacheline aligned

2017-08-01 Thread Heinrich Schuchardt
On 08/01/2017 10:00 PM, Rob Clark wrote: > This avoids printf() spam about file reads (such as loading an image) > into unaligned buffers (and the associated memcpy()). And generally > seems like a good idea. > > Signed-off-by: Rob Clark > --- > lib/efi_loader/efi_memory.c | 5 +++-- > 1 file c

[U-Boot] [PATCH] efi_loader: make pool allocations cacheline aligned

2017-08-01 Thread Rob Clark
This avoids printf() spam about file reads (such as loading an image) into unaligned buffers (and the associated memcpy()). And generally seems like a good idea. Signed-off-by: Rob Clark --- lib/efi_loader/efi_memory.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib