[PATCH qemu for 10.2 0/3] cxl: Additional RAS features support.

Jonathan Cameron via posted 3 patches 4 months, 3 weeks ago
Failed in applying to current master (apply log)
include/hw/cxl/cxl_device.h | 145 +++++++++
include/hw/cxl/cxl_events.h |  47 +++
hw/cxl/cxl-mailbox-utils.c  | 566 +++++++++++++++++++++++++++++++++++-
hw/mem/cxl_type3.c          | 169 +++++++++++
4 files changed, 915 insertions(+), 12 deletions(-)
[PATCH qemu for 10.2 0/3] cxl: Additional RAS features support.
Posted by Jonathan Cameron via 4 months, 3 weeks ago
These two features have been used in testing the related EDAC RAS
features drivers in Linux which are now upstream. Only minor tweaks
from the second part of:
https://lore.kernel.org/qemu-devel/20250811085530.2263-1-shiju.jose@huawei.com/
[PATCH v6 0/8] hw/cxl: Update CXL events to rev3.2 and add maintenance support for memory repair features

I've split that series up as the two parts were only slightly connected.
However there is some churn if this is applied without the other part of Shiju's posted
series. That was sent a few minutes ago as:
https://lore.kernel.org/qemu-devel/20250917141355.293217-1-Jonathan.Cameron@huawei.com/

Based on: [PATCH qemu for 10.2 0/5] cxl: r3.2 specification events updates.
Based on: 20250917141355.293217-1-Jonathan.Cameron@huawei.com

Davidlohr Bueso (1):
  hw/cxl: Add support for Maintenance command and Post Package Repair
    (PPR)

Shiju Jose (2):
  hw/cxl/cxl-mailbox-utils: Move declaration of scrub and ECS feature
    attributes in cmd_features_set_feature()
  hw/cxl: Add emulation for memory sparing control feature

 include/hw/cxl/cxl_device.h | 145 +++++++++
 include/hw/cxl/cxl_events.h |  47 +++
 hw/cxl/cxl-mailbox-utils.c  | 566 +++++++++++++++++++++++++++++++++++-
 hw/mem/cxl_type3.c          | 169 +++++++++++
 4 files changed, 915 insertions(+), 12 deletions(-)

-- 
2.48.1
Re: [PATCH qemu for 10.2 0/3] cxl: Additional RAS features support.
Posted by Jonathan Cameron via 4 months ago
On Wed, 17 Sep 2025 15:33:27 +0100
Jonathan Cameron via <qemu-devel@nongnu.org> wrote:

> These two features have been used in testing the related EDAC RAS
> features drivers in Linux which are now upstream. Only minor tweaks
> from the second part of:
> https://lore.kernel.org/qemu-devel/20250811085530.2263-1-shiju.jose@huawei.com/
> [PATCH v6 0/8] hw/cxl: Update CXL events to rev3.2 and add maintenance support for memory repair features
> 
> I've split that series up as the two parts were only slightly connected.
> However there is some churn if this is applied without the other part of Shiju's posted
> series. That was sent a few minutes ago as:
> https://lore.kernel.org/qemu-devel/20250917141355.293217-1-Jonathan.Cameron@huawei.com/
> 
> Based on: [PATCH qemu for 10.2 0/5] cxl: r3.2 specification events updates.
> Based on: 20250917141355.293217-1-Jonathan.Cameron@huawei.com
> 
> Davidlohr Bueso (1):
>   hw/cxl: Add support for Maintenance command and Post Package Repair
>     (PPR)
> 
Hi Michael,

I see you have queued some stuff up on your gitlab tree.
Just wanted to make sure these are on the radar for possible inclusion.
No huge rush, but I'll queue some more series up on top of these
shortly.

Thanks

Jonathan

