Re: [PATCH v2 3/4] efi: mm: Pass up errors from `add_memory_regions ()`

2021-08-15 Thread Patrick Steinhardt
On Mon, Aug 09, 2021 at 06:10:01PM +0200, Daniel Kiper wrote: > On Sun, Aug 08, 2021 at 03:31:49PM +0200, Patrick Steinhardt wrote: > > The function `add_memory_regions ()` is currently only called on system > > initialization to allocate a fixed amount of pages. As such, it didn't > > need to retu

Re: [PATCH v2 3/4] efi: mm: Pass up errors from `add_memory_regions ()`

2021-08-09 Thread Daniel Kiper
On Sun, Aug 08, 2021 at 03:31:49PM +0200, Patrick Steinhardt wrote: > The function `add_memory_regions ()` is currently only called on system > initialization to allocate a fixed amount of pages. As such, it didn't > need to return any errors: in case it failed, we cannot proceed anyway. > This wil

[PATCH v2 3/4] efi: mm: Pass up errors from `add_memory_regions ()`

2021-08-08 Thread Patrick Steinhardt
The function `add_memory_regions ()` is currently only called on system initialization to allocate a fixed amount of pages. As such, it didn't need to return any errors: in case it failed, we cannot proceed anyway. This will change with the upcoming support for requesting more memory from the firmw