summaryrefslogtreecommitdiffstats
path: root/external/opal-prd/thunk.S
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2016-09-15 09:52:31 +0800
committerStewart Smith <stewart@linux.vnet.ibm.com>2016-09-16 16:20:13 +1000
commit3d41d2831a05d531f152e0f9c7fc223a82aee128 (patch)
tree420a6cc0cd4421c2854da717456b80f15a598a99 /external/opal-prd/thunk.S
parent0be6d5c53e89946ca12211a84a77a96b5540e9dc (diff)
downloadtalos-skiboot-3d41d2831a05d531f152e0f9c7fc223a82aee128.tar.gz
talos-skiboot-3d41d2831a05d531f152e0f9c7fc223a82aee128.zip
opal-prd: Add get_interface_capabilities to host interfaces
We need a way to indicate behaviour changes & fixes in the prd interface, without requiring a major version bump. This change introduces the get_interface_capabilities callback, returning a bitmask of capability flags, pertaining to 'sets' of capabilities. We currently return 0 for all. Signed-off-by: Jeremy Kerr <jk@ozlabs.org> [stewart@linux.vnet.ibm.com: Dan Crowell says "The interface looks good to me"] Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'external/opal-prd/thunk.S')
-rw-r--r--external/opal-prd/thunk.S3
1 files changed, 2 insertions, 1 deletions
diff --git a/external/opal-prd/thunk.S b/external/opal-prd/thunk.S
index f25afde9..f3551580 100644
--- a/external/opal-prd/thunk.S
+++ b/external/opal-prd/thunk.S
@@ -186,10 +186,11 @@ hinterface:
CALLBACK_THUNK(hservice_i2c_write)
CALLBACK_THUNK(hservice_ipmi_msg)
CALLBACK_THUNK(hservice_memory_error)
+ CALLBACK_THUNK(hservice_get_interface_capabilities)
.globl __hinterface_pad
__hinterface_pad:
/* Reserved space for future growth */
- .space 32*8,0
+ .space 31*8,0
.globl __hinterface_end
__hinterface_end:
/* Eye catcher for debugging */
OpenPOWER on IntegriCloud