[Skiboot] [PATCH] opal/hmi: Signal PRD about NX unit checkstop.

Daniel Axtens dja at axtens.net
Thu Oct 29 09:56:06 AEDT 2015


Mahesh J Salgaonkar <mahesh at linux.vnet.ibm.com> writes:

> From: Mahesh Salgaonkar <mahesh at linux.vnet.ibm.com>
>
> On NX checkstop OPAL need to signal PRD about it by setting NXDMAENGFIR[38]
> bit. Otherwise PRD will not be able to do NX unit checkstop error
> analysis. NXDMAENGFIR[38] is a spare bit and used to report a software
> initiated attention for NX checkstop.
>
> The behavior of this bit and all FIR bits are documented in RAS
> spreadsheet.

What RAS spreadsheet?

Regards,
Daniel

>
> Signed-off-by: Mahesh Salgaonkar <mahesh at linux.vnet.ibm.com>
> ---
>  core/hmi.c |   11 +++++++++++
>  1 file changed, 11 insertions(+)
>
> diff --git a/core/hmi.c b/core/hmi.c
> index 1bae71a..71a6c7e 100644
> --- a/core/hmi.c
> +++ b/core/hmi.c
> @@ -406,6 +406,17 @@ static void find_nx_checkstop_reason(int flat_chip_id,
>  			hmi_evt->u.xstop_error.xstop_reason
>  						|= nx_pbi_xstop_bits[i].reason;
>  
> +	/*
> +	 * Set NXDMAENGFIR[38] to signal PRD that service action is required.
> +	 * Without this inject, PRD will not be able to do NX unit checkstop
> +	 * error analysis. NXDMAENGFIR[38] is a spare bit and used to report
> +	 * a software initiated attention.
> +	 *
> +	 * The behavior of this bit and all FIR bits are documented in
> +	 * RAS spreadsheet.
> +	 */
> +	xscom_write(flat_chip_id, NX_DMA_ENGINE_FIR, PPC_BIT(38));
> +
>  	/* Send an HMI event. */
>  	queue_hmi_event(hmi_evt, 0);
>  	*event_generated = 1;
>
> _______________________________________________
> Skiboot mailing list
> Skiboot at lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/skiboot
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 859 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/skiboot/attachments/20151029/9c816887/attachment.sig>


More information about the Skiboot mailing list