diff options
author | Stewart Smith <stewart@linux.vnet.ibm.com> | 2017-08-01 14:06:57 +1000 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2017-08-01 14:06:57 +1000 |
commit | d111ad209af573ae488e99a2262546d62f59f7f2 (patch) | |
tree | f3f023804bbcb728d210d628242b8327071c08be /hw | |
parent | 1f2f67aa78fa1e4f9ce7b2e5a4e9fe29760e5b72 (diff) | |
download | talos-skiboot-d111ad209af573ae488e99a2262546d62f59f7f2.tar.gz talos-skiboot-d111ad209af573ae488e99a2262546d62f59f7f2.zip |
nx: PR_INFO that NX RNG and Crypto not yet supported on POWER9
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hw')
-rw-r--r-- | hw/nx-crypto.c | 4 | ||||
-rw-r--r-- | hw/nx-rng.c | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/hw/nx-crypto.c b/hw/nx-crypto.c index 723c571a..fd5f43d8 100644 --- a/hw/nx-crypto.c +++ b/hw/nx-crypto.c @@ -265,6 +265,10 @@ void nx_create_crypto_node(struct dt_node *node) cfg_asym = pb_base + NX_P8_ASYM_CFG; cfg_iq = pb_base + NX_P8_CRB_IQ; cfg_ee = pb_base + NX_P8_EE_CFG; + } else if (dt_node_is_compatible(node, "ibm, power9-nx")) { + prlog(PR_INFO, "NX%d: POWER9 nx-crypto not yet supported\n", + gcid); + return; } else { prerror("NX%d: ERROR: Unknown NX type!\n", gcid); return; diff --git a/hw/nx-rng.c b/hw/nx-rng.c index dc419cb5..51940e28 100644 --- a/hw/nx-rng.c +++ b/hw/nx-rng.c @@ -43,6 +43,10 @@ void nx_create_rng_node(struct dt_node *node) xbar = pb_base + NX_P8_RNG_BAR; xcfg = pb_base + NX_P8_RNG_CFG; addr_mask = NX_P8_RNG_BAR_ADDR; + } else if (dt_node_is_compatible(node, "ibm, power9-nx")) { + prlog(PR_INFO, "NX%d: POWER9 nx-rng not yet supported\n", + gcid); + return; } else { prerror("NX%d: Unknown NX type!\n", gcid); return; |