> Shiju Jose (2):
>   hw/cxl/cxl-mailbox-utils: Move declaration of scrub and ECS feature
>     attributes in cmd_features_set_feature()
>   hw/cxl: Add emulation for memory sparing control feature
> 
>  include/hw/cxl/cxl_device.h | 145 +++++++++
>  include/hw/cxl/cxl_events.h |  47 +++
>  hw/cxl/cxl-mailbox-utils.c  | 566 +++++++++++++++++++++++++++++++++++-
>  hw/mem/cxl_type3.c          | 169 +++++++++++
>  4 files changed, 915 insertions(+), 12 deletions(-)
>
Re: [PATCH qemu for 10.2 0/3] cxl: Additional RAS features support.
Posted by Michael S. Tsirkin 4 months ago
On Mon, Oct 06, 2025 at 10:13:04AM +0100, Jonathan Cameron wrote:
> On Wed, 17 Sep 2025 15:33:27 +0100
> Jonathan Cameron via <qemu-devel@nongnu.org> wrote:
> 
> > These two features have been used in testing the related EDAC RAS
> > features drivers in Linux which are now upstream. Only minor tweaks
> > from the second part of:
> > https://lore.kernel.org/qemu-devel/20250811085530.2263-1-shiju.jose@huawei.com/
> > [PATCH v6 0/8] hw/cxl: Update CXL events to rev3.2 and add maintenance support for memory repair features
> > 
> > I've split that series up as the two parts were only slightly connected.
> > However there is some churn if this is applied without the other part of Shiju's posted
> > series. That was sent a few minutes ago as:
> > https://lore.kernel.org/qemu-devel/20250917141355.293217-1-Jonathan.Cameron@huawei.com/
> > 
> > Based on: [PATCH qemu for 10.2 0/5] cxl: r3.2 specification events updates.
> > Based on: 20250917141355.293217-1-Jonathan.Cameron@huawei.com
> > 
> > Davidlohr Bueso (1):
> >   hw/cxl: Add support for Maintenance command and Post Package Repair
> >     (PPR)
> > 
> Hi Michael,
> 
> I see you have queued some stuff up on your gitlab tree.
> Just wanted to make sure these are on the radar for possible inclusion.
> No huge rush, but I'll queue some more series up on top of these
> shortly.
> 
> Thanks
> 
> Jonathan

thanks for the reminder, will queue.

> > Shiju Jose (2):
> >   hw/cxl/cxl-mailbox-utils: Move declaration of scrub and ECS feature
> >     attributes in cmd_features_set_feature()
> >   hw/cxl: Add emulation for memory sparing control feature
> > 
> >  include/hw/cxl/cxl_device.h | 145 +++++++++
> >  include/hw/cxl/cxl_events.h |  47 +++
> >  hw/cxl/cxl-mailbox-utils.c  | 566 +++++++++++++++++++++++++++++++++++-
> >  hw/mem/cxl_type3.c          | 169 +++++++++++
> >  4 files changed, 915 insertions(+), 12 deletions(-)
> >
Re: [PATCH qemu for 10.2 0/3] cxl: Additional RAS features support.
Posted by Jonathan Cameron via 1 month, 1 week ago
On Mon, 6 Oct 2025 06:26:53 -0400
"Michael S. Tsirkin" <mst@redhat.com> wrote:

> On Mon, Oct 06, 2025 at 10:13:04AM +0100, Jonathan Cameron wrote:
> > On Wed, 17 Sep 2025 15:33:27 +0100
> > Jonathan Cameron via <qemu-devel@nongnu.org> wrote:
> >   
> > > These two features have been used in testing the related EDAC RAS
> > > features drivers in Linux which are now upstream. Only minor tweaks
> > > from the second part of:
> > > https://lore.kernel.org/qemu-devel/20250811085530.2263-1-shiju.jose@huawei.com/
> > > [PATCH v6 0/8] hw/cxl: Update CXL events to rev3.2 and add maintenance support for memory repair features
> > > 
> > > I've split that series up as the two parts were only slightly connected.
> > > However there is some churn if this is applied without the other part of Shiju's posted
> > > series. That was sent a few minutes ago as:
> > > https://lore.kernel.org/qemu-devel/20250917141355.293217-1-Jonathan.Cameron@huawei.com/
> > > 
> > > Based on: [PATCH qemu for 10.2 0/5] cxl: r3.2 specification events updates.
> > > Based on: 20250917141355.293217-1-Jonathan.Cameron@huawei.com
> > > 
> > > Davidlohr Bueso (1):
> > >   hw/cxl: Add support for Maintenance command and Post Package Repair
> > >     (PPR)
> > >   
> > Hi Michael,
> > 
> > I see you have queued some stuff up on your gitlab tree.
> > Just wanted to make sure these are on the radar for possible inclusion.
> > No huge rush, but I'll queue some more series up on top of these
> > shortly.
> > 
> > Thanks
> > 
> > Jonathan  
> 
> thanks for the reminder, will queue.
Hi Michael,

