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

2022-07-12 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

RE: [PATCH v2] pmem: fix a name collision

2022-07-12 Thread Dan Williams
Jane Chu wrote: > Kernel test robot detected name collision when compiled on 'um' > architecture. Rename "to_phys()" to "pmem_to_phys()". > > >> drivers/nvdimm/pmem.c:48:20: error: conflicting types for 'to_phys'; have > >> 'phys_addr_t(struct pmem_device *, phys_addr_t)' {aka 'long long

RE: [PATCH] acpi/nfit: badrange report spill over to clean range

2022-07-12 Thread Dan Williams
Jane Chu wrote: > Commit 7917f9cdb503 ("acpi/nfit: rely on mce->misc to determine poison > granularity") changed nfit_handle_mce() callback to report badrange for > each poison at an alignment indicated by 1ULL << MCI_MISC_ADDR_LSB(mce->misc) > instead of the hardcoded L1_CACHE_BYTES. However