qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Gregory Price <gourry@gourry.net>
To: Jonathan Cameron <jonathan.cameron@huawei.com>
Cc: "John Groves" <John@groves.net>,
	"David Hildenbrand" <david@redhat.com>,
	linux-mm <linux-mm@kvack.org>,
	linux-cxl <linux-cxl@vger.kernel.org>,
	"Davidlohr Bueso" <dave@stgolabs.net>,
	"Ira Weiny" <ira.weiny@intel.com>,
	virtualization <virtualization@lists.linux.dev>,
	"Oscar Salvador" <osalvador@suse.de>,
	qemu-devel <qemu-devel@nongnu.org>,
	"Dave Jiang" <dave.jiang@intel.com>,
	"Dan Williams" <dan.j.williams@intel.com>,
	Linuxarm <linuxarm@huawei.com>,
	"Wangkefeng (OS Kernel Lab)" <wangkefeng.wang@huawei.com>,
	"John Groves" <jgroves@micron.com>, "Fan Ni" <fan.ni@samsung.com>,
	"Navneet Singh" <navneet.singh@intel.com>,
	"“Michael S. Tsirkin”" <mst@redhat.com>,
	"Igor Mammedov" <imammedo@redhat.com>,
	"Philippe Mathieu-Daudé" <philmd@linaro.org>
Subject: Re: [RFC] Virtualizing tagged disaggregated memory capacity (app specific, multi host shared)
Date: Tue, 22 Oct 2024 10:11:58 -0400	[thread overview]
Message-ID: <ZxeyrvjaN3peNXhr@PC2K9PVX.TheFacebook.com> (raw)
In-Reply-To: <A4E80580-437F-46D8-A58B-D2F3851D67BD>

On Tue, Sep 17, 2024 at 07:37:21PM +0000, Jonathan Cameron wrote:
> > * Said mechanism should not be explicitly CXL-specific.
> 
> Somewhat agreed, but I don't want to invent a new spec just to avoid explicit
> ties to CXL. I'm not against using CXL to present HBM / ACPI Specific Purpose
> memory for example to a VM. It will trivially work if that is what a user
> wants to do and also illustrates that this stuff doesn't necessarily just
> apply to capacity on a memory pool - it might just be 'weird' memory on the host.
> 

I suspect if you took all the DCD components of the current CXL device
and repackaged it into a device called "DefinitelyNotACXLDCDDevice", that
the CXL device inherited, this whole discussion goes away.

Patches welcome? :]

> > * Finding a tagged capacity devdax device in a VM should work the same as it
> >   does running on bare metal.
> 
> Absolutely - that's a requirement.
> 
> > * The file-backed (and devdax-backed) devdax abstraction is needed in qemu.
> 
> Maybe. I'm not convinced the abstraction is needed at that particular level.
> 
> > * Beyond that, I'm not yet sure what the lookup mechanism should be. Extra
> >   points for being easy to implement in both physical and virtual systems.
> 
> For physical systems we aren't going to get agreement :(  For the systems
> I have visibility of there will be some diversity in hardware, but the
> presentation to userspace and up consistency should be doable.
> 
> Jonathan
> 
> >
> > Thanks for teeing this up!
> > John
> >
> >
> > [1] https://github.com/cxl-micron-reskit/famfs/blob/master/README.md
> >
> 
> 


  reply	other threads:[~2024-10-22 14:12 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-15 16:22 [RFC] Virtualizing tagged disaggregated memory capacity (app specific, multi host shared) Jonathan Cameron via
2024-08-16  7:05 ` Hannes Reinecke
2024-08-16  9:41   ` Jonathan Cameron via
2024-08-19  2:12 ` John Groves
2024-08-19 15:40   ` Jonathan Cameron via
2024-09-17 19:37     ` Jonathan Cameron via
2024-10-22 14:11       ` Gregory Price [this message]
2024-09-17 19:56     ` Jonathan Cameron via
2024-09-18 12:12       ` Jonathan Cameron
2024-09-19  9:09 ` David Hildenbrand
2024-09-20  9:06   ` Gregory Price
2024-10-22  9:33     ` David Hildenbrand
2024-10-22 14:24       ` Gregory Price
2024-10-22 14:35         ` David Hildenbrand

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=ZxeyrvjaN3peNXhr@PC2K9PVX.TheFacebook.com \
    --to=gourry@gourry.net \
    --cc=John@groves.net \
    --cc=dan.j.williams@intel.com \
    --cc=dave.jiang@intel.com \
    --cc=dave@stgolabs.net \
    --cc=david@redhat.com \
    --cc=fan.ni@samsung.com \
    --cc=imammedo@redhat.com \
    --cc=ira.weiny@intel.com \
    --cc=jgroves@micron.com \
    --cc=jonathan.cameron@huawei.com \
    --cc=linux-cxl@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=linuxarm@huawei.com \
    --cc=mst@redhat.com \
    --cc=navneet.singh@intel.com \
    --cc=osalvador@suse.de \
    --cc=philmd@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=virtualization@lists.linux.dev \
    --cc=wangkefeng.wang@huawei.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).