<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<p><br>
</p>
<div class="moz-cite-prefix">On 12/10/2021 01:01, Brad Bishop wrote:<br>
</div>
<blockquote type="cite" cite="mid:C7E88C14-8945-4556-8B2A-0C871398320C@fuzziesquirrel.com">
<pre class="moz-quote-pre" wrap="">
</pre>
<blockquote type="cite">
<pre class="moz-quote-pre" wrap="">On Oct 9, 2021, at 7:47 AM, Thu Nguyen <a class="moz-txt-link-rfc2396E" href="mailto:thu@amperemail.onmicrosoft.com"><thu@amperemail.onmicrosoft.com></a> wrote:
Dear Chicago Duan and George Liu,
In PLDM source, I saw that Inspur supported graceful shutdown the host OS thru PLDM commands.
<a class="moz-txt-link-freetext" href="https://github.com/openbmc/pldm/commit/184f60263a0e4c3dda934d94ecb2a904ef835299#diff-59fd39a9594f6d6f82af25037f211858fafa418aacc055e85b4cc29abccf9dee">https://github.com/openbmc/pldm/commit/184f60263a0e4c3dda934d94ecb2a904ef835299#diff-59fd39a9594f6d6f82af25037f211858fafa418aacc055e85b4cc29abccf9dee</a>
The feature used PLDM Platform SetEffecterState command to request the host OS shutdown.
I wonder which part in the host software will response for this PLDM request?
Does the host OS ( Centos, Ubuntu...) directly handle this type of command?
Thanks.
Thu Nguyen.
</pre>
</blockquote>
<pre class="moz-quote-pre" wrap="">
Some POWER architecture servers run a type one hypervisor called PowerVM. This is the only operating system I’m aware of that has a PLDM implementation. If anyone watching is aware of any others please correct me.
</pre>
</blockquote>
Thank for your info.<br>
<blockquote type="cite" cite="mid:C7E88C14-8945-4556-8B2A-0C871398320C@fuzziesquirrel.com">
<pre class="moz-quote-pre" wrap="">
The BMC code you reference was written specifically with PowerVM in mind. In theory any software running on the host processor _could_ implement mctp & plum and support this effector but I honestly don’t ever see that happening in say, Windows or a typical Linux distribution (Centos, Ubuntu...).
How did you implement soft-off-via-bmc before OpenBMC?</pre>
</blockquote>
<span><span class="ui-provider tl b c d e f g h i j k l m n o p q r
s t ayv ayw w x y z ab ac ae af ag ah ai aj ak" dir="ltr"><span><span style="font-family: "Segoe UI", system-ui,
"Apple Color Emoji", "Segoe UI Emoji",
sans-serif; font-size: 14px;"><span>
<p>The softoff in OpenBmc is using host IPMI command thru
BT interface to request shutdown the host OS.</p>
<p>In Ampere, we are using feature ACPI graceful shutdown,
Bmc will trigger GPIO SHUTDOWN_REQ,</p>
<p>Linux host OS detects GPIO pins then shutdown the host
OS.</p>
<p><br>
</p>
<p>Regards.</p>
<p>Thu Nguyen.<br>
</p>
</span></span></span></span></span><span><span class="ui-provider tl b c d e f g h i j k l m n o p q r s t ayv
ayw w x y z ab ac ae af ag ah ai aj ak" dir="ltr"><span><span style="font-family: "Segoe UI", system-ui,
"Apple Color Emoji", "Segoe UI Emoji",
sans-serif; font-size: 14px;">
</span></span></span></span>
<blockquote type="cite" cite="mid:C7E88C14-8945-4556-8B2A-0C871398320C@fuzziesquirrel.com">
<pre class="moz-quote-pre" wrap="">
I’d be curious to know how this soft-off-via-bmc functionality is typically implemented in x86 or arm based server designs with arbitrary operating systems.
thx - brad</pre>
</blockquote>
</body>
</html>