[Skiboot] [PATCH 11/11] hdat: Add PSI HB xscom details
Vasant Hegde
hegdevasant at linux.vnet.ibm.com
Thu Sep 29 15:23:45 AEST 2016
On 09/29/2016 07:52 AM, Oliver O'Halloran wrote:
> 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;
Oliver,
>
> 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.
Do you know the spec which has these details ?
-Vasnat
More information about the Skiboot
mailing list