]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - arch/powerpc/include/asm/opal.h
cxl: Enable CAPP recovery
[karo-tx-linux.git] / arch / powerpc / include / asm / opal.h
index eb95b675109b64c47b58a29673c0fc5bc4cfaa46..2baf8a5925ca964067e7f3dbaa798835bd39135c 100644 (file)
@@ -595,6 +595,14 @@ enum {
        OPAL_PHB3_NUM_PEST_REGS = 256
 };
 
+/* CAPI modes for PHB */
+enum {
+       OPAL_PHB_CAPI_MODE_PCIE         = 0,
+       OPAL_PHB_CAPI_MODE_CAPI         = 1,
+       OPAL_PHB_CAPI_MODE_SNOOP_OFF    = 2,
+       OPAL_PHB_CAPI_MODE_SNOOP_ON     = 3,
+};
+
 struct OpalIoPhbErrorCommon {
        __be32 version;
        __be32 ioType;