powerpc/pseries: PAPR persistent memory support
This patch implements support for discovering storage class memory devices at boot and for handling hotplug of new regions via RTAS hotplug events. Signed-off-by: Oliver O'Halloran <oohall@gmail.com> [mpe: Fix CONFIG_MEMORY_HOTPLUG=n build] Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
This commit is contained in:

committed by
Michael Ellerman

szülő
422123ccb9
commit
4c5d87db49
@@ -65,11 +65,16 @@ int handle_dlpar_errorlog(struct pseries_hp_errorlog *hp_errlog);
|
||||
|
||||
#ifdef CONFIG_MEMORY_HOTPLUG
|
||||
int dlpar_memory(struct pseries_hp_errorlog *hp_elog);
|
||||
int dlpar_hp_pmem(struct pseries_hp_errorlog *hp_elog);
|
||||
#else
|
||||
static inline int dlpar_memory(struct pseries_hp_errorlog *hp_elog)
|
||||
{
|
||||
return -EOPNOTSUPP;
|
||||
}
|
||||
static inline int dlpar_hp_pmem(struct pseries_hp_errorlog *hp_elog)
|
||||
{
|
||||
return -EOPNOTSUPP;
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_HOTPLUG_CPU
|
||||
|
Reference in New Issue
Block a user