Message ID | bf6777e246a73f3c3ee4f079a29ac25983e830e2.1458583367.git.jerry.hoemann@hpe.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Mon, Mar 21, 2016 at 12:37 PM, Jerry Hoemann <jerry.hoemann@hpe.com> wrote: > Add UUID associated with HPE Type N NVDIMM. > > Signed-off-by: Jerry Hoemann <jerry.hoemann@hpe.com> > --- > drivers/acpi/nfit.h | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/drivers/acpi/nfit.h b/drivers/acpi/nfit.h > index c75576b..10dd0d3 100644 > --- a/drivers/acpi/nfit.h > +++ b/drivers/acpi/nfit.h > @@ -23,6 +23,8 @@ > > #define UUID_NFIT_BUS "2f10e7a4-9e91-11e4-89d3-123b93f75cba" > #define UUID_NFIT_DIMM "4309ac30-0d11-11e4-9191-0800200c9a66" > +#define UUID_NFIT_DIMM_N_HPE1 "9002c334-acf3-4c0e-9642-a235f0d53bc6" > +#define UUID_NFIT_DIMM_N_HPE2 "5008664B-B758-41A0-A03C-27C2F2D04F7E" I'll lowercase this definition when applying the patch.
diff --git a/drivers/acpi/nfit.h b/drivers/acpi/nfit.h index c75576b..10dd0d3 100644 --- a/drivers/acpi/nfit.h +++ b/drivers/acpi/nfit.h @@ -23,6 +23,8 @@ #define UUID_NFIT_BUS "2f10e7a4-9e91-11e4-89d3-123b93f75cba" #define UUID_NFIT_DIMM "4309ac30-0d11-11e4-9191-0800200c9a66" +#define UUID_NFIT_DIMM_N_HPE1 "9002c334-acf3-4c0e-9642-a235f0d53bc6" +#define UUID_NFIT_DIMM_N_HPE2 "5008664B-B758-41A0-A03C-27C2F2D04F7E" #define ACPI_NFIT_MEM_FAILED_MASK (ACPI_NFIT_MEM_SAVE_FAILED \ | ACPI_NFIT_MEM_RESTORE_FAILED | ACPI_NFIT_MEM_FLUSH_FAILED \ | ACPI_NFIT_MEM_NOT_ARMED) @@ -38,6 +40,8 @@ enum nfit_uuids { NFIT_SPA_PCD, NFIT_DEV_BUS, NFIT_DEV_DIMM, + NFIT_DEV_DIMM_N_HPE1, + NFIT_DEV_DIMM_N_HPE2, NFIT_UUID_MAX, }; @@ -110,6 +114,7 @@ struct nfit_mem { struct list_head list; struct acpi_device *adev; unsigned long dsm_mask; + const u8 *dsm_uuid; }; struct acpi_nfit_desc {
Add UUID associated with HPE Type N NVDIMM. Signed-off-by: Jerry Hoemann <jerry.hoemann@hpe.com> --- drivers/acpi/nfit.h | 5 +++++ 1 file changed, 5 insertions(+)