All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Bills, Jason M" <jason.m.bills@linux.intel.com>
To: openbmc@lists.ozlabs.org
Subject: Re: x86-power-control - slot AC cycle
Date: Mon, 3 Aug 2020 10:20:07 -0700	[thread overview]
Message-ID: <26472249-5bbe-0490-a88e-5b8dd69d89a8@linux.intel.com> (raw)
In-Reply-To: <HK0PR04MB3153FE2CFB446AD6612FA127A74D0@HK0PR04MB3153.apcprd04.prod.outlook.com>



On 8/3/2020 9:45 AM, Velumani T-ERS,HCLTech wrote:
> Thanks for your suggestions. We plan to implement the slot AC cycle for a single chassis system with 4 slots. We will use the compile time flags and implement this feature.
x86-power-control complies with the Host and Chassis State 
dbus-interfaces, so my main request would be to make sure that this new 
slot AC cycle complies with the dbus-interfaces.

Thanks!
-Jason

> 
> Regards,
> Velu
> 
> -----Original Message-----
> From: Ed Tanous <ed@tanous.net>
> Sent: Wednesday, July 29, 2020 7:56 AM
> To: Velumani T-ERS,HCLTech <velumanit@hcl.com>
> Cc: openbmc@lists.ozlabs.org; Jason Bills <jason.m.bills@intel.com>; P. Priyatharshan <PriyatharshanP@hcl.com>; James Feist <james.feist@intel.com>; Kuiying Wang <kuiying.wang@intel.com>; Patrick Williams <patrickw3@fb.com>; Kumar Thangavel <thangavel.k@hcl.com>; Vijay Khemka <vijaykhemka@fb.com>
> Subject: Re: x86-power-control - slot AC cycle
> 
> [CAUTION: This Email is from outside the Organization. Unless you trust the sender, Don’t click links or open attachments as it may be a Phishing email, which can steal your Information and compromise your Computer.]
> 
> On Tue, Jul 28, 2020 at 10:11 AM Velumani T-ERS,HCLTech <velumanit@hcl.com> wrote:
>>
>>
>> We are using a x86-power-control for host power control in a multi host system. We have the host as FRU and it can be plugged in to a slot. The slot has an option to control slot power and this can be used for a AC cycle.
>>
>> We propose to add the slot power control in the x86-power-control, The slot power control can be configured in json and the same can be implemented reading the json config. We can ensure the existing functionality remains unchnged and does not affect the other platforms.
>>
>>
>>
>> The config file can have a gpio entry with the new key “Slot_Power”. Only if this entry is present then the slot power will be handled, Otherwise the existing functionality remains the same. Please provide your comments/suggestions for this proposed approach.
> 
> One amendment, if you're setting this up for a single chassis type, please make this a compile time structure rather than a config file read from disk.  It's much easier to manage in the long run, as it pushes runtime errors to compile time, and means that we're less likely to break it.  Also, it sends a clear message that we shouldn't be changing the configuration at runtime.
> 
> If you're using something like entity-manager, and you do want to support more than one chassis, you probably want to define some kind of "backplane" entity that owns the power configuration, so you can have multiple slot definitions configured at runtime in the same build, which might not be a problem for your system, but can be a problem for systems with multiple Chassis options.
> 
> Ideally you would also add a new "node" slot definition type, similar to how we define M.2 slots and PCIe slots to make debugging easier.
> 
> 
>>
>> ::DISCLAIMER::
>> ________________________________
>> The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. E-mail transmission is not guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or may contain viruses in transmission. The e mail and its contents (with or without referred errors) shall therefore not attach any liability on the originator or HCL or its affiliates. Views or opinions, if any, presented in this email are solely those of the author and may not necessarily reflect the views or opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of authorized representative of HCL is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. Before opening any email and/or attachments, please check them for viruses and other defects.
> 
> 
> Sending "this email is confidential" to a public mailing list makes me think i got it in error.  I'm also not a "named recipient". You might want to consider removing it in the future, unless you really considered this to be confidential.
> 

      reply	other threads:[~2020-08-03 17:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-28 17:09 x86-power-control - slot AC cycle Velumani T-ERS,HCLTech
2020-07-29  2:26 ` Ed Tanous
2020-08-03 16:45   ` Velumani T-ERS,HCLTech
2020-08-03 17:20     ` Bills, Jason M [this message]

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=26472249-5bbe-0490-a88e-5b8dd69d89a8@linux.intel.com \
    --to=jason.m.bills@linux.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.