[Skiboot] [PATCH v3] Add P9 DIO interrupt support

Nicholas Piggin npiggin at gmail.com
Wed Jan 23 20:46:10 AEDT 2019


Lei YU's on January 18, 2019 12:30 pm:

> diff --git a/hw/psi.c b/hw/psi.c
> index cbdbeaa..719a0aa 100644
> --- a/hw/psi.c
> +++ b/hw/psi.c
> @@ -24,6 +24,7 @@
>  #include <gx.h>
>  #include <interrupts.h>
>  #include <cpu.h>
> +#include <dio-p9.h>
>  #include <trace.h>
>  #include <xscom.h>
>  #include <chip.h>
> @@ -604,6 +605,7 @@ static void psihb_p9_interrupt(struct irq_source *is, uint32_t isn)
>  		break;
>  	case P9_PSI_IRQ_DIO:
>  		printf("PSI: DIO irq received\n");
> +		dio_interrupt_handler(psi->chip_id);
>  		break;

You'll want to get rid of that printf, I think?

Thanks,
Nick



More information about the Skiboot mailing list