From 73cd109ecd8f6b64f67f62538674b76e1af946a1 Mon Sep 17 00:00:00 2001 From: Andrew Donnellan Date: Wed, 20 Mar 2019 15:16:36 +1100 Subject: opal-api: Reserve 2 OPAL API calls for future OpenCAPI LPC use OpenCAPI Lowest Point of Coherency (LPC) memory is going to require some extra OPAL calls to set up NPU BARs. These calls will most likely be called OPAL_NPU_LPC_ALLOC and OPAL_NPU_LPC_RELEASE, we're not quite ready to upstream that code yet though. Reserve 171 and 172 for this purpose. Signed-off-by: Andrew Donnellan Signed-off-by: Stewart Smith --- include/opal-api.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/include/opal-api.h b/include/opal-api.h index 36aaf54e..e461c9d2 100644 --- a/include/opal-api.h +++ b/include/opal-api.h @@ -1,4 +1,4 @@ -/* Copyright 2013-2018 IBM Corp. +/* Copyright 2013-2019 IBM Corp. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -227,7 +227,9 @@ #define OPAL_NPU_SET_RELAXED_ORDER 168 #define OPAL_NPU_GET_RELAXED_ORDER 169 #define OPAL_XIVE_GET_VP_STATE 170 /* Get NVT state */ -#define OPAL_LAST 170 +#define OPAL_NPU_RESERVED1 171 /* LPC Allocate */ +#define OPAL_NPU_RESERVED2 172 /* LPC Release */ +#define OPAL_LAST 172 #define QUIESCE_HOLD 1 /* Spin all calls at entry */ #define QUIESCE_REJECT 2 /* Fail all calls with OPAL_BUSY */ -- cgit v1.2.1