<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<div class="moz-cite-prefix">On 9/6/22 23:47, Konstantin Klubnichkin
wrote:<br>
</div>
<blockquote type="cite" cite="mid:17841662532977@mail.yandex-team.ru">
<div>Hi Johnathan,</div>
<div> </div>
<div>What do you think about implementing this feature using SMI?</div>
<div>Is it possible to raise SMI on drive plug/removal?</div>
</blockquote>
<p>Paul, my experience with SMI is limited. Systems I've used that
issued SMI only did so for PSUs. The details have gotten fuzzy
over the years. I believe the SMI only asserted on removal of the
power cord(s). The SMI event resulted in a high priority interrupt
designed to tell the BMC to get state saved before complete power
failure.</p>
<p>Even if you had the SMI connection from the HDD enclosure, I'm
not certain how you'd acquire the information about which HDD was
inserted/removed. That is an implementation detail of your HW.</p>
<p>A back of envelope thought I had is perhaps the host side could
interact with the BMC via a mailbox. The issue being you'd have to
have SW running during the BIOS time, and when the OS was in
control an OS helper app pushing the data. I'm not sure how
feasible that idea is.<br>
</p>
<blockquote type="cite" cite="mid:17841662532977@mail.yandex-team.ru">
<div> </div>
<div>Thank you!</div>
<div> </div>
<div>06.09.2022, 18:54, "Johnathan Mantey"
<a class="moz-txt-link-rfc2396E" href="mailto:johnathanx.mantey@intel.com"><johnathanx.mantey@intel.com></a>:</div>
<blockquote>
<div>On 9/5/22 04:11, Paul Fertser wrote:</div>
<blockquote>
<pre>Hi,
An OCP Tioga Pass platform features up to 4 drive bays for SATA
storage accessible from the front and fully hot-pluggable. The
backplane is usually connected directly to Intel C620 PCH (aka
Lewisburg).
It would be nice to have information about the currently attached
devices (model and serial number) available in BMC inventory but what
are the ways to get this information?</pre>
</blockquote>
<p>Intel systems only get drive mdl/sn from NVMe devices that
provide that information via MCTP over SMBus. SAS/SATA drives,
to my current knowledge, don't supply this info in that mode.</p>
<p>The insertion/removal events are also managed from the BMC
via I2C to a FPGA solution residing on the Hot Swap Backplane.
The FPGA provides registers that allow the BMC to query the
PRSTn/IFDETn pins.</p>
<blockquote>
<pre>Is it possible there's some additional module in the all-mighty ME
that can supply BMC with the current state of PCH SATA controller? Or
is there some other sensible mechanism other than talking to UEFI on
startup (which would mean BMC is showing stale and thus misleading
data till the next reboot)?
Even though the question is quite specific we'd appreciate any related
insights on the topic; there must be some side-channels to RAID
controllers and such for BMC to be obtaining essential information but
so far I wasn't able to find any documentation about this.
</pre>
</blockquote>
RAID solutions are outside of scope for the Intel BMC.
<pre> </pre>
<div>--<br>
<font face="Century Gothic" color="#1F497D">Johnathan Mantey<br>
Senior Software Engineer<br>
</font><font face="Century Gothic" color="#555555"><strong>azad
technology partners</strong><br>
</font><font face="Century Gothic" color="#1F497D">Contributing
to Technology Innovation since 1992</font><font face="Century Gothic" color="#555555"><br>
</font><font face="Century Gothic" color="#1F497D">Phone:
(503) 712-6764<br>
Email: <a href="mailto:johnathanx.mantey@intel.com" rel="noopener noreferrer" moz-do-not-send="true" class="moz-txt-link-freetext">johnathanx.mantey@intel.com</a></font><br>
</div>
</blockquote>
<div> </div>
<div> </div>
<div>-- </div>
<div>Best regards,</div>
<div>Konstantin Klubnichkin,</div>
<div>lead firmware engineer,</div>
<div>server hardware R&D group,</div>
<div>Yandex Moscow office.</div>
<div>tel: +7-903-510-33-33</div>
<div> </div>
</blockquote>
<div class="moz-signature">-- <br>
<title></title>
<font color="#1F497D"><font face="Century Gothic">Johnathan Mantey<br>
<small>Senior Software Engineer</small><br>
<big><font color="#555555"><small><b>azad te</b><b>chnology
partners</b></small><br>
<small><font color="#1F497D"><small>Contributing to
Technology Innovation since 1992</small></font><small><br>
<font color="#1F497D">Phone: (503) 712-6764<br>
Email: <a href="mailto:johnathanx.mantey@intel.com" class="moz-txt-link-freetext">johnathanx.mantey@intel.com</a></font></small><br>
<br>
</small></font></big></font></font> </div>
</body>
</html>