<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:DengXian;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"\@DengXian";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
        {mso-style-priority:99;
        mso-style-link:"Plain Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.PlainTextChar
        {mso-style-name:"Plain Text Char";
        mso-style-priority:99;
        mso-style-link:"Plain Text";
        font-family:"Calibri",sans-serif;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoPlainText">Andrew,<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">As you mentioned, as per PLDM specification, Boot progress codes are State Sensors. Boot progress codes IDs are 195, 196 and 198.<o:p></o:p></p>
<p class="MsoPlainText">If you would additional state sensors for detailed progress, why not ask PMCI WG to additional state sensors.<o:p></o:p></p>
<p class="MsoPlainText">As per the specification <a href="https://www.dmtf.org/sites/default/files/standards/documents/DSP0248_1.0.0.pdf">
https://www.dmtf.org/sites/default/files/standards/documents/DSP0248_1.0.0.pdf</a> ,PLDM commands to be used for State sensors are<o:p></o:p></p>
<p class="MsoPlainText">SetStateSensorEnables<o:p></o:p></p>
<p class="MsoPlainText">GetStateSensorReadings  <o:p></o:p></p>
<p class="MsoPlainText">InitStateSensor<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">Also, I agree we need a corresponding mapping of this in Redfish.<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">Thanks,<o:p></o:p></p>
<p class="MsoPlainText">Supreeth<o:p></o:p></p>
<p class="MsoPlainText">-----Original Message-----<br>
From: openbmc <openbmc-bounces+supreeth.venkatesh=arm.com@lists.ozlabs.org> On Behalf Of Andrew Geissler<br>
Sent: Tuesday, January 28, 2020 2:53 PM<br>
To: OpenBMC Maillist <openbmc@lists.ozlabs.org><br>
Subject: BIOS, Hypervisor, and OS detailed boot progress in Redfish</p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">Hi,<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">I recently opened a Redfish forum post[1] asking about tracking BIOS, Hypervisor, and OS boot status.<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">With IPMI we had the "System Firmware Progress" and "Base OS Boot / Installation Status" sensors which we then mapped to some D-Bus sensors[2][3]. My goal is that we have similar level of detail in a Redfish interface.<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">Gunnar discussed this with the DMTF and it seems they are open to a enum that would describe the boot status.<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">Any thoughts from the community on how we'd like this to look? Should it just be a combination of our BootProgress and OperatingSystemStatus D-Bus properties?<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">Some fields in those seem pretty IPMI/legacy specific (CDROMBoot, ROMBoot, ...)<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">I think our goal should be to provide a high level summary of the boot from the BIOS, to the Hypervisor, to the OS.<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">Something like this?<o:p></o:p></p>
<p class="MsoPlainText">Unknown -> MotherboardInit -> MemoryInit -> SecondaryProcInit -><o:p></o:p></p>
<p class="MsoPlainText">        -> HypervisorStart -> HypervisorStandby -> OSStart -> OSRunning<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">These would need PLDM commands for the host to send these down so maybe the PLDM specifications provides a hint on what these should be? I see this doc[4] has a "Boot Progress" State Set but a lot of these just don't make much sense
 to me.<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">Thoughts/Ideas appreciated.<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">Thanks,<o:p></o:p></p>
<p class="MsoPlainText">Andrew<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">[1]: <a href="https://redfishforum.com/thread/275/bios-hypervisor-detailed-boot-progress">
<span style="color:windowtext;text-decoration:none">https://redfishforum.com/thread/275/bios-hypervisor-detailed-boot-progress</span></a><o:p></o:p></p>
<p class="MsoPlainText">[2]: <a href="https://github.com/openbmc/phosphor-dbus-interfaces/blob/master/xyz/openbmc_project/State/Boot/Progress.interface.yaml">
<span style="color:windowtext;text-decoration:none">https://github.com/openbmc/phosphor-dbus-interfaces/blob/master/xyz/openbmc_project/State/Boot/Progress.interface.yaml</span></a><o:p></o:p></p>
<p class="MsoPlainText">[3]: <a href="https://github.com/openbmc/phosphor-dbus-interfaces/blob/master/xyz/openbmc_project/State/OperatingSystem/Status.interface.yaml">
<span style="color:windowtext;text-decoration:none">https://github.com/openbmc/phosphor-dbus-interfaces/blob/master/xyz/openbmc_project/State/OperatingSystem/Status.interface.yaml</span></a><o:p></o:p></p>
<p class="MsoPlainText">[4]: <a href="https://www.dmtf.org/sites/default/files/standards/documents/DSP0249_1.0.0.pdf">
<span style="color:windowtext;text-decoration:none">https://www.dmtf.org/sites/default/files/standards/documents/DSP0249_1.0.0.pdf</span></a><o:p></o:p></p>
</div>
IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose,
 or store or copy the information in any medium. Thank you.
</body>
</html>