Looks like you didn't do another pull request for 10.2. If these can
go upstream fairly early in 11.0 that would be very helpful as we have
quite a few CXL series that I think are (nearly) ready.

I resent the events series but that was mainly because I'd forgotten you'd
replied to this one and so might already have both queued. Sorry about that
if you have them both already.

Jonathan

> 
> > > Shiju Jose (2):
> > >   hw/cxl/cxl-mailbox-utils: Move declaration of scrub and ECS feature
> > >     attributes in cmd_features_set_feature()
> > >   hw/cxl: Add emulation for memory sparing control feature
> > > 
> > >  include/hw/cxl/cxl_device.h | 145 +++++++++
> > >  include/hw/cxl/cxl_events.h |  47 +++
> > >  hw/cxl/cxl-mailbox-utils.c  | 566 +++++++++++++++++++++++++++++++++++-
> > >  hw/mem/cxl_type3.c          | 169 +++++++++++
> > >  4 files changed, 915 insertions(+), 12 deletions(-)
> > >   
> 
>
Re: [PATCH qemu for 10.2 0/3] cxl: Additional RAS features support.
Posted by Jonathan Cameron via qemu development 4 days, 6 hours ago
On Fri, 2 Jan 2026 15:28:34 +0000
Jonathan Cameron via <qemu-devel@nongnu.org> wrote:

> On Mon, 6 Oct 2025 06:26:53 -0400
> "Michael S. Tsirkin" <mst@redhat.com> wrote:
> 
> > On Mon, Oct 06, 2025 at 10:13:04AM +0100, Jonathan Cameron wrote:  
> > > On Wed, 17 Sep 2025 15:33:27 +0100
> > > Jonathan Cameron via <qemu-devel@nongnu.org> wrote:
> > >     
> > > > These two features have been used in testing the related EDAC RAS
> > > > features drivers in Linux which are now upstream. Only minor tweaks
> > > > from the second part of:
> > > > https://lore.kernel.org/qemu-devel/20250811085530.2263-1-shiju.jose@huawei.com/
> > > > [PATCH v6 0/8] hw/cxl: Update CXL events to rev3.2 and add maintenance support for memory repair features
> > > > 
> > > > I've split that series up as the two parts were only slightly connected.
> > > > However there is some churn if this is applied without the other part of Shiju's posted
> > > > series. That was sent a few minutes ago as:
> > > > https://lore.kernel.org/qemu-devel/20250917141355.293217-1-Jonathan.Cameron@huawei.com/
> > > > 
> > > > Based on: [PATCH qemu for 10.2 0/5] cxl: r3.2 specification events updates.
> > > > Based on: 20250917141355.293217-1-Jonathan.Cameron@huawei.com
> > > > 
> > > > Davidlohr Bueso (1):
> > > >   hw/cxl: Add support for Maintenance command and Post Package Repair
> > > >     (PPR)
> > > >     
> > > Hi Michael,
> > > 
> > > I see you have queued some stuff up on your gitlab tree.
> > > Just wanted to make sure these are on the radar for possible inclusion.
> > > No huge rush, but I'll queue some more series up on top of these
> > > shortly.
> > > 
> > > Thanks
> > > 
> > > Jonathan    
> > 
> > thanks for the reminder, will queue.  
> Hi Michael,
> 
> Looks like you didn't do another pull request for 10.2. If these can
> go upstream fairly early in 11.0 that would be very helpful as we have
> quite a few CXL series that I think are (nearly) ready.
> 
> I resent the events series but that was mainly because I'd forgotten you'd
> replied to this one and so might already have both queued. Sorry about that
> if you have them both already.

This is the second series that is (I think) ready for merge.
Applies cleanly on mainline + 
[PATCH qemu v4 0/5] cxl: r3.2 specification event updates.
20260119111542.788389-1-Jonathan.Cameron@huawei.com

