RE: [XEN][PATCH v6 02/19] common/device_tree: handle memory allocation failure in __unflatten_device_tree()

2023-05-03 Thread Henry Wang
Hi Vikram, > -Original Message- > Subject: [XEN][PATCH v6 02/19] common/device_tree: handle memory > allocation failure in __unflatten_device_tree() > > Change __unflatten_device_tree() return type to integer so it can propagate > memory allocation failure. Add panic() in dt_unflatten_hos

Re: [XEN][PATCH v6 02/19] common/device_tree: handle memory allocation failure in __unflatten_device_tree()

2023-05-05 Thread Michal Orzel
On 03/05/2023 01:36, Vikram Garhwal wrote: > > > Change __unflatten_device_tree() return type to integer so it can propagate > memory allocation failure. Add panic() in dt_unflatten_host_device_tree() for > memory allocation failure during boot. > > Signed-off-by: Vikram Garhwal I think we ar

Re: [XEN][PATCH v6 02/19] common/device_tree: handle memory allocation failure in __unflatten_device_tree()

2023-05-31 Thread Vikram Garhwal
Hi Michal, On 5/5/23 2:38 AM, Michal Orzel wrote: On 03/05/2023 01:36, Vikram Garhwal wrote: Change __unflatten_device_tree() return type to integer so it can propagate memory allocation failure. Add panic() in dt_unflatten_host_device_tree() for memory allocation failure during boot. Signed-

Re: [XEN][PATCH v6 02/19] common/device_tree: handle memory allocation failure in __unflatten_device_tree()

2023-05-31 Thread Michal Orzel
Hi Vikram, On 31/05/2023 22:32, Vikram Garhwal wrote: > Hi Michal, > > On 5/5/23 2:38 AM, Michal Orzel wrote: >> On 03/05/2023 01:36, Vikram Garhwal wrote: >>> >>> Change __unflatten_device_tree() return type to integer so it can propagate >>> memory allocation failure. Add panic() in dt_unflatte