Re: [PATCH v3] hw/cxl: Fix CFMW config memory leak

2023-09-11 Thread Jonathan Cameron via
On Fri, 8 Sep 2023 20:02:41 +0300 Michael Tokarev wrote: > 08.08.2023 17:44, Jonathan Cameron: > > > Sorry, I'm running a bit behind. Have this one a few other fixes > > still queued up - I didn't consider any of them particularly critical > > for the release so wasn't rushing. > > > > I'll ai

Re: [PATCH v3] hw/cxl: Fix CFMW config memory leak

2023-09-08 Thread Michael Tokarev
08.08.2023 17:44, Jonathan Cameron: Sorry, I'm running a bit behind. Have this one a few other fixes still queued up - I didn't consider any of them particularly critical for the release so wasn't rushing. I'll aim to get them out as a series soon though so they are available for start of next

Re: [PATCH v3] hw/cxl: Fix CFMW config memory leak

2023-08-08 Thread Jonathan Cameron via
On Sat, 5 Aug 2023 08:46:29 +0300 Michael Tokarev wrote: > 31.05.2023 14:08, Jonathan Cameron via wrote: > > On Wed, 31 May 2023 09:51:43 +0200 > > Philippe Mathieu-Daudé wrote: > > > >> On 31/5/23 08:07, Li Zhijian wrote: > >>> Allocate targets and targets[n] resources when all sanity chec

Re: [PATCH v3] hw/cxl: Fix CFMW config memory leak

2023-08-04 Thread Michael Tokarev
31.05.2023 14:08, Jonathan Cameron via wrote: On Wed, 31 May 2023 09:51:43 +0200 Philippe Mathieu-Daudé wrote: On 31/5/23 08:07, Li Zhijian wrote: Allocate targets and targets[n] resources when all sanity checks are passed to avoid memory leaks. Suggested-by: Philippe Mathieu-Daudé Signed-o

Re: [PATCH v3] hw/cxl: Fix CFMW config memory leak

2023-05-31 Thread Jonathan Cameron via
On Wed, 31 May 2023 09:51:43 +0200 Philippe Mathieu-Daudé wrote: > On 31/5/23 08:07, Li Zhijian wrote: > > Allocate targets and targets[n] resources when all sanity checks are > > passed to avoid memory leaks. > > > > Suggested-by: Philippe Mathieu-Daudé > > Signed-off-by: Li Zhijian > > --- >

Re: [PATCH v3] hw/cxl: Fix CFMW config memory leak

2023-05-31 Thread Philippe Mathieu-Daudé
On 31/5/23 08:07, Li Zhijian wrote: Allocate targets and targets[n] resources when all sanity checks are passed to avoid memory leaks. Suggested-by: Philippe Mathieu-Daudé Signed-off-by: Li Zhijian --- V3: allocte further resource when we can't fail # Philippe Thanks for the v3! Reviewed-by

[PATCH v3] hw/cxl: Fix CFMW config memory leak

2023-05-30 Thread Li Zhijian
Allocate targets and targets[n] resources when all sanity checks are passed to avoid memory leaks. Suggested-by: Philippe Mathieu-Daudé Signed-off-by: Li Zhijian --- V3: allocte further resource when we can't fail # Philippe V2: Delete unnecesarry check --- hw/cxl/cxl-host.c | 12 ++--