summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/mm/init_64.c
diff options
context:
space:
mode:
authorOliver O'Halloran2018-12-06 16:17:13 +0100
committerMichael Ellerman2018-12-09 11:32:51 +0100
commit43001c52b603cac041783cc392094ea560bd9444 (patch)
tree796659fcd2a4b87255bfc8afd55ab04e31957b81 /arch/powerpc/mm/init_64.c
parentpowerpc/papr_scm: Fix DIMM device registration race (diff)
downloadkernel-qcow2-linux-43001c52b603cac041783cc392094ea560bd9444.tar.gz
kernel-qcow2-linux-43001c52b603cac041783cc392094ea560bd9444.tar.xz
kernel-qcow2-linux-43001c52b603cac041783cc392094ea560bd9444.zip
powerpc/papr_scm: Use ibm,unit-guid as the iset cookie
The interleave set cookie is used to determine if a label stored in the metadata space should be applied to the current region. This is important in the case of NVDIMMs since the firmware may change the interleaving configuration of a DIMM which would invalidate the existing labels. In our case the hypervisor hides those details from us so we don't really care, but libnvdimm still requires the interleave set cookie to be non-zero. For our purposes we just need the set cookie to be unique and fixed for a given PAPR SCM region and using the unit-guid (really a UUID) is fine for this purpose. Fixes: b5beae5e224f ("powerpc/pseries: Add driver for PAPR SCM regions") Signed-off-by: Oliver O'Halloran <oohall@gmail.com> [mpe: Use kernel types (u64)] Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/mm/init_64.c')
0 files changed, 0 insertions, 0 deletions