All of lore.kernel.org
 help / color / mirror / Atom feed
From: Patrick Williams <patrick@stwcx.xyz>
To: "Cédric Le Goater" <clg@kaod.org>
Cc: Cyril Bur <cyrilbur@gmail.com>,
	Brendan Higgins <brendanhiggins@google.com>,
	openbmc@lists.ozlabs.org
Subject: Re: [PATCH linux dev-4.7 7/8] ipmi: maintain a request expiry list
Date: Thu, 3 Nov 2016 20:55:43 -0500	[thread overview]
Message-ID: <20161104015543.GD17105@heinlein.lan> (raw)
In-Reply-To: <53954820-3eaf-56c6-0a4c-9347ff4dc358@kaod.org>

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

On Thu, Nov 03, 2016 at 07:46:28PM +0100, Cédric Le Goater wrote:
> On 11/03/2016 07:23 PM, Patrick Williams wrote:
> > On Thu, Nov 03, 2016 at 11:26:09AM +1100, Cyril Bur wrote:
> >> On Wed, 2016-10-26 at 08:57 +0200, Cédric Le Goater wrote:
> >>> Regarding the response expiration handling, the IPMI spec says :
> >>>
> >>>    The BMC must not return a given response once the corresponding
> >>>    Request-to-Response interval has passed. The BMC can ensure this
> >>>    by maintaining its own internal list of outstanding requests
> >>> through
> >>>    the interface. The BMC could age and expire the entries in the
> >>> list
> >>>    by expiring the entries at an interval that is somewhat shorter
> >>> than
> >>>    the specified Request-to-Response interval....
> >>>
> >>> To handle such case, we maintain list of received requests using the
> >>> seq number of the BT message to identify them. The list is updated
> >>> each time a request is received and a response is sent. The
> >>> expiration
> >>> of the reponses is handled at each updates but also with a timer.
> >>>
> >>
> >> I agree that the BMC kernel is most logical place to do this, at the
> >> moment btbridged does attempt something similar no?
> >>
> >> Should we patch btbridged to not? Should I least remove duplicated
> >> logic? 
> >>
> > 
> > Brendan,
> > 
> > Are you paying attention to this discussion?  I think you had some
> > opposition to the kernel doing any additional work in this space because
> > you wanted to run a non-IPMI protocol over the IPMI bridge.
> 
> We will then need a new kernel driver for the non-IPMI interface. 
> This one is for the iBT interface which is IPMI oriented. 
> 
> I am sure we can find some common points though. Hopefully, the 
> userspace interface would be the same. For the moment we only
> have an ioctl for the SMS ATN interrupt but we should be adding
> some more.
> 

I believe Brendan was keeping the IPMI protocol but implementing
different flow control on top of it.  That means, specifically, that
having the kernel track commands and timeouts would not be what he
wanted.

> Thanks,
> 
> C.  
> 

-- 
Patrick Williams

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

  reply	other threads:[~2016-11-04  1:55 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-26  6:57 [PATCH linux dev-4.7 0/8] BT driver sync up Cédric Le Goater
2016-10-26  6:57 ` [PATCH linux dev-4.7 1/8] Revert "misc: Add Aspeed BT IPMI host driver" Cédric Le Goater
2016-10-26  6:57 ` [PATCH linux dev-4.7 2/8] ARM: aspeed: remove previous definitions in default config Cédric Le Goater
2016-10-26  6:57 ` [PATCH linux dev-4.7 3/8] ARM: dts: aspeed: remove previous iBT definitions Cédric Le Goater
2016-10-26  6:57 ` [PATCH linux dev-4.7 4/8] ipmi: add an Aspeed BT IPMI BMC driver Cédric Le Goater
2016-11-02  0:00   ` Joel Stanley
2016-11-02  7:08     ` Cédric Le Goater
2016-11-03  0:56   ` Cyril Bur
2016-11-03  2:46     ` Joel Stanley
2016-11-03  2:48       ` Cyril Bur
2016-10-26  6:57 ` [PATCH linux dev-4.7 5/8] ARM: aspeed: Add defconfigs for CONFIG_ASPEED_BT_IPMI_BMC Cédric Le Goater
2016-10-26  6:57 ` [PATCH linux dev-4.7 6/8] ARM: dts: aspeed: Enable BT IPMI BMC device Cédric Le Goater
2016-10-26  6:57 ` [PATCH linux dev-4.7 7/8] ipmi: maintain a request expiry list Cédric Le Goater
2016-11-03  0:26   ` Cyril Bur
2016-11-03  9:06     ` Cédric Le Goater
2016-11-10  7:53       ` Cédric Le Goater
2016-11-03 18:23     ` Patrick Williams
2016-11-03 18:46       ` Cédric Le Goater
2016-11-04  1:55         ` Patrick Williams [this message]
2016-11-04  8:09           ` Cédric Le Goater
2016-11-04 18:22             ` Brendan Higgins
2016-11-07  5:25               ` Cédric Le Goater
2016-11-07 15:02                 ` Patrick Williams
2016-11-07 19:29                   ` Brendan Higgins
2016-11-08  9:58                     ` Cédric Le Goater
2016-10-26  6:57 ` [PATCH linux dev-4.7 8/8] ipmi: add a sysfs file for configure maximum response time Cédric Le Goater
2016-11-03  0:30 ` [PATCH linux dev-4.7 0/8] BT driver sync up Cyril Bur
2016-11-10  9:13 ` Cédric Le Goater
2016-11-10 11:33   ` Joel Stanley
2016-11-10 12:04     ` Cédric Le Goater
2016-11-10 12:11       ` Joel Stanley

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=20161104015543.GD17105@heinlein.lan \
    --to=patrick@stwcx.xyz \
    --cc=brendanhiggins@google.com \
    --cc=clg@kaod.org \
    --cc=cyrilbur@gmail.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.