Re: [PATCH v2] efi_loader: round the memory area in efi_add_memory_map()

2020-05-17 Thread Matthias Brugger
On 17/05/2020 12:29, Michael Walle wrote: > Virtually all callers of this function do the rounding on their own. > Some do it right, some don't. Instead of doing this in each caller, > do the rounding in efi_add_memory_map(). Change the size parameter > to bytes instead of pages and remove align

Re: [PATCH v2] efi_loader: round the memory area in efi_add_memory_map()

2020-05-17 Thread Heinrich Schuchardt
On 5/17/20 12:29 PM, Michael Walle wrote: > Virtually all callers of this function do the rounding on their own. > Some do it right, some don't. Instead of doing this in each caller, > do the rounding in efi_add_memory_map(). Change the size parameter > to bytes instead of pages and remove aligning

Re: [PATCH v2] efi_loader: round the memory area in efi_add_memory_map()

2020-05-17 Thread Heinrich Schuchardt
On 5/17/20 12:29 PM, Michael Walle wrote: > Virtually all callers of this function do the rounding on their own. > Some do it right, some don't. Instead of doing this in each caller, > do the rounding in efi_add_memory_map(). Change the size parameter > to bytes instead of pages and remove aligning