All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jonathan Cameron via <qemu-devel@nongnu.org>
To: Viacheslav A.Dubeyko <viacheslav.dubeyko@bytedance.com>
Cc: Adam Manzanares <a.manzanares@samsung.com>,
	Cong Wang <cong.wang@bytedance.com>, <qemu-devel@nongnu.org>,
	<linux-cxl@vger.kernel.org>
Subject: Re: [External] CXL emulation in QEMU contribution
Date: Wed, 19 Oct 2022 10:52:46 +0100	[thread overview]
Message-ID: <20221019105246.00002dbe@huawei.com> (raw)
In-Reply-To: <2DECB41B-DB90-47DF-BA8E-BEE6869BADFD@bytedance.com>

On Tue, 18 Oct 2022 14:26:41 -0700
"Viacheslav A.Dubeyko" <viacheslav.dubeyko@bytedance.com> wrote:

> Hi Jonathan,
> 
> > On Oct 13, 2022, at 8:09 AM, Jonathan Cameron <Jonathan.Cameron@huawei.com> wrote:
> >   
> 
> <skipped>
> 
> >> So, I would like to contribute to QEMU emulation of CXL memory
> >> support. And I would like to see a TODO list. I hope this list could
> >> be useful not only for me. As far as I can see, we can summarize:  
> > 
> > Absolutely agree on need for a TODO now there are multiple groups involved  
> 
> As far as I can see, Fabric Management looks like “uncharted territory” with 
> a lot of work. I think it’s pretty interesting direction for me to start. 
> I can read Compute Express Link Specification (Revision 3.0, Version 1.0). 
> Could you recommend some other docs or links to take a look?

So far the spec is all I'm aware of at the level of actually talking to the hardware.
Probably some wooly presentations on what people 'might build'.

There are some other efforts that may be related to higher level - e.g. what
talks to the FM that then talks to the CXL devices.

I've not looked into them but google feeds me:
https://www.dmtf.org/documents/redfish-spmf/redfish-cxl-device-management-models-bundle-08wip
https://www.dmtf.org/content/dmtf-and-cxl-consortium-establish-work-register

One interesting diversion in this space would be to get the MCTP interfaces
up and running (perhaps via i2c).  The last time I looked at that,
the issue was that there wasn't any overlap between suitable I2C controllers
(need to support master and subordinate roles) and ones with ACPI bindings.
Doing it over PCIe VDMs is also an option.  The interest here would be to
put a second transport option in place so that any userspace FM code would
work well with that and via the mailbox interfaces.

Early work on the i2c approach at:
https://lore.kernel.org/qemu-devel/20220520165909.4369-1-Jonathan.Cameron@huawei.com/

For now I've abandoned that as CXL 3.0 got published with the Switch mailbox
path (+ support for tunneling commands via a normal mailbox on multi head devices).

> 
> By the way, I see ARM64 support in TODO list. But nothing related to RISC-V.
> Do we need to consider RISC-V too?

I'm only going to focus on architectures I have reason to support
- there's enough work to keep me busy without adding more!

More than happy to review / comment on support for risc-v though. The
same applies to Power (no idea on IBM's plans, but they are a BoD level
member of CXL so I assume they may have some.)

Jonathan

> 
> Thanks,
> Slava.
> 
> 
> 



      reply	other threads:[~2022-10-19  9:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20221011095228.00001546@huawei.com>
2022-10-12 22:43 ` CXL emulation in QEMU contribution Viacheslav A.Dubeyko
2022-10-13 15:09   ` Jonathan Cameron via
2022-10-18 21:26     ` [External] " Viacheslav A.Dubeyko
2022-10-19  9:52       ` Jonathan Cameron via [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=20221019105246.00002dbe@huawei.com \
    --to=qemu-devel@nongnu.org \
    --cc=Jonathan.Cameron@huawei.com \
    --cc=a.manzanares@samsung.com \
    --cc=cong.wang@bytedance.com \
    --cc=linux-cxl@vger.kernel.org \
    --cc=viacheslav.dubeyko@bytedance.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.