[RFC PATCH] ndtest: Make ndtest a module on its own

2022-04-17 Thread Shivaprasad G Bhat
Today ndtest module is compiled as nfit_test.ko depending on if the CONFIG_ACPI_NFIT defined or not. It is more advantageous to make ndtest a module on its own so that the unit tests can be run serially on the same host without a need for recompilation of sources. The patch modifies the Kbuild fi

[PATCH] powerpc/papr_scm: Move duplicate definitions to common header files

2022-04-17 Thread Shivaprasad G Bhat
papr_scm and ndtest share common PDSM payload structs like nd_papr_pdsm_health. Presently these structs are duplicated across papr_pdsm.h and ndtest.h header files. Since 'ndtest' is essentially arch independent and can run on platforms other than PPC64, a way needs to be deviced to avoid redundanc