[Skiboot] [PATCH 18/21] xive: Override the hard coded chip ID with allocated block ID

Stewart Smith stewart at linux.vnet.ibm.com
Tue Nov 15 14:52:18 AEDT 2016

Benjamin Herrenschmidt <benh at kernel.crashing.org> writes:
> We allocate a block ID for each chip which may not be the same
> as the chip ID, we need to configure that properly.
> Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
> ---
>  hw/xive.c      |  7 +++++--
>  include/xive.h | 12 ++++++++++++
>  2 files changed, 17 insertions(+), 2 deletions(-)

In file included from /home/stewart/skiboot/include/skiboot.h:28:0,
                 from hw/xive.c:16:
hw/xive.c: In function ‘xive_config_init’:
hw/xive.c:955:40: error: ‘struct xive’ has no member named ‘block_id’
  val = SETFIELD(PC_TCTXT_CHIPID, val, x->block_id);

Maybe missing a patch in the series?

Stewart Smith
OPAL Architect, IBM.

More information about the Skiboot mailing list