[Skiboot] [PATCH v2] core/init: remove master_cpu parameter

Stewart Smith stewart at linux.vnet.ibm.com
Tue Sep 27 17:10:08 AEST 2016


Oliver O'Halloran <oohall at gmail.com> writes:
> master_cpu is used to determine the ChipTOD master if no ChipTOD
> information is available in the HDAT. However, it is set to zero at every
> skiboot entry point (fdt_entry, the 0x180 FSP entry and
> opal_boot_trampoline) and is otherwise unused. This patch removes this
> passing around and uses the boot CPU PIR to find the ChipTOD master rather
> than zero.
>
> Signed-off-by: Oliver O'Halloran <oohall at gmail.com>
> ---
>  asm/head.S               |  5 -----
>  core/init.c              |  8 ++++----
>  hdata/spira.c            | 15 ++++++---------
>  hdata/test/hdata_to_dt.c |  2 +-
>  include/skiboot.h        |  2 +-
>  5 files changed, 12 insertions(+), 20 deletions(-)

Thanks, merged to master as of 11c2a586c24890b50d986efa5f46fcccec5d80f4

-- 
Stewart Smith
OPAL Architect, IBM.



More information about the Skiboot mailing list