On Thu, 3 Nov 2016 19:09:35 +0800
Xiao Guangrong wrote:
> On 11/03/2016 07:02 PM, Igor Mammedov wrote:
> > On Thu, 3 Nov 2016 11:51:28 +0800
> > Xiao Guangrong wrote:
> >
> >> The buffer is used to save the FIT info for all the presented nvdimm
> >> devices which is updated after the nvdimm d
On 11/03/2016 07:02 PM, Igor Mammedov wrote:
On Thu, 3 Nov 2016 11:51:28 +0800
Xiao Guangrong wrote:
The buffer is used to save the FIT info for all the presented nvdimm
devices which is updated after the nvdimm device is plugged or
unplugged. In the later patch, it will be used to construc
On Thu, 3 Nov 2016 11:51:28 +0800
Xiao Guangrong wrote:
> The buffer is used to save the FIT info for all the presented nvdimm
> devices which is updated after the nvdimm device is plugged or
> unplugged. In the later patch, it will be used to construct NVDIMM
> ACPI _FIT method which reflects t
On 11/03/2016 06:00 PM, Stefan Hajnoczi wrote:
On Thu, Nov 03, 2016 at 11:51:28AM +0800, Xiao Guangrong wrote:
+static void nvdimm_init_fit_buffer(NvdimmFitBuffer *fit_buf)
+{
+fit_buf->fit = g_array_new(false, true /* clear */, 1);
+}
+
+static void nvdimm_build_fit_buffer(NvdimmFitBuffer
On Thu, Nov 03, 2016 at 11:51:28AM +0800, Xiao Guangrong wrote:
> +static void nvdimm_init_fit_buffer(NvdimmFitBuffer *fit_buf)
> +{
> +fit_buf->fit = g_array_new(false, true /* clear */, 1);
> +}
> +
> +static void nvdimm_build_fit_buffer(NvdimmFitBuffer *fit_buf)
> +{
> +g_array_free(fit_
The buffer is used to save the FIT info for all the presented nvdimm
devices which is updated after the nvdimm device is plugged or
unplugged. In the later patch, it will be used to construct NVDIMM
ACPI _FIT method which reflects the presented nvdimm devices after
nvdimm hotplug
As FIT buffer can