All of lore.kernel.org
 help / color / mirror / Atom feed
From: Troy Lee <troy_lee@aspeedtech.com>
To: Benjamin Fair <benjaminfair@google.com>
Cc: Patrick Venture <venture@google.com>,
	Brandon Kim <brandonkim@google.com>,
	"openbmc@lists.ozlabs.org" <openbmc@lists.ozlabs.org>,
	William Kennington <wak@google.com>
Subject: Re: Supporting new interfaces in phosphor-ipmi-flash
Date: Thu, 28 Jan 2021 07:15:36 +0000	[thread overview]
Message-ID: <20210128071536.GA2594588@aspeedtech.com> (raw)
In-Reply-To: <CADKL2t4xDhpYmA==E6TczfNbvVReQJM0p84rwpy5vLrDXqsNBg@mail.gmail.com>

Hi,

The 01/28/2021 01:48, Benjamin Fair wrote:
> On Wed, 27 Jan 2021 at 08:04, Patrick Venture <venture@google.com> wrote:
> >
> > On Wed, Jan 27, 2021 at 1:44 AM Troy Lee <troy_lee@aspeedtech.com> wrote:
> > >
> > > Hi team,
> > >
> > > For security consideration, user might want to disable AST2500/AST2600 P2A functionality by default. To compensate the effect to phosphor-ipmi-flash, we're planning to support two alternative in-band firmware upgrade over PCIe for AST2500/AST2600 (AST2520 and AST2620 are excluded):
> > >  - Through a reserved **VGA** memory on BAR[0], or
> > >  - Through a reserved **PCIe** shared memory on BAR[1]
> > >
> > > The usage pretty much the same as P2A, but it runs on different BAR, offset and length.
> > > This will involves modifying phosphor-ipmi-flash/[tools|bmc]. Should I create new **interfaces**, e.g. astpcie/astvga?
> >
> > I'm not sure it makes sense to create new interfaces, but rather to
> > add optional parameters for those differences... but I've added some
> > people to the reply line to help answer.
> 
> I'd also prefer optional parameters so we can keep all these PCIe
> configurations grouped together.
> 
Understood. I'll see if I can design it as parameters, either on
compiler time or runtime. Thers is a little different in BMC side, the
ioctl might be different.

> >
> > >
> > > Thanks,
> > > Troy Lee
> > >
> > >

Thanks for suggestion,
Troy Lee

  reply	other threads:[~2021-01-28  7:17 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-27  9:43 Supporting new interfaces in phosphor-ipmi-flash Troy Lee
2021-01-27 16:04 ` Patrick Venture
2021-01-27 17:48   ` Benjamin Fair
2021-01-28  7:15     ` Troy Lee [this message]
2021-01-27 23:14 ` Andrew Jeffery
2021-01-28  7:29   ` Troy Lee
2021-01-31 23:19     ` Andrew Jeffery
2021-02-01  7:37       ` Troy Lee
2021-02-09  9:06         ` Troy Lee
2021-02-14 23:26           ` Andrew Jeffery
2021-02-18  6:24             ` Troy Lee

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=20210128071536.GA2594588@aspeedtech.com \
    --to=troy_lee@aspeedtech.com \
    --cc=benjaminfair@google.com \
    --cc=brandonkim@google.com \
    --cc=openbmc@lists.ozlabs.org \
    --cc=venture@google.com \
    --cc=wak@google.com \
    /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.