> 
> Jonathan
> 
> >   
> > > > Shiju Jose (2):
> > > >   hw/cxl/cxl-mailbox-utils: Move declaration of scrub and ECS feature
> > > >     attributes in cmd_features_set_feature()
> > > >   hw/cxl: Add emulation for memory sparing control feature
> > > > 
> > > >  include/hw/cxl/cxl_device.h | 145 +++++++++
> > > >  include/hw/cxl/cxl_events.h |  47 +++
> > > >  hw/cxl/cxl-mailbox-utils.c  | 566 +++++++++++++++++++++++++++++++++++-
> > > >  hw/mem/cxl_type3.c          | 169 +++++++++++
> > > >  4 files changed, 915 insertions(+), 12 deletions(-)
> > > >     
> > 
> >   
> 
>
Re: [PATCH qemu for 10.2 0/3] cxl: Additional RAS features support.
Posted by Michael S. Tsirkin 3 days, 9 hours ago
On Wed, Feb 04, 2026 at 11:35:44AM +0000, Jonathan Cameron wrote:
> On Fri, 2 Jan 2026 15:28:34 +0000
> Jonathan Cameron via <qemu-devel@nongnu.org> wrote:
> 
> > On Mon, 6 Oct 2025 06:26:53 -0400
> > "Michael S. Tsirkin" <mst@redhat.com> wrote:
> > 
> > > On Mon, Oct 06, 2025 at 10:13:04AM +0100, Jonathan Cameron wrote:  
> > > > On Wed, 17 Sep 2025 15:33:27 +0100
> > > > Jonathan Cameron via <qemu-devel@nongnu.org> wrote:
> > > >     
> > > > > These two features have been used in testing the related EDAC RAS
> > > > > features drivers in Linux which are now upstream. Only minor tweaks
> > > > > from the second part of:
> > > > > https://lore.kernel.org/qemu-devel/20250811085530.2263-1-shiju.jose@huawei.com/
> > > > > [PATCH v6 0/8] hw/cxl: Update CXL events to rev3.2 and add maintenance support for memory repair features
> > > > > 
> > > > > I've split that series up as the two parts were only slightly connected.
> > > > > However there is some churn if this is applied without the other part of Shiju's posted
> > > > > series. That was sent a few minutes ago as:
> > > > > https://lore.kernel.org/qemu-devel/20250917141355.293217-1-Jonathan.Cameron@huawei.com/
> > > > > 
> > > > > Based on: [PATCH qemu for 10.2 0/5] cxl: r3.2 specification events updates.
> > > > > Based on: 20250917141355.293217-1-Jonathan.Cameron@huawei.com
> > > > > 
> > > > > Davidlohr Bueso (1):
> > > > >   hw/cxl: Add support for Maintenance command and Post Package Repair
> > > > >     (PPR)
> > > > >     
> > > > Hi Michael,
> > > > 
> > > > I see you have queued some stuff up on your gitlab tree.
> > > > Just wanted to make sure these are on the radar for possible inclusion.
> > > > No huge rush, but I'll queue some more series up on top of these
> > > > shortly.
> > > > 
> > > > Thanks
> > > > 
> > > > Jonathan    
> > > 
> > > thanks for the reminder, will queue.  
> > Hi Michael,
> > 
> > Looks like you didn't do another pull request for 10.2. If these can
> > go upstream fairly early in 11.0 that would be very helpful as we have
> > quite a few CXL series that I think are (nearly) ready.
> > 
> > I resent the events series but that was mainly because I'd forgotten you'd
> > replied to this one and so might already have both queued. Sorry about that
> > if you have them both already.
> 
> This is the second series that is (I think) ready for merge.
> Applies cleanly on mainline + 
> [PATCH qemu v4 0/5] cxl: r3.2 specification event updates.
> 20260119111542.788389-1-Jonathan.Cameron@huawei.com

question is if there will be v5 of that one, now there
are review comments?

> > 
> > Jonathan
> > 
> > >   
> > > > > Shiju Jose (2):
> > > > >   hw/cxl/cxl-mailbox-utils: Move declaration of scrub and ECS feature
> > > > >     attributes in cmd_features_set_feature()
> > > > >   hw/cxl: Add emulation for memory sparing control feature
> > > > > 
> > > > >  include/hw/cxl/cxl_device.h | 145 +++++++++
> > > > >  include/hw/cxl/cxl_events.h |  47 +++
> > > > >  hw/cxl/cxl-mailbox-utils.c  | 566 +++++++++++++++++++++++++++++++++++-
> > > > >  hw/mem/cxl_type3.c          | 169 +++++++++++
> > > > >  4 files changed, 915 insertions(+), 12 deletions(-)
> > > > >     
> > > 
> > >   
> > 
> >
Re: [PATCH qemu for 10.2 0/3] cxl: Additional RAS features support.
Posted by Jonathan Cameron via qemu development 3 days, 6 hours ago
On Thu, 5 Feb 2026 03:16:15 -0500
"Michael S. Tsirkin" <mst@redhat.com> wrote:

