[PATCH v9 1/2] powerpc/powernv: Enable tunneled operations

Stewart Smith stewart at linux.vnet.ibm.com
Wed Feb 21 15:56:06 AEDT 2018


Philippe Bergheaud <felix at linux.vnet.ibm.com> writes:
> diff --git a/arch/powerpc/include/asm/opal-api.h b/arch/powerpc/include/asm/opal-api.h
> index 94bd1bf2c873..07b5e2240ecc 100644
> --- a/arch/powerpc/include/asm/opal-api.h
> +++ b/arch/powerpc/include/asm/opal-api.h
> @@ -204,7 +204,9 @@
>  #define OPAL_NPU_SPA_SETUP			159
>  #define OPAL_NPU_SPA_CLEAR_CACHE		160
>  #define OPAL_NPU_TL_SET				161
> -#define OPAL_LAST				161
> +#define OPAL_PCI_GET_PBCQ_TUNNEL_BAR		162
> +#define OPAL_PCI_SET_PBCQ_TUNNEL_BAR		163
> +#define OPAL_LAST				163


These numbers will change as other calls have gone in with those OPAL
API ids.

Feel free to send a tiny patch to skiboot reserving some though.

I should probably encourage people to do that when they start working on
new API calls.

-- 
Stewart Smith
OPAL Architect, IBM.



More information about the Linuxppc-dev mailing list