[Skiboot] [PATCH 09/24] psi: Use phys_map to setup the BARs

Michael Neuling mikey at neuling.org
Sun Jun 25 04:05:55 AEST 2017


> @@ -821,7 +822,7 @@ static void psi_init_p8_interrupts(struct psi *psi)
>  
>  static void psi_init_p9_interrupts(struct psi *psi)
>  {
> -	struct proc_chip *c;
> +	struct proc_chip *chip;
>  	bool is_p9ndd1;
>  	u64 val;
> 

<snip>

The above and the below unfortunately cause a compile error (that's fixed in the
next patch).

I'll repost... 

>  
> @@ -855,7 +856,6 @@ static void psi_init_p9_interrupts(struct psi *psi)
>  	out_be64(psi->regs + PSIHB_IVT_OFFSET, val);
>  
>  	/* Register sources */
> -	c = next_chip(NULL);
>  	is_p9ndd1 = (c && c->ec_level >= 0x10 &&
>  		     c->type == PROC_CHIP_P9_NIMBUS);
>  
> 



More information about the Skiboot mailing list