> On Wed, Feb 04, 2026 at 11:35:44AM +0000, Jonathan Cameron wrote:
> > On Fri, 2 Jan 2026 15:28:34 +0000
> > Jonathan Cameron via <qemu-devel@nongnu.org> wrote:
> >   
> > > On Mon, 6 Oct 2025 06:26:53 -0400
> > > "Michael S. Tsirkin" <mst@redhat.com> wrote:
> > >   
> > > > On Mon, Oct 06, 2025 at 10:13:04AM +0100, Jonathan Cameron wrote:    
> > > > > On Wed, 17 Sep 2025 15:33:27 +0100
> > > > > Jonathan Cameron via <qemu-devel@nongnu.org> wrote:
> > > > >       
> > > > > > These two features have been used in testing the related EDAC RAS
> > > > > > features drivers in Linux which are now upstream. Only minor tweaks
> > > > > > from the second part of:
> > > > > > https://lore.kernel.org/qemu-devel/20250811085530.2263-1-shiju.jose@huawei.com/
> > > > > > [PATCH v6 0/8] hw/cxl: Update CXL events to rev3.2 and add maintenance support for memory repair features
> > > > > > 
> > > > > > I've split that series up as the two parts were only slightly connected.
> > > > > > However there is some churn if this is applied without the other part of Shiju's posted
> > > > > > series. That was sent a few minutes ago as:
> > > > > > https://lore.kernel.org/qemu-devel/20250917141355.293217-1-Jonathan.Cameron@huawei.com/
> > > > > > 
> > > > > > Based on: [PATCH qemu for 10.2 0/5] cxl: r3.2 specification events updates.
> > > > > > Based on: 20250917141355.293217-1-Jonathan.Cameron@huawei.com
> > > > > > 
> > > > > > Davidlohr Bueso (1):
> > > > > >   hw/cxl: Add support for Maintenance command and Post Package Repair
> > > > > >     (PPR)
> > > > > >       
> > > > > Hi Michael,
> > > > > 
> > > > > I see you have queued some stuff up on your gitlab tree.
> > > > > Just wanted to make sure these are on the radar for possible inclusion.
> > > > > No huge rush, but I'll queue some more series up on top of these
> > > > > shortly.
> > > > > 
> > > > > Thanks
> > > > > 
> > > > > Jonathan      
> > > > 
> > > > thanks for the reminder, will queue.    
> > > Hi Michael,
> > > 
> > > Looks like you didn't do another pull request for 10.2. If these can
> > > go upstream fairly early in 11.0 that would be very helpful as we have
> > > quite a few CXL series that I think are (nearly) ready.
> > > 
> > > I resent the events series but that was mainly because I'd forgotten you'd
> > > replied to this one and so might already have both queued. Sorry about that
> > > if you have them both already.  
> > 
> > This is the second series that is (I think) ready for merge.
> > Applies cleanly on mainline + 
> > [PATCH qemu v4 0/5] cxl: r3.2 specification event updates.
> > 20260119111542.788389-1-Jonathan.Cameron@huawei.com  
> 
> question is if there will be v5 of that one, now there
> are review comments?
> 
Posted.  This applies cleanly on top of that (it only involved moving 2 lines within
functions that aren't touched by anything else we have pending.

So now, based on:
[PATCH qemu v5 0/5] cxl: r3.2 specification event updates.
https://lore.kernel.org/qemu-devel/20260205112350.60681-1-Jonathan.Cameron@huawei.com/

> > > 
> > > Jonathan
> > >   
> > > >     
> > > > > > Shiju Jose (2):
> > > > > >   hw/cxl/cxl-mailbox-utils: Move declaration of scrub and ECS feature
> > > > > >     attributes in cmd_features_set_feature()
> > > > > >   hw/cxl: Add emulation for memory sparing control feature
> > > > > > 
> > > > > >  include/hw/cxl/cxl_device.h | 145 +++++++++
> > > > > >  include/hw/cxl/cxl_events.h |  47 +++
> > > > > >  hw/cxl/cxl-mailbox-utils.c  | 566 +++++++++++++++++++++++++++++++++++-
> > > > > >  hw/mem/cxl_type3.c          | 169 +++++++++++
> > > > > >  4 files changed, 915 insertions(+), 12 deletions(-)
> > > > > >       
> > > > 
> > > >     
> > > 
> > >   
> 
>