com.ibm: Add Self Boot Engine(SBE) dump interface
Self Boot Engine(SBE) is a microcontroller that sits inside the
processor to initialize it to start the booting and also acts as
a secure channel for accessing certain control functions on the
processor. During the booting or other hardware access operations
SBE can encounter errors and become unresponsive. In such situations,
the debug data needs to be collected from such SBEs to find out the
root cause of the error. This data includes hardware state,
configuration, memory, etc. The collected data is then packaged into
the OpenPOWER dump format which is called SBE dump.
Implement this interface to add support for managing the SBE dump.
Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
Change-Id: Ibf625c0205096a4f94bf159125cf8fdae093449c
diff --git a/gen/com/ibm/Dump/Entry/SBE/meson.build b/gen/com/ibm/Dump/Entry/SBE/meson.build
new file mode 100644
index 0000000..170f5d7
--- /dev/null
+++ b/gen/com/ibm/Dump/Entry/SBE/meson.build
@@ -0,0 +1,15 @@
+# Generated file; do not modify.
+generated_sources += custom_target(
+ 'com/ibm/Dump/Entry/SBE__cpp'.underscorify(),
+ input: [ '../../../../../../yaml/com/ibm/Dump/Entry/SBE.interface.yaml', ],
+ output: [ 'common.hpp', 'server.cpp', 'server.hpp', 'client.hpp', ],
+ depend_files: sdbusplusplus_depfiles,
+ command: [
+ sdbuspp_gen_meson_prog, '--command', 'cpp',
+ '--output', meson.current_build_dir(),
+ '--tool', sdbusplusplus_prog,
+ '--directory', meson.current_source_dir() / '../../../../../../yaml',
+ 'com/ibm/Dump/Entry/SBE',
+ ],
+)
+
diff --git a/gen/com/ibm/Dump/Entry/meson.build b/gen/com/ibm/Dump/Entry/meson.build
index 26303a6..4f7ea25 100644
--- a/gen/com/ibm/Dump/Entry/meson.build
+++ b/gen/com/ibm/Dump/Entry/meson.build
@@ -44,3 +44,18 @@
],
)
+subdir('SBE')
+generated_others += custom_target(
+ 'com/ibm/Dump/Entry/SBE__markdown'.underscorify(),
+ input: [ '../../../../../yaml/com/ibm/Dump/Entry/SBE.interface.yaml', ],
+ output: [ 'SBE.md' ],
+ depend_files: sdbusplusplus_depfiles,
+ command: [
+ sdbuspp_gen_meson_prog, '--command', 'markdown',
+ '--output', meson.current_build_dir(),
+ '--tool', sdbusplusplus_prog,
+ '--directory', meson.current_source_dir() / '../../../../../yaml',
+ 'com/ibm/Dump/Entry/SBE',
+ ],
+)
+
diff --git a/yaml/com/ibm/Dump/Entry/SBE.interface.yaml b/yaml/com/ibm/Dump/Entry/SBE.interface.yaml
new file mode 100644
index 0000000..854246b
--- /dev/null
+++ b/yaml/com/ibm/Dump/Entry/SBE.interface.yaml
@@ -0,0 +1,13 @@
+description: >
+ Implement this to add SBE dump management.
+
+ Self Boot Engine(SBE) is a microcontroller that sits inside the processor to
+ initialize it to start the booting and also acts as a secure channel for
+ accessing certain control functions on the processor. During the booting or
+ other hardware access operations SBE can encounter errors and become
+ unresponsive. In such situations, the debug data needs to be collected from
+ such SBEs to find out the root cause of the error. This data includes
+ hardware state, configuration, memory, etc. The collected data is then
+ packaged into the OpenPOWER dump format and which is called as SBE dump.
+ There will be one instance of SBE on each processor. Implement this
+ interface to add support for managing the SBE dump.