Re: [BUG] cxl can not create region

2022-10-10 Thread Jonathan Cameron via
On Fri, 19 Aug 2022 09:46:55 +0100 Jonathan Cameron wrote: > On Thu, 18 Aug 2022 17:37:40 +0100 > Jonathan Cameron via wrote: > > > On Wed, 17 Aug 2022 17:16:19 +0100 > > Jonathan Cameron wrote: > > > > > On Thu, 11 Aug 2022 17:46:55 -0700 > > > Dan Williams wrote: > > > > > > > Dan

Re: [BUG] cxl can not create region

2022-08-19 Thread Jonathan Cameron via
On Thu, 18 Aug 2022 17:37:40 +0100 Jonathan Cameron via wrote: > On Wed, 17 Aug 2022 17:16:19 +0100 > Jonathan Cameron wrote: > > > On Thu, 11 Aug 2022 17:46:55 -0700 > > Dan Williams wrote: > > > > > Dan Williams wrote: > > > > Bobo WL wrote: > > > > > Hi Dan, > > > > > > > > >

Re: [BUG] cxl can not create region

2022-08-18 Thread Jonathan Cameron via
On Wed, 17 Aug 2022 17:16:19 +0100 Jonathan Cameron wrote: > On Thu, 11 Aug 2022 17:46:55 -0700 > Dan Williams wrote: > > > Dan Williams wrote: > > > Bobo WL wrote: > > > > Hi Dan, > > > > > > > > Thanks for your reply! > > > > > > > > On Mon, Aug 8, 2022 at 11:58 PM Dan Williams > >

Re: [BUG] cxl can not create region

2022-08-17 Thread Jonathan Cameron via
On Thu, 11 Aug 2022 17:46:55 -0700 Dan Williams wrote: > Dan Williams wrote: > > Bobo WL wrote: > > > Hi Dan, > > > > > > Thanks for your reply! > > > > > > On Mon, Aug 8, 2022 at 11:58 PM Dan Williams > > > wrote: > > > > > > > > What is the output of: > > > > > > > > cxl list -MDTu

Re: [BUG] cxl can not create region

2022-08-17 Thread Jonathan Cameron via
On Mon, 15 Aug 2022 15:55:15 -0700 Dan Williams wrote: > Jonathan Cameron wrote: > > On Fri, 12 Aug 2022 16:44:03 +0100 > > Jonathan Cameron wrote: > > > > > On Thu, 11 Aug 2022 18:08:57 +0100 > > > Jonathan Cameron via wrote: > > > > > > > On Tue, 9 Aug 2022 17:08:25 +0100 > > > >

Re: [BUG] cxl can not create region

2022-08-15 Thread Dan Williams
Jonathan Cameron wrote: > On Fri, 12 Aug 2022 16:44:03 +0100 > Jonathan Cameron wrote: > > > On Thu, 11 Aug 2022 18:08:57 +0100 > > Jonathan Cameron via wrote: > > > > > On Tue, 9 Aug 2022 17:08:25 +0100 > > > Jonathan Cameron wrote: > > > > > > > On Tue, 9 Aug 2022 21:07:06 +0800 > > > >

Re: [BUG] cxl can not create region

2022-08-15 Thread Jonathan Cameron via
On Mon, 15 Aug 2022 18:04:44 +0100 Jonathan Cameron wrote: > On Fri, 12 Aug 2022 16:44:03 +0100 > Jonathan Cameron wrote: > > > On Thu, 11 Aug 2022 18:08:57 +0100 > > Jonathan Cameron via wrote: > > > > > On Tue, 9 Aug 2022 17:08:25 +0100 > > > Jonathan Cameron wrote: > > > > > > >

Re: [BUG] cxl can not create region

2022-08-15 Thread Jonathan Cameron via
On Fri, 12 Aug 2022 16:44:03 +0100 Jonathan Cameron wrote: > On Thu, 11 Aug 2022 18:08:57 +0100 > Jonathan Cameron via wrote: > > > On Tue, 9 Aug 2022 17:08:25 +0100 > > Jonathan Cameron wrote: > > > > > On Tue, 9 Aug 2022 21:07:06 +0800 > > > Bobo WL wrote: > > > > > > > Hi Jonathan

Re: [BUG] cxl can not create region

2022-08-15 Thread Peter Maydell
On Mon, 15 Aug 2022 at 15:55, Jonathan Cameron via wrote: > In the interests of defensive / correct handling from QEMU I took a > look into why it was crashing. Turns out that providing a NULL write > callback for > the memory device region (that the above overlarge write was spilling into) >

Re: [BUG] cxl can not create region

2022-08-15 Thread Jonathan Cameron via
On Mon, 15 Aug 2022 15:18:09 +0100 Jonathan Cameron via wrote: > On Fri, 12 Aug 2022 17:15:09 +0100 > Jonathan Cameron wrote: > > > On Fri, 12 Aug 2022 09:03:02 -0700 > > Dan Williams wrote: > > > > > Jonathan Cameron wrote: > > > > On Thu, 11 Aug 2022 18:08:57 +0100 > > > > Jonathan

Re: [BUG] cxl can not create region

2022-08-15 Thread Jonathan Cameron via
On Fri, 12 Aug 2022 17:15:09 +0100 Jonathan Cameron wrote: > On Fri, 12 Aug 2022 09:03:02 -0700 > Dan Williams wrote: > > > Jonathan Cameron wrote: > > > On Thu, 11 Aug 2022 18:08:57 +0100 > > > Jonathan Cameron via wrote: > > > > > > > On Tue, 9 Aug 2022 17:08:25 +0100 > > > >

