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

2023-06-01 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

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.

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

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

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

2023-05-02 Thread Vikram Garhwal
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 --- xen/common/device_tree.c | 13 ++--- 1 file changed, 10