Re: [PATCH] Install Notify() handler before getting NFIT table

2023-10-22 Thread Rafael J. Wysocki
On Fri, Oct 20, 2023 at 10:27 PM Ira Weiny wrote: > > Rafael J. Wysocki wrote: > > On Thu, Oct 19, 2023 at 2:57 PM chenxiang wrote: > > > > > > From: Xiang Chen > > > > > > If there is no NFIT at startup, it will return 0 immediately in function > > > acpi_nfit_add() and will not install

Re: [PATCH] Install Notify() handler before getting NFIT table

2023-10-20 Thread Ira Weiny
Rafael J. Wysocki wrote: > On Thu, Oct 19, 2023 at 2:57 PM chenxiang wrote: > > > > From: Xiang Chen > > > > If there is no NFIT at startup, it will return 0 immediately in function > > acpi_nfit_add() and will not install Notify() handler. If hotplugging > > a nvdimm device later, it will not

Re: [PATCH] Install Notify() handler before getting NFIT table

2023-10-19 Thread Rafael J. Wysocki
On Thu, Oct 19, 2023 at 2:57 PM chenxiang wrote: > > From: Xiang Chen > > If there is no NFIT at startup, it will return 0 immediately in function > acpi_nfit_add() and will not install Notify() handler. If hotplugging > a nvdimm device later, it will not be identified as there is no Notify() >

[PATCH] Install Notify() handler before getting NFIT table

2023-10-19 Thread chenxiang
From: Xiang Chen If there is no NFIT at startup, it will return 0 immediately in function acpi_nfit_add() and will not install Notify() handler. If hotplugging a nvdimm device later, it will not be identified as there is no Notify() handler. So move handler installing before getting NFI table