[PATCH v4 2/5] powerpc/numa: Handle extra hcall_vphn error cases

Nathan Lynch nathanl at linux.ibm.com
Thu Oct 3 03:54:58 AEST 2019


Srikar Dronamraju <srikar at linux.vnet.ibm.com> writes:
> Currently code handles H_FUNCTION, H_SUCCESS, H_HARDWARE return codes.
> However hcall_vphn can return other return codes. Now it also handles
> H_PARAMETER return code.  Also the rest return codes are handled under the
> default case.

Reviewed-by: Nathan Lynch <nathanl at linux.ibm.com>

However:

> +	case H_PARAMETER:
> +		pr_err_ratelimited("hcall_vphn() was passed an invalid parameter. "
> +			"Disabling polling...\n");

Consider including the bad parameter value in the message?


More information about the Linuxppc-dev mailing list