All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paul Fertser <fercerpav@gmail.com>
To: Johnathan Mantey <johnathanx.mantey@intel.com>
Cc: openbmc@lists.ozlabs.org
Subject: Re: SATA hotplug notifications for BMC inventory updates
Date: Wed, 7 Sep 2022 17:16:51 +0300	[thread overview]
Message-ID: <Yxin03RwpUvVPsAy@home.paul.comp> (raw)
In-Reply-To: <2cdb6ea6-fc85-9835-d410-01195148a3eb@intel.com>

Hello Johnathan,

Thank you for answering, please see inline.

On Tue, Sep 06, 2022 at 08:53:09AM -0700, Johnathan Mantey wrote:
> On 9/5/22 04:11, Paul Fertser wrote:
> 
>  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?
> 
> 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.

Indeed, NVMe provides this additional side-channel over SMBus
specifically for management, alas nothing like that is present in
SAS/SATA standards.

> 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.

I can also imagine I2C GPIO expanders doing the job, yes, this seems
to be reasonably straightforward.

>  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.
> 
> RAID solutions are outside of scope for the Intel BMC.

Intel VROC too? Why? We'd be willing to contribute some development
effort into bringing RAID monitoring and management to OpenBMC,
wouldn't the community benefit from that? Many other vendors currently
offer this feature, why shouldn't OpenBMC? The problem seems to be
with the documentation availability; can you please tell where the
relevant hardware and protocols are described?

-- 
Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software!
mailto:fercerpav@gmail.com

  parent reply	other threads:[~2022-09-07 14:17 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-05 11:11 SATA hotplug notifications for BMC inventory updates Paul Fertser
2022-09-06 15:53 ` Johnathan Mantey
     [not found]   ` <17841662532977@mail.yandex-team.ru>
2022-09-07 14:04     ` Johnathan Mantey
2022-09-07 14:26       ` Paul Fertser
2022-09-07 14:16   ` Paul Fertser [this message]
2022-09-07 14:36     ` Johnathan Mantey
2022-09-09  8:32       ` Paul Fertser
2022-09-09 14:12         ` Johnathan Mantey
2022-09-09 21:19           ` Bills, Jason M
2022-09-15 15:32             ` Paul Fertser
2022-09-15 15:05           ` Paul Fertser

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Yxin03RwpUvVPsAy@home.paul.comp \
    --to=fercerpav@gmail.com \
    --cc=johnathanx.mantey@intel.com \
    --cc=openbmc@lists.ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.