]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita935831fdaa6417d96deaadc19960a5170171348
treede470325d8658aebe7fd4f09bcc95bfdca2e6deb
parent74172e8253145974c8be55a80d96f62789ae3fe0
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: 3f927cd9ef76 ("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