[PATCH qemu 0/2] hw/cxl: Two media operations related fixes.

Jonathan Cameron via posted 2 patches 1 month ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20260102154731.474859-1-Jonathan.Cameron@huawei.com
Maintainers: Jonathan Cameron <jonathan.cameron@huawei.com>, Fan Ni <fan.ni@samsung.com>
hw/cxl/cxl-mailbox-utils.c | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
[PATCH qemu 0/2] hw/cxl: Two media operations related fixes.
Posted by Jonathan Cameron via 1 month ago
Peter reported both of these last cycle.  Both are related to sanity
checking parameters.

Jonathan Cameron (2):
  hw/cxl: Check for overflow on santize media as both base and offset
    64bit.
  hw/cxl: Take into account how many media operations are requested for
    param check

 hw/cxl/cxl-mailbox-utils.c | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

-- 
2.48.1
Re: [PATCH qemu 0/2] hw/cxl: Two media operations related fixes.
Posted by Michael Tokarev 1 day, 6 hours ago
On 1/2/26 18:47, Jonathan Cameron via wrote:
> Peter reported both of these last cycle.  Both are related to sanity
> checking parameters.
> 
> Jonathan Cameron (2):
>    hw/cxl: Check for overflow on santize media as both base and offset
>      64bit.
>    hw/cxl: Take into account how many media operations are requested for
>      param check
> 
>   hw/cxl/cxl-mailbox-utils.c | 11 ++++++++---
>   1 file changed, 8 insertions(+), 3 deletions(-)

Is this one worth picking up for qemu-stable (10.1.x & 10.2.x)?

Thanks,

/mjt
Re: [PATCH qemu 0/2] hw/cxl: Two media operations related fixes.
Posted by Jonathan Cameron via qemu development 18 hours ago
On Fri, 6 Feb 2026 01:11:55 +0300
Michael Tokarev <mjt@tls.msk.ru> wrote:

> On 1/2/26 18:47, Jonathan Cameron via wrote:
> > Peter reported both of these last cycle.  Both are related to sanity
> > checking parameters.
> > 
> > Jonathan Cameron (2):
> >    hw/cxl: Check for overflow on santize media as both base and offset
> >      64bit.
> >    hw/cxl: Take into account how many media operations are requested for
> >      param check
> > 
> >   hw/cxl/cxl-mailbox-utils.c | 11 ++++++++---
> >   1 file changed, 8 insertions(+), 3 deletions(-)  
> 
> Is this one worth picking up for qemu-stable (10.1.x & 10.2.x)?
> 
They are fairly obscure features but if it applies cleanly it seems
sensible to backport.

Thanks

Jonathan

> Thanks,
> 
> /mjt
Re: [PATCH qemu 0/2] hw/cxl: Two media operations related fixes.
Posted by Jonathan Cameron via qemu development 2 days, 16 hours ago
On Fri, 2 Jan 2026 15:47:29 +0000
Jonathan Cameron <Jonathan.Cameron@huawei.com> wrote:

> Peter reported both of these last cycle.  Both are related to sanity
> checking parameters.

Hi Michael

Just a reminder to take a look at and if possible queue these up.

I see I didn't +CC Peter. Sorry about that Peter. If you could sanity
check as they are fixes for bugs you reported a while back.

Thanks,

Jonathan

> 
> Jonathan Cameron (2):
>   hw/cxl: Check for overflow on santize media as both base and offset
>     64bit.
>   hw/cxl: Take into account how many media operations are requested for
>     param check
> 
>  hw/cxl/cxl-mailbox-utils.c | 11 ++++++++---
>  1 file changed, 8 insertions(+), 3 deletions(-)
>