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

2022-04-07 Thread Daniel Kiper
On Mon, Mar 28, 2022 at 05:22:34PM +1100, Daniel Axtens wrote: > From: 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 p

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

2022-03-27 Thread Daniel Axtens
From: 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