[Skiboot] [PATCH 11/11] hdat: Add PSI HB xscom details
Oliver O'Halloran
oohall at gmail.com
Thu Sep 29 12:22:13 AEST 2016
On Wed, Sep 28, 2016 at 10:05 PM, Vasant Hegde
<hegdevasant at linux.vnet.ibm.com> wrote:
> Add PSI HB XSCOM address. SCOM address and length is taken from
> p9 example dts (doc/device-tree/examples/power9-phb4.dts).
>
> Signed-off-by: Vasant Hegde <hegdevasant at linux.vnet.ibm.com>
> CC: Benjamin Herrenschmidt <benh at kernel.crashing.org>
> ---
> hdata/spira.c | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/hdata/spira.c b/hdata/spira.c
> index 8f8eb49..65d1cad 100644
> --- a/hdata/spira.c
> +++ b/hdata/spira.c
> @@ -313,6 +313,11 @@ static void add_psihb_node(struct dt_node *np)
> psi_slen = 0x20;
> psi_comp = "ibm,power8-psihb-x";
> break;
> + case proc_gen_p9:
> + psi_scom = 0x5012900;
> + psi_slen = 0x100;
Hey Ben, where did 0x100 come from? The base address and layout of the
psihb scoms have changed between p8 and p9, but the PSIHB registers
end at <base> + 0x1B for both.
> + psi_comp = "ibm,power9-psihb-x";
> + break;
> default:
> psi_comp = NULL;
> }
> --
> 2.5.5
>
> _______________________________________________
> Skiboot mailing list
> Skiboot at lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/skiboot
More information about the Skiboot
mailing list