diff options
author | Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com> | 2018-02-12 14:57:09 -0800 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2018-02-14 23:27:35 -0600 |
commit | 31e5e988632f6554f70ed3e4072aef4245ee7b73 (patch) | |
tree | 18fcb51994c437b0e46f56a527edcf5bb0bc3d10 /include | |
parent | f397cc30bdf88353c39c58d9085d42c5fa124190 (diff) | |
download | skiboot-31e5e988632f6554f70ed3e4072aef4245ee7b73.zip skiboot-31e5e988632f6554f70ed3e4072aef4245ee7b73.tar.gz skiboot-31e5e988632f6554f70ed3e4072aef4245ee7b73.tar.bz2 |
vas: Disable VAS/NX-842 on some P9 revisions
VAS/NX-842 are not functional on some P9 revisions, so disable them
in hardware and skip creating their device tree nodes.
Since the intent is to prevent OS from configuring VAS/NX, we remove
only the platform device nodes but leave the VAS/NX DT nodes under
xscom (i.e we don't skip add_vas_node() in hdata/spira.c)
Thanks to input from Michael Ellerman, Michael Neuling.
Signed-off-by: Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com>
Reviewed-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/vas.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/vas.h b/include/vas.h index 6bc2a1c..f8c7add 100644 --- a/include/vas.h +++ b/include/vas.h @@ -37,6 +37,7 @@ */ extern void vas_init(void); +extern __attrconst bool vas_nx_enabled(void); extern __attrconst uint64_t vas_get_hvwc_mmio_bar(const int chipid); extern __attrconst uint64_t vas_get_wcbs_bar(int chipid); |