All of lore.kernel.org
 help / color / mirror / Atom feed
From: Patrick Williams <patrick@stwcx.xyz>
To: Alistair Popple <alistair@popple.id.au>
Cc: Joel Stanley <joel@jms.id.au>,
	OpenBMC Maillist <openbmc@lists.ozlabs.org>,
	Christopher Bostic <cbostic@linux.vnet.ibm.com>
Subject: Re: Users of SBE FIFO kernel driver
Date: Wed, 1 Feb 2017 23:26:42 -0600	[thread overview]
Message-ID: <20170202052642.GD5504@heinlein.lan> (raw)
In-Reply-To: <4820133.vKp7aKPARx@new-mexico>

[-- Attachment #1: Type: text/plain, Size: 1282 bytes --]

On Thu, Feb 02, 2017 at 03:48:02PM +1100, Alistair Popple wrote:
> On Thu, 2 Feb 2017 01:59:08 PM Joel Stanley wrote:
> > On Thu, Feb 2, 2017 at 5:58 AM, Christopher Bostic
> > <cbostic@linux.vnet.ibm.com> wrote:
> > In addition to Eddie's driver, in userspace we will have the code that
> > performs the power on sequence.
> 
> Yep. For example as Ben mentioned the chip-ops also use the SBE FIFO. However 
> we certainly don't want to put chip-ops directly in the kernel. It makes more 
> sense to use a userspace SBE FIFO API to do the chips-ops, power on sequence 
> etc. from userspace.

What is being referred to here as the "power on sequence" that goes over
the SBE FIFO?  We do putcfams to start the power on sequence and there
is no interaction with the FIFO to the best of my knowledge.

On another topic, when we are under secureboot, get/putscom operations
need to go through the SBE FIFO.  Should there be a kernel driver for
SCOM with the same userspace API no matter which path we should go?
This certainly makes an application like pdbg easier.  One hang-up I can
think of is I am not sure how we are suppose to know and inform the
kernel if we can do direct SCOM or SBE-FIFO SCOM.  Maybe we always do
SBE-FIFO SCOM.

-- 
Patrick Williams

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 801 bytes --]

  parent reply	other threads:[~2017-02-02  5:26 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-01 19:28 Users of SBE FIFO kernel driver Christopher Bostic
2017-02-02  3:29 ` Joel Stanley
2017-02-02  4:26   ` Benjamin Herrenschmidt
2017-02-02  4:48   ` Alistair Popple
2017-02-02  5:17     ` Joel Stanley
2017-02-02  5:26     ` Patrick Williams [this message]
2017-02-02  6:18       ` Alistair Popple
2017-02-02  4:48   ` Venkatesh Sainath
2017-02-03 19:22     ` Christopher Bostic
2017-02-04 11:05       ` Venkatesh Sainath
2017-02-09 21:16         ` Patrick Williams
2017-02-10  6:58           ` Venkatesh Sainath
2017-02-16 21:48             ` Brad Bishop

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=20170202052642.GD5504@heinlein.lan \
    --to=patrick@stwcx.xyz \
    --cc=alistair@popple.id.au \
    --cc=cbostic@linux.vnet.ibm.com \
    --cc=joel@jms.id.au \
    --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.