[Skiboot] [PATCH] cpu: supply ibm,dec-bits via devicetree
Stewart Smith
stewart at linux.vnet.ibm.com
Fri Jul 1 18:17:30 AEST 2016
Oliver O'Halloran <oohall at gmail.com> writes:
> ISAv3 adds a mode to increase the size of the decrementer from 32 bits.
> The enlarged decrementer can be between 32 and 64 bits wide with the
> exact value being implementation dependent. This patch adds support for
> detecting the size of the large decrementer and populating each CPU node
> with the "ibm,dec-bits" property.
>
> Signed-off-by: Oliver O'Halloran <oohall at gmail.com>
> ---
> core/cpu.c | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
> include/processor.h | 1 +
> 2 files changed, 49 insertions(+)
Thanks! merged to master as of ad53085acc6264b5673fbb8055a3e7feecee6159
I renamed enable_ld() to enable_large_dec() to just not be ambiguous
with ld often meaning load and fewer TLAs are always good.
--
Stewart Smith
OPAL Architect, IBM.
More information about the Skiboot
mailing list