powerpc/papr_scm: Update DT properties
authorOliver O'Halloran <oohall@gmail.com>
Thu, 6 Dec 2018 15:17:10 +0000 (02:17 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Sun, 9 Dec 2018 10:32:16 +0000 (21:32 +1100)
commit683ec0e04ab7e2d86d2656c71322dfb2ebf063fc
treede470325d8658aebe7fd4f09bcc95bfdca2e6deb
parent59613526117b0595cb7b04835390ecd5175f9cd4
powerpc/papr_scm: Update DT properties

The ibm,unit-sizes property was originally specified as an array of two
u32s corresponding to the memory block size, and the number of blocks
available in that region. A fairly last-minute change to the SCM DT
specification was splitting that into two seperate u64 properties:
ibm,block-sizes and ibm,number-of-blocks that convey the same
information. No firmware / hypervisor that emitted the ibm,unit-size
property ever appeared in the wild.

Fixes: b5beae5e224f ("powerpc/pseries: Add driver for PAPR SCM regions")
Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
[mpe: Use kernel types (u32/u64)]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/platforms/pseries/papr_scm.c