[RFC PATCH 3/4] edac: Add new memory type for non-volatile DIMMs

2017-11-30 Thread Tony Luck
There are now non-volatile versions of DIMMs. Add a new entry to "enum mem_type" and update places that use it with new strings. Signed-off-by: Tony Luck --- drivers/edac/edac_mc.c | 1 + drivers/edac/edac_mc_sysfs.c | 3 ++- include/linux/edac.h | 3 +++ 3 files changed, 6 inserti

Re: [RFC PATCH 3/4] edac: Add new memory type for non-volatile DIMMs

2017-12-04 Thread Borislav Petkov
On Thu, Nov 30, 2017 at 12:40:41PM -0800, Tony Luck wrote: > There are now non-volatile versions of DIMMs. Add a new entry to > "enum mem_type" and update places that use it with new strings. > > Signed-off-by: Tony Luck > --- > drivers/edac/edac_mc.c | 1 + > drivers/edac/edac_mc_sysfs.c

Re: [RFC PATCH 3/4] edac: Add new memory type for non-volatile DIMMs

2017-12-04 Thread Luck, Tony
On Mon, Dec 04, 2017 at 11:37:11PM +0100, Borislav Petkov wrote: > On Thu, Nov 30, 2017 at 12:40:41PM -0800, Tony Luck wrote: > WTF, there are *two* string arrays with memory types?! How did that > happen? > > Can you please remove that above in a prepatch and switch to > edac_mem_types? Or should