From: "M, Krishnamoorthi" <krishnamoorthi.m@amd.com>
To: Andrew Jeffery <andrew@codeconstruct.com.au>,
Greg KH <gregkh@linuxfoundation.org>,
aspeedyh <yh_chung@aspeedtech.com>
Cc: linux-kernel@vger.kernel.org, broonie@kernel.org,
linux-spi@vger.kernel.org, akshata.mukundshetty@amd.com,
bleung@chromium.org, groeck@chromium.org,
chrome-platform@lists.linux.dev, corbet@lwn.net,
linux-doc@vger.kernel.org, skhan@linuxfoundation.org,
linux-aspeed@lists.ozlabs.org, openbmc@lists.ozlabs.org
Subject: Re: [RFC PATCH 0/4] espi: introduce eSPI bus framework
Date: Thu, 6 Aug 2026 00:05:37 +0530 [thread overview]
Message-ID: <9180f5d5-9885-492b-b80e-c2aaaeb39501@amd.com> (raw)
In-Reply-To: <83210c6e2a7b203bd5913b455ea45cfddf3d29ec.camel@codeconstruct.com.au>
Hi Andrew,
On 8/5/2026 6:12 AM, Andrew Jeffery wrote:
> Hi Greg, Krishnamoorthi,
>
> YH Chung has been working on eSPI support for ASPEED's BMC SoCs, so
> I've included them in the To line.
>
> On Tue, 2026-08-04 at 14:18 +0200, Greg KH wrote:
>> On Tue, Aug 04, 2026 at 05:22:55PM +0530, Krishnamoorthi M wrote:
>>> Feedback Requested
>>> ==================
>>>
>>> 1. We chose a dedicated bus_type for the reasons described above
>>> (capability negotiation, four independent channels, asynchronous
>>> ALERT#). Does the community agree this is the right direction, or
>>> is there a strong preference to extend the SPI subsystem instead?
>>
>> That's up to the SPI maintainers and developers...
>
> There's concurrent discussion from YH regarding device-side eSPI
> support in the thread ending here:
>
> https://lore.kernel.org/all/KL1PR0601MB4276FA2C6347192CC45826E490ED2@KL1PR0601MB4276.apcprd06.prod.outlook.com/
>
> So far it's arrived at a matching proposal for drivers/espi.
Thank you for the introduction and for pointing to YH Chung's work. It
is encouraging to see concurrent work arriving at a similar framework
structure for drivers/espi — this gives us more confidence that the
proposed design is on the right track.
>
>>
>>> 3. Any concerns with the ops table design or the -EOPNOTSUPP fallback?
>>> 4. Naming and structure of the public API in include/linux/espi/espi.h.
>>
>> What specifically are you asking for for this? Do you have userspace
>> code you want to integrate, if so, does it work with this? And where
>> does it live?
>
> I've seen your follow-up realisation Greg, however, regarding
> userspace, the thread above suggests that we should be able to back
> existing subsystems (GPIO for VW, MCTP for OOB, MTD for some flash
> functionality) onto eSPI to minimise eSPI-specific interfaces:
>
> https://lore.kernel.org/all/KL1PR0601MB4276B5BE3B96C18E3A66AD709049A@KL1PR0601MB4276.apcprd06.prod.outlook.com/
>
> That doesn't cover the peripheral channel, as that's dealt with in
> hardware on the device side, but for the purpose of the controller the
> devices on the peripheral channel should all be driven by the kernel
> anyway.
>
I will go through YH Chung's complete thread on device-side eSPI support
to understand the full picture. Reusing existing well-established kernel
subsystems (GPIO for VWire, MCTP for OOB, MTD for Flash) to minimize
eSPI-specific userspace interfaces is a sound direction.
YH Chung, would you be open to collaborating on the slave-side
interfaces of the new eSPI framework? Happy to discuss further on the
list or off-list to align on the design before the next revision.
Thanks,
Krishna
> Andrew
next prev parent reply other threads:[~2026-08-05 18:35 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-04 11:52 [RFC PATCH 0/4] espi: introduce eSPI bus framework Krishnamoorthi M
2026-08-04 11:52 ` [RFC PATCH 1/4] espi: add core " Krishnamoorthi M
2026-08-06 13:31 ` Uwe Kleine-König
2026-08-12 12:50 ` M, Krishnamoorthi
2026-08-12 16:30 ` Uwe Kleine-König
2026-08-17 10:57 ` M, Krishnamoorthi
2026-08-04 11:52 ` [RFC PATCH 2/4] espi: add slave device model and event notification Krishnamoorthi M
2026-08-04 11:52 ` [RFC PATCH 3/4] Documentation: espi: add subsystem overview and MAINTAINERS entry Krishnamoorthi M
2026-08-04 16:39 ` Randy Dunlap
2026-08-04 19:14 ` M, Krishnamoorthi
2026-08-04 11:52 ` [RFC PATCH 4/4] espi: amd: add AMD eSPI controller driver Krishnamoorthi M
2026-08-04 12:18 ` [RFC PATCH 0/4] espi: introduce eSPI bus framework Greg KH
2026-08-04 13:26 ` Greg KH
2026-08-05 0:42 ` Andrew Jeffery
2026-08-05 18:35 ` M, Krishnamoorthi [this message]
2026-08-10 6:13 ` YH Chung
2026-08-18 13:25 ` M, Krishnamoorthi
2026-08-20 6:25 ` YH Chung
2026-08-20 13:54 ` M, Krishnamoorthi
2026-08-05 10:14 ` M, Krishnamoorthi
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=9180f5d5-9885-492b-b80e-c2aaaeb39501@amd.com \
--to=krishnamoorthi.m@amd.com \
--cc=akshata.mukundshetty@amd.com \
--cc=andrew@codeconstruct.com.au \
--cc=bleung@chromium.org \
--cc=broonie@kernel.org \
--cc=chrome-platform@lists.linux.dev \
--cc=corbet@lwn.net \
--cc=gregkh@linuxfoundation.org \
--cc=groeck@chromium.org \
--cc=linux-aspeed@lists.ozlabs.org \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-spi@vger.kernel.org \
--cc=openbmc@lists.ozlabs.org \
--cc=skhan@linuxfoundation.org \
--cc=yh_chung@aspeedtech.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.