[Skiboot] [PATCH 02/14] hdat: Parse hostboot memory reservations from HDAT
Oliver O'Halloran
oohall at gmail.com
Thu Jan 12 18:19:49 AEDT 2017
On Thu, Jan 12, 2017 at 5:37 PM, Vasant Hegde
<hegdevasant at linux.vnet.ibm.com> wrote:
> On 01/12/2017 09:24 AM, Oliver O'Halloran wrote:
>> + mem_reserve_hw(label, start_addr, end_addr - start_addr);
>
>
> Actually my v2 had a issue which I had corrected locally.
>
> mem_reserve_hw create new mem_region and region->name = label.
>
> Hence I think we should allocate memory for label here.
You're right. I thought mem_reserve_hw() would make a copy, but it doesn't.
More information about the Skiboot
mailing list