Re: [BUG] cxl can not create region

2022-08-12 Thread Jonathan Cameron via
On Fri, 12 Aug 2022 09:03:02 -0700 Dan Williams wrote: > Jonathan Cameron wrote: > > On Thu, 11 Aug 2022 18:08:57 +0100 > > Jonathan Cameron via wrote: > > > > > On Tue, 9 Aug 2022 17:08:25 +0100 > > > Jonathan Cameron wrote: > > > > > > > On Tue, 9 Aug 2022 21:07:06 +0800 > > > > Bobo

Re: [BUG] cxl can not create region

2022-08-12 Thread Dan Williams
Jonathan Cameron wrote: > On Thu, 11 Aug 2022 18:08:57 +0100 > Jonathan Cameron via wrote: > > > On Tue, 9 Aug 2022 17:08:25 +0100 > > Jonathan Cameron wrote: > > > > > On Tue, 9 Aug 2022 21:07:06 +0800 > > > Bobo WL wrote: > > > > > > > Hi Jonathan > > > > > > > > Thanks for your reply!

Re: [BUG] cxl can not create region

2022-08-12 Thread Jonathan Cameron via
On Thu, 11 Aug 2022 18:08:57 +0100 Jonathan Cameron via wrote: > On Tue, 9 Aug 2022 17:08:25 +0100 > Jonathan Cameron wrote: > > > On Tue, 9 Aug 2022 21:07:06 +0800 > > Bobo WL wrote: > > > > > Hi Jonathan > > > > > > Thanks for your reply! > > > > > > On Mon, Aug 8, 2022 at 8:37 PM

Re: [BUG] cxl can not create region

2022-08-11 Thread Dan Williams
Dan Williams wrote: > Bobo WL wrote: > > Hi Dan, > > > > Thanks for your reply! > > > > On Mon, Aug 8, 2022 at 11:58 PM Dan Williams > > wrote: > > > > > > What is the output of: > > > > > > cxl list -MDTu -d decoder0.0 > > > > > > ...? It might be the case that mem1 cannot be mapped by

Re: [BUG] cxl can not create region

2022-08-11 Thread Jonathan Cameron via
On Tue, 9 Aug 2022 17:08:25 +0100 Jonathan Cameron wrote: > On Tue, 9 Aug 2022 21:07:06 +0800 > Bobo WL wrote: > > > Hi Jonathan > > > > Thanks for your reply! > > > > On Mon, Aug 8, 2022 at 8:37 PM Jonathan Cameron > > wrote: > > > > > > Probably not related to your problem, but there is

Re: [BUG] cxl can not create region

2022-08-10 Thread Bobo WL
On Tue, Aug 9, 2022 at 11:17 PM Dan Williams wrote: > > Bobo WL wrote: > > Hi Dan, > > > > Thanks for your reply! > > > > On Mon, Aug 8, 2022 at 11:58 PM Dan Williams > > wrote: > > > > > > What is the output of: > > > > > > cxl list -MDTu -d decoder0.0 > > > > > > ...? It might be the case

Re: [BUG] cxl can not create region

2022-08-09 Thread Jonathan Cameron via
On Tue, 9 Aug 2022 21:07:06 +0800 Bobo WL wrote: > Hi Jonathan > > Thanks for your reply! > > On Mon, Aug 8, 2022 at 8:37 PM Jonathan Cameron > wrote: > > > > Probably not related to your problem, but there is a disconnect in QEMU / > > kernel assumptionsaround the presence of an HDM decoder

Re: [BUG] cxl can not create region

2022-08-09 Thread Dan Williams
Bobo WL wrote: > Hi Dan, > > Thanks for your reply! > > On Mon, Aug 8, 2022 at 11:58 PM Dan Williams wrote: > > > > What is the output of: > > > > cxl list -MDTu -d decoder0.0 > > > > ...? It might be the case that mem1 cannot be mapped by decoder0.0, or > > at least not in the specified

Re: [BUG] cxl can not create region

2022-08-09 Thread Bobo WL
Hi Dan, Thanks for your reply! On Mon, Aug 8, 2022 at 11:58 PM Dan Williams wrote: > > What is the output of: > > cxl list -MDTu -d decoder0.0 > > ...? It might be the case that mem1 cannot be mapped by decoder0.0, or > at least not in the specified order, or that validation check is

Re: [BUG] cxl can not create region

2022-08-09 Thread Bobo WL
Hi Jonathan Thanks for your reply! On Mon, Aug 8, 2022 at 8:37 PM Jonathan Cameron wrote: > > Probably not related to your problem, but there is a disconnect in QEMU / > kernel assumptionsaround the presence of an HDM decoder when a HB only > has a single root port. Spec allows it to be

RE: [BUG] cxl can not create region

2022-08-08 Thread Dan Williams
Bobo WL wrote: > Hi list > > I want to test cxl functions in arm64, and found some problems I can't > figure out. > > My test environment: > > 1. build latest bios from https://github.com/tianocore/edk2.git master > branch(cc2db6ebfb6d9d85ba4c7b35fba1fa37fffc0bc2) > 2. build latest

Re: [BUG] cxl can not create region

2022-08-08 Thread Jonathan Cameron via
On Fri, 5 Aug 2022 10:20:23 +0800 Bobo WL wrote: > Hi list > > I want to test cxl functions in arm64, and found some problems I can't > figure out. Hi Bob, Glad to see people testing this code. > > My test environment: > > 1. build latest bios from https://github.com/tianocore/edk2.git